MultiplanParserInternal::State Struct Reference

the state of MultiplanParser More...

Public Member Functions

 State (libwps_tools_win::Font::Type fontType, char const *password)
 constructor More...
 
libwps_tools_win::Font::Type getDefaultFontType () const
 return the default font style More...
 
WPSFont getDefaultFont () const
 returns a default font (Courier12) with file's version to define the default encoding */ More...
 
std::vector< WPSColumnFormatgetColumnsWidth () const
 returns the column width in point More...
 

Public Attributes

long m_eof
 the last file position More...
 
int m_version
 the file version More...
 
libwps_tools_win::Font::Type m_fontType
 the user font type More...
 
Vec2i m_maximumCell
 the maximumCell More...
 
std::vector< int > m_columnWidths
 the columns width in char, 0 means default More...
 
std::vector< Zonem_zonesList
 the list of cell's data zone More...
 
std::map< int, std::vector< int > > m_cellPositionsMap
 the positions of each cell: a vector for each row More...
 
WPSEntry m_entries [5]
 the different main spreadsheet zones More...
 
std::map< int, WKSContentListener::FormulaInstructionm_posToLinkMap
 the list of link instruction More...
 
std::map< int, WKSContentListener::FormulaInstructionm_posToNameMap
 the map name's pos to name's cell instruction More...
 
std::set< int > m_posToSharedDataSeen
 a set a shared data already seen More...
 
char const * m_password
 the password (if known) More...
 
int m_hash
 the file hash More...
 
int m_checksum
 the file checksum More...
 
uint8_t m_keys [16]
 the list of decoding keys More...
 

Private Member Functions

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

Detailed Description

the state of MultiplanParser

Constructor & Destructor Documentation

◆ State() [1/2]

MultiplanParserInternal::State::State ( libwps_tools_win::Font::Type  fontType,
char const *  password 
)
inline

constructor

◆ State() [2/2]

MultiplanParserInternal::State::State ( State const &  )
privatedelete

Member Function Documentation

◆ getColumnsWidth()

std::vector< WPSColumnFormat > MultiplanParserInternal::State::getColumnsWidth ( ) const

returns the column width in point

◆ getDefaultFont()

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

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

◆ getDefaultFontType()

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

return the default font style

◆ operator=()

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

Member Data Documentation

◆ m_cellPositionsMap

std::map<int,std::vector<int> > MultiplanParserInternal::State::m_cellPositionsMap

the positions of each cell: a vector for each row

◆ m_checksum

int MultiplanParserInternal::State::m_checksum

the file checksum

◆ m_columnWidths

std::vector<int> MultiplanParserInternal::State::m_columnWidths

the columns width in char, 0 means default

◆ m_entries

WPSEntry MultiplanParserInternal::State::m_entries[5]

the different main spreadsheet zones

◆ m_eof

long MultiplanParserInternal::State::m_eof

the last file position

◆ m_fontType

libwps_tools_win::Font::Type MultiplanParserInternal::State::m_fontType

the user font type

◆ m_hash

int MultiplanParserInternal::State::m_hash

the file hash

◆ m_keys

uint8_t MultiplanParserInternal::State::m_keys[16]

the list of decoding keys

◆ m_maximumCell

Vec2i MultiplanParserInternal::State::m_maximumCell

the maximumCell

◆ m_password

char const* MultiplanParserInternal::State::m_password

the password (if known)

◆ m_posToLinkMap

std::map<int, WKSContentListener::FormulaInstruction> MultiplanParserInternal::State::m_posToLinkMap

the list of link instruction

◆ m_posToNameMap

std::map<int, WKSContentListener::FormulaInstruction> MultiplanParserInternal::State::m_posToNameMap

the map name's pos to name's cell instruction

◆ m_posToSharedDataSeen

std::set<int> MultiplanParserInternal::State::m_posToSharedDataSeen

a set a shared data already seen

◆ m_version

int MultiplanParserInternal::State::m_version

the file version

◆ m_zonesList

std::vector<Zone> MultiplanParserInternal::State::m_zonesList

the list of cell's data zone


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

Generated on Fri May 27 2022 03:07:01 for libwps by doxygen 1.8.14