SmXMLContext_Helper Struct Reference

Collaboration diagram for SmXMLContext_Helper:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 1342 of file mathml.cxx.


Constructor & Destructor Documentation

SmXMLContext_Helper::SmXMLContext_Helper ( SmXMLImportContext rImport  )  [inline]

Definition at line 1344 of file mathml.cxx.


Member Function Documentation

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().


Member Data Documentation

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().

double SmXMLContext_Helper::nFontSize

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().

SmXMLImportContext SmXMLContext_Helper::rContext

Definition at line 1357 of file mathml.cxx.

Referenced by ApplyAttrs(), and RetrieveAttrs().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 20 17:23:44 2008 for maths by  doxygen 1.5.1