Public Member Functions | |
SmXMLContext_Helper (SmXMLImportContext &rImport) | |
void | RetrieveAttrs (const uno::Reference< xml::sax::XAttributeList > &xAttrList) |
void | ApplyAttrs () |
Public Attributes | |
sal_Int8 | nIsBold |
sal_Int8 | nIsItalic |
double | nFontSize |
sal_Bool | bFontNodeNeeded |
OUString | sFontFamily |
OUString | sColor |
SmXMLImportContext | rContext |
Definition at line 1342 of file mathml.cxx.
SmXMLContext_Helper::SmXMLContext_Helper | ( | SmXMLImportContext & | rImport | ) | [inline] |
Definition at line 1344 of file mathml.cxx.
void SmXMLContext_Helper::RetrieveAttrs | ( | const uno::Reference< xml::sax::XAttributeList > & | xAttrList | ) |
Definition at line 1360 of file mathml.cxx.
References bFontNodeNeeded, SmXMLImport::GetPresLayoutAttrTokenMap(), SmXMLImportContext::GetSmImport(), nFontSize, nIsBold, nIsItalic, rContext, sColor, sFontFamily, XML_TOK_COLOR, XML_TOK_FONTFAMILY, XML_TOK_FONTSIZE, XML_TOK_FONTSTYLE, and XML_TOK_FONTWEIGHT.
Referenced by SmXMLIdentifierContext_Impl::StartElement(), and SmXMLStyleContext_Impl::StartElement().
void SmXMLContext_Helper::ApplyAttrs | ( | ) |
Definition at line 1417 of file mathml.cxx.
References SmToken::aText, bFontNodeNeeded, SmToken::cMathChar, SmToken::eType, FNTSIZ_ABSOLUT, FNTSIZ_DIVIDE, FNTSIZ_MULTIPLY, SmXMLImport::GetColorTokenMap(), SmXMLImport::GetNodeStack(), SmXMLImportContext::GetSmImport(), nFontSize, SmToken::nGroup, nIsBold, nIsItalic, SmToken::nLevel, rContext, sColor, SmFontNode::SetSizeParameter(), SmStructureNode::SetSubNodes(), sFontFamily, TBOLD, TFIXED, TITALIC, TNBOLD, TNITALIC, TSANS, TSERIF, and TSIZE.
Referenced by SmXMLIdentifierContext_Impl::EndElement(), and SmXMLStyleContext_Impl::EndElement().
sal_Int8 SmXMLContext_Helper::nIsBold |
Definition at line 1350 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().
sal_Int8 SmXMLContext_Helper::nIsItalic |
Definition at line 1351 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().
Definition at line 1352 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().
sal_Bool SmXMLContext_Helper::bFontNodeNeeded |
Definition at line 1353 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().
OUString SmXMLContext_Helper::sFontFamily |
Definition at line 1354 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().
OUString SmXMLContext_Helper::sColor |
Definition at line 1355 of file mathml.cxx.
Referenced by ApplyAttrs(), SmXMLIdentifierContext_Impl::EndElement(), and RetrieveAttrs().