LibreOffice Module sc (master) 1
|
#include <zforauto.hxx>
Public Member Functions | |
ScNumFormatAbbrev () | |
ScNumFormatAbbrev (sal_uInt32 nFormat, const SvNumberFormatter &rFormatter) | |
void | Load (SvStream &rStream, rtl_TextEncoding eByteStrSet) |
void | Save (SvStream &rStream, rtl_TextEncoding eByteStrSet) const |
void | PutFormatIndex (sal_uInt32 nFormat, const SvNumberFormatter &rFormatter) |
sal_uInt32 | GetFormatIndex (SvNumberFormatter &rFormatter) |
bool | operator== (const ScNumFormatAbbrev &rNumFormat) const |
LanguageType | GetLanguage () const |
Private Attributes | |
OUString | sFormatstring |
LanguageType | eLanguage |
LanguageType | eSysLanguage |
Definition at line 28 of file zforauto.hxx.
ScNumFormatAbbrev::ScNumFormatAbbrev | ( | ) |
Definition at line 30 of file zforauto.cxx.
References LANGUAGE_GERMAN, and LANGUAGE_SYSTEM.
ScNumFormatAbbrev::ScNumFormatAbbrev | ( | sal_uInt32 | nFormat, |
const SvNumberFormatter & | rFormatter | ||
) |
Definition at line 37 of file zforauto.cxx.
References PutFormatIndex().
sal_uInt32 ScNumFormatAbbrev::GetFormatIndex | ( | SvNumberFormatter & | rFormatter | ) |
Definition at line 79 of file zforauto.cxx.
References eLanguage, eSysLanguage, SvNumberFormatter::GetIndexPuttingAndConverting(), nType, and sFormatstring.
Referenced by ScAutoFmtPreview::DrawString(), and ScAutoFormatData::FillToItemSet().
|
inline |
Definition at line 46 of file zforauto.hxx.
References eLanguage.
Referenced by ScAutoFormatData::FillToItemSet().
void ScNumFormatAbbrev::Load | ( | SvStream & | rStream, |
rtl_TextEncoding | eByteStrSet | ||
) |
Definition at line 43 of file zforauto.cxx.
References eLanguage, eSysLanguage, AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), LANGUAGE_SYSTEM, SvStream::ReadUInt16(), SvStream::ReadUniOrByteString(), and sFormatstring.
Referenced by ScAutoFormatDataField::Load().
|
inline |
Definition at line 41 of file zforauto.hxx.
References eLanguage, eSysLanguage, and sFormatstring.
void ScNumFormatAbbrev::PutFormatIndex | ( | sal_uInt32 | nFormat, |
const SvNumberFormatter & | rFormatter | ||
) |
Definition at line 60 of file zforauto.cxx.
References eLanguage, eSysLanguage, SvNumberFormatter::GetEntry(), SvNumberformat::GetFormatstring(), SvNumberformat::GetLanguage(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), LANGUAGE_GERMAN, LANGUAGE_SYSTEM, and sFormatstring.
Referenced by ScNumFormatAbbrev().
void ScNumFormatAbbrev::Save | ( | SvStream & | rStream, |
rtl_TextEncoding | eByteStrSet | ||
) | const |
Definition at line 54 of file zforauto.cxx.
References eLanguage, eSysLanguage, sFormatstring, SvStream::WriteUInt16(), and SvStream::WriteUniOrByteString().
Referenced by ScAutoFormatDataField::Save().
|
private |
Definition at line 31 of file zforauto.hxx.
Referenced by GetFormatIndex(), GetLanguage(), Load(), operator==(), PutFormatIndex(), and Save().
|
private |
Definition at line 32 of file zforauto.hxx.
Referenced by GetFormatIndex(), Load(), operator==(), PutFormatIndex(), and Save().
|
private |
Definition at line 30 of file zforauto.hxx.
Referenced by GetFormatIndex(), Load(), operator==(), PutFormatIndex(), and Save().