|
| LotusStyleManager (LotusParser &parser) |
| constructor
|
|
| ~LotusStyleManager () |
| destructor
|
|
void | cleanState () |
| clean internal state
|
|
void | updateState () |
| update the state (need to be called before asking for style)
|
|
bool | getColor8 (int cId, WPSColor &color) const |
| returns if possible the color(id between 0 and 7)
|
|
bool | getColor16 (int cId, WPSColor &color) const |
| returns if possible the color(id between 0 and 15)
|
|
bool | getColor256 (int cId, WPSColor &color) const |
| returns if possible the color(id between 0 and 255)
|
|
bool | getPattern48 (int id, WPSGraphicStyle::Pattern &pattern) const |
| returns the pattern corresponding to a pattern id (id between 1 and 48)
|
|
bool | getPattern64 (int id, WPSGraphicStyle::Pattern &pattern) const |
| returns the pattern corresponding to a pattern id (id between 1 and 64)
|
|
bool | updateCellStyle (int cellId, WPSCellFormat &format, WPSFont &font, libwps_tools_win::Font::Type &fontType) |
| update a cell format using the cell id
|
|
bool | updateFontStyle (int fontId, WPSFont &font, libwps_tools_win::Font::Type &fontType) |
| update a font using the font id
|
|
bool | updateLineStyle (int lineId, WPSGraphicStyle &style) const |
| update style using line id
|
|
bool | updateSurfaceStyle (int colorId, WPSGraphicStyle &style) const |
| update style using color id
|
|
bool | updateGraphicStyle (int graphicId, WPSGraphicStyle &style) const |
| update style using graphic id
|
|
bool | updateSurfaceStyle (int fColorId, int bColorId, int patternId, WPSGraphicStyle &style) const |
| update style using front/back color and pattern id
|
|
|
int | version () const |
| return the file version
|
|
bool | readColorStyle (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a color style
|
|
bool | readFormatStyle (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a format style
|
|
bool | readLineStyle (std::shared_ptr< WPSStream > stream, long endPos, int vers) |
| reads a line style
|
|
bool | readGraphicStyle (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a graphic style
|
|
bool | readGraphicStyleC9 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a graphic style: fc9, lotus123
|
|
bool | readFontStyleA0 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a font style: fa0
|
|
bool | readFontStyleF0 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a font style: ff0 (wk4)
|
|
bool | readCellStyleD2 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a cell style: fd2 (mac 123 or 123)
|
|
bool | readCellStyleE6 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a cell style: fe6 (wk4)
|
|
bool | readStyleE6 (std::shared_ptr< WPSStream > stream, long endPos) |
| reads a style: fe6 (123)
|
|
bool | readFMTFontName (std::shared_ptr< WPSStream > stream) |
| reads a format font name: zones 0xae
|
|
bool | readFMTFontSize (std::shared_ptr< WPSStream > stream) |
| reads a format font sizes zones 0xaf and 0xb1
|
|
bool | readFMTFontId (std::shared_ptr< WPSStream > stream) |
| reads a format font id zone: 0xb0
|
|
bool | updateShadowStyle (int colorId, WPSGraphicStyle &style) const |
| update style using color id for defining shadow
|
|
bool | readCellStyleD2Data (LotusStyleManagerInternal::CellStyleEntry const &entry, std::set< int > &seen) |
| really reads the cell style: fd2 (123)
|
|
This class parses the Lotus style.