38 #ifndef CLARIS_WKS_STYLE_MANAGER 39 # define CLARIS_WKS_STYLE_MANAGER 73 bool readColorList(
MWAWEntry const &entry);
75 bool readPatternList(
long endPos=-1);
77 bool readGradientList(
long endPos=-1);
88 int getFontId(
int localId)
const;
94 bool getRulerName(
int id, std::string &name)
const;
97 bool get(
int styleId,
Style &style)
const;
99 bool get(
int fontId,
MWAWFont &font)
const;
101 bool get(
int formatId,
CellFormat &format)
const;
103 bool get(
int ksenId,
KSEN &ksen)
const;
108 bool readFont(
int id,
int fontSize,
MWAWFont &font);
115 bool readGenStyle(
int id);
118 bool readStylesDef(
int N,
int fSz);
120 bool readLookUp(
int N,
int fSz);
123 bool readCellStyles(
int N,
int fSz);
125 bool readFontNames(
int N,
int fSz);
127 bool readGraphStyles(
int N,
int fSz);
129 bool readKSEN(
int N,
int fSz);
131 bool readStyleNames(
int N,
int fSz);
133 bool readStyleFonts(
int N,
int fSz);
141 shared_ptr<ClarisWksStyleManagerInternal::State>
m_state;
152 MWAWCell::Format(format), m_hAlign(
MWAWCell::HALIGN_DEFAULT), m_fileFormat(-1), m_borders(0), m_wrap(false), m_extra(
"")
176 friend std::ostream &
operator<<(std::ostream &o,
KSEN const &ksen);
192 Style() : m_fontId(-1), m_cellFormatId(-1), m_rulerId(-1), m_rulerPId(-1), m_nameId(-1), m_ksenId(-1), m_graphicId(-1), m_localStyleId(-1), m_styleId(-1), m_extra(
"")
int m_graphicId
the graphic (checkme)
Definition: ClarisWksStyleManager.hxx:212
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: BeagleWksDRParser.cxx:98
int m_fontId
the char
Definition: ClarisWksStyleManager.hxx:200
int m_localStyleId
a local style id
Definition: ClarisWksStyleManager.hxx:214
the KSEN structure a structure related to paragraph and cell style
Definition: ClarisWksStyleManager.hxx:170
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
ClarisWksDocument * m_document
the document
Definition: ClarisWksStyleManager.hxx:137
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksStyleManager.hxx:139
int m_ksenId
the ksen id
Definition: ClarisWksStyleManager.hxx:210
int m_rulerId
the ruler
Definition: ClarisWksStyleManager.hxx:204
std::string m_extra
extra data
Definition: ClarisWksStyleManager.hxx:218
a structure to store the style list and the lookup zone
Definition: ClarisWksStyleManager.hxx:60
Type
the line repetition
Definition: libmwaw_internal.hxx:312
HorizontalAlignment
the default horizontal alignment.
Definition: MWAWCell.hxx:118
MWAWBorder::Style m_lineType
the line type
Definition: ClarisWksStyleManager.hxx:180
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
the class to store a color
Definition: libmwaw_internal.hxx:176
Style
the line style
Definition: libmwaw_internal.hxx:310
Class to store font.
Definition: MWAWFont.hxx:43
a border
Definition: libmwaw_internal.hxx:308
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:72
MWAWBorder::Type m_lineRepeat
the line repetition
Definition: ClarisWksStyleManager.hxx:182
int m_styleId
the style id
Definition: ClarisWksStyleManager.hxx:216
int m_rulerPId
the ruler parent id ( or maybe the style parent)
Definition: ClarisWksStyleManager.hxx:206
the structure to store the style in a ClarisWksStyleManager
Definition: ClarisWksStyleManager.hxx:190
int m_nameId
the style name id
Definition: ClarisWksStyleManager.hxx:208
Internal: the structures of a ClarisWksStyleManagerInternal.
Definition: ClarisWksStyleManager.cxx:52
bool getColor(int color, MWAWColor &col)
try to convert a file data to a color
Definition: FullWrtStruct.cxx:45
shared_ptr< ClarisWksStyleManagerInternal::State > m_state
the state
Definition: ClarisWksStyleManager.hxx:141
int m_lines
an int used to add some oblique line ( or cross )
Definition: ClarisWksStyleManager.hxx:184
Defines MWAWCell (cell content and format)
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:495
int m_valign
the vertical alignment
Definition: ClarisWksStyleManager.hxx:178
int m_cellFormatId
the formatId
Definition: ClarisWksStyleManager.hxx:202
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::string m_extra
extra data
Definition: ClarisWksStyleManager.hxx:186
KSEN()
constructor
Definition: ClarisWksStyleManager.hxx:172
Style()
constructor
Definition: ClarisWksStyleManager.hxx:192
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171