WPSField Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
WPSField Struct Reference

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...

## Detailed Description

a field

## Member Enumeration Documentation

enum WPSField::Type

Defines some basic type for field.

Enumerator
None |
Database |
Date |
Link |
PageCount |
PageNumber |
PageNumberNext |
Time |
Title |

## Constructor & Destructor Documentation

WPSField::WPSField | ( | Type | type | ) |
| inlineexplicit

basic constructor

## Member Function Documentation

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().

## Member Data Documentation

std::string WPSField::m_data

the database/link field ( if defined )

std::string WPSField::m_DTFormat

the date/time format using strftime format if defined (see strftime)

Referenced by WPS8Text::readText(), and WPS4Text::readText().

libwps::NumberingType WPSField::m_numberingType

the number type ( for number field )

Type WPSField::m_type

the type

Referenced by WPSContentListener::insertField(), and WKSContentListener::insertField().

The documentation for this struct was generated from the following files:

- libwps_internal.h
- libwps_internal.cpp