34 #ifndef MWAW_PARAGRAPH 35 # define MWAW_PARAGRAPH 40 #include <librevenge/librevenge.h> 50 explicit MWAWTabStop(
double position = 0.0,
Alignment alignment =
LEFT, uint16_t leaderCharacter=
'\0', uint16_t decimalCharacter =
'.')
58 void addTo(librevenge::RVNGPropertyListVector &propList,
double decalX=0.0)
const;
136 void addTo(librevenge::RVNGPropertyList &propList,
bool inTable)
const;
MWAWParagraph()
constructor
Definition: MWAWParagraph.cxx:145
bool hasBorders() const
check if the paragraph has some borders
Definition: MWAWParagraph.cxx:283
bool operator!=(MWAWTabStop const &tabs) const
operator!=
Definition: MWAWParagraph.hxx:65
Definition: MWAWParagraph.hxx:94
Definition: MWAWParagraph.hxx:90
Definition: MWAWParagraph.hxx:88
MWAWVariable< int > m_breakStatus
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Definition: MWAWParagraph.hxx:169
Definition: MWAWParagraph.hxx:90
Definition: MWAWParagraph.hxx:48
MWAWParagraph & operator=(MWAWParagraph const &)=default
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
uint16_t m_decimalCharacter
the decimal char
Definition: MWAWParagraph.hxx:80
Definition: MWAWParagraph.hxx:91
void insert(MWAWParagraph const ¶)
insert the set values of para in the actual paragraph
Definition: MWAWParagraph.cxx:242
MWAWVariable< int > m_dropNumCharacters
the drop number character
Definition: MWAWParagraph.hxx:188
MWAWVariable< int > m_listLevelIndex
the actual level index
Definition: MWAWParagraph.hxx:174
std::vector< MWAWVariable< MWAWBorder > > m_borders
list of border ( order MWAWBorder::Pos)
Definition: MWAWParagraph.hxx:186
bool hasDifferentBorders() const
check if the paragraph has different borders
Definition: MWAWParagraph.cxx:294
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:156
Definition: MWAWParagraph.hxx:88
Definition: MWAWParagraph.hxx:48
uint16_t m_leaderCharacter
the leader char
Definition: MWAWParagraph.hxx:78
a border
Definition: libmwaw_internal.hxx:333
Definition: MWAWParagraph.hxx:94
Alignment
the tab alignment
Definition: MWAWParagraph.hxx:48
int cmp(MWAWTabStop const &tabs) const
a comparison function
Definition: MWAWParagraph.cxx:95
void addTo(librevenge::RVNGPropertyList &propList, bool inTable) const
add to the propList
Definition: MWAWParagraph.cxx:313
Definition: MWAWParagraph.hxx:48
Definition: MWAWParagraph.hxx:48
MWAWVariable< LineSpacingType > m_spacingsInterlineType
the interline type: fixed, atLeast, ...
Definition: MWAWParagraph.hxx:160
double getMarginsWidth() const
return the paragraph margin width (in inches)
Definition: MWAWParagraph.cxx:307
void addTo(librevenge::RVNGPropertyListVector &propList, double decalX=0.0) const
add a tab to the propList
Definition: MWAWParagraph.cxx:48
Definition: libmwaw_internal.hxx:335
void resizeBorders(size_t newSize)
a function used to resize the borders list ( adding empty borders if needed )
Definition: MWAWParagraph.hxx:122
MWAWVariable< int > m_listStartValue
the list start value (if set )
Definition: MWAWParagraph.hxx:178
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
std::string m_extra
a string to store some errors
Definition: MWAWParagraph.hxx:195
bool operator==(MWAWTabStop const &tabs) const
operator==
Definition: MWAWParagraph.hxx:60
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
std::string m_styleName
the style name
Definition: MWAWParagraph.hxx:193
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:129
Definition: MWAWParagraph.hxx:91
MWAWTabStop(double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint16_t decimalCharacter='.')
constructor
Definition: MWAWParagraph.hxx:50
bool operator!=(MWAWParagraph const &p) const
operator!=
Definition: MWAWParagraph.hxx:109
LineSpacingType
the line spacing type: fixed or at least
Definition: MWAWParagraph.hxx:94
Style m_style
the border style
Definition: libmwaw_internal.hxx:380
Definition: MWAWParagraph.hxx:48
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
MWAWVariable< MWAWListLevel > m_listLevel
the actual level
Definition: MWAWParagraph.hxx:180
int cmp(MWAWParagraph const &p) const
a comparison function
Definition: MWAWParagraph.cxx:183
MWAWVariable< int > m_dropNumLines
the drop number of lines
Definition: MWAWParagraph.hxx:190
MWAWVariable< int > m_listId
the list id (if know )
Definition: MWAWParagraph.hxx:176
MWAWVariable< librevenge::RVNGUnit > m_spacingsInterlineUnit
the interline unit PERCENT or INCH, ...
Definition: MWAWParagraph.hxx:158
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:150
friend std::ostream & operator<<(std::ostream &o, MWAWTabStop const &ft)
operator <<
Definition: MWAWParagraph.cxx:109
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
friend std::ostream & operator<<(std::ostream &o, MWAWParagraph const &ft)
operator <<
Definition: MWAWParagraph.cxx:447
Justification
an enum used to defined the paragraph justification: left, center, right, full ...
Definition: MWAWParagraph.hxx:90
virtual ~MWAWParagraph()
destructor
Definition: MWAWParagraph.cxx:179
bool operator==(MWAWParagraph const &p) const
operator==
Definition: MWAWParagraph.hxx:104
MWAWVariable< bool > m_tabsRelativeToLeftMargin
true if the tabs are relative to left margin, false if there are relative to the page margin (default...
Definition: MWAWParagraph.hxx:164
Definition: MWAWParagraph.hxx:90
MWAWVariable< MWAWColor > m_backgroundColor
the background color
Definition: MWAWParagraph.hxx:183
MWAWVariable< libmwaw::WritingMode > m_writingMode
the writing mode
Definition: MWAWParagraph.hxx:171
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:148