Ananas Library 0.9.5
|
#include <itemplate.h>
Public Member Functions | |
iTemplate () | |
virtual | ~iTemplate () |
virtual bool | open (const QString &fname)=0 |
virtual void | close () |
virtual void | clear () |
virtual QString | getValue (const QString &name) |
virtual void | setValue (const QString &name, const QString &value) |
virtual QString | exec (const QString &sname) |
virtual QString | result () |
virtual bool | save (const QString &fname) |
virtual void | cleanUpTags () |
virtual void | setDir (const QString &dir) |
virtual QString | getDir () |
Interface for work with report
iTemplate::iTemplate | ( | ) |
Constructor
|
virtual |
Destructor
|
virtual |
Clears all tags
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::show().
|
virtual |
Clears internal variable.
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
|
virtual |
Closes pattern.
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::close().
|
virtual |
Replaces tads to values
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::exec().
|
virtual |
Gets working directory
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::getName4NewTemplate().
|
virtual |
Get value of parameter ‘name’
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::value().
|
pure virtual |
Opens pattern
Implemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::setTable().
|
virtual |
Returns document.
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::show().
|
virtual |
Saves document to file
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::save(), and aReport::show().
|
virtual |
Sets working directory
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::setTable().
|
virtual |
Set value of parameter ‘name’
Reimplemented in aMSOTemplate, aOOTemplate, and aTemplate.
Referenced by aReport::setValue().