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

§ Type

Defines some basic type for field.

Enumerator
None 
Database 
Date 
Link 
PageCount 
PageNumber 
PageNumberNext 
Time 
Title 

Constructor & Destructor Documentation

§ WPSField()

WPSField::WPSField ( Type  type)
inlineexplicit

basic constructor

Member Function Documentation

§ addTo()

bool WPSField::addTo ( librevenge::RVNGPropertyList &  propList) const

add the link property to proplist (if possible)

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

§ getString()

librevenge::RVNGString WPSField::getString ( ) const

returns a string corresponding to the field (if possible) */

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

Member Data Documentation

§ m_data

std::string WPSField::m_data

the database/link field ( if defined )

§ m_DTFormat

std::string WPSField::m_DTFormat

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

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

§ m_numberingType

libwps::NumberingType WPSField::m_numberingType

the number type ( for number field )

§ m_type

Type WPSField::m_type

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

Generated on Wed Oct 26 2016 16:54:38 for libwps by doxygen 1.8.12