|
LibreOffice Module editeng (master) 1
|
#include <flditem.hxx>
Public Member Functions | |
| virtual sal_Int32 | GetClassId () const override |
| SvxDateField () | |
| SvxDateField (const Date &rDate, SvxDateType eType, SvxDateFormat eFormat=SvxDateFormat::StdSmall) | |
| sal_Int32 | GetFixDate () const |
| void | SetFixDate (const Date &rDate) |
| SvxDateType | GetType () const |
| void | SetType (SvxDateType eTp) |
| SvxDateFormat | GetFormat () const |
| void | SetFormat (SvxDateFormat eFmt) |
| OUString | GetFormatted (SvNumberFormatter &rFormatter, LanguageType eLanguage) const |
| virtual std::unique_ptr< SvxFieldData > | Clone () const override |
| virtual bool | operator== (const SvxFieldData &) const override |
| virtual MetaAction * | createBeginComment () const override |
Public Member Functions inherited from SvxFieldData | |
| virtual sal_Int32 | GetClassId () const |
| SvxFieldData () | |
| virtual | ~SvxFieldData () |
| SvxFieldData (SvxFieldData const &)=default | |
| SvxFieldData (SvxFieldData &&)=default | |
| SvxFieldData & | operator= (SvxFieldData const &)=default |
| SvxFieldData & | operator= (SvxFieldData &&)=default |
| virtual std::unique_ptr< SvxFieldData > | Clone () const |
| virtual bool | operator== (const SvxFieldData &) const |
| virtual MetaAction * | createBeginComment () const |
Static Public Member Functions | |
| static OUString | GetFormatted (Date const &rDate, SvxDateFormat eFormat, SvNumberFormatter &rFormatter, LanguageType eLanguage) |
Static Public Member Functions inherited from SvxFieldData | |
| static SvxFieldData * | Create (const css::uno::Reference< css::text::XTextContent > &xContent) |
| static MetaAction * | createEndComment () |
Static Public Attributes | |
| static constexpr auto | CLASS_ID = css::text::textfield::Type::DATE |
Static Public Attributes inherited from SvxFieldData | |
| static constexpr auto | CLASS_ID = css::text::textfield::Type::UNSPECIFIED |
Private Attributes | |
| sal_Int32 | nFixDate |
| SvxDateType | eType |
| SvxDateFormat | eFormat |
Definition at line 102 of file flditem.hxx.
| SvxDateField::SvxDateField | ( | ) |
Definition at line 323 of file flditem.cxx.
References eFormat, eType, Date::GetDate(), nFixDate, StdSmall, Date::SYSTEM, and Var.
|
explicit |
Definition at line 331 of file flditem.cxx.
References eFormat, eType, Date::GetDate(), and nFixDate.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 339 of file flditem.cxx.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 429 of file flditem.cxx.
|
inlineoverridevirtual |
Reimplemented from SvxFieldData.
Definition at line 110 of file flditem.hxx.
|
inline |
Definition at line 117 of file flditem.hxx.
|
inline |
Definition at line 123 of file flditem.hxx.
|
static |
Definition at line 369 of file flditem.cxx.
References A, AppDefault, aStr, B, C, D, E, eFormat, F, SvNumberFormatter::GetFormatIndex(), SvNumberFormatter::GetNullDate(), SvNumberFormatter::GetOutputString(), SvNumberFormatter::GetStandardFormat(), NF_DATE_SYS_DDMMYY, NF_DATE_SYS_DDMMYYYY, NF_DATE_SYS_DMMMMYYYY, NF_DATE_SYS_DMMMYYYY, NF_DATE_SYS_NNDMMMMYYYY, NF_DATE_SYS_NNNNDMMMMYYYY, NF_DATE_SYSTEM_LONG, NF_DATE_SYSTEM_SHORT, StdBig, StdSmall, and System.
| OUString SvxDateField::GetFormatted | ( | SvNumberFormatter & | rFormatter, |
| LanguageType | eLanguage | ||
| ) | const |
Definition at line 358 of file flditem.cxx.
References eFormat, Date::EMPTY, eType, Fix, GetFormatted(), nFixDate, Date::SetDate(), and Date::SYSTEM.
Referenced by SvxDateTimeField::GetFormatted(), and GetFormatted().
|
inline |
Definition at line 120 of file flditem.hxx.
References eType.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 345 of file flditem.cxx.
|
inline |
Definition at line 118 of file flditem.hxx.
References Date::GetDate().
|
inline |
Definition at line 124 of file flditem.hxx.
|
inline |
Definition at line 121 of file flditem.hxx.
References eType.
|
staticconstexpr |
Definition at line 109 of file flditem.hxx.
|
private |
Definition at line 106 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxDateField().
|
private |
Definition at line 105 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxDateField().
|
private |
Definition at line 104 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxDateField().