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);
110 bool readFontAndPos(
int id,
int &posC,
MWAWFont &font);
117 bool readGenStyle(
int id);
120 bool readStylesDef(
int N,
int fSz);
122 bool readLookUp(
int N,
int fSz);
125 bool readCellStyles(
int N,
int fSz);
127 bool readFontNames(
int N,
int fSz);
129 bool readGraphStyles(
int N,
int fSz);
131 bool readKSEN(
int N,
int fSz);
133 bool readStyleNames(
int N,
int fSz);
135 bool readStyleFonts(
int N,
int fSz);
143 std::shared_ptr<ClarisWksStyleManagerInternal::State>
m_state;
155 , m_hAlign(
MWAWCell::HALIGN_DEFAULT)
192 friend std::ostream &
operator<<(std::ostream &o,
KSEN const &ksen);
214 , m_ksenId(-1), m_graphicId(-1)
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:555
int m_graphicId
the graphic (checkme)
Definition: ClarisWksStyleManager.hxx:237
std::ostream & operator<<(std::ostream &o, Shape const &shape)
Definition: BeagleWksDRParser.cxx:107
int m_fontId
the char
Definition: ClarisWksStyleManager.hxx:225
int m_localStyleId
a local style id
Definition: ClarisWksStyleManager.hxx:239
the KSEN structure a structure related to paragraph and cell style
Definition: ClarisWksStyleManager.hxx:181
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
ClarisWksDocument * m_document
the document
Definition: ClarisWksStyleManager.hxx:139
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksStyleManager.hxx:141
int m_ksenId
the ksen id
Definition: ClarisWksStyleManager.hxx:235
int m_rulerId
the ruler
Definition: ClarisWksStyleManager.hxx:229
std::string m_extra
extra data
Definition: ClarisWksStyleManager.hxx:243
a structure to store the style list and the lookup zone
Definition: ClarisWksStyleManager.hxx:60
Type
the line repetition
Definition: libmwaw_internal.hxx:337
HorizontalAlignment
the default horizontal alignment.
Definition: MWAWCell.hxx:127
MWAWBorder::Style m_lineType
the line type
Definition: ClarisWksStyleManager.hxx:196
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
the class to store a color
Definition: libmwaw_internal.hxx:192
Style
the line style
Definition: libmwaw_internal.hxx:335
Class to store font.
Definition: MWAWFont.hxx:43
a border
Definition: libmwaw_internal.hxx:333
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
MWAWBorder::Type m_lineRepeat
the line repetition
Definition: ClarisWksStyleManager.hxx:198
int m_styleId
the style id
Definition: ClarisWksStyleManager.hxx:241
int m_rulerPId
the ruler parent id ( or maybe the style parent)
Definition: ClarisWksStyleManager.hxx:231
the structure to store the style in a ClarisWksStyleManager
Definition: ClarisWksStyleManager.hxx:206
int m_nameId
the style name id
Definition: ClarisWksStyleManager.hxx:233
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
int m_lines
an int used to add some oblique line ( or cross )
Definition: ClarisWksStyleManager.hxx:200
Defines MWAWCell (cell content and format)
int m_valign
the vertical alignment
Definition: ClarisWksStyleManager.hxx:194
std::shared_ptr< ClarisWksStyleManagerInternal::State > m_state
the state
Definition: ClarisWksStyleManager.hxx:143
int m_cellFormatId
the formatId
Definition: ClarisWksStyleManager.hxx:227
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::string m_extra
extra data
Definition: ClarisWksStyleManager.hxx:202
KSEN()
constructor
Definition: ClarisWksStyleManager.hxx:183
Style()
constructor
Definition: ClarisWksStyleManager.hxx:208
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:180