lib
KoListStyleStack Class Reference
#include <KoListStyleStack.h>
Detailed Description
This class implements the list styles currently active at a given point.Unlike KoStyleStack, this is NOT an inheritance stack. The list-style stack contains one item per list level at any given point. For instance inside <ul><li><ul><li> (in html terms), it will have 2 items.
- Author:
- David Faure <faure@kde.org>
Definition at line 34 of file KoListStyleStack.h.
Public Member Functions | |
KoListStyleStack () | |
~KoListStyleStack () | |
void | pop () |
void | push (const QDomElement &style) |
bool | hasListStyle () const |
QDomElement | currentListStyle () const |
QDomElement | currentListStyleProperties () const |
QDomElement | currentListStyleTextProperties () const |
void | setInitialLevel (int initialLevel) |
int | initialLevel () const |
int | level () const |
Member Function Documentation
|
Definition at line 30 of file KoListStyleStack.cpp. |
|
Definition at line 36 of file KoListStyleStack.cpp. |
|
Definition at line 42 of file KoListStyleStack.cpp. |
|
Definition at line 51 of file KoListStyleStack.h. |
|
Definition at line 78 of file KoListStyleStack.h. |
|
Definition at line 81 of file KoListStyleStack.h. |
|
Removes the style on top of the stack.
Definition at line 14 of file KoListStyleStack.cpp. |
|
Pushes the new list-style onto the stack.
Definition at line 19 of file KoListStyleStack.cpp. |
|
Set the initial level of the list, i.e. of item at the bottom of the stack. This is used when a level is explicitely specified in the [un]ordered-list tag (OASIS extension) Definition at line 24 of file KoListStyleStack.cpp. |
The documentation for this class was generated from the following files: