lib
KoLinkVariable Class Reference
Inheritance diagram for KoLinkVariable:

Detailed Description
Definition at line 695 of file KoVariable.h.
Public Member Functions | |
KoLinkVariable (KoTextDocument *textdoc, const QString &_linkName, const QString &_ulr, KoVariableFormat *varFormat, KoVariableCollection *_varColl) | |
virtual void | drawCustomItem (QPainter *p, int x, int y, int wpix, int hpix, int ascentpix, int, int, int, int, const QColorGroup &cg, bool selected, int offset, bool drawingShadow) |
virtual VariableType | type () const |
virtual QString | fieldCode () |
virtual void | saveVariable (QDomElement &parentElem) |
virtual void | load (QDomElement &elem) |
virtual void | loadOasis (const QDomElement &elem, KoOasisContext &context) |
virtual void | saveOasis (KoXmlWriter &writer, KoSavingContext &context) const |
virtual QString | text (bool realValue=false) |
QString | value () const |
QString | url () const |
virtual void | recalc () |
void | setLink (const QString &_linkName, const QString &_url) |
Static Public Member Functions | |
static QStringList | actionTexts () |
Protected Attributes | |
QString | m_url |
Member Function Documentation
|
All coordinates are in pixels.
Reimplemented from KoVariable. Definition at line 2486 of file KoVariable.cpp. |
|
Reimplemented by KoVariable to recalculate the value. It exists at the KoTextCustomItem level so that KoTextParag::setCustomItem can call it to set the initial value. This should call always resize(). Reimplemented from KoTextCustomItem. Definition at line 2475 of file KoVariable.cpp. |
|
Save to Oasis XML.
Reimplemented from KoVariable. Definition at line 2436 of file KoVariable.cpp. |
|
Variable should reimplement this to implement saving.
Implements KoVariable. Definition at line 2456 of file KoVariable.cpp. |
|
Returns the text to be displayed for this variable It doesn't need to be cached, convert() is fast, and it's the actual value (date, time etc. ) that is cached in the variable already. Reimplemented from KoVariable. Definition at line 2448 of file KoVariable.cpp. |
The documentation for this class was generated from the following files: