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