27 # define WPS_PARAGRAPH 39 class WPXPropertyListVector;
44 WPSTabStop(
double position = 0.0,
Alignment alignment =
LEFT, uint16_t leaderCharacter=
'\0', uint8_t leaderNumSpaces = 0) :
48 void addTo(WPXPropertyListVector &propList,
double decalX=0.0);
64 m_breakStatus(0), m_listLevelIndex(0), m_listLevel(), m_backgroundColor(0xFFFFFF),
65 m_border(0), m_borderStyle(), m_extra(
"")
67 for(
int i = 0; i < 3; i++) m_margins[i] = m_spacings[i] = 0.0;
72 void send(shared_ptr<WPSContentListener> listener)
const;
Definition: WPSParagraph.h:43
libwps::Justification m_justify
the justification
Definition: WPSParagraph.h:92
WPSList::Level ListLevel
Definition: WPSParagraph.h:60
int m_breakStatus
a list of bits: 0x1 (unbreakable), 0x2 (do not break after)
Definition: WPSParagraph.h:94
class to store the paragraph properties
Definition: WPSParagraph.h:58
a border list
Definition: libwps_internal.h:225
Definition: libwps_internal.cpp:32
Definition: WPSParagraph.h:43
Alignment
Definition: WPSParagraph.h:43
Definition: WPSContentListener.h:168
int m_listLevelIndex
the actual level index
Definition: WPSParagraph.h:97
Justification
Definition: libwps_internal.h:266
small structure to keep information about a level
Definition: WPSList.h:43
std::vector< WPSTabStop > m_tabs
the tabulations
Definition: WPSParagraph.h:89
WPSParagraph()
constructor
Definition: WPSParagraph.h:63
int m_border
list of bits to indicated a border 1: LeftBorderBit, 2: RightBorderBit, ...
Definition: WPSParagraph.h:105
Alignment m_alignment
Definition: WPSParagraph.h:52
uint16_t m_leaderCharacter
Definition: WPSParagraph.h:53
uint32_t m_backgroundColor
the background color
Definition: WPSParagraph.h:102
void addTo(WPXPropertyListVector &propList, double decalX=0.0)
Definition: WPSParagraph.cpp:35
std::string m_extra
a string to store some errors
Definition: WPSParagraph.h:110
virtual ~WPSParagraph()
Definition: WPSParagraph.h:70
WPSTabStop(double position=0.0, Alignment alignment=LEFT, uint16_t leaderCharacter='\0', uint8_t leaderNumSpaces=0)
Definition: WPSParagraph.h:44
Definition: WPSParagraph.h:43
friend std::ostream & operator<<(std::ostream &o, WPSTabStop const &ft)
operator <<
Definition: WPSParagraph.cpp:77
double m_position
Definition: WPSParagraph.h:51
uint8_t m_leaderNumSpaces
Definition: WPSParagraph.h:54
Definition: WPSParagraph.h:41
WPSBorder m_borderStyle
the border style
Definition: WPSParagraph.h:107
Definition: libwps_internal.h:266
ListLevel m_listLevel
the actual level
Definition: WPSParagraph.h:99
Definition: WPSParagraph.h:43
Definition: WPSParagraph.h:43