virtual class for content listener More...
#include <WPSListener.h>
Public Types | |
enum | FieldType { None, PageNumber, Date, Time, Title, Link, Database } |
Defines some basic type for field. More... | |
Public Member Functions | |
WPSListener () | |
virtual | ~WPSListener () |
virtual void | setDocumentLanguage (int lcid)=0 |
virtual void | insertCharacter (uint8_t character)=0 |
adds a basic character, .. More... | |
virtual void | insertUnicode (uint32_t character)=0 |
adds an unicode character More... | |
virtual void | insertUnicodeString (librevenge::RVNGString const &str)=0 |
adds a unicode string More... | |
virtual void | insertTab ()=0 |
virtual void | insertEOL (bool softBreak=false)=0 |
virtual void | insertBreak (const uint8_t breakType)=0 |
virtual void | setFont (const WPSFont &font)=0 |
set the actual font More... | |
virtual WPSFont const & | getFont () const =0 |
returns the actual font More... | |
virtual bool | isParagraphOpened () const =0 |
returns true if a paragraph or a list is opened More... | |
virtual void | setParagraph (const WPSParagraph ¶)=0 |
sets the actual paragraph More... | |
virtual WPSParagraph const & | getParagraph () const =0 |
returns the actual paragraph More... | |
virtual void | insertField (FieldType type)=0 |
adds a field type More... | |
virtual void | insertDateTimeField (char const *format)=0 |
insert a date/time field with given format (see strftime) More... | |
Static Public Member Functions | |
static void | appendUnicode (uint32_t val, librevenge::RVNGString &buffer) |
adds an unicode character to a string ( with correct encoding ). More... | |
virtual class for content listener
|
inline |
|
inlinevirtual |
|
inlinestatic |
adds an unicode character to a string ( with correct encoding ).
Referenced by WPS4Text::footNotesDataParser(), WPSContentListener::insertUnicode(), WKSContentListener::insertUnicode(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), WPS8Text::readString(), and WKS4Spreadsheet::sendCellContent().
|
pure virtual |
returns the actual font
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
returns the actual paragraph
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
adds a basic character, ..
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
insert a date/time field with given format (see strftime)
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
adds a field type
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
adds an unicode character
by convention if character=0xfffd(undef), no character is added
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
adds a unicode string
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
returns true if a paragraph or a list is opened
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
set the actual font
Implemented in WKSContentListener, and WPSContentListener.
|
pure virtual |
sets the actual paragraph
Implemented in WKSContentListener, and WPSContentListener.