Go to the documentation of this file.
34 #ifndef RAG_TIME_5_STYLE_MANAGER
35 # define RAG_TIME_5_STYLE_MANAGER
99 std::vector<RagTime5StyleManager::TextStyle>
const &listReadStyles,
100 std::multimap<size_t, size_t>
const &idToChildIpMap,
101 std::set<size_t> &seens);
104 std::vector<RagTime5StyleManager::GraphicStyle>
const &listReadStyles,
105 std::multimap<size_t, size_t>
const &idToChildIpMap,
106 std::set<size_t> &seens);
177 for (
int i=0; i<3; ++i) {
196 for (
int i=0; i<3; ++i) {
200 for (
int i=0; i<4; ++i) {
290 shared_ptr<RagTime5StyleManagerInternal::State>
m_state;
std::vector< int > m_ids
the data ids
Definition: RagTime5ClusterManager.hxx:200
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
double m_margins[3]
the spacings in point ( left, right, first)
Definition: RagTime5StyleManager.hxx:239
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:161
float m_limitPercent
the line limit
Definition: RagTime5StyleManager.hxx:161
virtual bool parseHeaderField(RagTime5StructManager::Field &field, RagTime5Zone &zone, int n, libmwaw::DebugStream &f)
parse a header field
Definition: RagTime5StyleManager.cxx:162
Format const & getFormat() const
returns the cell format
Definition: MWAWCell.hxx:211
virtual bool parseField(RagTime5StructManager::Field &field, RagTime5Zone &, int n, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5StyleManager.cxx:234
@ T_Unicode
Definition: RagTime5StructManager.hxx:221
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:293
bool readGraphicStyles(RagTime5ClusterManager::Cluster &cluster)
try to read a main graphic styles
Definition: RagTime5StyleManager.cxx:311
std::vector< MWAWColor > m_colorsList
the list of color
Definition: RagTime5StyleManager.cxx:264
bool updateCellFormat(int formatId, MWAWCell &cell) const
updates the cell format
Definition: RagTime5StyleManager.cxx:1204
@ smallCapsBit
Definition: MWAWFont.hxx:184
uint16_t m_leaderCharacter
the leader char
Definition: MWAWParagraph.hxx:75
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
a tabulation in RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:178
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
int m_parentId[2]
the parent id ( main and style ?)
Definition: RagTime5StyleManager.hxx:216
Internal: the state of a RagTime5Style.
Definition: RagTime5StyleManager.cxx:258
@ Dash
Definition: libmwaw_internal.hxx:316
std::vector< int > m_linkIdList
the link id list
Definition: RagTime5StyleManager.hxx:218
bool read(MWAWInputStreamPtr &input, RagTime5StructManager::Field const &field, std::vector< MWAWColor > const &colorList)
try to read a graphic style
Definition: RagTime5StyleManager.cxx:1232
a small struct to define a line in MWAWFont
Definition: MWAWFont.hxx:47
void setSurfaceColor(MWAWColor const &col, float opacity=1)
set the surface color
Definition: MWAWGraphicStyle.hxx:282
TextFieldParser()
constructor
Definition: RagTime5StyleManager.cxx:209
bool readUnicodeStringList(RagTime5ClusterManager::Link const &link, std::map< int, librevenge::RVNGString > &idToStringMap)
try to read a list of unicode string zone
Definition: RagTime5Parser.cxx:896
@ F_DATE
Definition: MWAWCell.hxx:56
ColorFieldParser()
constructor
Definition: RagTime5StyleManager.cxx:57
@ T_Color
Definition: RagTime5StructManager.hxx:221
int m_mitter
the line mitter ( triangle=1, round, out)
Definition: RagTime5StyleManager.hxx:159
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:156
@ F_NUMBER_DECIMAL
Definition: MWAWCell.hxx:58
MWAWVariable< bool > m_hidden
flag to know if we need to print the shape
Definition: RagTime5StyleManager.hxx:163
GradientType m_gradientType
the gradient type
Definition: MWAWGraphicStyle.hxx:396
@ boldBit
Definition: MWAWFont.hxx:182
@ F_NUMBER_PERCENT
Definition: MWAWCell.hxx:58
@ T_Unstructured
Definition: RagTime5StructManager.hxx:221
std::vector< MWAWColor > m_colorsList
a map id to color
Definition: RagTime5StyleManager.cxx:134
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:74
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:231
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:320
@ CENTER
Definition: MWAWParagraph.hxx:48
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:123
void setWidthStreching(float scale=1.0)
sets the text width streching
Definition: MWAWFont.hxx:282
GraphicFieldParser(std::vector< MWAWColor > const &colorList)
constructor
Definition: RagTime5StyleManager.cxx:145
FormatType
the different format of a cell's content
Definition: MWAWCell.hxx:56
bool m_regroupFields
a flag use to decide if we output one debug message by field or not
Definition: RagTime5StructManager.hxx:338
virtual bool parseField(RagTime5StructManager::Field &field, RagTime5Zone &zone, int n, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5StyleManager.cxx:175
the class to store a color
Definition: libmwaw_internal.hxx:182
a field of RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:218
std::vector< RagTime5StyleManager::TextStyle > m_styleList
the list of read style
Definition: RagTime5StyleManager.cxx:254
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:150
void initColorsList()
init the color list (if empty)
Definition: RagTime5StyleManager.cxx:277
@ JustificationFullAllLines
Definition: MWAWParagraph.hxx:88
virtual bool parseField(RagTime5StructManager::Field &field, RagTime5Zone &, int, libmwaw::DebugStream &f)
parse a field
Definition: RagTime5StyleManager.cxx:71
@ F_NUMBER_SCIENTIFIC
Definition: MWAWCell.hxx:58
MWAWVariable< MWAWVec2f > m_gradientCenter
the rotation center(checkme)
Definition: RagTime5StyleManager.hxx:153
long m_fileType[2]
the zone type in file
Definition: RagTime5ClusterManager.hxx:206
std::vector< RagTime5StyleManager::TextStyle > m_textStyleList
the list of text styles
Definition: RagTime5StyleManager.cxx:270
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
void setFormat(Format const &format)
set the cell format
Definition: MWAWCell.hxx:216
@ Simple
Definition: MWAWFont.hxx:49
std::string getZoneName(int n) const
return the debug name corresponding to a field
Definition: RagTime5StyleManager.cxx:215
void setUnderline(Line const &line)
sets the underline
Definition: MWAWFont.hxx:440
double m_width
the border total width in point
Definition: libmwaw_internal.hxx:357
static std::string getLanguageLocale(int id)
returns the language locale name corresponding to an id ( if known)
Definition: RagTime5StyleManager.cxx:1661
@ F_NUMBER_GENERIC
Definition: MWAWCell.hxx:58
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
int m_graphStyleId
the graphic style id
Definition: RagTime5StyleManager.hxx:222
bool readFixedSizeZone(RagTime5ClusterManager::Link const &link, std::string const &name)
try to read a fixed size zone
Definition: RagTime5Parser.cxx:1726
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
void setDeltaLetterSpacing(float d, librevenge::RVNGUnit unit=librevenge::RVNG_POINT)
sets the letter spacing ( delta value in point )
Definition: MWAWFont.hxx:271
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
bool isDefault() const
returns true if the line style is default
Definition: RagTime5StyleManager.hxx:187
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:142
std::vector< TabStop > m_tabList
the list of tabStop
Definition: RagTime5StructManager.hxx:257
@ T_FieldList
Definition: RagTime5StructManager.hxx:220
@ Dot
Definition: libmwaw_internal.hxx:316
shared_ptr< RagTime5StyleManagerInternal::State > m_state
the state
Definition: RagTime5StyleManager.hxx:290
std::vector< MWAWColor > const & m_colorsList
Definition: RagTime5StyleManager.cxx:196
@ DECIMAL
Definition: MWAWParagraph.hxx:48
bool readGraphicColors(RagTime5ClusterManager::Cluster &cluster)
try to read a graphic color zone
Definition: RagTime5StyleManager.cxx:302
Internal: the helper to read field graphic field for a RagTime5StyleManager.
Definition: RagTime5StyleManager.cxx:143
TextStyle()
constructor
Definition: RagTime5StyleManager.hxx:170
std::vector< GradientStop > m_gradientStopList
the list of gradient limits
Definition: MWAWGraphicStyle.hxx:402
int m_parentId
the parent id
Definition: RagTime5StyleManager.hxx:137
@ embossBit
Definition: MWAWFont.hxx:182
int m_dateStyleId
the date style id
Definition: RagTime5StyleManager.hxx:220
float m_lineOpacity
the line opacity: 0=transparent
Definition: MWAWGraphicStyle.hxx:381
@ uppercaseBit
Definition: MWAWFont.hxx:184
basic class used to read/store RagTime 5/6 styles
Definition: RagTime5StyleManager.hxx:61
RagTime5StyleManager(RagTime5Parser &parser)
constructor
Definition: RagTime5StyleManager.cxx:290
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
void setStrikeOutStyle(Line::Style style=Line::None, bool doReset=true)
sets the strikeoutline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:406
bool isSet() const
return true if the variable is set
Definition: libmwaw_internal.hxx:586
int m_language
the language
Definition: RagTime5StyleManager.hxx:262
a basic pattern used in a MWAWGraphicStyle:
Definition: MWAWGraphicStyle.hxx:171
int m_fontId
the font id
Definition: RagTime5StyleManager.hxx:248
std::vector< RagTime5StructManager::TabStop > m_tabList
the tabulations
Definition: RagTime5StyleManager.hxx:241
std::vector< RagTime5StyleManager::GraphicStyle > m_styleList
the list of graphic style
Definition: RagTime5StyleManager.cxx:198
std::vector< double > m_doubleList
the list of double value
Definition: RagTime5StructManager.hxx:253
virtual class use to parse the field data
Definition: RagTime5StructManager.hxx:308
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:205
bool updateBorderStyle(int graphicId, MWAWGraphicStyle &borderStyle, bool isLine) const
updates a graphic style(border)
Definition: RagTime5StyleManager.cxx:526
virtual ~GraphicFieldParser()
destructor
Definition: RagTime5StyleManager.cxx:201
Internal: the structures of a RagTime5Style.
Definition: RagTime5StyleManager.cxx:52
int m_caps
caps : none, all caps, lower caps, inital caps + other lowers
Definition: RagTime5StyleManager.hxx:260
float m_width
the line width (in point)
Definition: RagTime5StyleManager.hxx:139
bool read(RagTime5StructManager::Field const &field)
try to read a text style
Definition: RagTime5StyleManager.cxx:1714
@ initialcaseBit
Definition: MWAWFont.hxx:186
double m_letterSpacings[4]
the spacings in percent ( normal, minimum, maximum)
Definition: RagTime5StyleManager.hxx:264
@ T_Code
Definition: RagTime5StructManager.hxx:221
@ JustificationCenter
Definition: MWAWParagraph.hxx:87
MWAWVariable< int > m_breakStatus
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Definition: MWAWParagraph.hxx:163
std::string getZoneName() const
returns the zone name
Definition: RagTime5ClusterManager.hxx:130
@ None
Definition: MWAWFont.hxx:49
@ shadowBit
Definition: MWAWFont.hxx:183
Type m_type
the type
Definition: MWAWFont.hxx:91
long m_fileType
the file type
Definition: RagTime5StructManager.hxx:239
bool readLongList(RagTime5ClusterManager::Link const &link, std::vector< long > &list)
try to read/get the list of long of a L_LongList
Definition: RagTime5Parser.cxx:945
bool empty() const
returns true if all link are empty
Definition: RagTime5ClusterManager.hxx:121
long m_longValue[2]
the long value
Definition: RagTime5StructManager.hxx:243
MWAWColor m_color
the color
Definition: RagTime5StructManager.hxx:247
float m_lineWidth
the linewidth
Definition: MWAWGraphicStyle.hxx:375
virtual bool parseHeaderField(RagTime5StructManager::Field &field, RagTime5Zone &, int n, libmwaw::DebugStream &f)
parse a header field
Definition: RagTime5StyleManager.cxx:222
MWAWVariable< bool > m_keepWithNext
the keep with next flag
Definition: RagTime5StyleManager.hxx:229
unsigned char getBlue() const
returns the green value
Definition: libmwaw_internal.hxx:250
@ G_Radial
Definition: MWAWGraphicStyle.hxx:55
@ T_Long
Definition: RagTime5StructManager.hxx:220
a border
Definition: libmwaw_internal.hxx:314
librevenge::RVNGString m_string
small string use to store a string or a 4 char code
Definition: RagTime5StructManager.hxx:249
main zone in a RagTime v5-v6 document
Definition: RagTime5StructManager.hxx:49
int m_gradient
the gradient 0: none, normal, radial
Definition: RagTime5StyleManager.hxx:149
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:82
double m_spacings[3]
the interline/before/after value
Definition: RagTime5StyleManager.hxx:233
Internal: the helper to read field color field for a RagTime5StyleManager.
Definition: RagTime5StyleManager.cxx:55
int m_numColumns
the number of columns
Definition: RagTime5StyleManager.hxx:271
bool readPositions(int posId, std::vector< long > &listPosition)
try to read a positions zone in data
Definition: RagTime5Parser.cxx:954
@ T_DoubleList
Definition: RagTime5StructManager.hxx:220
librevenge::RVNGString m_fontName
the font name
Definition: RagTime5StyleManager.hxx:246
std::string m_extra
extra data
Definition: RagTime5StructManager.hxx:263
MWAWInputStreamPtr getInput()
returns the current input
Definition: RagTime5StructManager.hxx:77
@ F_NUMBER_FRACTION
Definition: MWAWCell.hxx:58
FieldParser(std::string const &zoneName)
constructor
Definition: RagTime5StructManager.hxx:310
std::string m_extra
extra data
Definition: RagTime5StyleManager.hxx:276
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:73
RagTime5StyleManager(RagTime5StyleManager const &orig)
MWAWVariable< float > m_scriptPosition
the font script position ( in percent)
Definition: RagTime5StyleManager.hxx:254
virtual ~TextFieldParser()
destructor
Definition: RagTime5StyleManager.cxx:273
void insert(GraphicStyle const &childStyle)
update the current style
Definition: RagTime5StyleManager.cxx:1528
double m_widthStreching
the width streching
Definition: RagTime5StyleManager.hxx:266
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:72
GraphicStyle()
constructor
Definition: RagTime5StyleManager.hxx:112
bool getLineColor(int graphicId, MWAWColor &color) const
returns the line color corresponding to a graphic style
Definition: RagTime5StyleManager.cxx:440
void setPattern(Pattern const &pat, float opacity=1)
set the pattern
Definition: MWAWGraphicStyle.hxx:293
int m_graphLineStyleId
the graphic line style id
Definition: RagTime5StyleManager.hxx:224
std::vector< long > m_longList
a list of long used to store decal
Definition: RagTime5ClusterManager.hxx:208
the graphic style of a RagTime v5-v6 document
Definition: RagTime5StyleManager.hxx:110
@ T_Double
Definition: RagTime5StructManager.hxx:220
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
virtual ~ColorFieldParser()
destructor
Definition: RagTime5StyleManager.cxx:137
Internal: the helper to read style for a RagTime5StyleManager.
Definition: RagTime5StyleManager.cxx:207
double m_position
the tab position
Definition: MWAWParagraph.hxx:71
Style m_style
the style
Definition: MWAWFont.hxx:89
std::string m_extra
extra data
Definition: RagTime5StyleManager.hxx:165
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
int m_justify
justify 0: left, 1:center, 2:right, 3:full, 4:full all
Definition: RagTime5StyleManager.hxx:231
double m_doubleValue
the double value
Definition: RagTime5StructManager.hxx:245
shared_ptr< RagTime5Zone > getDataZone(int dataId) const
returns the zone corresponding to a data id (or 0)
Definition: RagTime5Parser.cxx:400
@ G_Linear
Definition: MWAWGraphicStyle.hxx:55
bool readFormats(RagTime5ClusterManager::Cluster &cluster)
try to read the list of format
Definition: RagTime5StyleManager.cxx:880
a structure used to define the gradient limit in MWAWGraphicStyle
Definition: MWAWGraphicStyle.hxx:134
bool m_word
word or not word line
Definition: MWAWFont.hxx:97
bool getCellBorder(int graphicId, MWAWBorder &border) const
returns a cell border
Definition: RagTime5StyleManager.cxx:454
@ T_2Long
Definition: RagTime5StructManager.hxx:220
std::vector< Link > m_linksList
the link list
Definition: RagTime5ClusterManager.hxx:258
MWAWColor m_colors[2]
the two indexed colors
Definition: MWAWGraphicStyle.hxx:245
std::vector< long > m_longList
the list of long value
Definition: RagTime5StructManager.hxx:251
RagTime5Parser & m_mainParser
the parser
Definition: RagTime5StyleManager.hxx:285
shared_ptr< MWAWGraphicStyle::Pattern > m_pattern
the line pattern
Definition: RagTime5StyleManager.hxx:147
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
Style m_style
the border style
Definition: libmwaw_internal.hxx:350
double m_columnGap
the gap between columns
Definition: RagTime5StyleManager.hxx:273
Link m_dataLink
the main data link
Definition: RagTime5ClusterManager.hxx:248
long end() const
returns the end offset
Definition: MWAWEntry.hxx:77
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:254
int m_breakMethod
the break method 0: asIs, next container, next page, next even page, next odd page
Definition: RagTime5StyleManager.hxx:237
MWAWColor m_lineColor
the line color
Definition: MWAWGraphicStyle.hxx:383
@ F_NUMBER
Definition: MWAWCell.hxx:56
@ F_TIME
Definition: MWAWCell.hxx:56
std::ostream & operator<<(std::ostream &o, RagTime5StyleManager::GraphicStyle const &style)
Definition: RagTime5StyleManager.cxx:1554
bool updateSurfaceStyle(int graphicId, MWAWGraphicStyle &surfaceStyle) const
updates a graphic style
Definition: RagTime5StyleManager.cxx:562
@ italicBit
Definition: MWAWFont.hxx:182
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:144
@ F_NUMBER_CURRENCY
Definition: MWAWCell.hxx:58
float m_fontSize
the font size
Definition: RagTime5StyleManager.hxx:250
friend std::ostream & operator<<(std::ostream &o, TextStyle const &style)
operator<<
Definition: RagTime5StyleManager.cxx:2309
@ NoBreakWithNextBit
Definition: MWAWParagraph.hxx:85
MWAWVariable< MWAWColor > m_colors[2]
the first and second color
Definition: RagTime5StyleManager.hxx:141
unsigned char getRed() const
returns the red value
Definition: libmwaw_internal.hxx:255
int m_cap
the line caps ( normal=1, round, square)
Definition: RagTime5StyleManager.hxx:157
bool updateTextStyles(int textId, MWAWFont &font, MWAWParagraph ¶) const
update the font and the paragraph properties using a text style
Definition: RagTime5StyleManager.cxx:738
@ JustificationFull
Definition: MWAWParagraph.hxx:87
@ T_LongList
Definition: RagTime5StructManager.hxx:220
@ JustificationRight
Definition: MWAWParagraph.hxx:88
uint32_t m_fontFlags[2]
the font flags (add and remove )
Definition: RagTime5StyleManager.hxx:252
@ T_LongDouble
Definition: RagTime5StructManager.hxx:221
bool isDefault() const
returns true if the line style is default
Definition: RagTime5StyleManager.hxx:122
@ T_TabList
Definition: RagTime5StructManager.hxx:220
std::vector< MWAWCell::Format > m_formatList
the list of format
Definition: RagTime5StyleManager.cxx:266
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
std::vector< float > m_lineDashWidth
the dash array: a sequence of (fullsize, emptysize)
Definition: MWAWGraphicStyle.hxx:373
std::vector< RagTime5StyleManager::GraphicStyle > m_graphicStyleList
the list of graphic styles
Definition: RagTime5StyleManager.cxx:268
void updateGraphicStyles(size_t id, RagTime5StyleManager::GraphicStyle const &style, std::vector< RagTime5StyleManager::GraphicStyle > const &listReadStyles, std::multimap< size_t, size_t > const &idToChildIpMap, std::set< size_t > &seens)
recursive function use to update the style list
Definition: RagTime5StyleManager.cxx:417
MWAWVec2f m_gradientPercentCenter
the gradient center
Definition: MWAWGraphicStyle.hxx:408
@ T_Bool
Definition: RagTime5StructManager.hxx:220
basic class used to store RagTime 5/6 structures
Definition: RagTime5StructManager.hxx:157
T const & get() const
return the current value
Definition: libmwaw_internal.hxx:581
RagTime5StyleManager operator=(RagTime5StyleManager const &orig)
uint16_t m_leaderChar
the unicode leader char
Definition: RagTime5StructManager.hxx:215
@ LargeDot
Definition: libmwaw_internal.hxx:316
Link m_nameLink
the name link
Definition: RagTime5ClusterManager.hxx:250
a link to a small zone (or set of zones) in RagTime 5/6 documents
Definition: RagTime5ClusterManager.hxx:105
std::string getZoneName(int n) const
return the debug name corresponding to a field
Definition: RagTime5StyleManager.cxx:64
float m_position
the position
Definition: RagTime5StructManager.hxx:211
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTime5StyleManager.hxx:287
friend std::ostream & operator<<(std::ostream &o, GraphicStyle const &style)
operator<<
Definition: RagTime5StyleManager.cxx:1554
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
the cluster data
Definition: RagTime5ClusterManager.hxx:216
virtual ~TextStyle()
destructor
Definition: RagTime5StyleManager.cxx:1657
~RagTime5StyleManager()
destructor
Definition: RagTime5StyleManager.cxx:295
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
@ Double
Definition: MWAWFont.hxx:51
the text style of a RagTime v5-v6 document
Definition: RagTime5StyleManager.hxx:168
int m_underline
underline : none, single, double
Definition: RagTime5StyleManager.hxx:258
float m_gradientAngle
the gradient angle
Definition: MWAWGraphicStyle.hxx:404
virtual ~GraphicStyle()
destructor
Definition: RagTime5StyleManager.cxx:1228
State()
constructor
Definition: RagTime5StyleManager.cxx:260
float m_fontScaling
the font script position ( in percent)
Definition: RagTime5StyleManager.hxx:256
float m_colorsAlpha[2]
alpha of the first and second color
Definition: RagTime5StyleManager.hxx:143
int m_type
the type
Definition: RagTime5StructManager.hxx:213
@ RIGHT
Definition: MWAWParagraph.hxx:48
Class to store font.
Definition: MWAWFont.hxx:44
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
void setLanguage(std::string const &lang)
set the language ( in the for en_US, en_GB, en, ...)
Definition: MWAWFont.hxx:479
unsigned char getGreen() const
returns the green value
Definition: libmwaw_internal.hxx:260
MWAWVariable< std::vector< long > > m_dash
the line dash/...
Definition: RagTime5StyleManager.hxx:145
std::string getZoneName(int n) const
return the debug name corresponding to a field
Definition: RagTime5StyleManager.cxx:152
MWAWEntry m_entry
entry to defined the position of a String or Unstructured data
Definition: RagTime5StructManager.hxx:261
bool readTextStyles(RagTime5ClusterManager::Cluster &cluster)
try to read a main text styles
Definition: RagTime5StyleManager.cxx:598
bool readStructZone(RagTime5ClusterManager::Cluster &cluster, RagTime5StructManager::FieldParser &parser, int headerSz)
try to read a structured zone
Definition: RagTime5Parser.cxx:1790
MWAWColor m_color
the border color
Definition: libmwaw_internal.hxx:363
void insert(TextStyle const &childStyle)
update the current style
Definition: RagTime5StyleManager.cxx:2265
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
float m_gradientRotation
the gradient rotation(checkme)
Definition: RagTime5StyleManager.hxx:151
Type m_type
the field type
Definition: RagTime5StructManager.hxx:237
int m_position
the line position inside=1/normal/outside/round
Definition: RagTime5StyleManager.hxx:155
std::vector< Field > m_fieldList
the list of field
Definition: RagTime5StructManager.hxx:259
void setUnderlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the underline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:445
int m_spacingUnits[3]
the interline/before/after unit 0: line, 1:point
Definition: RagTime5StyleManager.hxx:235
std::string m_name
the link name
Definition: RagTime5ClusterManager.hxx:198
bool getCellBackgroundColor(int graphicId, MWAWColor &color) const
returns the cell background
Definition: RagTime5StyleManager.cxx:500
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:304
@ lowercaseBit
Definition: MWAWFont.hxx:185
Generated on Wed Jun 17 2020 06:30:13 for libmwaw by
doxygen 1.8.18