22 #ifndef LOTUS_STYLE_MANAGER_H
23 #define LOTUS_STYLE_MANAGER_H
28 #include <librevenge-stream/librevenge-stream.h>
112 shared_ptr<LotusStyleManagerInternal::State>
m_state;
bool readCellStyle(long endPos)
reads a cell style
Definition: LotusStyleManager.cpp:888
bool updateLineStyle(int lineId, WPSGraphicStyle &style) const
update style using line id
Definition: LotusStyleManager.cpp:498
shared_ptr< LotusStyleManagerInternal::State > m_state
the internal state
Definition: LotusStyleManager.h:112
bool readColorStyle(long endPos)
reads a color style
Definition: LotusStyleManager.cpp:513
void updateState()
update the state (need to be called before asking for style)
Definition: LotusStyleManager.cpp:379
libwps::DebugFile & m_asciiFile
the ascii file
Definition: LotusStyleManager.h:114
Definition: WPSDebug.h:196
define the font properties
Definition: WPSFont.h:36
RVNGInputStreamPtr m_input
the input
Definition: LotusStyleManager.h:108
LotusStyleManager(LotusParser &parser)
constructor
Definition: LotusStyleManager.cpp:363
libwps::DebugFile & ascii()
returns the debug file
Definition: LotusStyleManager.h:103
LotusParser & m_mainParser
the main parser
Definition: LotusStyleManager.h:110
~LotusStyleManager()
destructor
Definition: LotusStyleManager.cpp:370
bool updateGraphicStyle(int graphicId, WPSGraphicStyle &style) const
update style using graphic id
Definition: LotusStyleManager.cpp:700
int version() const
return the file version
Definition: LotusStyleManager.cpp:397
void cleanState()
clean internal state
Definition: LotusStyleManager.cpp:374
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:47
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
bool updateShadowStyle(int colorId, WPSGraphicStyle &style) const
update style using color id for defining shadow
Definition: LotusStyleManager.cpp:604
bool getColor(int cId, WPSColor &color) const
returns if possible the color
Definition: LotusStyleManager.cpp:416
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: LotusStyleManager.cpp:404
bool readFormatStyle(long endPos)
reads a format style
Definition: LotusStyleManager.cpp:814
bool updateCellStyle(int cellId, WPSCellFormat &format, WPSFont &font, libwps_tools_win::Font::Type &fontType)
update a cell format using the cell id
Definition: LotusStyleManager.cpp:999
bool readGraphicStyle(long endPos)
reads a graphic style
Definition: LotusStyleManager.cpp:631
bool readLineStyle(long endPos)
reads a line style
Definition: LotusStyleManager.cpp:424
This class parses the Lotus style.
Definition: LotusStyleManager.h:45
Definition: LotusStyleManager.cpp:46
bool updateFontStyle(int fontId, WPSFont &font, libwps_tools_win::Font::Type &fontType)
update a font using the font id
Definition: LotusStyleManager.cpp:794
bool readFontStyle(long endPos)
reads a font style
Definition: LotusStyleManager.cpp:719
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:82
the class to store a color
Definition: libwps_internal.h:237
LotusStyleManager & operator=(LotusStyleManager const &orig)
bool updateSurfaceStyle(int colorId, WPSGraphicStyle &style) const
update style using color id
Definition: LotusStyleManager.cpp:568