LibreOffice Module sc (master) 1
|
#include <xlstyle.hxx>
Public Member Functions | |
XclNumFmtBuffer (const XclRoot &rRoot) | |
sal_uInt32 | GetStdScNumFmt () const |
Returns the core index of the current standard number format. More... | |
Protected Types | |
typedef ::std::map< sal_uInt16, XclNumFmt > | XclNumFmtMap |
Protected Member Functions | |
void | InitializeImport () |
Clears all buffered data, used to set up for a new sheet. More... | |
const XclNumFmtMap & | GetFormatMap () const |
Returns the current number format map. More... | |
void | InsertFormat (sal_uInt16 nXclNumFmt, const OUString &rFormat) |
Inserts a new number format for the specified Excel format index. More... | |
Private Member Functions | |
void | InsertBuiltinFormats () |
Inserts built-in number formats for the current system language. More... | |
Private Attributes | |
XclNumFmtMap | maFmtMap |
const LanguageType | meSysLang |
Map containing all default and user-defined formats. More... | |
const sal_uInt32 | mnStdScNumFmt |
Current system language. More... | |
Definition at line 444 of file xlstyle.hxx.
|
protected |
Definition at line 453 of file xlstyle.hxx.
|
explicit |
Definition at line 1458 of file xlstyle.cxx.
References EXC_BIFF5, XclRoot::GetBiff(), and InsertBuiltinFormats().
|
inlineprotected |
Returns the current number format map.
Definition at line 459 of file xlstyle.hxx.
References maFmtMap.
Referenced by XclImpNumFmtBuffer::CreateScFormats().
|
inline |
Returns the core index of the current standard number format.
Definition at line 450 of file xlstyle.hxx.
References mnStdScNumFmt.
Referenced by XclImpNumFmtBuffer::FillToItemSet(), and XclImpXFRangeBuffer::Finalize().
|
protected |
Clears all buffered data, used to set up for a new sheet.
Definition at line 1468 of file xlstyle.cxx.
References maFmtMap.
Referenced by XclImpNumFmtBuffer::Initialize().
|
private |
Inserts built-in number formats for the current system language.
Definition at line 1482 of file xlstyle.cxx.
References EXC_FORMAT_NOTFOUND, LANGUAGE_DONTKNOW, LANGUAGE_SYSTEM, maFmtMap, XclNumFmt::maFormat, XclNumFmt::meLanguage, XclNumFmt::meOffset, meSysLang, and SAL_WARN.
Referenced by XclNumFmtBuffer().
|
protected |
Inserts a new number format for the specified Excel format index.
Definition at line 1473 of file xlstyle.cxx.
References LANGUAGE_SYSTEM, maFmtMap, XclNumFmt::maFormat, XclNumFmt::meLanguage, XclNumFmt::meOffset, and NF_NUMBER_STANDARD.
Referenced by XclImpNumFmtBuffer::ReadCFFormat(), and XclImpNumFmtBuffer::ReadFormat().
|
private |
Definition at line 468 of file xlstyle.hxx.
Referenced by GetFormatMap(), InitializeImport(), InsertBuiltinFormats(), and InsertFormat().
|
private |
Map containing all default and user-defined formats.
Definition at line 469 of file xlstyle.hxx.
Referenced by InsertBuiltinFormats().
|
private |
Current system language.
Definition at line 470 of file xlstyle.hxx.
Referenced by GetStdScNumFmt().