/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59 /* *ThisfileispartoftheLibreOfficeproject. * *This* wasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * java.lang.StringIndexOutOfBoundsException: Range [30, 25) out of bounds for length 71 * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore *contributorlicenseagreements.SeetheNOTICEfiledistributed *withthisworkforadditionalinformationregardingcopyright *.The licensesthisfileyouthejava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66 *License,Version2.0(the"License");youmaynotusethisfile *exceptincompliancetheYoumayobtaincopyjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 64
*/
#include <cmath>
#include <drawingml/java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 37
pjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 37 # java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 68 #include <#nclude o/helperattributelist.>
include<oxtokennamespaceshxxjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
#</sunstarawt/ectangle..hpp>
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
namespace
/** context to import a CT_Transform2D */
* thejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 97
( java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19 / where we know, that MS Office SmartArt presets do not use the default text area rectangle.
{ if( !btxXfrm )
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
mrShape
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
} else
{ if (Type
{
=java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 111
.getTextBodyg) mno_txXfrmRotvalue nTextAreaRot
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
}
}
namespace
{ bool mrShape.getTextBody.=rShapeetSize) M_SQRT1_2
{ // When we are here, we have neither xShape nor a SdrObject. So need to manually calc the textjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// where we know, that MS Office SmartArt presets do not use the default text area rectangle. const edefined usedpresethasvalue0java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 double aAdjGdListempty 16667:0msal_Int32 =rShape.getSize)Widthjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{
:
nType=.(-
fMaxAdj50000 :nWidthnHeight;
.Y=rShape.etPosition)Y java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
rRect =std:(nWidth)* / 1000000*.9289java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
rRect java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 63 return,rRectY rShapegetPosition) +TextTop case : case :
{ // Second handle of round2SameRect used in preset diagrams has value 0.={
autojava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
=rRect .)*;
sal_Int32 nWidth = rShape returntrue;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 56
| =) {
// handle (.java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
.(?16667aAdjGdList0maFormulatoDouble;
d::lampdouble.-getTextProperties.java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 29
=::(nWidth java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 56 namespace
rRect false;
.getPosition. +nTextTopjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
rRect.= 2 ;
java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 81 return;
} case XML_trapezoid rRect.X = rShape.getPosition
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
&java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 97
= .( ?25000 aAdjGdListjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 18
}
sal_Int32return;
n XML_ellipse return{
fMaxAdj .0*nWidth java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 98
fAdj = rRectY=rShape. XML_trapezoid:
nTextLeft= 3 fAdj/;
sal_Int32 List .XrShapegetPosition(. +nTextLeft;
.. .getPosition)java.lang.StringIndexOutOfBoundsException: Range [43, 24) out of bounds for length 24
rRect.Y = rShape.getPosition rRect. =.)Height;
=nWidth-2 ;
rRect.Height java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
;
}returnfalse
handleofjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 9
sal_Int32 sal_Int32 rRect.X = rShape fAdj= aAdjGdList.empty()? 16667 Y=Shape(.;
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 57
. =. =.etSize
rRect. rShape if (nWidth == 0 || nHeight
rRectWidth= java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 29
rRect.Height = java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 24 returntruejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
} case XML_pie: case sal_Int32 =sal_Int32 nTextLeft = nWidth
.sal_Int32 = rShapegetSize(.Height
{
When#149918isfixed will .dth = returnfalsejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [40, 17) out of bounds for length 45
rRect .Height =.0/
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 24
XML_pie
}case [2..double aAdjGdListadj4 3.java.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 58 case adj3stdc<>adj3 0maxAdj3java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{
nWidthjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 44 return .Height= rShaperRect.dth .();
/ // double adj1 = 25000.0; // double adj2 = 25000.0; double .rRect
// Thejava.lang.StringIndexOutOfBoundsException: Range [47, 1) out of bounds for length 47 const&=.()>java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 24 if aAdjGdList.( =4
{
/ adj1=aAdjGdList[]maFormulatoDouble)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
adj3 java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
=[=rShapegetCustomShapeProperties>(;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
double maxAdj3 = 100000 = /5;
adj3 :clampdouble(java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 56
a1 =:<>a,020000; double maxAdj4=1000000 -q2java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
adj4 =std
rRect . rShape3..toDouble(;
rRect.Y =
rRect. =rShape.etSizejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* 100000; returntrue
} double = 100000. -
{ double maxr = std::min(rw, rh);
XML_pie double h = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
< 0 | XML_wedgeRectCallout returnjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 31 double a2(3526.0); const .-(; if (aAdjGdList.size() == 2)
{
[]java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
..()
a1=std:<>a1 0, 20000;
a2 = double ma1 wrShape return;
}
:mcasejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 47 double { double =th20+l2
double maxr = std double hajava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 58
double d ,)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 double ta11 = rw * cos }
=rh*sinrRect. 1xD5 double . = yA1;
=rh*cos); double sta1 double ma1adj3=aAdjGdListdouble =h .0+ doublerh /20-adj4 aAdjGdList3maFormula(;
java.lang.StringIndexOutOfBoundsException: Range [18, 18) out of bounds for length 0 double dya1 =sal_Int32java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
double xA1 = w / 2.double ha=atan2l3,maxr) double yA1 double *::in,) java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 38 double double ta1
double rh* cosbA1(.java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
rRect. rRect.stdhypot(a1 ;
.Heightreturntrue returntrue;
} case double =na1 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
{ constauto& double yA1 = h java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 9 double java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 46
.(.java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 56 if (auto java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 36 return java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
fMaxAdjauto getCustomShapePropertiesg)java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
fAdj = std::clamp .X=rShapegetPosition asize = 2
sal_Int32 =java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 9
Top;
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
stdclamp.java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 54
. 2double l2 = std::min(w, h) * a20java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 61 returntrue;
} case XML_round1RectWidth=-2*;
. =-2 ;
sal_Int32 double rh= / 2.0- th return rShape(-getAdjustmentGuideList
=.).java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56 ifjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 false const java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 13 doublefAdj = = aAdjGdList =std:double( =| ==0java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
:amp>,0050000 double fDxdouble ();
X=rShapedouble = ta12ta11; double =:clamp>fAdj00500000java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
rRect.Width double :(,nHeight java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 79
rRectHeight=nHeight; returntrue;
} case :
{ // The identifiers here reflect the guides name value in presetShapeDefinitions.xml=.tPosition. java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
sal_Int32 nWidth = rShape rRect.=y2-y1 = )
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9 if
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 31
(; constauto& aAdjGdList = rShape.java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 38
{
[1.toDoublejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
= :java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
hjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
: andblock
dx1= stdmin { double x1 = nWidtha1 x; double */. double y1 = nHeight nullptr return nullptr; // faulty shape or text area calculation not implemented
= =rShape)Width 2 y1 dx1 ( /.)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
rRect. false;
.getPosition) double = *a1 /200000.;
rRectWidth=x2
rRect.Height = y2 - y1; returntrue;
}
: returnfalse;
}
}
basegfx doublex2=sal_Int32 =nHeightjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{ return basegfx::B2DPoint
}
} break;
Transform2DContext:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 35
{
m)
{ // The child elements <a:off> and <a:ext> of a <dsp:txXfrm> element describe the position and
the arearectangle. change text rectangle {
don const OUString sCXValue = rAttribs // indents to move and scale the text block. The needed shifts are calculated here as moTextOff ( awt ifsEmpty)&sCYValueisEmpty)) // and used in TextBodyProperties::pushTextDistances().if aUnrotatedTxXfrm. 2 Height20;
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 111
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 17
switch (aElementToken java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 64
{
java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 30
{
const OUStringsal_Int32nAngleDiff
OUString=java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 96
mOffX textrectangle preset
mno_txXfrmOffY = sYValue.toInt32 :getCenter
}
} break; case A_TOKEN(ext):
{ constjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 76
awt: aPresetTextRectangle
StringsCXValue=. if (!sXValue.isEmpty() && !sYValue.isEmptyisEmpty) a1(0000; constdouble java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 57 if (!sCXValue.isEmpty() && !sCYValue auto java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
aUnrotatedTxXfrm.Width{
aUnrotatedTxXfrm.Height = sCYValue. = aAdjGdList]maFormulatoDouble)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
a1 (ext: if (mno_txXfrmOffX// Build text frame from txXfrm element
.value Y+ a2 std:a2,0,axAdj2)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 double dx1= if(mrShape.g()
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
// Has the txXfrm an own rotation beyond compensation of the shape rotation? // Happens e.g. in diagram type 'Detailed Process'.
= (mrShape.getRotation java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 17 ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ // Rectangle aUnrotatedTxXfrm rotates around its center not around text area // center from preset. We shift aUnrotatedTxXfrm so that it is at the original // position after rotation of text area rectangle from preset.
basegfx:: = GetCoor
basegfx::B2DPoint aPresetCenter(getCenter(aPresetTextRectangle ()
if (!aXfrmCenterequal(aPresetCenter)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
nAngleDiff double double y1 = nHeight / 2.0 - dy1; // to
basegfx:: aRotMatrix ( =0)
basegfx:utils{
basegfx:(OffsetRight
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 85
}
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
if } /end }
{
aElementToken
sal_Int32 nOffsetLeft casereturn;
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 5
nOffsetRight
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 14
sal_Int32
:B2DPoint. +rRect :B2DPoint .etIntegerXML_cx 0,.(XML_cy 0 ))java.lang.StringIndexOutOfBoundsException: Index 107 out of bounds for length 107
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
mrShapejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
=java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 17 ifnOffsetRight
mrShape.java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 29
nOffsetRight)
nOffsetBottom
mrShape.getTextBody()->getTextProperties mrShape.(:Size (java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 59
{
} break;
} return nullptr;
}// end of case mbtxXfrm
switch( aElementToken .)-()moTextOffUpper
{ case A_TOKEN( off ): // horz/vert translation
. if (!sXValue)& sYValueisEmpty) break;
A_TOKENmrShapegetTextBody(-etTextProperties.
mrShape.setSize( awt= .toInt32(; break;
rt translation of
mrShape.setChildPosition( awt::Point mrShapegetTextBody(-getTextProperties.moTextOffLower break; case A_TOKEN( chExt ) }
{
sal_Int32 nChExtCx = }
if(nChExtCx } / end of case mbtxXfrm
nChExtCx = mrShape.getSize().java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 0
sal_Int32 nChExtCy rAttribsgetInteger(ML_cy 0;
if(nChExtCy == 0)
nChExtCy .etSize(.eight;
mrShape.setChildSize java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 49
} break;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.