32#include <librevenge/librevenge.h>
65 void addTo(librevenge::RVNGPropertyList &propList,
int startVal)
const;
133 void setId(
int newId);
141 void set(
int levl, Level
const &level);
157 void addLevelTo(
int level, librevenge::RVNGPropertyList &propList)
const;
std::vector< int > m_actualIndices
Definition WPSList.h:163
std::vector< Level > m_levels
Definition WPSList.h:160
int numLevels() const
returns the number of level
Definition WPSList.h:136
int m_previousId
Definition WPSList.h:164
std::vector< int > m_nextIndices
Definition WPSList.h:163
int m_actLevel
Definition WPSList.h:162
WPSList()
default constructor
Definition WPSList.h:109
void closeElement() const
close the list element
Definition WPSList.h:148
void addLevelTo(int level, librevenge::RVNGPropertyList &propList) const
add level definition to propList
Definition WPSList.cpp:156
bool isNumeric(int levl) const
returns true is a level is numeric
Definition WPSList.cpp:224
int m_id
Definition WPSList.h:164
void setLevel(int levl) const
set the list level
Definition WPSList.cpp:198
void set(int levl, Level const &level)
sets a level
Definition WPSList.cpp:176
void openElement() const
open the list element
Definition WPSList.cpp:213
bool mustSendLevel(int level) const
returns true of the level must be send to the document interface
Definition WPSList.cpp:143
int getPreviousId() const
returns the previous list id
Definition WPSList.h:127
void setId(int newId)
set the list id
Definition WPSList.cpp:134
int getId() const
returns the list id
Definition WPSList.h:118
Definition libwps_internal.cpp:39
NumberingType
Definition libwps_internal.h:246
@ BULLET
Definition libwps_internal.h:246
@ NONE
Definition libwps_internal.h:246
small structure to keep information about a level
Definition WPSList.h:41
void resetSendToInterface() const
reset the sendToInterface flag
Definition WPSList.h:73
int m_startValue
the actual value (if this is an ordered level )
Definition WPSList.h:96
int cmpType(Level const &levl) const
type comparison function
Definition WPSList.cpp:67
friend std::ostream & operator<<(std::ostream &o, Level const &ft)
operator<<
Definition WPSList.cpp:95
libwps::NumberingType m_type
the type of the level
Definition WPSList.h:98
bool isDefault() const
returns true if the level type was not set
Definition WPSList.h:55
librevenge::RVNGString m_suffix
string which follows the number if we have an ordered level
Definition WPSList.h:100
int cmp(Level const &levl) const
full comparison function
Definition WPSList.cpp:80
int getStartValue() const
returns the start value (if set) or 1
Definition WPSList.h:79
double m_labelIndent
the list indent
Definition WPSList.h:93
librevenge::RVNGString m_bullet
the bullet if we have an bullet level
Definition WPSList.h:101
void addTo(librevenge::RVNGPropertyList &propList, int startVal) const
add the information of this level in the propList
Definition WPSList.cpp:33
librevenge::RVNGString m_prefix
string which preceedes the number if we have an ordered level
Definition WPSList.h:99
bool isSendToInterface() const
returns true, if addTo has been called
Definition WPSList.h:68
Level()
basic constructor
Definition WPSList.h:44
bool isNumeric() const
returns true if the list is decimal, alpha or roman
Definition WPSList.h:60
double m_labelWidth
the list width
Definition WPSList.h:94
bool m_sendToInterface
true if it is already send to librevenge::RVNGTextInterface
Definition WPSList.h:105