32 #include <librevenge/librevenge.h>
58 void addTo(librevenge::RVNGPropertyList &propList,
int startVal)
const;
121 void setId(
int newId);
129 void set(
int levl, Level
const &level);
145 void addLevelTo(
int level, librevenge::RVNGPropertyList &propList)
const;
int m_id
Definition: WPSList.h:152
std::vector< int > m_actualIndices
Definition: WPSList.h:151
bool isDefault() const
returns true if the level type was not set
Definition: WPSList.h:48
std::vector< int > m_nextIndices
Definition: WPSList.h:151
void openElement() const
open the list element
Definition: WPSList.cpp:213
int cmpType(Level const &levl) const
type comparison function
Definition: WPSList.cpp:67
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition: WPSList.h:92
Definition: libwps_internal.h:258
bool isNumeric() const
returns true if the list is decimal, alpha or roman
Definition: WPSList.h:53
std::vector< Level > m_levels
Definition: WPSList.h:148
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition: WPSList.h:92
int numLevels() const
returns the number of level
Definition: WPSList.h:124
Level()
basic constructor
Definition: WPSList.h:44
bool m_sendToInterface
true if it is already send to librevenge::RVNGTextInterface
Definition: WPSList.h:98
libwps::NumberingType m_type
the type of the level
Definition: WPSList.h:91
small structure to keep information about a level
Definition: WPSList.h:40
bool isNumeric(int levl) const
returns true is a level is numeric
Definition: WPSList.cpp:224
Definition: libwps_internal.h:258
a small structure used to store the informations about a list
Definition: WPSList.h:36
void resetSendToInterface() const
reset the sendToInterface flag
Definition: WPSList.h:66
int m_actLevel
Definition: WPSList.h:150
int getStartValue() const
returns the start value (if set) or 1
Definition: WPSList.h:72
void set(int levl, Level const &level)
sets a level
Definition: WPSList.cpp:176
bool isSendToInterface() const
returns true, if addTo has been called
Definition: WPSList.h:61
double m_labelWidth
the list width
Definition: WPSList.h:87
NumberingType
Definition: libwps_internal.h:258
bool mustSendLevel(int level) const
returns true of the level must be send to the document interface
Definition: WPSList.cpp:143
void addLevelTo(int level, librevenge::RVNGPropertyList &propList) const
add level definition to propList
Definition: WPSList.cpp:156
librevenge::RVNGString m_prefix
string which preceedes the number if we have an ordered level
Definition: WPSList.h:92
void setLevel(int levl) const
set the list level
Definition: WPSList.cpp:198
int cmp(Level const &levl) const
full comparison function
Definition: WPSList.cpp:80
int getId() const
returns the list id
Definition: WPSList.h:106
WPSList()
default constructor
Definition: WPSList.h:102
int getPreviousId() const
returns the previous list id
Definition: WPSList.h:115
int m_previousId
Definition: WPSList.h:152
friend std::ostream & operator<<(std::ostream &o, Level const &ft)
operator<<
Definition: WPSList.cpp:95
void setId(int newId)
set the list id
Definition: WPSList.cpp:134
void addTo(librevenge::RVNGPropertyList &propList, int startVal) const
add the information of this level in the propList
Definition: WPSList.cpp:33
int m_startValue
the actual value (if this is an ordered level )
Definition: WPSList.h:89
void closeElement() const
close the list element
Definition: WPSList.h:136
double m_labelIndent
the list indent
Definition: WPSList.h:86