27 # define WPS_PARAGRAPH 40 WPSTabStop(
double position = 0.0,
Alignment alignment =
LEFT, uint16_t leaderCharacter=
'\0', uint8_t leaderNumSpaces = 0) :
44 void addTo(librevenge::RVNGPropertyListVector &propList,
double decalX=0.0)
const;
62 m_breakStatus(0), m_listLevelIndex(0), m_listLevel(), m_backgroundColor(
WPSColor::white()),
63 m_border(0), m_borderStyle(), m_extra(
"")
65 for (
int i = 0; i < 3; i++) m_margins[i] = m_spacings[i] = 0.0;
71 void addTo(librevenge::RVNGPropertyList &propList,
bool inTable)
const;
76 m_spacingsInterlineUnit=unit;
77 m_spacingsInterlineType=type;
Definition: WPSParagraph.h:39
libwps::Justification m_justify
the justification
Definition: WPSParagraph.h:102
WPSList::Level ListLevel
Definition: WPSParagraph.h:56
int m_breakStatus
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Definition: WPSParagraph.h:104
class to store the paragraph properties
Definition: WPSParagraph.h:54
a border list
Definition: libwps_internal.h:379
Definition: libwps_internal.cpp:38
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: WPSParagraph.h:73
Definition: WPSParagraph.h:39
Alignment
Definition: WPSParagraph.h:39
void addTo(librevenge::RVNGPropertyListVector &propList, double decalX=0.0) const
Definition: WPSParagraph.cpp:37
int m_listLevelIndex
the actual level index
Definition: WPSParagraph.h:107
Justification
Definition: libwps_internal.h:247
small structure to keep information about a level
Definition: WPSList.h:40
std::vector< WPSTabStop > m_tabs
the tabulations
Definition: WPSParagraph.h:99
WPSParagraph()
constructor
Definition: WPSParagraph.h:61
int m_border
list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ...
Definition: WPSParagraph.h:115
Alignment m_alignment
Definition: WPSParagraph.h:48
uint16_t m_leaderCharacter
Definition: WPSParagraph.h:49
LineSpacingType m_spacingsInterlineType
the interline type: fixed, atLeast, ...
Definition: WPSParagraph.h:97
librevenge::RVNGUnit m_spacingsInterlineUnit
the interline unit PERCENT or INCH, ...
Definition: WPSParagraph.h:95
std::string m_extra
a string to store some errors
Definition: WPSParagraph.h:120
virtual ~WPSParagraph()
Definition: WPSParagraph.h:69
WPSTabStop(double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint8_t leaderNumSpaces=0)
Definition: WPSParagraph.h:40
Definition: WPSParagraph.h:39
the class to store a color
Definition: libwps_internal.h:273
friend std::ostream & operator<<(std::ostream &o, WPSTabStop const &ft)
operator <<
Definition: WPSParagraph.cpp:79
double m_position
Definition: WPSParagraph.h:47
uint8_t m_leaderNumSpaces
Definition: WPSParagraph.h:50
Definition: WPSParagraph.h:37
WPSBorder m_borderStyle
the border style
Definition: WPSParagraph.h:117
LineSpacingType
the line spacing type: fixed or at least
Definition: WPSParagraph.h:58
Definition: libwps_internal.h:247
WPSColor m_backgroundColor
the background color
Definition: WPSParagraph.h:112
ListLevel m_listLevel
the actual level
Definition: WPSParagraph.h:109
Definition: WPSParagraph.h:39
Definition: WPSParagraph.h:39