38 #ifndef CANVAS_STYLE_MANAGER 39 # define CANVAS_STYLE_MANAGER 44 #include <librevenge/librevenge.h> 89 bool get(
int index,
MWAWColor &color)
const;
91 std::vector<MWAWColor>
const &getColorsList()
const;
104 bool readColors(
int numColors);
106 bool readDashes(
int numDashes,
bool user=
false);
110 bool readPatterns(
int numPatterns);
117 bool readFonts(
int numFonts);
124 bool readColorValues(
MWAWEntry const &entry);
142 std::shared_ptr<CanvasStyleManagerInternal::State>
m_state;
Internal: the structures of a CanvasStyleManager.
Definition: CanvasStyleManager.cxx:59
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
bool readSprays()
try to read the spray
Definition: CanvasParser.cxx:1294
a basic gradient used in a MWAWGraphicStyle
Definition: MWAWGraphicStyle.hxx:139
the main class to read a Canvas 2 and 3 files
Definition: CanvasParser.hxx:63
CanvasParser * m_mainParser
the main parser;
Definition: CanvasStyleManager.hxx:145
the class to store a color
Definition: libmwaw_internal.hxx:192
MWAWParserStatePtr m_parserState
the parser state
Definition: CanvasStyleManager.hxx:139
the main class to read the graphic part of Canvas file
Definition: CanvasGraph.hxx:70
MWAWInputStreamPtr & getInput()
returns the current input
Definition: CanvasParser.cxx:558
int version() const
returns the works version
Definition: MWAWParser.hxx:108
the main class to read the style part of Canvas file
Definition: CanvasStyleManager.hxx:66
MWAWParser & operator=(const MWAWParser &)=delete
private operator=: forbidden
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:56
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
std::shared_ptr< CanvasStyleManagerInternal::State > m_state
the state
Definition: CanvasStyleManager.hxx:142
friend class CanvasStyleManager
Definition: CanvasParser.hxx:66
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:277