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...
 

Detailed Description

the state of LotusStyleManager

Constructor & Destructor Documentation

§ State()

LotusStyleManagerInternal::State::State ( )
inline

constructor

Member Function Documentation

§ getColor16()

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

returns a color corresponding to an id between 0 and 15

§ getColor256()

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

returns a color corresponding to an id

§ getColor8()

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

returns a color corresponding to an id between 0 and 7

§ getPattern48()

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

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

§ getPattern64()

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

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

Member Data Documentation

§ m_idCellStyleMap

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

a map id to cell style

§ m_idColorStyleMap

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

a map id to color style

§ m_idFontNameMap

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

a map id to font name style

§ m_idFontStyleMap

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

a map id to font style

§ m_idFormatStyleMap

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

a map id to format style

§ m_idGraphicStyleMap

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

a map id to graphic style

§ m_idLineStyleMap

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

a map id to line style

§ m_isUpdated

bool LotusStyleManagerInternal::State::m_isUpdated

a flag to know if updateState was launched

§ m_version

int LotusStyleManagerInternal::State::m_version

the file version


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

Generated on Wed Oct 26 2016 16:54:39 for libwps by doxygen 1.8.12