LibreOffice Module starmath (master) 1
Public Member Functions | List of all members
AbstractSmParser Class Referenceabstract

#include <parsebase.hxx>

Inheritance diagram for AbstractSmParser:
[legend]

Public Member Functions

virtual ~AbstractSmParser ()
 
virtual std::unique_ptr< SmTableNodeParse (const OUString &rBuffer)=0
 Parse rBuffer to formula tree. More...
 
virtual std::unique_ptr< SmNodeParseExpression (const OUString &rBuffer)=0
 Parse rBuffer to formula subtree that constitutes an expression. More...
 
virtual const OUString & GetText () const =0
 
virtual bool IsImportSymbolNames () const =0
 
virtual void SetImportSymbolNames (bool bVal)=0
 
virtual bool IsExportSymbolNames () const =0
 
virtual void SetExportSymbolNames (bool bVal)=0
 
virtual const SmErrorDescNextError ()=0
 
virtual const SmErrorDescPrevError ()=0
 
virtual const SmErrorDescGetError () const =0
 
virtual const std::set< OUString > & GetUsedSymbols () const =0
 

Detailed Description

Definition at line 94 of file parsebase.hxx.

Constructor & Destructor Documentation

◆ ~AbstractSmParser()

virtual AbstractSmParser::~AbstractSmParser ( )
inlinevirtual

Definition at line 97 of file parsebase.hxx.

Member Function Documentation

◆ GetError()

virtual const SmErrorDesc * AbstractSmParser::GetError ( ) const
pure virtual

Implemented in SmParser5.

◆ GetText()

virtual const OUString & AbstractSmParser::GetText ( ) const
pure virtual

◆ GetUsedSymbols()

virtual const std::set< OUString > & AbstractSmParser::GetUsedSymbols ( ) const
pure virtual

Implemented in SmParser5.

◆ IsExportSymbolNames()

virtual bool AbstractSmParser::IsExportSymbolNames ( ) const
pure virtual

Implemented in SmParser5.

Referenced by SmXMLExport::ExportContent_().

◆ IsImportSymbolNames()

virtual bool AbstractSmParser::IsImportSymbolNames ( ) const
pure virtual

Implemented in SmParser5.

Referenced by SmXMLImport::endDocument().

◆ NextError()

virtual const SmErrorDesc * AbstractSmParser::NextError ( )
pure virtual

Implemented in SmParser5.

Referenced by SmViewShell::NextError().

◆ Parse()

virtual std::unique_ptr< SmTableNode > AbstractSmParser::Parse ( const OUString &  rBuffer)
pure virtual

Parse rBuffer to formula tree.

Implemented in SmParser5.

Referenced by SmXMLImport::endDocument(), and SmXMLExport::ExportContent_().

◆ ParseExpression()

virtual std::unique_ptr< SmNode > AbstractSmParser::ParseExpression ( const OUString &  rBuffer)
pure virtual

Parse rBuffer to formula subtree that constitutes an expression.

Implemented in SmParser5.

Referenced by SmCursor::InsertCommandText().

◆ PrevError()

virtual const SmErrorDesc * AbstractSmParser::PrevError ( )
pure virtual

Implemented in SmParser5.

Referenced by SmViewShell::PrevError().

◆ SetExportSymbolNames()

virtual void AbstractSmParser::SetExportSymbolNames ( bool  bVal)
pure virtual

Implemented in SmParser5.

Referenced by SmXMLExport::ExportContent_().

◆ SetImportSymbolNames()

virtual void AbstractSmParser::SetImportSymbolNames ( bool  bVal)
pure virtual

Implemented in SmParser5.

Referenced by SmXMLImport::endDocument().


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