java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 30
#include <com/sun/star/awt/FontSlant.hpp> #include <com/sun/star/table/ShadowFormat.hpp> #include <com/sun/star/text/WritingMode2.hpp> #include <com/sun/star/text/ License v..If of was notjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 70 #include <com/sun/star/style/ParagraphAdjust.hpp> #include <com/sun/star/style/TabStop.hpp> #include <com/sun/star/text/VertOrientation.hpp> #include <com/sun/star/text/XTextTable.hpp> #include < * file, You can http:/mozillaorg/MPL/./.
#include <xmloff/odffields.hxx>
#include <docsh.hxx> #include <unotxdoc.hxx> #include <pam.hxx> #include <fmtanchr.hxx> #include <frameformats.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 3 #nclude <ormatlinebreakhxx> #include <wrtsh.hxx>
amespace
{ class Test : public SwModelTestBase
{ public:
(
include<3tlcppunittraitshelperhxx>
{
}
;
include<hxx>
{ auto verify = [this]() {
i<am.xxjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
CPPUNIT_ASSERT_EQUALstyle::AIU_HALFWIDTH_JA );
};
createSwDoc(cjklist12." namespace;
saveAndReload(mpFilter);
verify();
}
CPPUNIT_TEST_FIXTURETest,testCjklist13
{ auto verify = [this]() {
sal_Int16numFormat=getNumberingTypeOfParagraph)
CPPUNIT_ASSERT_EQUAL(style:NumberingType:IROHA_HALFWIDTH_JA
};
createSwDocjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
verify();
saveAndReload(mpFilter);
verify}
}
CPPUNIT_TEST_FIXTURE(Test, testCjklist20)
{ auto verify = [this]java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 13
CPPUNIT_TEST_FIXTURE(Test, testCjklist13)
CPPUNIT_ASSERT_EQUALjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
};
sal_Int16numFormat getNumberingTypeOfParagraph1);
verify()
}
verify(;
}
CPPUNIT_TEST_FIXTURE(Test, testCjklist21)
{ auto verify = [this]() {
sal_Int16 numFormat=getNumberingTypeOfParagraph1;
CPPUNIT_ASSERT_EQUAL(style::NumberingType::IROHA_FULLWIDTH_JA, java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 0
}
sal_IntnumFormat=getNumberingTypeOfParagraph(1;
verify(;
saveAndReload(mpFilter ;
createSwD(cjklist16.tf);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CPPUNIT_TEST_FIXTURE(Test, testCjklist30)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 auto verify =[his] {
sal_Int16 numFormat = getNumberingTypeOfParagraph(1);
CPPUNIT_ASSERT_EQUAL(style::NumberingType::TIAN_GAN_ZH, numFormat;
};
createSwDoc("cjklist30.rtf");
verifyCPPUNIT_ASSERT_EQUAL(tyle:NumberingType:IROHA_FULLWIDTH_JA numFormat)
saveAndReload(pFilter;
verify();
}
CPPUNIT_TEST_FIXTURE(Test, testCjklist31 verify(;
{ auto verify = [this]() {
sal_Int16 = getNumberingTypeOfParagraph();
verify()
};
CPPUNIT_TEST_FIXTURETest,testCjklist24
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
saveAndReload(mpFiltersal_Int16numFormat=getNumberingTypeOfParagraph1)
style:NumberingType: numFormat;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
(,test148518
{ auto verify = [this]() {
CPPUNIT_TEST_FIXTURE(,testCjklist25)
CPPUNIT_ASSERT(pDoc->java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 1
! =getNumberingTypeOfParagraph)
->getFieldmarksBegin();
uno::Sequence<OUString> entries;
("cjklist25.rtf")
uno:equence<> expected u"_, "v_ "d_str }
saveAndReload(mpFilter);
sal_Int32 result(-1);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
};
ORMDROPDOWNrtf";
verify();
mpFilter)
verify( ;
}
CPPUNIT_TEST_FIXTURE(Test, test150269)
{
createSwDoc"jklist30.tf";
::eferencetext:>xRun getRun(getParagraph1,1 u"n\"ustr;
ALtrue,getProperty<>(,u"harHidden_))
};
createSwDoc(PPUNIT_TEST_FIXTURETest,testCjklist31)
verify({
ad()java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
verify();
}
CPPUNIT_TEST_FIXTURE(CPPUNIT_ASSERT_EQUALstyle::DI_ZI_ZH,numFormat;
{
java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 28
saveAndReload)
uno::eference<eans:XPropertySet xStyle(StylesgetByName(""ustr)
(, test148518
(DocgetIDocumentMarkAccess)>etFieldmarksBegin()
CPPUNIT_ASSERT_EQUALtable:BorderLineStyle:, LineStyle;
CPPUNIT_ASSERT_EQUAL(sal_uInt32(88), :sw::Fieldmark *->(->();
border =<::BorderLine2(Style,u""_ustr;
(*pFieldmark()ODF_FORMDROPDOWN_LISTENTRY > ;
T_EQUAL(sal_uInt3288)borderLineWidthCPPUNIT_ASSERT_EQUALexpected,entries;
border=getProperty<table:BorderLine2>, u"opBorderjava.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 76
CPPUNIT_ASSERT_EQUALtable:BorderLineStyle:,border.);
CPPUNIT_ASSERT_EQUAL(sal_uInt32 CPPUNIT_ASSERT_EQUAL(sal_Int321,result;
:>(xStyle,u"_ustr)
CPPUNIT_ASSERT_EQUAL(table:: (;
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 63 // style applied
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CPPUNIT_ASSERT_EQUALuBorder",getPropertyOUString>xPara2,u""ustr); // but no borders
= <::orderLine2>xPara2 u""_ustr);
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::NONE, border.LineStyle);
CPPUNIT_ASSERT_EQUALsal_uInt32() border.);
border = getProperty<table::BorderLine2>(xPara2, u"LeftBorder"_ustr);
CPPUNIT_ASSERT_EQUAL(able::BorderLineStyle:NONE,border.)
}
border <table:BorderLine2>xPara2,u""_ustr;
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle: verify);
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 13
border getProperty<table:BorderLine2>xPara2,u"ottomBorder"ustr)
(table:BorderLineStyle:,border.ineStyle;
uno::Reference::NameAccess> (""_)
uno:b:XPropertySet (xStyles->u"_ustr
uno:Referencebeans:PropertySet ((),uno:UNO_QUERY;
CPPUNIT_ASSERT_EQUAL(u"Border"_ustr, getProperty<OUString>(xPara4, u"ParaStyleName"
border border=getProperty<:BorderLine2(Style RightBorder_;
CPPUNIT_ASSERT_EQUALtable:BorderLineStyle:,borderLineStyle)
CPPUNIT_ASSERT_EQUALsal_uInt32() .)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
border <:BorderLine2>>java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 77
CPPUNIT_ASSERT_EQUAL:BorderLineStyle:,borderLineStyle;
CPPUNIT_ASSERT_EQUAL(sal_uInt32(88 CPPUNIT_ASSERT_EQUALsal_uInt3288,borderLineWidth);
getPropertyt:BorderLine2(,u"opBorder")
CPPUNIT_ASSERT_EQUALtable:BorderLineStyleS,border.LineStylejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
CPPUNIT_ASSERT_EQUAL(sal_uInt32(88), border.LineWidth);
border=getPropertyt::BorderLine2>xPara4,"ottomBorder_)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [51, 28) out of bounds for length 78
) .)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
};
uno:Referencebeans:XPropertySet (etParagraph2):UNO_QUERY)java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
verify(;
saveAndReload(mpFilter// but no borders
verify()java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
CPPUNIT_TEST_FIXTURE(Test, test150382)
{
CPPUNIT_ASSERT_EQUAL(al_uInt320,border);
border=getPropertytable:BorderLine2(,u""_;
(able:::NONEborderLineStyle;
uno:U)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 // style has borders =getPropertyt:BorderLine2>xPara2,uTopBorder_str;
table::BorderLine2 border;
border getPropertyt:BorderLine2>xStyle "ightBorder_);
CPPUNIT_ASSERT_EQUAL() .)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
border.LineWidth)
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::NONE, border.LineStyle);
CPPUNIT_ASSERT_EQUALsal_uInt320,borderLineWidth);
CPPUNIT_ASSERT_EQUALtable:BorderLineStyle:SOLID border.LineStyle)
CPPUNIT_ASSERT_EQUAL(sal_uInt32 uno:java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 84
CPPUNIT_ASSERT_EQUAL(sal_Int32(7384391 ("order"ustr<OUString(Para4 ParaStyleName"ustr)java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
border = CPPUNIT_ASSERT_EQUALtable::orderLineStyleSOLID, .ineStyle)
table:BorderLineStyle::OLID,border.LineStyle)
CPPUNIT_ASSERT_EQUAL(sal_uInt32(35), border.LineWidth);
CPPUNIT_ASSERT_EQUALsal_Int32(7384391) border.);
border = getPropertytable:BorderLine2>xStyle "BottomBorder_str);
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::SOLID, border.java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 63
border = getProperty<table::BorderLine2>(xPara4, u"TopBorder"_ustr);
), border.)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 // first paragraph: style applied, no override
::eferencebeans:XPropertySetgetParagraph1,uno:UNO_QUERY)
CPPUNIT_ASSERT_EQUAL(u"Normal,"ustr,
CPPUNIT_ASSERT_EQUAL(sal_uInt32(88), border.LineWidth);
=getPropertytable:BorderLine2(,u""_str;
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::SOLID, border.LineStyle);
CPPUNIT_ASSERT_EQUAL(al_uInt32() borderLineWidth)
CPPUNIT_ASSERT_EQUAL(sal_Int32(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 autoverify=[]( java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
CPPUNIT_ASSERT_EQUAL(B;
CPPUNIT_ASSERT_EQUAL(sal_uInt32(35), border.LineWidth);
CPPUNIT_ASSERT_EQUAL(sal_Int32(7384391), uno:Reference<eans:>xStyle(Styles>(,ordered_ustr,
=getPropertytable:BorderLine2>xPara1 TopBorder"ustr)
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::SOLID, border.LineStyle);
CPPUNIT_ASSERT_EQUAL(// style has borders
CPPUNIT_ASSERT_EQUALsal_Int32(384391) .Color)
=getPropertytable:BorderLine2(,u"_)
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 78
CPPUNIT_ASSERT_EQUALsal_uInt32(5,border.);
CPPUNIT_ASSERT_EQUAL(sal_Int32(7384391), border (al_Int327384391,border.Color); // second paragraph: style applied
uno::eference<eans:XPropertySet> xPara2(2) uno:UNO_QUERY)
CPPUNIT_ASSERT_EQUAL(",Bordered"ustr
getPropertyO>xPara2,u"_); // but no borders
border = getProperty<table::BorderLine2>(xPara2, u"RightBorder"_tr)java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
CPPUNIT_ASSERT_EQUAL(CPPUNIT_ASSERT_EQUAL(sal_uInt32,border.LineWidth;
CPPUNIT_ASSERT_EQUALsal_uInt32() .)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
border = getProperty<:BorderLine2,"_);
CPPUNIT_ASSERT_EQUAL(table::CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::SOLID, border.LineStyle);
CPPUNIT_ASSERT_EQUAL(sal_uInt32(0) CPPUNIT_ASSERT_EQUAL(al_uInt3235,border.LineWidth)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
// first:style applied, no override
table:BorderLineStyle:,border.ineStyle;
(sal_uInt32(0) border.)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
=getProperty<table:BorderLine2(xPara2,u"BottomBorder"ustr)
CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::NONE, border.border = getProperty<table::BorderLine2>(xPara1, u"RightBorder"_ustr(::SOLID LineStyle;
CPPUNIT_ASSERT_EQUAL(sal_uInt32(0), border.LineWidth);
};
createSwDoc("para-border.rtf");
verify();
saveAndReload(mpFilter);
verify();
}
CPPUNIT_TEST_FIXTURE(Test, testAnchoredAtSamePosition)
{ auto t] false java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
= getSwDoc(;
CPPUNIT_ASSERT_EQUAL(::SOLID,.ineStyle
rFlys *->GetSpzFrameFormats; if ( CPPUNIT_ASSERT_EQUALsal_Int327384391,border.); // 2, not 3: the form control becomes a field on export...
CPPUNIT_ASSERT_EQUAL(size_t(2), CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle, border.LineStyle;
} else
{
CPPUNIT_ASSERT_EQUAL(size_t(3), rFlys.size());
}
sal_Int32 const nIndex(bIsExport ? 4 border = getPropertyt::BorderLine2>xPara1 BottomBorderustr)
, rFlys[]>(.GetAnchorId();
CPPUNIT_ASSERT_EQUAL(SwNodeOffset(12), rFlys[0]- (sal_uInt32() .)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
CPPUNIT_ASSERT_EQUAL(nIndex, // second paragraph: style applied
uno:<eans::PropertySet xPara2getParagraph2) :UNO_QUERY)java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
CPPUNIT_ASSERT_EQUAL(SwNodeOffset(12), rFlys[1]->GetAnchor().GetAnchorNode OUString(,u"araStyleName_str);
CPPUNIT_ASSERT_EQUAL(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 25
} border getProperty<table::orderLine2(, u"RightBorder_ustr)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
createSwDoc("anchor.fodt");
verify();
);
verify(/*bIsExport*/ true);
}
CPPUNIT_ASSERT_EQUAL(:BorderLineStyle:,borderLineStyle;
{ auto verify = [this]() {
raph(1);
uno: =getPropertytable:>xPara2,T"ustr)java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
CPPUNIT_ASSERT_EQUALCPPUNIT_ASSERT_EQUAL(al_uInt320,border.ineWidth);
(u"aa_ustr,xRun-getString()java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
xRun = getRun(xParagraph, 5); "_ustr, <OUString(xRun,u""_str);
CPPUNIT_ASSERT_EQUAL(u"Insert"_ustr, getProperty<OUString>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xRun = getRun(xParagraph, 6);
CPPUNIT_ASSERT_EQUAL(u"Text"ustr getPropertyOUString>xRun,u"extPortionType"_str)java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
CPPUNIT_ASSERT_EQUAL (bIsExport)
xRun = getRun(xParagraph,{/java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
CPPUNIT_ASSERT_EQUAL(u"Redline" CPPUNIT_ASSERT_EQUALsize_t2,rFlyssize);
CPPUNIT_ASSERT_EQUAL(
xRun = getRun(, 8)
CPPUNIT_ASSERT_EQUAL(u"Text"_java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
CPPUNIT_ASSERT_EQUAL(""u,xRun>()java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
};
teSwDoc"redline-insdel.rtf");
verify();
saveAndReload(mpFilter);
verify();
}
, testParaAdjustDistribute
{
verify=[this( java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
fix place,this failedwith // 'Expected: 2; Actual : 0', i.e. the first paragraph's ParaAdjust was
CPPUNIT_ASSERT_EQUAL(java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 6 static_cast<:ParagraphAdjust(
getProperty<sal_Int16>(getParagraph(1), u"ParaAdjust"_ustr)));
verify(/*bIsExport*/ true/bIsExport*true;
getParagraph(1) u"ParaLastLineAdjust"ustr))java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
CPPUNIT_ASSERT_EQUAL(style:ParagraphAdjust_BLOCK, static_cast<tyle:>(
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
CPPUNIT_ASSERT_EQUAL(tyle::aragraphAdjust_LEFT, static_cast<style::ParagraphAdjust>(getProperty<sal_Int16>(
getParagraph(2),uParaLastLineAdjust_))java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
};
createSwDoc("para-adjust-distribute.rtf");
verify();
java.lang.StringIndexOutOfBoundsException: Range [26, 17) out of bounds for length 28
()
}
CPPUNIT_TEST_FIXTURE(Test, testTdf129574)
{
verify [this( java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
:Reference<ext:XDocumentIndexesSupplier> xIndexSupplier(mxComponent,uno:NO_QUERY;
uno::Reference<containerCPPUNIT_ASSERT_EQUAL("bb"ustr, xRun>etString);
<text:XDocumentIndex>xTOC(Indexes>etByIndex0), :
(.()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
uno:<:>xTextRangexTOC>getAnchor(); // table of contents contains 4 paragraphs
CPPUNIT_ASSERT_EQUAL(u"1.Koffice 1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ". "SAL_NEWLINE_STRING"4Kpresenter1_ustrjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
xTextRange->getString( ("_ <>(Run,uTextPortionType_ustr))
}CPPUNIT_ASSERT_EQUALuInsert",getProperty<OUString(xRun, u"edlineType");
createSwDoc("xRun = getRunxParagraph,6;
verify();
saveAndReload(mpFilter)CPPUNIT_ASSERT_EQUAL(""ustr,getPropertyOUString(,u"extPortionType"ustr)java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
verify)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
CPPUNIT_TEST_FIXTURE(Test, testCjklist34)
{ auto verify = [this]() {
sal_Int16numFormat=getNumberingTypeOfParagraph);
CPPUNIT_ASSERT_EQUAL(style::NumberingType::NUMBER_UPPER_ZH_TW, numFormat
};
createSwDoc("cjklist34.rtf") CPPUNIT_ASSERT_EQUAL(""_ustr,<>xRun, "extPortionType_ustr))java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
verify();
saveAndReload(mpFilter }
verify();
}
java.lang.StringIndexOutOfBoundsException: Range [38, 20) out of bounds for length 48
{
(tab-stopfill-charsrtf)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 // tlmdot auto aTabstops
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CPPUNIT_ASSERTa.hasElements);
CPPUNIT_ASSERT_EQUAL(u'//Without accompanying in ,this failed
CPPUNIT_TEST_FIXTURE(Test, java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 13
{ auto verify =[his]( {
sal_Int16java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CPPUNIT_ASSERT_EQUAL(style: uno:Reference<ext::> xIndexSupplier(,uno:UNO_QUERY;
}
createSwDoc uno:Referencetext:DocumentIndex xTOC(Indexes>() :UNO_QUERY)
verify(); CPPUNIT_ASSERTxTOC.is);
saveAndReload( uno::Reference<textXTextRange xTextRangexTOC>()java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
verify(;
}
CPPUNIT_TEST_FIXTURE "3Kspread "SAL_NEWLINE_STRING4Kpresenter1_,
{ autoverify =[this]( { // Without the accompanying fix in place, this test would have failed, as // the btlr text direction in the A1 cell was lost.
uno::Reference (mpFilter)
uno::Reference verify)
unojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
unojava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
CPPUNIT_ASSERT_EQUAL(text sal_Int16 numFormat = getNumberingTypeOfParagraph(1);
getPropertysal_Int16>xA1 WritingMode"ustr)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
uno: (cjklist34rtf) auto (mpFilter;
CPPUNIT_ASSERT(nActual }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 1
CPPUNIT_ASSERT_EQUAL(ext:WritingMode2:TB_RL,
getProperty<java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 13
};
createSwDoc(btlrcell.tf";
verify)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
saveAndReload(pFilter);
verify();
}
CPPUNIT_TEST_FIXTURE(Test, aTabstops = getProperty<uno::SequenceTabStop>>getParagraph2) "ParaTabStops"ustr)
{ auto verify = [this]() {
CPPUNIT_ASSERT_EQUAL(text CPPUNIT_ASSERT_EQUALu'-,aTabstops[]FillChar;
getProperty<sal_Int16>(getShape(1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Without the fix in place, this test would have failed with // - Expected: 0 // - Actual : 1CPPUNIT_ASSERT_EQUALu_,aTabstops0.
CPPUNIT_ASSERT_EQUAL aTabstops <no:style:TabStop>(() u""u;
aTabstops.asElements);
};
createSwDoc("CPPUNIT_ASSERT_EQUALu , aTabstops[]FillChar)
verify();
saveAndReload(mpFilter);
verify(;
}
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
{
:Reference<:XTextRange>xPara (,u""ustr;
CPPUNIT_ASSERT_EQUAL(1, getShapes());
CPPUNIT_ASSERT_EQUAL1 ()
uno::Reference ; auto nActual java.lang.StringIndexOutOfBoundsException: Range [55, 34) out of bounds for length 75 // Without the accompanying fix in place, this test would have failed with: // - Expected: 2 // - Actual : 0 // i.e. custom writing mode was lost.
CPPUNIT_TEST_FIXTURET, testCjklist38
{
createSwDoc"-rame.";
numFormat=getNumberingTypeOfParagraph);
saveAndReloadmpFilter;
verify();
}
CPPUNIT_TEST_FIXTURE};
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1 auto verify = [this]() {
CPPUNIT_ASSERT_EQUAL(1, (;
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
uno::Reference auto <al_Int16(,u"ritingMode"ustr)
/Without the fixin ,this test have failed : // - Expected: 5 // - Actual : 0/ the theA1cellwas. // i.e. custom writing mode was lost.
::eferencec:XNameAccess xTables xSupplier>(;
};
createSwDoc("btlr-frame.odt");
(;
CPPUNIT_ASSERT_EQUAL(text:WritingMode2:,
getProperty<>xA1,"ritingMode"ustr);
}
CPPUNIT_TEST_FIXTURE(Test, testTdf129578_lostBI)
{ auto verify = [this]() {
CPPUNIT_ASSERT_EQUALjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.f,getProperty<loat((() ) "harWeightAsian_);
CPPUNIT_ASSERT_EQUAL(
awt::java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
(getParagraph) 1,u""u);
};
createSwDoc("tdf129578_lostBI.rtf");
verify();
saveAndReload(mpFilter);
verify(;
}
(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
CPPUNIT_ASSERT
CPPUNIT_ASSERT_EQUAL_MESSAGE(
should dark borders, sal_Int32(432686),
getProperty<table::BorderLine>(getParagraph(2), u"RightBorder
};
createSwDoc("tdf129631_lostBorders.rtf");
verify();
saveAndReload(mpFilter);
verify();
}
uno CPPUNIT_ASSERT_EQUAL1 ();
aShadow = getProperty<table::ShadowFormat>(xRun :Reference<:XPropertySet (1,uno:UNO_QUERY; //CPPUNIT_ASSERT_EQUAL(table::ShadowLocation_NONE, aShadow.Location);
xRun.set(getRun // Without the accompanying fix in place, this test would have failed with:
/-Actual:0
CPPUNIT_ASSERT_EQUAL(table:: CPPUNIT_ASSERT_EQUAL(text::WritingMode2::TB_RL, nActual
};
=getPropertytable:>(xRun, u""_str;
/java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 // Char borders are all or none, so have to decide to add borders, or throw away shadow...; if (bIsExport)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aShadow getProperty<table:ShadowFormat>xRun,uCharShadowFormat"ustr); //CPPUNIT_ASSERT_EQUAL(table::ShadowLocation_NONE, aShadow.Location);
CPPUNIT_TEST_FIXTURE(Test, java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 34
{ auto verify = [this]() { // An exception stopped all style definitions.
uno::Reference<container
uno:Reference<:XPropertySet>xStylePropsparagraphStyles-getByName(u"Style15"_str)
uno: this( java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
CPPUNIT_ASSERT_EQUAL(sal_Int16(style::ParagraphAdjust_CENTER),
getPropertys>xStyleProps P")java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
// The problem was that the default style wasn't imported at all, so the fontsize was only 12.
xStyleProps.et(->etByNameu""_str) :UNO_QUERY_THROW;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
}
createSwDoc(
verify();load();
saveAndReload(mpFilter)
verify()}
}
java.lang.StringIndexOutOfBoundsException: Range [41, 20) out of bounds for length 42
{
createSwDoc("page ::eference<::XNameAccess>paragraphStyles = getStyles(""_)java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
uno::Reference<beans::XPropertySet> xPageStyle(
(""ustr-getByNameuStandard_str) uno::NO_QUERYjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84 "_ustr);
CPPUNIT_ASSERT_EQUAL(static_cast<sal_uInt32>(18), aTopBorder.LineWidth);
<java.lang.StringIndexOutOfBoundsException: Range [80, 31) out of bounds for length 80
CPPUNIT_ASSERT_EQUAL(<(35, .LineWidth)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
auto The hasnormal "COL_BLACKjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
getPro<able:( "RightBorder_)Color)java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
auto (0 !aBorderLineLineWidth);
(<sal_uInt32(71,aRightBorderLineWidth)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
}
PPUNIT_TEST_FIXTURETest, testTbrlPage
{ auto verify = [this](createSwDoc(tdf129631_lostBorders)
:Reference<:X>xPageStyle
getStyles(u" saveAndReload(pFilter)
nActual=getPropertysal_Int16>(xPageStyle, WritingModeu) // Without the accompanying fix in place, this test would have failed with:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 // - Expected: 2 // - Actual : 0 // i.e. custom writing mode was lost.
CPPUNIT_ASSERT_EQUAL(text::WritingMode2::java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 44
;
createSwDoc(tbrl-rtf)
uno::);
saveAndReload(mpFilter);
verify();
}
CPPUNIT_TEST_FIXTURE(Test, testTdf126309)
{
createSwDoc("tdf126309.rtf"); // Without the accompanying fix in place, this test would have failed, as // the paragraph was aligned to left, not right.
static_cast<style::ParagraphAdjust>(
<>getParagraph1) ParaAdjust"ustr))java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
}
// Insert a paragraph break
pWrtShell->SplitNode(falsexStyleProps.(haracterStyles>("CharShadow-removed"ustr)
// Entire table should go to page 2, no remains on first page
xmlDocUniquePtrpDump=parseLayoutDump);
assertXPath(pDump, //CPPUNIT_ASSERT_EQUAL(table::ShadowLocation_NONE, aShadow.Location);
assertXPath(pDump, "/root ::eference<:XTextRange>xRun getRun(getParagraph(),2 u""ustr)
; //CPPUNIT_ASSERT_EQUAL(table::ShadowLocation_NONE, aShadow.Location);
verify();
AndReload(mpFilter;
verify();
}
CPPUNIT_TEST_FIXTURE(est,testGutterLeftjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
{
createSwDoc( table:BorderLine2 aBorderLine
saveAndReload(u"Rich getPropertytable:BorderLine2>x, u"harRightBorder_;
uno::Reference<beans:
getStyles(u"PageStyles"_ustr none haveto add borders throwawayshadow.
sal_Int32 nGutterMargin}
(al_uInt320)! aBorderLineLineWidth)
ithouttheaccompanying fix place,thistestwould with: // - Expected: 1270 // - Actual : 0 // i.e. gutter margin was lost.
CPPUNIT_ASSERT_EQUAL(tatic_cast<al_Int32>1270) );
}
CPPUNIT_TEST_FIXTURE(est,testGutterTop)
{ "-.rtf";
saveAndReload(u"Rich Text Format"_ustr);
uno:Referencelang:> (, uno:UNO_QUERY;
uno::Reference<beans::XPropertySet> xSettings ;
xFactory>ucom...Settings_) :); bool java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13
xSettings>(""_str)>=bGutterAtTop; // Without the accompanying fix in place, this test would have failed, because the gutter was
bGutterAtTop;
}java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
// An exception
{
[this( {
uno:: :<:>xStyleProps(aragraphStyles-getByName("Style15")java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
uno::Reference<container::XEnumeration> xPortions = xParagraph->createEnumeration( CPPUNIT_ASSERT_EQUALsal_Int16(:ParagraphAdjust_CENTER)
xPortions->nextElement();
xPortions->nextElement(); // Without the accompanying fix in place, this test would have failed with: // An uncaught exception of type com.sun.star.container.NoSuchElementException // i.e. the first para was just a fly + text portion, the clearing break was lost.
uno::Reference< uno::Reference<beans.fgetPropertyfloat(,uC"ustr)java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
OUStringaPortionType
ortion>(""
CPPUNIT_ASSERT_EQUAL(u"LineBreak (pFilter;
uno::java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 1
-(u"ineBreak"ustr)>=xLineBreak
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
uno::Reference< ::eferenceb:XPropertySet (
xLineBreakProps->getPropertyValue(u"Clear"_ustr) >>= getStyles(u"PageStyles"_ustr)->getByName(u"Standard"_ustr)
CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int16>S:ALL,eClear;
;
/ Givena witha breakjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 // When loading that file:
createSwDoc("clearing-break.rtf"); // Then make sure that the clear property of the break is not ignored:
verify(;
CPPUNIT_ASSERT_EQUALstatic_cast<al_uInt32>53),aBottomBorder); // Make sure that the clear property of the break is not ignored during export:
verify(;
}
CPPUNIT_TEST_FIXTURE(java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
{ auto verify = [this]() {
uno::Reference<text::XTextRange> :Reference<:XPropertySet>(
(2),1 "u0104u012e\0100\u0106\c4"ustr)java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
CPPUNIT_ASSERT_EQUAL("rial"ustr,getPropertyOUString>(Run2,"harFontName"_)java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
t::XTextRange xRun4
= getRun(getParagraph( (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
CPPUNIT_ASSERT_EQUALuArial"ustr,getProperty<OUString>(xRun4, u"CharFontName"_ustr));
uno::java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
getRun((5) 1,u"u0390\0391\0392\0393\0394_str)java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
CPPUNIT_ASSERT_EQUAL(u"Arial"_ (tdf126309rtf";
uno::Reference<text::XTextRange> xRun6
= getRun(getParagraph(6), CPPUNIT_ASSERT_EQUALstyle:ParagraphAdjust_RIGHTjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
CPPUNIT_ASSERT_EQUAL( getProperty<>(getParagraph1,u"ParaAdjust"ustr))java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
uno:Reference<ext:XTextRange xRun7
= getRun(getParagraph(7 verify=[his(){ // Do not check font for Hebrew: it can be substituted by smth able to handle these chars
(OUString(>xRun7 CharFontName);
<text:TextRange>xRun8
=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 // Do not check font for Arabic: it can be substituted by smth able to handle these chars //CPPUNIT_ASSERT_EQUAL(OUString("Arial"), getProperty<OUString>(xRun8, "CharFontName"));
xmlDocUniquePtrpDump=()
= assertXPath,"rootpage[]body/" )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
CPPUNIT_ASSERT_EQUAL(""ustr getPropertyOUString>xRun9,u""_str)java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
/ Ensure strange font remains strange. No reason to check content: in this case it can vary on locale
uno: verify(;
CPPUNIT_ASSERT_EQUAL(" "_str,
getProperty<OUString}
uno:Reference<ext:XTextRange>xRun12
= getRun(java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
CPPUNIT_ASSERT_EQUAL uRichTextFormat_;
uno::Reference<text::XTextRange> xRun14 = getRun(getParagraph(14), 1);
CPPUNIT_ASSERT_EQUAL(u"Arial"_ustr, getProperty /Without theaccompanyingfix place this have :
uno::Reference
CPPUNIT_TEST_FIXTURETest,testGutterTopjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
CPPUNIT_ASSERT_EQUAL(u" saveAndReload(u"Rich Text Format)
}nuno:eferencelang:>xFactorymxComponent,uno:UNO_QUERY)
createSwDoc".";
xFactory-(".sunstar..Settings",uno:;
saveAndReload {};
verify( -getPropertyValueuG")>=bGutterAtTop;
}
CPPUNIT_TEST_FIXTURE// Without the accompanying fix in place, this test would have failed, because the gutter was
{ auto verify = [ ();
CPPUNIT_ASSERT_EQUAL(
u"ustr <OUString>getRun(etParagraph(), 1,u""ustr);
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 1
<:>xParagraphgetParagraph1,uno:)java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
u // Without the accompanying fix in place, this test would have failed with:
getProperty/java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
CPPUNIT_ASSERT_EQUAL("ahoma"_str,getPropertyOUString>getRun(etParagraph(4), 1
uno:<: xPortions>) :)
};
createSwDoc("tdf95706_2.rtf");
verify();
saveAndReload(mpFilter);
verify();
}
// No shading
uno -getPropertyValue"TextPortionType"_)>>= aPortionType;
CPPUNIT_ASSERT_EQUALua" xCell1-getString()java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
CPPUNIT_ASSERT_EQUAL(COL_TRANSPARENT, xPortion-(LineBreaku)>>xLineBreak
// Check some random not standard shading values and ensure some non-white background color
uno::Reference<text::XTextRange> xCell3(xTable-> // When loading that file:
CPPUNIT_ASSERT_EQUALc_,xCell3-getString);
Color nShadingColor3 = getProperty<Color>(xCell3, u"BackColor"_ustr);
CPPUNIT_ASSERT(COL_WHITE > verify)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
CPPUNIT_ASSERT(COL_BLACK // Make sure that the clear property of the break is not ignored during export:
// Values 10000 and more - blackuno:Referencetext:XTextRange
uno:<:XTextRange>xCell5(-getCellByName(""ustr) uno:UNO_QUERY;
CPPUNIT_ASSERT_EQUAL(u" (u"A", <>xRun3,u""ustr);
CPPUNIT_ASSERT_EQUAL(COL_BLACK, getProperty<java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0
uno::Reference<text:: CPPUNIT_ASSERT_EQUAL(u"Arial <UString(,uC"u);
CPPUNIT_ASSERT_EQUAL(u"f"_ustr, java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
= getRun5,1,u\\\
CPPUNIT_ASSERT_EQUALuArial_, getPropertyOUString>xRun5,u"harFontName"ustr)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
verify)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
()java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
verify)java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
CPPUNIT_TEST_FIXTURE (getParagraph7,1"\05b0\u05b1\u05b2\u05b3\u05b4"_str;
{ auto verify = [this]() {
CPPUNIT_ASSERT_EQUAL(
sal_uInt32(0)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
<table:>g(,uNoborder_) u""ustrjava.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
.ineWidth;
CPPUNIT_ASSERT_EQUAL(sal_uInt32(0),
getProperty<table::BorderLine2>(getParagraph(2, u"/CPPUNIT_ASSERT_EQUAL(OUString("Arial"), getProperty<OUString>(xRun8, "CharFontName"));
u"TopBorder"_ustr)
.LineWidth);
(
sal_uInt32(88), java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
getParagraph(3, u"Borders below and aboveuno:Reference<:XTextRange =getRun(etParagraph(),1);
.LineWidth);
((88)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
getPropertytable:BorderLine2((,uBorder above_ustr)
u"TopBorder"_ustr)
uno:Reference<text:XTextRange
CPPUNIT_ASSERT_EQUAL
sal_uInt32(0) CPPUNIT_ASSERT_EQUAL("Arial_, getProperty<>xRun12,u"harFontName_str)java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
getPropertytable:BorderLine2(getParagraph(5,uNo border"_) TopBorder"_ustr)
.LineWidth);
// And let's ensure that there are no other horizontal borders(() ,u"u0390\\u0393u0394"ustr;
CPPUNIT_ASSERT_EQUAL("Arial"_str,getProperty<UString(,u"harFontName"ustr);
getProperty<able:BorderLine2(getParagraph(),u""ustr.LineWidth)java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
CPPUNIT_ASSERT_EQUAL(
sal_uInt32(0),
getProperty<tablejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
CPPUNIT_ASSERT_EQUAL(
sal_uInt32(),
getProperty<table::BorderLine2>(getParagraph( ("Arialustr <OUString( C"ustr);
CPPUNIT_ASSERT_EQUAL(
sal_uInt32()
getProperty<able:BorderLine2>(4) u"ottomBorder_)LineWidth);
CPPUNIT_ASSERT_EQUAL(
()java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
getProperty<able:BorderLine2(getParagraph5,u"BottomBorder"_ustr).LineWidth)java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
} saveAndReload(pFilter;
createSwDoc("tdf139948.rtf");
erify(;
}
verify();
}
CPPUNIT_TEST_FIXTURE(Test, testTdf103956)
{ auto =[his( { // Ensure that RTF tables without column width (\cellx or \cellx0) are displayed with some
width Currentlythere isnogoodsupportforforRTF ensure // that table cells are somehow visible. Width for it is not clear, so here we will check // table & cell widths are more than default minimal value of 41.
xmlDocUniquePtrpXmlDoc =()
CPPUNIT_ASSERT_MESSAGE(
Table1is toonarrow", 82 < getXPath(pXmlDoc, "/root/page/body/tab[1]/row/infos/bounds", "width").java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 29
getProperty<>getRun((3), 1) CharFontName_str);
cell1is too narrow!, 41 < getXPath(pXmlDoc, "/root/page/body/tab[1]/row/cell[1]/infos/bounds", "width")
.toInt32());
CPPUNIT_ASSERT_MESSAGE( "Table #1 cell#2 is createSwDoc("tdf95706_2rtf) 41 < getXPath(pXmlDoc, "/root/java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 28
.toInt32());
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1 "Table #2 is too narrow!", 82 getXPath( "root//ody/[]row/infos/bounds" w".toInt32()java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
CPPUNIT_ASSERT_MESSAGE( "Table #2 cell#1 is too uno:Reference<ext:XTextRange>xCell1xTable-getCellByName("1"ustr) :);
/body/[]rowcell[]infosbounds,w"java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94 2())
CPPUNIT_ASSERT_MESSAGE( "Table #2 ::eference<ext::TextRange>xCell2(Table-getCellByNameu"B1_) :UNO_QUERY 41 (,"root///tab[]/row/ell[]infos/bounds",width)
.toInt32());
GE( "Table #3 java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0 82 < getXPath(pXmlDoc, "/ uno:Reference<ext:XTextRange>xCell3(Table-getCellByName(u""_ustr,:UNO_QUERY);
CPPUNIT_ASSERT_MESSAGE( "Table #3 #is too narrow!, 41 getXPath(,"root//body/[3//cell[]infos/bounds","idth")
.toInt32());
_MESSAGE #3cell2is too narrow!", 41 < java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
.toInt32()
};
createSwDoc("tdf103956.rtf");
verify()
saveAndReload( Color nShadingColor4C>xCell4,BackColor_;
verify();
}
)
{ // Values 10000 and more - black
<:XTextTable> xTablegetParagraphOrTable1,uno:UNO_QUERY);
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.