filters

#include <KWEFStructures.h>

Public Member Functions

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

Public Attributes

TQString m_key
 
TQString m_text
 
int m_type
 

Protected Attributes

TQMap< TQString, TQString > propertyMap
 
TQValueList< ParaData > * footnotePara
 

Detailed Description

Data of variables.

Definition at line 215 of file KWEFStructures.h.

Constructor & Destructor Documentation

◆ VariableData() [1/3]

VariableData::VariableData ( )
inline

Definition at line 218 of file KWEFStructures.h.

◆ VariableData() [2/3]

VariableData::VariableData ( const TQString &  text)
inline

Definition at line 219 of file KWEFStructures.h.

◆ VariableData() [3/3]

VariableData::VariableData ( const VariableData &  other)
inline

Definition at line 220 of file KWEFStructures.h.

Member Function Documentation

◆ getFieldName()

TQString VariableData::getFieldName ( void  ) const

Definition at line 99 of file KWEFStructures.cpp.

◆ getFieldValue()

TQString VariableData::getFieldValue ( void  ) const

Definition at line 104 of file KWEFStructures.cpp.

◆ getFootnoteAuto()

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

◆ getFootnotePara()

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

Paragrapgh of the footnote.

Definition at line 132 of file KWEFStructures.cpp.

◆ getFootnoteType()

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

◆ getFootnoteValue()

TQString VariableData::getFootnoteValue ( void  ) const

Get the value (counter) of the footnote.

Definition at line 122 of file KWEFStructures.cpp.

◆ getGenericData()

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

Get generic variable data.

Since
1.3.1, 1.4

Definition at line 142 of file KWEFStructures.cpp.

◆ getHrefName()

TQString VariableData::getHrefName ( void  ) const

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

Definition at line 70 of file KWEFStructures.cpp.

◆ getLinkName()

TQString VariableData::getLinkName ( void  ) const

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

Definition at line 65 of file KWEFStructures.cpp.

◆ isPageCount()

bool VariableData::isPageCount ( void  ) const

Definition at line 87 of file KWEFStructures.cpp.

◆ isPageNumber()

bool VariableData::isPageNumber ( void  ) const

Definition at line 81 of file KWEFStructures.cpp.

◆ setField()

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

Set parameters of a FIELD element.

Definition at line 93 of file KWEFStructures.cpp.

◆ setFootnote()

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

Set parameters of a <FOOTNOTE> element.

Since
1.4 (change of parameters)

Definition at line 109 of file KWEFStructures.cpp.

◆ setGenericData()

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

Set generic variable data.

Since
1.3.1, 1.4

Definition at line 137 of file KWEFStructures.cpp.

◆ setLink()

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

Set parameters of a LINK element.

Definition at line 59 of file KWEFStructures.cpp.

◆ setPgNum()

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

Set parameters of a PGNUM element.

Definition at line 75 of file KWEFStructures.cpp.

Member Data Documentation

◆ footnotePara

TQValueList<ParaData>* VariableData::footnotePara
protected

Definition at line 281 of file KWEFStructures.h.

◆ m_key

TQString VariableData::m_key

Definition at line 275 of file KWEFStructures.h.

◆ m_text

TQString VariableData::m_text

Definition at line 276 of file KWEFStructures.h.

◆ m_type

int VariableData::m_type

Definition at line 277 of file KWEFStructures.h.

◆ propertyMap

TQMap<TQString,TQString> VariableData::propertyMap
protected

Definition at line 280 of file KWEFStructures.h.


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