MSWriteParserInternal::SubDocument Class Referencefinal

Internal: the subdocument of a MSWriteParser. More...

Inheritance diagram for MSWriteParserInternal::SubDocument:
WPSTextSubDocument WPSSubDocument

Public Member Functions

 SubDocument (RVNGInputStreamPtr const &input, MSWriteParser &pars, WPSEntry const &entry, Paragraph::Location location)
 constructor for a text entry
 ~SubDocument () final
 destructor
bool operator== (std::shared_ptr< WPSSubDocument > const &doc) const final
 operator==
void parse (std::shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType) final
 the parser function
Public Member Functions inherited from WPSTextSubDocument
 WPSTextSubDocument (RVNGInputStreamPtr const &input, WPSParser *parser, int id=0)
 constructor
 ~WPSTextSubDocument () override
 destructor
RVNGInputStreamPtr const & getInput ()
 returns the input
WPSParserparser () const
 returns the parser
bool operator== (std::shared_ptr< WPSSubDocument > const &doc) const override
 an operator =
Public Member Functions inherited from WPSSubDocument
 WPSSubDocument (RVNGInputStreamPtr const &input, int id=0)
 constructor
virtual ~WPSSubDocument ()
 destructor
RVNGInputStreamPtrgetInput ()
 returns the input
int id () const
 get the identificator
void setId (int i)
 set the identificator
bool operator!= (std::shared_ptr< WPSSubDocument > const &doc) const

Public Attributes

WPSEntry m_entry
 the entry
Paragraph::Location m_Location

Additional Inherited Members

Protected Attributes inherited from WPSTextSubDocument
WPSParserm_parser
Protected Attributes inherited from WPSSubDocument
RVNGInputStreamPtr m_input
int m_id

Detailed Description

Internal: the subdocument of a MSWriteParser.

Constructor & Destructor Documentation

◆ SubDocument()

MSWriteParserInternal::SubDocument::SubDocument ( RVNGInputStreamPtr const & input,
MSWriteParser & pars,
WPSEntry const & entry,
Paragraph::Location location )
inline

constructor for a text entry

Referenced by operator==().

◆ ~SubDocument()

MSWriteParserInternal::SubDocument::~SubDocument ( )
inlinefinal

destructor

Member Function Documentation

◆ operator==()

bool MSWriteParserInternal::SubDocument::operator== ( std::shared_ptr< WPSSubDocument > const & doc) const
inlinefinalvirtual

operator==

Reimplemented from WPSSubDocument.

◆ parse()

void MSWriteParserInternal::SubDocument::parse ( std::shared_ptr< WPSContentListener > & listener,
libwps::SubDocumentType subDocumentType )
finalvirtual

the parser function

Implements WPSTextSubDocument.

Member Data Documentation

◆ m_entry

WPSEntry MSWriteParserInternal::SubDocument::m_entry

the entry

Referenced by operator==(), parse(), and SubDocument().

◆ m_Location

Paragraph::Location MSWriteParserInternal::SubDocument::m_Location

Referenced by parse(), and SubDocument().


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

Generated on Sat Jul 19 2025 05:24:41 for libwps by doxygen 1.14.0