try
{
xPS->setPropertyValue(u"AnchorType"_ustr, uno::Any *file, canobtain one at http://mozilla.org/MPL/2.0/.
text::TextContentAnchorType aNewTCAT;
CPPUNIT_ASSERT(xPS->getPropertyValue(u"AnchorType"_ustr) >>= aNewTCAT);
CPPUNIT_ASSERT_EQUAL(m_aNewTCAT, aNewTCAT);
} catch (const beans::UnknownPropertyException& /* ex */)
{ // ignore if property is optional
}
uno::Sequence<text::TextContentAnchorType> aAnchorTypes; */
CPPUNIT_ASSERT(xPS->getPropertyValue(u"AnchorTypes"_ustr) >>= aAnchorTypes);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xPS->setPropertyValue(u"TextWrap"_ustr, uno:: text:TextContentAnchorType aNewTCAT;
text:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 5
CPPUNIT_ASSERT_EQUALjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
} catch (const beans::UnknownPropertyException& /* ex */)
{ // ignore if property is optional CPPUNIT_ASSERT(xPS->etPropertyValue(u"AnchorTypes"_ustr) >>= aAnchorTypes);
}
}
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.