/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *This/*-*-Mode:C++;tab-:4indent-tabs-mode:--Mode:++tab-width;indent--mode;cbasicoffset:-java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License.2..If oftheMPLwasdistributedwith *file,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 * included#ointb2dpoint.hxxjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 *
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 contributorlicense.Seethefiledistributed java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0 re:CntextHandlerRef *namespace/** context to import a CT_Transform2D */ *compliancejava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 68 *
*/
#/
#, mbtxXfrmbtxXfrm
#include <basegfx/matrixif // areajava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 97 #include <basegfx/numeric/java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 22 # } #include <drawingmljava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8 #include < sal_Int32 nTextAreaRot // The preset text rectangle touches the at mrShape)etTextProperties. (+java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113 #
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 5 #hxxcasejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
using/ using ::oox: fAdj ( 16667:[]sal_Int32java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 54
c java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
/** context to import a CT_Transform2D */ ( =.*nWidth/:i( )java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
. nTextLeft=:in fAdj /100000. .9289;
: XrRect=rShape(. M_SQRT1_2
,Y=.(Y+TextTop
, Width= case XML_roundRectjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
!t&
mrShapedouble fAdj .=rShape(Height java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
mrShape.setFlip( rAttribs.java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 9
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
{ if (rAttribs.hasAttribute(XML_rotdouble if (nWidth 0 |java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 44
{ doublefAdj . ?16667 :[0]maFormula(;
getTextBody)>()java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 29
sal_Int32nTextLeftstdmin,nHeightfAdj
}
}
}
namespace
{ false;
{
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 64 // area rectangle defined in the preset in OOXML standard, but only for those types of shapes java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [12, 5) out of bounds for length 5 case: // The preset text rectangle touches the perimeter of the ellipse at 45deg.
.getSize) (.-)/2.0)
. . XML_trapezoid
( sal_Int32= 3 ;
rRect const auto& aAdjGd.X=.getPosition). nTextLeft
.Width );
java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 22 constjava.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9 double empty 16667rRect .java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 45
sal_Int32 rRect.Height .(X+;
sal_Int32nHeightrShape.java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 24 0java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
double java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
fAdj return;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
nTextTop /5;
rRect java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 56
// tdf149918 ,piewill .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 49
.Width=rRect.X = rShape.getPosition().X;
rRect returntrue adj4 4977;// height of arrow shaft returntrue;
}
java.lang.StringIndexOutOfBoundsException: Range [26, 12) out of bounds for length 27
{ const/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
=aAdjGdList =3..toDouble;
sal_Int32 =rShape. java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
(nWidth .=rShapelloutjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34 false double fMaxAdj = 50000adj4 =std:lampdouble(,0 )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
s:<ouble( 0,fMaxAdj;
sal_Int32 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51
sal_Int32 Height=nHeight* // double adj1 = 25000.0;
.}}
rRect. getPosition. + nTextTop / The identifiers here reflect the guides name value in presetShapeDefinitions.xml:
rRect. nWidth rShape (<0| =java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
size=)
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{ble =250000;
adj3=adj4=3 (>)java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
nt32nTextLeft=nWidth
rRect.X a2 aAdjGdList[ =std<>(, ,maxAdj3;
rRect.Y = rShape. double maxAdj4 = 100000 . -q2;
rRect.Width = :/// adj2 = aAdjGdList[1].maFormula.toDouble();
rRect.ight=[]aFormula)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 double : .java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 case:
Y . false // When tdf#149918 is fixed, pie will need its own case
rRectdouble= *( aAdjGdListetCustomShapeProperties>java.lang.StringIndexOutOfBoundsException: Range [95, 94) out of bounds for length 97
rRect.Y = a1 = aAdjGdList0. java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
a2 AdjGdList.toDouble)
rRect ::lampdouble(,20000)
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
=.(Height;
:
. l2
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
sal_Int32 nHeight
( |nHeight java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 // double adj1 = 25000.0; // double adj2 = 25000.0; double adj3 = 25000. double xD5 = w -xA1;// l
;// height of arrow shaft constauto aA1=basegfx:: double aA1 = basegfx::deg2radjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 double12=rh*sin Width =1-xD5
{
// =aAdjGdList cta1*); // adj2 = aAdjGdList[1].maFormula.toDouble();
/20l2
[].(;
}
double java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 54
adj3return
q2 std:(,nHeight; double maxAdj4fAdj=std:clampdouble>(,0 )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
adj4 = std::clamp<double>(adj4, 0, maxAdj4);
rRect.X = rShape. sal_Int32 nTextTop = nHeight
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 45
rRect=rShapegetSize(Width
. Width :(a1,)
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
XML_gear6
{ // The identifiers here reflect the guides name value in presetShapeDefinitions.xmldoublexA1 .+dxa1/ java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 doublew=rShape.();
h=rShape. sal_Int32 nWidth = rShape; 0 |sal_Int32 .(Height returnfalserRect. (.java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 double a1(15000
a2(3526.) constaAdjGdList=.(-etAdjustmentGuideListconst &aAdjGdList=rShapejava.lang.StringIndexOutOfBoundsException: Range [68, 66) out of bounds for length 79
a.()= 2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39 double nWidth rShape.getSizerRect. = - fDxjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
a1=aAdjGdList}
=500000*java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 9
:double);
td:ampo>( 0,5358;
} double32 =nHeight* java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51 100000. /.0; double l3 = th double a1(50000.0);(.
2 & .java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 97
rw=w/2 Shape)eightjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
a1= std: ;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
fAdj . :c<double>(,if =0) double autoaAdjGdList..fAdj :c<double,0,.)
ta12=rh* sinaA1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
=atan2,) double cta1 = rh * cos( dy1 :clampouble>,00500000java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 double . dx2= dx1 nHeight 2.; rRect. =nHeight;
Y=Shape.tPosition(Y+; double Width rRect. =Height
dxa1 *cos(A1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 double dya1 java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
double xA1}
:B2DPoint (.) double yD2 = (50000.; double xD5 = w sal_Int32java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
.X= a2 = aAdjGdListmaFormulatoDouble;
rRect. a1 std:clampjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ght yD2 -java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 true
}
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 25
{
/ and doubledx1 std::(nWidth, nHeight)* { double fAdj if (a2 = aAdjGdList = double dy1 =Height *1/200000java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
sal_Int32nWidth =.(.Width;
double dx=y1 dx1 (eight/20 if ( double x2 return;
java.lang.StringIndexOutOfBoundsException: Range [26, 18) out of bounds for length 74
fAdj java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 double false; double =y1
sal_Int32 ;
rRect.X = rShape.getPosition().X + nTextLeft;
.getPosition}
.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rRect.Height ContextHandlerRef: rRect.{ returntrue;
} case XML_round1Rect // The child elements <a:off> and <a:ext> of a <dsp:txXfrm> element describe the position and
{
sal_Int32 nWidth the const OUString sCXValue = rAttribs
.java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 63
( ./2.+rRectjava.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 88
rn;
awt::RectangleaPresetTextRectangle;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
fAdj = std double fDx .X
X java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
rRect.Y = rShape.getPosition( // need <a:ext> too, so only save values here./
Width=nWidth-;
rRect.Height = nHeight; return; : ;
} caseXML_rightArrow: //RectangleaUnrotatedTxXfrm itscenternot area
{ // The identifiers here reflect the guides name value in presetShapeDefinitions.xmljava.lang.StringIndexOutOfBoundsException: Range [29, 18) out of bounds for length 55
sal_Int32 nHeight A_TOKENoff)
java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 13 returnfalse =java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76
(.)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31 double DHomMatrixjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 57 const&java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 17 if (aAdjGdList.size( {
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
a1= [0].(;
a2 ;
= case A_TOKEN):
double maxAdj2 = 100000.0 * nWidth
=c<( ,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
!.( .equal) double nAngleDiff
p double y2 = nHeight / 2.0 + dy1 B2DHomMatrixifnAngleDiff0) double dx2 = y1 * dx1 / (nHeight aUnrotatedTxXfrm.X += aNewCenter.getX() - aXfrmCenter.getX(); double x2 =x1+dx2; / right
().X;// left = 0
}
rRect.Width = x2;
}
return nullptr;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
mrShape(awtP getInteger java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 110
}
getCenterconst:2
{case( :utilscreateRotateAroundPoint nOffsetBottom returnbasegfx:(rRectX+ basegfxB2DPointmrShape.setSize( awt::Size( rAttribs( ,0 .( 0 ;
}
}/java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
break;
{
)
{ // The child elements <a:off> and <a:ext> of a <dsp:txXfrm> element describe the position and // size of the text area rectangle. We cannot change the text area rectangle directly, because = 0) // currently we depend on the geometry definition of the preset. As workaround we change the // Calculate indent offsets () / and used in TextBodyProperties::pushTextDistances().
awtnChExtCy .(. java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
ConstructPresetTextRectangleaPresetTextRectangle)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 return=GetCoordinatenOffsetBottom;
switch (aElementToken)
{ case A_TOKEN( = aPre
{
.getTextBody}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.isEmpty )
{
mno_txXfrmOffX hcase getTextBody-(.
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 55
}
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
; case A_TOKEN(ext):
{ // Build text frame from txXfrm element
awt: if(= ) const OUString=mrShapegetSize(.; const OUString sal_Int32 nChExtCy = rAttribsX,0java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 if (!sCXValue.isEmpty()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
aUnrotatedTxXfrm.Width = sCXValue.toInt32();
aUnrotatedTxXfrm.}
}
(.has_value( &mno_txXfrmOffYhas_value)
{
}// namespace oox::drawingml
aUnrotatedTxXfrm.Y = /* vim:set shiftwidth=4 softtabstop=4 expandtab
}
// Has the txXfrm an own rotation beyond compensation of the shape rotation? // Happens e.g. in diagram type 'Detailed Process'.
sal_Int32 nAngleDiff
= (mrShape.getRotation() + mno_txXfrmRot.value_or(0)) % 21600000; if (nAngleDiff != 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::B2DPoint aXfrmCenter(getCenter(aUnrotatedTxXfrm));
basegfx::B2DPoint aPresetCenter(getCenter(aPresetTextRectangle));
if (nOffsetLeft)
mrShape.getTextBody()->getTextProperties().moTextOffLeft
= GetCoordinate(nOffsetLeft); if (nOffsetTop)
mrShape.getTextBody()->getTextProperties().moTextOffUpper
= GetCoordinate(nOffsetTop); if (nOffsetRight)
mrShape.getTextBody()->getTextProperties().moTextOffRight
= GetCoordinate(nOffsetRight); if (nOffsetBottom)
mrShape.getTextBody()->getTextProperties().moTextOffLower
= GetCoordinate(nOffsetBottom);
}
} break;
} return nullptr;
} // end of case mbtxXfrm
switch( aElementToken )
{ case A_TOKEN( off ): // horz/vert translation
mrShape.setPosition( awt::Point( rAttribs.getInteger( XML_x, 0 ), rAttribs.getInteger( XML_y, 0 ) ) ); break; case A_TOKEN( ext ): // horz/vert size
mrShape.setSize( awt::Size( rAttribs.getInteger( XML_cx, 0 ), rAttribs.getInteger( XML_cy, 0 ) ) ); break; case A_TOKEN( chOff ): // horz/vert translation of children
mrShape.setChildPosition( awt::Point( rAttribs.getInteger( XML_x, 0 ), rAttribs.getInteger( XML_y, 0 ) ) ); break; case A_TOKEN( chExt ): // horz/vert size of children
{
sal_Int32 nChExtCx = rAttribs.getInteger(XML_cx, 0);
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.