::oox::core::ContextHandlerRef SlideMasterTextStylesContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& /*rAttribs*/ )
{
oox::drawingml::TextListStylePtr aTextListStylePtr; switch( aElementToken )
{ case PPT_TOKEN( titleStyle ):
{
aTextListStylePtr = mpSlidePersistPtr->getTitleTextStyle(); break;
} case PPT_TOKEN( bodyStyle ):
{
aTextListStylePtr = mpSlidePersistPtr->getBodyTextStyle(); break;
} case PPT_TOKEN( notesStyle ):
{
aTextListStylePtr = mpSlidePersistPtr->getNotesTextStyle(); break;
} case PPT_TOKEN( otherStyle ):
{
aTextListStylePtr = mpSlidePersistPtr->getOtherTextStyle(); break;
}
} if ( aTextListStylePtr ) // sj: the master list style is the last instance of from where properties
{ // are obtained. i got some documents without having the textsize set at for ( int i = 0; i < 9; i++ ) // any point, the master reference application is using 18pt then
aTextListStylePtr->getListStyle()[ i ].getTextCharacterProperties().moHeight = 1800; returnnew oox::drawingml::TextListStyleContext( *this, *aTextListStylePtr );
}
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.