lib
KoVariableFormatCollection Class Reference
#include <KoVariable.h>
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 262 of file KoVariable.h.
Public Member Functions | |
KoVariableFormatCollection () | |
void | clear () |
KoVariableFormat * | format (const QCString &key) |
Protected Member Functions | |
KoVariableFormat * | createFormat (const QCString &key) |
Member Function Documentation
|
Forget (and erase) all the formats this collection knows about.
Definition at line 270 of file KoVariable.h. |
|
Find or create the format for the given
Definition at line 448 of file KoVariable.cpp. |
The documentation for this class was generated from the following files: