LotusStyleManagerInternal::State Struct Reference

the state of LotusStyleManager More...

Public Member Functions

 State ()
 constructor More...
 
bool getColor8 (int id, WPSColor &color) const
 returns a color corresponding to an id between 0 and 7 More...
 
bool getColor16 (int id, WPSColor &color) const
 returns a color corresponding to an id between 0 and 15 More...
 
bool getColor256 (int id, WPSColor &color) const
 returns a color corresponding to an id More...
 
bool getPattern48 (int id, WPSGraphicStyle::Pattern &pattern) const
 returns the pattern corresponding to a pattern id between 1 and 48 More...
 
bool getPattern64 (int id, WPSGraphicStyle::Pattern &pattern) const
 returns the pattern corresponding to a pattern id between 1 and 64 More...
 

Public Attributes

int m_version
 the file version More...
 
bool m_isUpdated
 a flag to know if updateState was launched More...
 
std::map< int, CellStylem_idCellStyleMap
 a map id to cell style More...
 
std::map< int, ColorStylem_idColorStyleMap
 a map id to color style More...
 
std::map< int, FontStylem_idFontStyleMap
 a map id to font style More...
 
std::map< int, FormatStylem_idFormatStyleMap
 a map id to format style More...
 
std::map< int, GraphicStylem_idGraphicStyleMap
 a map id to graphic style More...
 
std::map< int, LineStylem_idLineStyleMap
 a map id to line style More...
 
std::map< int, FontNamem_idFontNameMap
 a map id to font name style More...
 
std::map< int, int > m_idToParentStyleMap
 a map style id to the cell style id More...
 
std::map< int, CellStyleEntrym_idToCellStyleEntryMap
 a map cell style id to the cell style entry More...
 

Detailed Description

the state of LotusStyleManager

Constructor & Destructor Documentation

LotusStyleManagerInternal::State::State ( )
inline

constructor

Member Function Documentation

bool LotusStyleManagerInternal::State::getColor16 ( int  id,
WPSColor color 
) const

returns a color corresponding to an id between 0 and 15

bool LotusStyleManagerInternal::State::getColor256 ( int  id,
WPSColor color 
) const

returns a color corresponding to an id

bool LotusStyleManagerInternal::State::getColor8 ( int  id,
WPSColor color 
) const

returns a color corresponding to an id between 0 and 7

bool LotusStyleManagerInternal::State::getPattern48 ( int  id,
WPSGraphicStyle::Pattern pattern 
) const

returns the pattern corresponding to a pattern id between 1 and 48

bool LotusStyleManagerInternal::State::getPattern64 ( int  id,
WPSGraphicStyle::Pattern pattern 
) const

returns the pattern corresponding to a pattern id between 1 and 64

Referenced by getPattern48().

Member Data Documentation

std::map<int, CellStyle> LotusStyleManagerInternal::State::m_idCellStyleMap

a map id to cell style

std::map<int, ColorStyle> LotusStyleManagerInternal::State::m_idColorStyleMap

a map id to color style

std::map<int, FontName> LotusStyleManagerInternal::State::m_idFontNameMap

a map id to font name style

std::map<int, FontStyle> LotusStyleManagerInternal::State::m_idFontStyleMap

a map id to font style

std::map<int, FormatStyle> LotusStyleManagerInternal::State::m_idFormatStyleMap

a map id to format style

std::map<int, GraphicStyle> LotusStyleManagerInternal::State::m_idGraphicStyleMap

a map id to graphic style

std::map<int, LineStyle> LotusStyleManagerInternal::State::m_idLineStyleMap

a map id to line style

std::map<int, CellStyleEntry> LotusStyleManagerInternal::State::m_idToCellStyleEntryMap

a map cell style id to the cell style entry

std::map<int, int> LotusStyleManagerInternal::State::m_idToParentStyleMap

a map style id to the cell style id

bool LotusStyleManagerInternal::State::m_isUpdated

a flag to know if updateState was launched

int LotusStyleManagerInternal::State::m_version

the file version


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

Generated on Wed Apr 11 2018 00:19:13 for libwps by doxygen 1.8.5