a field More...
#include <libwps_internal.h>
Public Types | |
enum | Type { None, Database, Date, Link, PageCount, PageNumber, PageNumberNext, Time, Title } |
Defines some basic type for field. More... | |
Public Member Functions | |
WPSField (Type type) | |
basic constructor More... | |
bool | addTo (librevenge::RVNGPropertyList &propList) const |
add the link property to proplist (if possible) More... | |
librevenge::RVNGString | getString () const |
returns a string corresponding to the field (if possible) */ More... | |
Public Attributes | |
Type | m_type |
the type More... | |
std::string | m_DTFormat |
the date/time format using strftime format if defined (see strftime) More... | |
libwps::NumberingType | m_numberingType |
the number type ( for number field ) More... | |
std::string | m_data |
the database/link field ( if defined ) More... | |
a field
enum WPSField::Type |
|
inlineexplicit |
basic constructor
bool WPSField::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist (if possible)
Referenced by WPSContentListener::insertField(), and WKSContentListener::insertField().
librevenge::RVNGString WPSField::getString | ( | ) | const |
returns a string corresponding to the field (if possible) */
Referenced by WPSContentListener::insertField(), and WKSContentListener::insertField().
std::string WPSField::m_data |
the database/link field ( if defined )
Referenced by getString().
std::string WPSField::m_DTFormat |
the date/time format using strftime format if defined (see strftime)
Referenced by getString(), WPS8Text::readText(), and WPS4Text::readText().
libwps::NumberingType WPSField::m_numberingType |
the number type ( for number field )
Referenced by addTo().
Type WPSField::m_type |
the type
Referenced by addTo(), getString(), WPSContentListener::insertField(), and WKSContentListener::insertField().