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 | |
WPSField (WPSField &&)=default | |
WPSField (WPSField const &)=default | |
WPSField & | operator= (WPSField const &)=default |
WPSField & | operator= (WPSField &&)=default |
bool | addTo (librevenge::RVNGPropertyList &propList) const |
add the link property to proplist (if possible) | |
librevenge::RVNGString | getString () const |
returns a string corresponding to the field (if possible) */ |
Public Attributes | |
Type | m_type |
the type | |
std::string | m_DTFormat |
the date/time format using strftime format if defined (see strftime) | |
libwps::NumberingType | m_numberingType |
the number type ( for number field ) | |
std::string | m_data |
the database/link field ( if defined ) |
a field
enum WPSField::Type |
|
inlineexplicit |
basic constructor
Referenced by operator=(), operator=(), WPSField(), and WPSField().
|
default |
|
default |
bool WPSField::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the link property to proplist (if possible)
Referenced by WKSContentListener::insertField(), and WPSContentListener::insertField().
librevenge::RVNGString WPSField::getString | ( | ) | const |
returns a string corresponding to the field (if possible) */
Referenced by WKSContentListener::insertField(), and WPSContentListener::insertField().
std::string WPSField::m_data |
the database/link field ( if defined )
Referenced by getString(), and WPSField().
std::string WPSField::m_DTFormat |
the date/time format using strftime format if defined (see strftime)
Referenced by addTo(), WPS4Text::readText(), WPS8Text::readText(), and WPSField().
libwps::NumberingType WPSField::m_numberingType |
the number type ( for number field )
Referenced by addTo(), and WPSField().
Type WPSField::m_type |
the type
Referenced by addTo(), getString(), WKSContentListener::insertField(), WPSContentListener::insertField(), and WPSField().