filters
Swinder::FormatRecord Class Reference
#include <excel.h>
Inheritance diagram for Swinder::FormatRecord:

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
Definition at line 1508 of file excel.h.
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 |
Static Public Attributes | |
static const unsigned int | id = 0x041e |
Constructor & Destructor Documentation
FormatRecord::FormatRecord | ( | ) |
FormatRecord::~FormatRecord | ( | ) |
FormatRecord::FormatRecord | ( | const FormatRecord & | fr | ) |
Member Function Documentation
FormatRecord & FormatRecord::operator= | ( | const FormatRecord & | fr | ) |
unsigned FormatRecord::index | ( | ) | const |
void FormatRecord::setIndex | ( | unsigned | i | ) |
UString FormatRecord::formatString | ( | ) | const |
Returns the formatting string of the format, e.g "0.00" for 2 decimal places number formatting.
- See also:
- setFormatString
void FormatRecord::setFormatString | ( | const UString & | fs | ) |
virtual const char* Swinder::FormatRecord::name | ( | ) | [inline, virtual] |
void FormatRecord::setData | ( | unsigned | size, | |
const unsigned char * | data | |||
) | [virtual] |
void FormatRecord::dump | ( | std::ostream & | out | ) | const [virtual] |
Member Data Documentation
const unsigned int FormatRecord::id = 0x041e [static] |
Static ID of the record.
Subclasses should override this value with the id of the record they handle.
Reimplemented from Swinder::Record.
The documentation for this class was generated from the following files: