summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textcharacterpropertiescontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/textcharacterpropertiescontext.cxx')
-rw-r--r--oox/source/drawingml/textcharacterpropertiescontext.cxx39
1 files changed, 15 insertions, 24 deletions
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx
index dfca590a62e5..a937dba392d2 100644
--- a/oox/source/drawingml/textcharacterpropertiescontext.cxx
+++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx
@@ -52,36 +52,27 @@ TextCharacterPropertiesContext::TextCharacterPropertiesContext(
mrTextCharacterProperties.moUnderline = rAttribs.getToken( XML_u );
if ( rAttribs.hasAttribute( XML_strike ) )
mrTextCharacterProperties.moStrikeout = rAttribs.getToken( XML_strike );
+ if ( aAttribs.hasAttribute( XML_baseline ) )
+ mrTextCharacterProperties.moBaseline = aAttribs.getInteger( XML_baseline );
-// mrTextCharacterProperties.moCaseMap = rAttribs.getToken( XML_cap );
if ( rAttribs.hasAttribute( XML_b ) )
mrTextCharacterProperties.moBold = rAttribs.getBool( XML_b );
if ( rAttribs.hasAttribute( XML_i ) )
mrTextCharacterProperties.moItalic = rAttribs.getBool( XML_i );
-// TODO
-/* todo: we need to be able to iterate over the XFastAttributes
-
- // ST_TextNonNegativePoint
- const OUString sCharKerning( "CharKerning" );
- //case A_TOKEN( kern ):
-
- // ST_TextLanguageID
- OUString sAltLang = rAttribs.getString( XML_altLang ).get();
-
- case A_TOKEN( kumimoji ): // xsd:boolean
- break;
- case A_TOKEN( spc ): // ST_TextPoint
- case A_TOKEN( normalizeH ): // xsd:boolean
- case A_TOKEN( baseline ): // ST_Percentage
- case A_TOKEN( noProof ): // xsd:boolean
- case A_TOKEN( dirty ): // xsd:boolean
- case A_TOKEN( err ): // xsd:boolean
- case A_TOKEN( smtClean ): // xsd:boolean
- case A_TOKEN( smtId ): // xsd:unsignedInt
- break;
-*/
-
+ /* TODO / unhandled so far:
+ XML_cap
+ A_TOKEN( kern )
+ XML_altLang
+ A_TOKEN( kumimoji )
+ A_TOKEN( spc )
+ A_TOKEN( normalizeH )
+ A_TOKEN( noProof )
+ A_TOKEN( dirty )
+ A_TOKEN( err )
+ A_TOKEN( smtClean )
+ A_TOKEN( smtId )
+ */
}
TextCharacterPropertiesContext::~TextCharacterPropertiesContext()