#include <amsotemplate.h>
|
| virtual bool | open (const QString &fname) |
| |
| 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 () |
| |
| | iTemplate () |
| |
| virtual | ~iTemplate () |
| |
Class for work with pattern in Microsoft Office Word 2003 format
| void aMSOTemplate::cleanUpTags |
( |
| ) |
|
|
virtual |
clears all tags from pattern
Reimplemented from iTemplate.
| void aMSOTemplate::clear |
( |
| ) |
|
|
virtual |
clears internal variable.
Reimplemented from iTemplate.
| void aMSOTemplate::clearAttributes |
( |
QDomNode |
node, |
|
|
const QString |
nodename, |
|
|
const QString |
attr |
|
) |
| |
|
protected |
Deletes from node attribute
- Parameters
-
| node | - context |
| nodename | - node name |
| attr | - attribut name |
| void aMSOTemplate::clearRow |
( |
QDomNode |
node | ) |
|
|
protected |
Deletes row, having section tag
- Parameters
-
| void aMSOTemplate::clearTags |
( |
QDomNode |
node, |
|
|
bool |
section |
|
) |
| |
|
protected |
Deletes tags from node
- Parameters
-
| void aMSOTemplate::close |
( |
| ) |
|
|
virtual |
Closes pattern.
Reimplemented from iTemplate.
| QString aMSOTemplate::exec |
( |
const QString & |
sname | ) |
|
|
virtual |
Execute replace tags to values.
- Parameters
-
Reimplemented from iTemplate.
| QString aMSOTemplate::getDir |
( |
| ) |
|
|
virtual |
The catalogue for storage of time files of the report
Reimplemented from iTemplate.
| bool aMSOTemplate::getNodeTags |
( |
QDomNode |
node, |
|
|
const QString & |
tagname, |
|
|
bool |
params |
|
) |
| |
|
protectedvirtual |
Return true, if node contain tag
- Parameters
-
| node | - context for searching |
| sname | - tag name |
| params | - true, if find simple tag and false, if section |
| int aMSOTemplate::getRowIndex |
( |
QDomNode |
node | ) |
|
|
protected |
Defines number of a line in a pattern
- Parameters
-
| QString aMSOTemplate::getValue |
( |
const QString & |
name | ) |
|
|
virtual |
| void aMSOTemplate::insertRowValues |
( |
QDomNode |
node | ) |
|
|
protected |
insert new row in table and replace tag to value
- Parameters
-
| node | - context for inserting |
- See also
- searchTags()
| void aMSOTemplate::insertTagsValues |
( |
QDomNode |
node, |
|
|
const QString & |
tagName |
|
) |
| |
|
protectedvirtual |
Addes to tag value of parametr tagName
- Parameters
-
| node | - context |
| sname | - tag name |
| bool aMSOTemplate::open |
( |
const QString & |
fname | ) |
|
|
virtual |
| QString aMSOTemplate::result |
( |
| ) |
|
|
virtual |
| bool aMSOTemplate::save |
( |
const QString & |
fname | ) |
|
|
virtual |
| void aMSOTemplate::searchTags |
( |
QDomNode |
node, |
|
|
const QString & |
sname |
|
) |
| |
|
protected |
| void aMSOTemplate::setDir |
( |
const QString & |
dir | ) |
|
|
virtual |
clears all tags from pattern
- Parameters
-
| dir | - The catalogue in which is a pattern |
Reimplemented from iTemplate.
| void aMSOTemplate::setValue |
( |
const QString & |
name, |
|
|
const QString & |
value |
|
) |
| |
|
virtual |
Sets value parameter `name'
- Parameters
-
| name | - name of parametr. |
| value | - value of parametr. |
Reimplemented from iTemplate.
| QDomDocument aMSOTemplate::docTpl |
|
protected |
Variable for store unpacking teplate content
| QString aMSOTemplate::templateDir |
|
protected |
The documentation for this class was generated from the following files: