QuattroParserInternal::State Struct Reference

the state of QuattroParser More...

Public Member Functions

 State (libwps_tools_win::Font::Type fontType, char const *password)
 constructor
 
libwps_tools_win::Font::Type getDefaultFontType () const
 return the default font style
 
bool getColor (int id, WPSColor &color) const
 returns a color corresponding to an id
 
void initZoneNameMap ()
 init the zone name map
 

Static Public Member Functions

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

Public Attributes

libwps_tools_win::Font::Type m_fontType
 the user font type
 
int m_version
 the file version
 
librevenge::RVNGPropertyList m_metaData
 the meta data
 
int m_actualSheet
 the actual sheet
 
std::vector< Fontm_fontsList
 the font list
 
std::vector< WPSColorm_colorsList
 the color list
 
std::map< int, librevenge::RVNGString > m_idToExternalFileMap
 map id to filename
 
std::map< int, librevenge::RVNGString > m_idToExternalNameMap
 map id to external name
 
std::map< int, std::pair< librevenge::RVNGString, QuattroFormulaInternal::CellReference > > m_idToFieldMap
 map id to field
 
WPSPageSpan m_pageSpan
 the actual document size
 
int m_actPage
 the actual page
 
int m_numPages
 
librevenge::RVNGString m_headerString
 the header string
 
librevenge::RVNGString m_footerString
 the footer string
 
char const * m_password
 the password (if known)
 
bool m_isEncrypted
 true if the file is encrypted
 
bool m_isDecoded
 true if the main stream has been decoded
 
std::map< int, ZoneNamem_idToZoneNameMap
 map zone id to zone name
 
bool m_readingZone341
 true if zone 341 is being read. Avoids recursion.
 

Private Member Functions

 State (State const &)=delete
 
Stateoperator= (State const &)=delete
 

Detailed Description

the state of QuattroParser

Constructor & Destructor Documentation

◆ State() [1/2]

QuattroParserInternal::State::State ( libwps_tools_win::Font::Type  fontType,
char const *  password 
)
inlineexplicit

constructor

◆ State() [2/2]

QuattroParserInternal::State::State ( State const &  )
privatedelete

Member Function Documentation

◆ getColor()

bool QuattroParserInternal::State::getColor ( int  id,
WPSColor color 
) const

returns a color corresponding to an id

◆ getDefaultFont()

static WPSFont QuattroParserInternal::State::getDefaultFont ( )
inlinestatic

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

◆ getDefaultFontType()

libwps_tools_win::Font::Type QuattroParserInternal::State::getDefaultFontType ( ) const
inline

return the default font style

◆ initZoneNameMap()

void QuattroParserInternal::State::initZoneNameMap ( )

init the zone name map

◆ operator=()

State & QuattroParserInternal::State::operator= ( State const &  )
privatedelete

Member Data Documentation

◆ m_actPage

int QuattroParserInternal::State::m_actPage

the actual page

◆ m_actualSheet

int QuattroParserInternal::State::m_actualSheet

the actual sheet

◆ m_colorsList

std::vector<WPSColor> QuattroParserInternal::State::m_colorsList

the color list

Referenced by getColor().

◆ m_fontsList

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

the font list

◆ m_fontType

libwps_tools_win::Font::Type QuattroParserInternal::State::m_fontType

the user font type

◆ m_footerString

librevenge::RVNGString QuattroParserInternal::State::m_footerString

the footer string

◆ m_headerString

librevenge::RVNGString QuattroParserInternal::State::m_headerString

the header string

◆ m_idToExternalFileMap

std::map<int, librevenge::RVNGString> QuattroParserInternal::State::m_idToExternalFileMap

map id to filename

◆ m_idToExternalNameMap

std::map<int, librevenge::RVNGString> QuattroParserInternal::State::m_idToExternalNameMap

map id to external name

◆ m_idToFieldMap

std::map<int, std::pair<librevenge::RVNGString,QuattroFormulaInternal::CellReference> > QuattroParserInternal::State::m_idToFieldMap

map id to field

◆ m_idToZoneNameMap

std::map<int, ZoneName> QuattroParserInternal::State::m_idToZoneNameMap

map zone id to zone name

◆ m_isDecoded

bool QuattroParserInternal::State::m_isDecoded

true if the main stream has been decoded

◆ m_isEncrypted

bool QuattroParserInternal::State::m_isEncrypted

true if the file is encrypted

◆ m_metaData

librevenge::RVNGPropertyList QuattroParserInternal::State::m_metaData

the meta data

◆ m_numPages

int QuattroParserInternal::State::m_numPages

◆ m_pageSpan

WPSPageSpan QuattroParserInternal::State::m_pageSpan

the actual document size

◆ m_password

char const* QuattroParserInternal::State::m_password

the password (if known)

◆ m_readingZone341

bool QuattroParserInternal::State::m_readingZone341

true if zone 341 is being read. Avoids recursion.

◆ m_version

int QuattroParserInternal::State::m_version

the file version


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

Generated on Thu Jul 20 2023 00:00:00 for libwps by doxygen 1.9.7