|
LibreOffice Module editeng (master) 1
|
#include <flditem.hxx>
Public Member Functions | |
| virtual sal_Int32 | GetClassId () const override |
| SvxExtTimeField () | |
| SvxExtTimeField (const tools::Time &rTime, SvxTimeType eType, SvxTimeFormat eFormat=SvxTimeFormat::Standard) | |
| sal_Int64 | GetFixTime () const |
| void | SetFixTime (const tools::Time &rTime) |
| SvxTimeType | GetType () const |
| void | SetType (SvxTimeType eTp) |
| SvxTimeFormat | GetFormat () const |
| void | SetFormat (SvxTimeFormat 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 (tools::Time const &rTime, SvxTimeFormat 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::EXTENDED_TIME |
Static Public Attributes inherited from SvxFieldData | |
| static constexpr auto | CLASS_ID = css::text::textfield::Type::UNSPECIFIED |
Private Attributes | |
| sal_Int64 | m_nFixTime |
| SvxTimeType | eType |
| SvxTimeFormat | eFormat |
Definition at line 273 of file flditem.hxx.
| SvxExtTimeField::SvxExtTimeField | ( | ) |
|
explicit |
Definition at line 595 of file flditem.cxx.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 603 of file flditem.cxx.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 692 of file flditem.cxx.
|
inlineoverridevirtual |
Reimplemented from SvxFieldData.
Definition at line 282 of file flditem.hxx.
|
inline |
Definition at line 288 of file flditem.hxx.
|
inline |
Definition at line 294 of file flditem.hxx.
| OUString SvxExtTimeField::GetFormatted | ( | SvNumberFormatter & | rFormatter, |
| LanguageType | eLanguage | ||
| ) | const |
Definition at line 621 of file flditem.cxx.
References eFormat, tools::Time::EMPTY, eType, Fix, GetFormatted(), m_nFixTime, tools::Time::SetTime(), and tools::Time::SYSTEM.
Referenced by SvxDateTimeField::GetFormatted(), and GetFormatted().
|
static |
Definition at line 631 of file flditem.cxx.
References AppDefault, aStr, DBG_ASSERT, eFormat, SvNumberFormatter::GetFormatIndex(), SvNumberFormatter::GetOutputString(), SvNumberFormatter::GetStandardFormat(), tools::Time::GetTimeInDays(), HH12_MM, HH12_MM_SS, HH12_MM_SS_00, HH24_MM, HH24_MM_SS, HH24_MM_SS_00, LANGUAGE_ENGLISH_US, NF_TIME_HH_MMSS00, NF_TIME_HHMM, NF_TIME_HHMMAMPM, NF_TIME_HHMMSS, NF_TIME_HHMMSSAMPM, nType, SvNumberFormatter::PutandConvertEntry(), Standard, and System.
|
inline |
Definition at line 291 of file flditem.hxx.
References eType.
|
overridevirtual |
Reimplemented from SvxFieldData.
Definition at line 609 of file flditem.cxx.
References eFormat, eType, and m_nFixTime.
|
inline |
Definition at line 289 of file flditem.hxx.
References tools::Time::GetTime().
|
inline |
Definition at line 295 of file flditem.hxx.
|
inline |
Definition at line 292 of file flditem.hxx.
References eType.
|
staticconstexpr |
Definition at line 281 of file flditem.hxx.
|
private |
Definition at line 278 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxExtTimeField().
|
private |
Definition at line 277 of file flditem.hxx.
Referenced by GetFormatted(), operator==(), and SvxExtTimeField().
|
private |
Definition at line 276 of file flditem.hxx.
Referenced by GetFormatted(), and operator==().