22 #ifndef LOTUS_STYLE_MANAGER_H 23 #define LOTUS_STYLE_MANAGER_H 29 #include <librevenge-stream/librevenge-stream.h> 37 struct CellStyleEntry;
62 bool getColor8(
int cId,
WPSColor &color)
const;
64 bool getColor16(
int cId,
WPSColor &color)
const;
66 bool getColor256(
int cId,
WPSColor &color)
const;
80 bool updateSurfaceStyle(
int fColorId,
int bColorId,
int patternId,
WPSGraphicStyle &style)
const;
95 bool readColorStyle(shared_ptr<WPSStream> stream,
long endPos);
97 bool readFormatStyle(shared_ptr<WPSStream> stream,
long endPos);
99 bool readLineStyle(shared_ptr<WPSStream> stream,
long endPos,
int vers);
101 bool readGraphicStyle(shared_ptr<WPSStream> stream,
long endPos);
103 bool readGraphicStyleC9(shared_ptr<WPSStream> stream,
long endPos);
108 bool readFontStyleA0(shared_ptr<WPSStream> stream,
long endPos);
110 bool readFontStyleF0(shared_ptr<WPSStream> stream,
long endPos);
112 bool readCellStyleD2(shared_ptr<WPSStream> stream,
long endPos);
114 bool readCellStyleE6(shared_ptr<WPSStream> stream,
long endPos);
117 bool readMenuStyleE7(shared_ptr<WPSStream> stream,
long endPos);
119 bool readStyleE6(shared_ptr<WPSStream> stream,
long endPos);
124 bool readFMTFontName(shared_ptr<WPSStream> stream);
126 bool readFMTFontSize(shared_ptr<WPSStream> stream);
128 bool readFMTFontId(shared_ptr<WPSStream> stream);
148 shared_ptr<LotusStyleManagerInternal::State>
m_state;
shared_ptr< LotusStyleManagerInternal::State > m_state
the internal state
Definition: LotusStyleManager.h:148
define the font properties
Definition: WPSFont.h:36
LotusParser & m_mainParser
the main parser
Definition: LotusStyleManager.h:146
friend class LotusStyleManager
Definition: Lotus.h:71
int version() const
return the file version
Definition: Lotus.cpp:284
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:66
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
Definition: LotusStyleManager.cpp:47
WKSParser & operator=(const WKSParser &)
the class to store a color
Definition: libwps_internal.h:287
a basic pattern used in a WPSGraphicStyle:
Definition: WPSGraphicStyle.h:86
small struct used to defined cell style file entry
Definition: LotusStyleManager.cpp:304