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;
85 bool updateSurfaceStyle(
int fColorId,
int bColorId,
int patternId,
WPSGraphicStyle &style)
const;
95 bool readColorStyle(std::shared_ptr<WPSStream> stream,
long endPos);
97 bool readFormatStyle(std::shared_ptr<WPSStream> stream,
long endPos);
99 bool readLineStyle(std::shared_ptr<WPSStream> stream,
long endPos,
int vers);
101 bool readGraphicStyle(std::shared_ptr<WPSStream> stream,
long endPos);
103 bool readGraphicStyleC9(std::shared_ptr<WPSStream> stream,
long endPos);
108 bool readFontStyleA0(std::shared_ptr<WPSStream> stream,
long endPos);
110 bool readFontStyleF0(std::shared_ptr<WPSStream> stream,
long endPos);
112 bool readCellStyleD2(std::shared_ptr<WPSStream> stream,
long endPos);
114 bool readCellStyleE6(std::shared_ptr<WPSStream> stream,
long endPos);
117 bool readMenuStyleE7(std::shared_ptr<WPSStream> stream,
long endPos);
119 bool readStyleE6(std::shared_ptr<WPSStream> stream,
long endPos);
124 bool readFMTFontName(std::shared_ptr<WPSStream> stream);
126 bool readFMTFontSize(std::shared_ptr<WPSStream> stream);
128 bool readFMTFontId(std::shared_ptr<WPSStream> stream);
148 std::shared_ptr<LotusStyleManagerInternal::State>
m_state;
define the font properties
Definition: WPSFont.h:36
LotusParser & m_mainParser
the main parser
Definition: LotusStyleManager.h:146
friend class LotusStyleManager
Definition: Lotus.h:78
int version() const
return the file version
Definition: Lotus.cpp:265
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition: Lotus.h:72
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
the class to store a color
Definition: libwps_internal.h:280
WKSParser & operator=(const WKSParser &)=delete
a basic pattern used in a WPSGraphicStyle:
Definition: WPSGraphicStyle.h:88
small struct used to defined cell style file entry
Definition: LotusStyleManager.cpp:326
std::shared_ptr< LotusStyleManagerInternal::State > m_state
the internal state
Definition: LotusStyleManager.h:148