WordMakerParserInternal::Zone Struct Reference

Internal: small structure used to store a zone of a WordMakerParser. More...

Public Types

enum  Type { Z_MAIN, Z_HEADER, Z_FOOTER }
 the zone type More...
 

Public Member Functions

 Zone (Type type)
 constructor More...
 
bool empty () const
 small function to know if a zone is empty More...
 

Public Attributes

Type m_type
 the zone type More...
 
int m_id
 the zone id More...
 
bool m_hasTitlePage
 true if the document has a title page More...
 
long m_beginPos
 the zone beginning in the file More...
 
long m_numCharacter
 the number of character More...
 
int m_numParagraph
 the number of paragraph More...
 
int m_numPicture
 the number of picture More...
 

Detailed Description

Internal: small structure used to store a zone of a WordMakerParser.

Member Enumeration Documentation

◆ Type

the zone type

Enumerator
Z_MAIN 
Z_HEADER 
Z_FOOTER 

Constructor & Destructor Documentation

◆ Zone()

WordMakerParserInternal::Zone::Zone ( Type  type)
inlineexplicit

constructor

Member Function Documentation

◆ empty()

bool WordMakerParserInternal::Zone::empty ( ) const
inline

small function to know if a zone is empty

Member Data Documentation

◆ m_beginPos

long WordMakerParserInternal::Zone::m_beginPos

◆ m_hasTitlePage

bool WordMakerParserInternal::Zone::m_hasTitlePage

true if the document has a title page

Referenced by WordMakerParser::createZones().

◆ m_id

int WordMakerParserInternal::Zone::m_id

the zone id

Referenced by WordMakerParser::createZones().

◆ m_numCharacter

long WordMakerParserInternal::Zone::m_numCharacter

the number of character

Referenced by empty().

◆ m_numParagraph

int WordMakerParserInternal::Zone::m_numParagraph

the number of paragraph

Referenced by empty().

◆ m_numPicture

int WordMakerParserInternal::Zone::m_numPicture

the number of picture

Referenced by empty().

◆ m_type

Type WordMakerParserInternal::Zone::m_type

the zone type

Referenced by WordMakerParser::createZones().


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

Generated for libmwaw by doxygen 1.8.14