WKS4ParserInternal::State Struct Reference

the state of WKS4Parser More...

Public Member Functions

 State ()
 constructor More...
 
bool getColor (int id, uint32_t &color) const
 returns a color corresponding to an id More...
 
WPSFont getDefaultFont () const
 returns a default font (Courier12) with file's version to define the default encoding */ More...
 

Public Attributes

long m_eof
 the last file position More...
 
bool m_isSpreadsheet
 boolean to know if the file is a spreadsheet file or a database file More...
 
int m_version
 the file version More...
 
bool m_hasLICSCharacters
 flag to know if the character More...
 
std::vector< Fontm_fontsList
 the fonts list More...
 
WPSPageSpan m_pageSpan
 the actual document size More...
 
int m_actPage
 the actual page More...
 
int m_numPages
 
std::string m_headerString
 the header string More...
 
std::string m_footerString
 the footer string More...
 

Detailed Description

the state of WKS4Parser

Constructor & Destructor Documentation

WKS4ParserInternal::State::State ( )
inline

constructor

Member Function Documentation

bool WKS4ParserInternal::State::getColor ( int  id,
uint32_t &  color 
) const

returns a color corresponding to an id

WPSFont WKS4ParserInternal::State::getDefaultFont ( ) const
inline

returns a default font (Courier12) with file's version to define the default encoding */

Member Data Documentation

int WKS4ParserInternal::State::m_actPage

the actual page

long WKS4ParserInternal::State::m_eof

the last file position

std::vector<Font> WKS4ParserInternal::State::m_fontsList

the fonts list

std::string WKS4ParserInternal::State::m_footerString

the footer string

bool WKS4ParserInternal::State::m_hasLICSCharacters

flag to know if the character

std::string WKS4ParserInternal::State::m_headerString

the header string

bool WKS4ParserInternal::State::m_isSpreadsheet

boolean to know if the file is a spreadsheet file or a database file

int WKS4ParserInternal::State::m_numPages
WPSPageSpan WKS4ParserInternal::State::m_pageSpan

the actual document size

int WKS4ParserInternal::State::m_version

the file version


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

Generated on Mon Nov 23 2015 07:09:19 for libwps by doxygen 1.8.5