Swinder::FormatRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::FormatRecord:
Public Member Functions | |
| unsigned int | rtti () |
| FormatRecord () | |
| ~FormatRecord () | |
| FormatRecord (const FormatRecord &fr) | |
| FormatRecord & | operator= (const FormatRecord &fr) |
| unsigned | index () const |
| void | setIndex (unsigned i) |
| UString | formatString () const |
| void | setFormatString (const UString &fs) |
| virtual const char * | name () |
| virtual void | setData (unsigned size, const unsigned char *data) |
| virtual void | dump (std::ostream &out) const |
| Public Member Functions inherited from Swinder::Record | |
| Record () | |
| virtual | ~Record () |
| void | setVersion (unsigned v) |
| unsigned | version () |
| void | setPosition (unsigned pos) |
| unsigned | position () const |
Static Public Attributes | |
| static const unsigned int | id = 0x041e |
| Static Public Attributes inherited from Swinder::Record | |
| static const unsigned int | id = 0 |
Additional Inherited Members | |
| Static Public Member Functions inherited from Swinder::Record | |
| static Record * | create (unsigned type) |
| Protected Attributes inherited from Swinder::Record | |
| unsigned | stream_position |
| unsigned | ver |
Detailed Description
Number formatting string.
Class FormatRecord contains information about a number format. All Format records occur together in a sequential list. An XFRecord might refer to the specific Format record using an index to that list.
- See also
- XFRecord
Constructor & Destructor Documentation
◆ FormatRecord() [1/2]
| FormatRecord::FormatRecord | ( | ) |
◆ ~FormatRecord()
| FormatRecord::~FormatRecord | ( | ) |
◆ FormatRecord() [2/2]
| FormatRecord::FormatRecord | ( | const FormatRecord & | fr | ) |
Member Function Documentation
◆ dump()
|
virtual |
◆ formatString()
| UString FormatRecord::formatString | ( | ) | const |
Returns the formatting string of the format, e.g "0.00" for 2 decimal places number formatting.
- See also
- setFormatString
◆ index()
| unsigned FormatRecord::index | ( | ) | const |
◆ name()
|
inlinevirtual |
◆ operator=()
| FormatRecord & FormatRecord::operator= | ( | const FormatRecord & | fr | ) |
◆ rtti()
|
inlinevirtual |
Reimplemented from Swinder::Record.
◆ setData()
|
virtual |
Sets the data for this record.
Reimplemented from Swinder::Record.
◆ setFormatString()
| void FormatRecord::setFormatString | ( | const UString & | fs | ) |
Sets the formatting string of the format.
- See also
- formatString
◆ setIndex()
| void FormatRecord::setIndex | ( | unsigned | i | ) |
Member Data Documentation
◆ id
The documentation for this class was generated from the following files:
