KoVariableFormatCollection Class Reference
The collection of formats for variables. More...
#include <kovariable.h>
Public Member Functions | |
void | clear () |
KoVariableFormat * | format (const QCString &key) |
Protected Member Functions | |
KoVariableFormat * | createFormat (const QCString &key) |
Detailed Description
The collection of formats for variables.Example: date (short or long), time, string (prefix/suffix), number (prefix/suffix, decimals?)... Implements the flyweight pattern to share formats and create them on demand. Each KoDocument holds a KoVariableFormatCollection.
Definition at line 242 of file kovariable.h.
Member Function Documentation
|
Forget (and erase) all the formats this collection knows about.
Definition at line 250 of file kovariable.h. |
|
Find or create the format for the given
Definition at line 382 of file kovariable.cc. Referenced by KoPgNumVariable::setVariableSubType(). |
The documentation for this class was generated from the following files: