filters

VariableData Class Reference

#include <KWEFStructures.h>

List of all members.


Detailed Description

Data of variables.

Definition at line 215 of file KWEFStructures.h.


Public Member Functions

 VariableData ()
 VariableData (const QString &text)
 VariableData (const VariableData &other)
void setLink (const QString &linkName, const QString &hrefName)
QString getLinkName (void) const
QString getHrefName (void) const
void setPgNum (const QString &subtype, const QString &value)
bool isPageNumber (void) const
bool isPageCount (void) const
void setField (const QString &subtype, const QString &value)
QString getFieldName (void) const
QString getFieldValue (void) const
void setFootnote (const QString &notetype, const QString &automatic, const QString &value, QValueList< ParaData > *para)
bool getFootnoteAuto (void) const
QString getFootnoteValue (void) const
bool getFootnoteType (void) const
QValueList< ParaData > * getFootnotePara (void) const
void setGenericData (const QString &key, const QString &data)
QString getGenericData (const QString &key) const

Public Attributes

QString m_key
QString m_text
int m_type

Protected Attributes

QMap< QString, QString > propertyMap
QValueList< ParaData > * footnotePara

Member Function Documentation

void VariableData::setLink ( const QString &  linkName,
const QString &  hrefName 
)

Set parameters of a LINK element.

Definition at line 59 of file KWEFStructures.cc.

QString VariableData::getLinkName ( void   )  const

Name of link (attribute "linkName" of <LINK>).

Definition at line 65 of file KWEFStructures.cc.

QString VariableData::getHrefName ( void   )  const

Reference of link (attribute "hrefName" of <LINK>).

Definition at line 70 of file KWEFStructures.cc.

void VariableData::setPgNum ( const QString &  subtype,
const QString &  value 
)

Set parameters of a PGNUM element.

Definition at line 75 of file KWEFStructures.cc.

void VariableData::setField ( const QString &  subtype,
const QString &  value 
)

Set parameters of a FIELD element.

Definition at line 93 of file KWEFStructures.cc.

void VariableData::setFootnote ( const QString &  notetype,
const QString &  automatic,
const QString &  value,
QValueList< ParaData > *  para 
)

Set parameters of a <FOOTNOTE> element.

Since:
1.4 (change of parameters)

Definition at line 109 of file KWEFStructures.cc.

bool VariableData::getFootnoteAuto ( void   )  const

Is the footnote an automatic one?

Returns:
true for an automatical foornote, false for a manual footnote

Definition at line 117 of file KWEFStructures.cc.

QString VariableData::getFootnoteValue ( void   )  const

Get the value (counter) of the footnote.

Definition at line 122 of file KWEFStructures.cc.

bool VariableData::getFootnoteType ( void   )  const

Get type of footnote.

Returns:
true for footnote, false for endnote
Since:
1.4

Definition at line 127 of file KWEFStructures.cc.

QValueList< ParaData > * VariableData::getFootnotePara ( void   )  const

Paragrapgh of the footnote.

Definition at line 132 of file KWEFStructures.cc.

void VariableData::setGenericData ( const QString &  key,
const QString &  data 
)

Set generic variable data.

Since:
1.3.1, 1.4

Definition at line 137 of file KWEFStructures.cc.

QString VariableData::getGenericData ( const QString &  key  )  const

Get generic variable data.

Since:
1.3.1, 1.4

Definition at line 142 of file KWEFStructures.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys