LibreOffice Module starmath (master) 1
|
#include <mathmlimport.hxx>
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 |
SvXMLImportContext * | CreateFastContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
SmNodeStack & | GetNodeStack () |
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 |
Definition at line 75 of file mathmlimport.hxx.
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.
|
overridevirtualnoexcept |
Definition at line 2551 of file mathmlimport.cxx.
References cleanup().
|
override |
Definition at line 2524 of file mathmlimport.cxx.
References IsTokenInNamespace(), OFFICE, TOKEN_MASK, XML_DOCUMENT, XML_DOCUMENT_META, XML_ELEMENT, and XML_NAMESPACE_OFFICE.
|
inline |
Definition at line 107 of file mathmlimport.hxx.
References nParseDepth.
|
override |
Definition at line 422 of file mathmlimport.cxx.
References aNodeStack, aText, bSuccess, SfxBaseModel::GetObjectShell(), SmDocShell::GetParser(), AbstractSmParser::GetText(), AbstractSmParser::IsImportSymbolNames(), mnSmSyntaxVersion, AbstractSmParser::Parse(), SmDocShell::SetFormulaTree(), AbstractSmParser::SetImportSymbolNames(), SmDocShell::SetSmSyntaxVersion(), SmDocShell::SetText(), Table, and xModel.
|
inline |
Definition at line 94 of file mathmlimport.hxx.
References aNodeStack.
|
inline |
Definition at line 109 of file mathmlimport.hxx.
References mnSmSyntaxVersion.
|
inline |
Definition at line 96 of file mathmlimport.hxx.
References bSuccess.
Referenced by SmMLImportWrapper::ReadThroughComponentIS().
|
inline |
Definition at line 97 of file mathmlimport.hxx.
References aText.
|
inline |
Definition at line 105 of file mathmlimport.hxx.
References nParseDepth.
|
overridevirtual |
Definition at line 2603 of file mathmlimport.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, sFormula, and u.
|
inline |
Definition at line 108 of file mathmlimport.hxx.
References mnSmSyntaxVersion.
|
inline |
Definition at line 98 of file mathmlimport.hxx.
References aText.
|
overridevirtual |
Definition at line 2553 of file mathmlimport.cxx.
References SfxBaseModel::GetObjectShell(), tools::Rectangle::GetSize(), SfxObjectShell::GetVisArea(), tools::Rectangle::SaturatingSetPosX(), tools::Rectangle::SaturatingSetPosY(), tools::Rectangle::SaturatingSetSize(), Size::setHeight(), SmDocShell::SetVisArea(), Size::setWidth(), and xModel.
|
inline |
Definition at line 106 of file mathmlimport.hxx.
References nParseDepth.
|
private |
Definition at line 77 of file mathmlimport.hxx.
Referenced by endDocument(), and GetNodeStack().
|
private |
Definition at line 80 of file mathmlimport.hxx.
Referenced by endDocument(), GetText(), and SetText().
|
private |
Definition at line 78 of file mathmlimport.hxx.
Referenced by endDocument(), and GetSuccess().
|
private |
Definition at line 81 of file mathmlimport.hxx.
Referenced by endDocument(), GetSmSyntaxVersion(), and SetSmSyntaxVersion().
|
private |
Definition at line 79 of file mathmlimport.hxx.
Referenced by DecParseDepth(), IncParseDepth(), and TooDeep().