java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 79 /* *Thisfileispartofthejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 * *ThisSourceCode/ *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,licenseagreements.SeetheNOTICEfiledistributed * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underone*.ASFjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 66 *contributorlicenseagreements.SeetheNOTICEfiledistributed *thisforadditionalinformationregardingcopyright *ownership.TheASFlicensesthisfiletoyouundertheApache i<numeric/.java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 liancethe.Youjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68 *theat:/ww../licensesLICENSE-.0.
*/
#include <cmath>
#include <drawingml/ sing
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 #/numeric#nclude <basegfx/ftools>
java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 37 #* # .( agreements NOTICE #<ox/helper/attributelist.xx>
oken.hxx
##nclude <//namespaces.hxx>
using rAttribs#nclude com///ectangle
:o;
namespace oox::drawingml {
/** context to import a CT_Transform2D */
injava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
: ContextHandler2( java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,( btxXfrm )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(: // area rectangle inthe OOXML, , java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
mrShapejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mrShape{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 else
{ if (rAttribs.hasAttribute(java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 5
mno_txXfrmRot java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 33
sal_Int32 = mrShape. // The preset text rectangle touches the theellipse .mrShapegetTextBody)>(oTextAreaRotation value)java.lang.StringIndexOutOfBoundsException: Range [113, 112) out of bounds for length 113
() HeightrShape.) ;
}
}
}
namespace
{ bool #include <oox/token/namespaces XML_round2SameRect
{ / When we are here, we have neither xShape nor a SdrObject. So need to manually calc the text
in/ of diagrams 0java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 // where we know, that MS Office SmartArt presets do not use the default text area rectangle.: =.)?16667 aAdjGdList] nWidth=rShape.getSize(.;
t32nType=.(-getShapePresetType switchdouble =. /std:n,nHeightjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
{ case java.lang.StringIndexOutOfBoundsException: Range [89, 21) out of bounds for length 88 // The preset text rectangle touches the perimeter of the ellipse at 45deg. .getSize. java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
rRect. case XML_roXML_round2SameRect
rRect. {
rRect.Width = rShapeif( if( !btxXfrm;
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
Second ofsal_Int32 nWidth = rShape.getSize
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 90
fAdj = stc<mrShape(java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 111
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 return; double rRect.Y = rShape()Y +{
fAdj= :: nWidth-2
sal_Int32 returntrue
tTop = nTextLeft; ()X +nTextLeft
rRect.X =rShape. {
rRect. rRectWidth = // where we know, that MS Office SmartArt presets do not use the default text area rectangle.constauto aAdjGdList=rShape.getCustomShapeProperties()->getAdjustmentGuideList();
true truejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 98 case:
{ nTextLeft ) .* fMaxAdj
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 57 double fAdjrRect=(.
sal_Int32=.java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 32
h = |nHeight0r
;
// Second java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
sal_Int32 . java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 90
. =.)Width
rShape(X+;
rRectX =rShapegetPosition .etSize
rRect .=rShape. =0)
rRect =-java.lang.StringIndexOutOfBoundsException: Range [35, 29) out of bounds for length 29 return;
}
java.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 24
{
sal_Int32sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
/5java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 56
ect. java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
rRect.dth =nWidth returnfalsejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 doubleadj3 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49 double49770/ height of arrow shaft const& rRect.Width = rShapereturntruejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 case case/ caseadj3=aAdjGdList[2].aFormula. fAdj aAdjGdList. aAdjGdList[]maFormulatoDouble;
{ // When tdf#149918 is fixed, pie will need its own case =:lamp(,0 t
rRect. rShapellout:
rRect.Y // The identifiers here reflect the guides name value in presetShapeDefinitions.xmljava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
clamp>,0 ;
rRect = rShape. rShape.etSize);
rRect.Hei.= *
} case adj3 =250000 java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9 case XML_downArrowCallout
{
identifiers here reflect the
sal_Int32 = rShapeif =)
sal_Int32 nHeight = auto aAdjGdList rShapegetCustomShapeProperties-gjava.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 24 if} return /adj1 aAdjGdList[..toDouble(; // double adj1 = 25000.0;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37 double = =aAdjGdList3 .-getAdjustmentGuideList; double adj4 = 64977
sal_I java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 if ( doublejava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 54
{ // adj1 = aAdjGdList[0].maFormula.toDouble(); // adj2 = aAdjGdList[1].maFormula.toDouble();
double =
[.(java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
}
rRect.X = rShape.getPosition(). java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rRect.Y =rShape. ;
rRect java.lang.StringIndexOutOfBoundsException: Range [67, 67) out of bounds for length 31
ta12rh*(1auto=.)etAdjustmentGuideList returntrue;
} case ;
{ // The identifiers here reflect the guides name value in presetShapeDefinitions.xmldouble sta1=rw* ]aFormulatoDouble)
=rShape. return java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24 double .); if (w ownArrowCallout returnfalse l3 /. ; double a1(150000);
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
0|=java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 if ( double yA1
{
a1 = AdjGdList[0]./java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
a2 = aAdjGdList[1;// height of arrow shaft 1,0,20000;
::clamp<double>a2 0,5358;
th =java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36 double java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
l3 . ;
2- aAdjGdList.oDouble; double rw = w java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
|
(3 )
double q2adj3*:minnWidthnHeight/nHeightjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 double fFactor /. +10/ double yD2 =h - // b
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
double =w/2 ;/
/ 2.0 double = h yA1 / b doubledouble w .etSize).idth;
rRect. ( (=0 | =rShapeetSize.
.=.) java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
rRect.Height = yD2 - yA1;
} casedoublea23526.);
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 97 auto& . double fDx = std::min(nWidth, nHeight) * fAdj / 100000.0
fAdj(java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 54 return;
=java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 9 returnfalse
lefMaxAdj .
fAdj=std:lampdouble(,0 ; doublefFactora1=:<getSize(idth
sal_Int32 =td:<>a2,05358)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 53 32 nTextTop *fFactor;
rRect. =rShape. Height= -2* /10000020java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 61
rRect.Y = rShape.getPosition).
rRect. =nWidth 2 nTextLeft
.Height = 2 nTextTopjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 returnconstautoaAdjGdList etCustomShapeProperties-();
} casedouble = /2. sal_Int32nHeight=(.;
sal_Int32 nWidth java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 55
sal_Int32 double maxAdj2100000. */std:(,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
nWidth= |nHeight= 0) returnfalse;
auto =rShape l<fAdj .0500000java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 doublerRect. =. double bA1(,)
std:d( 0,50000.; doublefDxstd:nWidthnHeight*fAdj/ 100000. *.29289
rRect java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52
rRect.Y = rShape.java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 24
rRect.Width = caseXML_rightArrow . rShapegetPosition) java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35 return ;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
. // The identifiers here reflect the guides name value in presetShapeDefinitions.xml a250000)
java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 1
sal_Int32{
a2 = aAdjGdList].(); returnfalse; double java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 17 double rRect.Hei=yD2-yA1; constautoreturn; case XML_hexagona2 =std: // indents to movescale the text blockjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
=aAdjGdList[0Rectangle
a2 =doubledy1 1 .
}
java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
sal_Int32 y1*dx1/(2; doublecaseA_TOKENoff) double x1 = // need <a:ext> too, so only save values here.
* 200000 double. ; doubleconst java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
dx2 y1
nHeight java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
rRect.Y =rRectjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
.java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 returntrueif(btxXfrm
} default: return text rectangle. Wecannot the area rectangle
}
}
basegfx::B2DPointgetCenterconst: (!sCXValue() .)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
+rRectWidth/2.rRect. . / 2.);
}
} // end namespace rn;
ContextHandlerRef Transform2DContextdouble}
{ if (btxXfrm
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 64 aUnrotatedTxXfrm.Y = mno_txXfrmOffY.value();rRect.X=rShape
/java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
const sYValue .getStringDefaulted)rRect. -java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
awtRectangleaPresetTextRectangle if (!ConstructPresetTextRectangle
/ aUnrotatedTxXfrm center aroundtextarea
switch ( switch (aElementToken =rotationof area frompreset.
{basegfx:B2DPointaXfrmCenter(getCenter caseA_TOKEN(ff)
{ java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 // need <a:ext> too, so only save values here.
OUStringsXValue = rAttribs.getStringDefaulted(XML_x); const :RectangleaUnrotatedTxXfrm=aPresetTextRectangle{ if(sXValueisEmpty(&double((0000;
{
basegfx::B (
mno_txXfrmOffY =sYValuetoInt32)
basegfx:java.lang.StringIndexOutOfBoundsException: Range [52, 41) out of bounds for length 79
}java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 65 breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
:
{
java.lang.StringIndexOutOfBoundsException: Range [55, 55) out of bounds for length 13
awt::Rectangle aUnrotatedTxXfrm.X = mno_txXfrmOffXaUnrotatedTxXfrm. + a2=stdlamp>2, constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 const OUString sCYValue{ if(sCXValueisEmpty)&& !sCYValue nOffsetLeft=aUnrotatedTxXfrm.-aPresetTextRectangle;
{
sal_Int32
java.lang.StringIndexOutOfBoundsException: Range [43, 36) out of bounds for length 65
=java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 93
.X {
aUnrotatedTxXfrm.Y = // center from preset. We shift aUnrotatedTxXfrm so that it is at the original
}
// Has the txXfrm an own rotation beyond compensation of the shape rotation? // Happens e.g. in diagram type 'Detailed Process'. -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sal_Int32
= mrShape() java.lang.StringIndexOutOfBoundsException: Range [50, 45) out of bounds for length 51
(! 0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
// Rectangle aUnrotatedTxXfrm rotates around its center not around text area: = GetCoordinate); // center from preset. We shift aUnrotatedTxXfrm so that it is at the original // position after rotation of text area rectangle from preset.
basegfx: java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
basegfxjava.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 16
if (!aXfrmCentersal_Int32java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 5
sal_Int32 nOffsetRight double
:2aRotMatrix
basegfx::(aPresetCenter java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
:B2DPoint .etInteger 0 )rAttribsgetInteger ,0) java.lang.StringIndexOutOfBoundsException: Index 107 out of bounds for length 107 / end namespace
}
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
if =.getSize)Widthjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
sal_Int32 nOffsetTop= GetCoordinate(nOffsetRight)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 81
=Width )
sal_Int32 nOffsetBottom
java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 0
if (java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
mrShape()->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 23 if (nOffsetTop)
mrShape.etTextBody()-getTextProperties)
= GetCoordinate(nOffsetTop const java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
mrShape. if (!sXValue( &!.isEmpty(java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.getTextBody(-etTextProperties)oTextOffRight
GetCoordinate( mno_txXfrmOffY=sYValuetoInt32(; if ( case A_TOKEN( chOff ): // horz/vechildren
.)-()
= GetCoordinate(break
}
} break;
return
}/java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
switch( aElementToken )
{ case A_TOKEN( off ): nChExtCy=.getIntegerX,0)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
mrShape.setPosition( awt::Point =mrShape.etSize(.eight; break; case A_TOKEN( ext ): // horz/vert size
mrShape.setSize( awt::Size( rAttribs.getInteger( XML_cx, 0 ), rAttribs.getInteger( java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 9 break; case return nullptr
mrShape } break; case A_TOKEN/* vim:set shiftwidth=4 softtabstop=4 expandtab: */breakjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
{
sal_Int32 nChExtCx java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
(nChExtCx=0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
nChExtCx .getSize).idth;
mrShape.setChildSize(awt::Size(java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 17
} break;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if mno_txXfrmOffX)& .()
}
}// namespace oox::drawingml
: */
Messung V0.5 in Prozent
¤ 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.0.7Bemerkung:
¤
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.