LibreOffice Module starmath (master) 1
Public Member Functions | Private Attributes | List of all members
SmXMLImport Class Referencefinal

#include <mathmlimport.hxx>

Inheritance diagram for SmXMLImport:
[legend]
Collaboration diagram for SmXMLImport:
[legend]

Public Member Functions

 SmXMLImport (const css::uno::Reference< css::uno::XComponentContext > &rContext, OUString const &implementationName, SvXMLImportFlags nImportFlags)
 
virtual ~SmXMLImport () noexcept override
 
void SAL_CALL endDocument () override
 
SvXMLImportContextCreateFastContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
SmNodeStackGetNodeStack ()
 
bool GetSuccess () const
 
const OUString & GetText () const
 
void SetText (const OUString &rStr)
 
virtual void SetViewSettings (const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
 
virtual void SetConfigurationSettings (const css::uno::Sequence< css::beans::PropertyValue > &aViewProps) override
 
void IncParseDepth ()
 
bool TooDeep () const
 
void DecParseDepth ()
 
void SetSmSyntaxVersion (sal_uInt16 nSmSyntaxVersion)
 
sal_uInt16 GetSmSyntaxVersion () const
 

Private Attributes

SmNodeStack aNodeStack
 
bool bSuccess
 
int nParseDepth
 
OUString aText
 
sal_uInt16 mnSmSyntaxVersion
 

Detailed Description

Definition at line 75 of file mathmlimport.hxx.

Constructor & Destructor Documentation

◆ SmXMLImport()

SmXMLImport::SmXMLImport ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
OUString const &  implementationName,
SvXMLImportFlags  nImportFlags 
)

Definition at line 389 of file mathmlimport.cxx.

References implementationName.

◆ ~SmXMLImport()

SmXMLImport::~SmXMLImport ( )
overridevirtualnoexcept

Definition at line 2551 of file mathmlimport.cxx.

References cleanup().

Member Function Documentation

◆ CreateFastContext()

SvXMLImportContext * SmXMLImport::CreateFastContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
override

◆ DecParseDepth()

void SmXMLImport::DecParseDepth ( )
inline

Definition at line 107 of file mathmlimport.hxx.

References nParseDepth.

◆ endDocument()

void SmXMLImport::endDocument ( )
override

◆ GetNodeStack()

SmNodeStack & SmXMLImport::GetNodeStack ( )
inline

Definition at line 94 of file mathmlimport.hxx.

References aNodeStack.

◆ GetSmSyntaxVersion()

sal_uInt16 SmXMLImport::GetSmSyntaxVersion ( ) const
inline

Definition at line 109 of file mathmlimport.hxx.

References mnSmSyntaxVersion.

◆ GetSuccess()

bool SmXMLImport::GetSuccess ( ) const
inline

Definition at line 96 of file mathmlimport.hxx.

References bSuccess.

Referenced by SmMLImportWrapper::ReadThroughComponentIS().

◆ GetText()

const OUString & SmXMLImport::GetText ( ) const
inline

Definition at line 97 of file mathmlimport.hxx.

References aText.

◆ IncParseDepth()

void SmXMLImport::IncParseDepth ( )
inline

Definition at line 105 of file mathmlimport.hxx.

References nParseDepth.

◆ SetConfigurationSettings()

void SmXMLImport::SetConfigurationSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aViewProps)
overridevirtual

Definition at line 2603 of file mathmlimport.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, sFormula, and u.

◆ SetSmSyntaxVersion()

void SmXMLImport::SetSmSyntaxVersion ( sal_uInt16  nSmSyntaxVersion)
inline

Definition at line 108 of file mathmlimport.hxx.

References mnSmSyntaxVersion.

◆ SetText()

void SmXMLImport::SetText ( const OUString &  rStr)
inline

Definition at line 98 of file mathmlimport.hxx.

References aText.

◆ SetViewSettings()

void SmXMLImport::SetViewSettings ( const css::uno::Sequence< css::beans::PropertyValue > &  aViewProps)
overridevirtual

◆ TooDeep()

bool SmXMLImport::TooDeep ( ) const
inline

Definition at line 106 of file mathmlimport.hxx.

References nParseDepth.

Member Data Documentation

◆ aNodeStack

SmNodeStack SmXMLImport::aNodeStack
private

Definition at line 77 of file mathmlimport.hxx.

Referenced by endDocument(), and GetNodeStack().

◆ aText

OUString SmXMLImport::aText
private

Definition at line 80 of file mathmlimport.hxx.

Referenced by endDocument(), GetText(), and SetText().

◆ bSuccess

bool SmXMLImport::bSuccess
private

Definition at line 78 of file mathmlimport.hxx.

Referenced by endDocument(), and GetSuccess().

◆ mnSmSyntaxVersion

sal_uInt16 SmXMLImport::mnSmSyntaxVersion
private

Definition at line 81 of file mathmlimport.hxx.

Referenced by endDocument(), GetSmSyntaxVersion(), and SetSmSyntaxVersion().

◆ nParseDepth

int SmXMLImport::nParseDepth
private

Definition at line 79 of file mathmlimport.hxx.

Referenced by DecParseDepth(), IncParseDepth(), and TooDeep().


The documentation for this class was generated from the following files: