34 #ifndef MACDRAWPRO_STYLE_MANAGER 35 # define MACDRAWPRO_STYLE_MANAGER 41 #include <librevenge/librevenge.h> 75 bool readHeaderInfoStylePart(std::string &extra);
77 bool readStyles(
long const(&sizeZones)[6]);
82 bool getDash(
int dId, std::vector<float> &dash)
const;
84 bool getFont(
int fId,
MWAWFont &font)
const;
90 bool getPenSize(
int pId,
float &penSize)
const;
98 bool readFontStyles(
MWAWEntry const &entry);
100 bool readParagraphStyles(
MWAWEntry const &entry);
105 bool readArrows(
MWAWEntry const &entry,
bool inRsrc=
false);
107 bool readDashs(
MWAWEntry const &entry,
bool inRsrc=
false);
109 bool readPens(
MWAWEntry const &entry,
bool inRsrc=
false);
111 bool readRulers(
MWAWEntry const &entry,
bool inRsrc=
false);
116 bool readDocumentInfo(
MWAWEntry const &entry);
118 bool readPreferences(
MWAWEntry const &entry);
120 bool readFontNames();
124 bool readBWPatterns(
MWAWEntry const &entry);
126 bool readColorPatterns(
MWAWEntry const &entry);
128 bool readPatternsToolList(
MWAWEntry const &entry);
130 bool readRulerSettings(
MWAWEntry const &entry);
135 bool readRSRCDstl(
MWAWEntry const &entry);
139 bool readPaletteDef(
MWAWEntry const &entry);
141 bool readPaletteMap(
MWAWEntry const &entry,
int N,
int dataSz);
143 bool readPaletteData(
MWAWEntry const &entry,
int dataSz);
146 bool readColorMap(
MWAWEntry const &entry,
int N,
int fSz);
148 bool readPatternMap(
MWAWEntry const &entry,
int N,
int fSz);
150 bool readGradientMap(
MWAWEntry const &entry,
int N,
int fSz);
152 bool readFAMap(
MWAWEntry const &entry,
int N,
int fSz);
155 bool readColorPalette(
MWAWEntry const &entry,
int fSz);
157 bool readFAPalette(
MWAWEntry const &entry,
int fSz);
159 bool readGradientPalette(
MWAWEntry const &entry,
int fSz);
161 bool readPatternPalette(
MWAWEntry const &entry,
int fSz);
163 bool readListNames(
MWAWEntry const &entry,
int N=-1);
165 bool readListNames(
char const *type);
168 bool readPreferencesListBool(
MWAWEntry const &entry,
int num);
170 bool readPreferences1(
MWAWEntry const &entry);
172 bool readPreferences6(
MWAWEntry const &entry);
174 bool readPreferences8(
MWAWEntry const &entry);
190 std::shared_ptr<MacDrawProStyleManagerInternal::State>
m_state;
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
MacDrawProParser & m_parser
the main parser
Definition: MacDrawProStyleManager.hxx:186
the class to store a color
Definition: libmwaw_internal.hxx:192
Class to store font.
Definition: MWAWFont.hxx:43
the main class to read a MacDraw II file
Definition: MacDrawProParser.hxx:63
the main class to read a MacDraw II file
Definition: MacDrawProStyleManager.hxx:59
MWAWParserStatePtr m_parserState
the parser state
Definition: MacDrawProStyleManager.hxx:188
bool getColor(int color, MWAWColor &col)
try to convert a file data to a color
Definition: FullWrtStruct.cxx:45
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
Internal: the structures of a MacDrawProStyleManager.
Definition: MacDrawProStyleManager.cxx:61
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
friend class MacDrawProStyleManager
Definition: MacDrawProParser.hxx:65
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180
std::shared_ptr< MacDrawProStyleManagerInternal::State > m_state
the state
Definition: MacDrawProStyleManager.hxx:190