LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Private Attributes | List of all members
XFDateStyle Class Reference

#include <xfdatestyle.hxx>

Inheritance diagram for XFDateStyle:
[legend]
Collaboration diagram for XFDateStyle:
[legend]

Public Member Functions

 XFDateStyle ()
 
virtual ~XFDateStyle () override
 
void AddYear (bool bLongFmt=true)
 
void AddMonth (bool bLongFmt=true, bool bTexture=false)
 
void AddMonthDay (bool bLongFmt=true)
 
void AddWeekDay (bool bLongFmt=true)
 
void AddEra ()
 
void AddHour (bool bLongFmt=true)
 
void AddMinute (bool bLongFmt=true)
 
void AddSecond (bool bLongFmt=true)
 
void AddAmPm ()
 
void AddText (const OUString &part)
 
virtual enumXFStyle GetStyleFamily () override
 @descr get style family. More...
 
virtual void ToXml (IXFStream *pStrm) override
 
- Public Member Functions inherited from XFStyle
 XFStyle ()
 
virtual ~XFStyle () override
 
 XFStyle (XFStyle const &)=default
 
 XFStyle (XFStyle &&)=default
 
XFStyleoperator= (XFStyle const &)=default
 
XFStyleoperator= (XFStyle &&)=default
 
virtual OUString GetStyleName () override
 @descr get style name. More...
 
virtual void SetStyleName (const OUString &styleName) override
 @descr set style name. More...
 
virtual OUString GetParentStyleName () override
 @descr set parent style name. More...
 
virtual void SetParentStyleName (const OUString &styleName) override
 @descr return parent style name. More...
 
virtual enumXFStyle GetStyleFamily () override
 @descr get style family. More...
 
virtual bool Equal (IXFStyle *pStyle) override
 @descr decide whether two style are equal. More...
 
- Public Member Functions inherited from IXFStyle
 IXFStyle ()=default
 
 IXFStyle (IXFStyle const &)=default
 
 IXFStyle (IXFStyle &&)=default
 
IXFStyleoperator= (IXFStyle const &)=default
 
IXFStyleoperator= (IXFStyle &&)=default
 
virtual ~IXFStyle ()
 
virtual OUString GetStyleName ()=0
 @descr: return the style name. More...
 
virtual void SetStyleName (const OUString &styleName)=0
 @descr: set the name of the style. More...
 
virtual OUString GetParentStyleName ()=0
 @descr return the parent style name. More...
 
virtual void SetParentStyleName (const OUString &parent)=0
 @descr: Parent paragraph style. More...
 
virtual enumXFStyle GetStyleFamily ()=0
 @descr: return the style family. More...
 
virtual bool Equal (IXFStyle *pStyle)=0
 @descr: Compare whatever two style object are the same. More...
 
virtual void ToXml (IXFStream *stream)=0
 

Private Attributes

XFStyleContainer m_aParts
 

Additional Inherited Members

- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 81 of file xfdatestyle.hxx.

Constructor & Destructor Documentation

◆ XFDateStyle()

XFDateStyle::XFDateStyle ( )

Definition at line 161 of file xfdatestyle.cxx.

◆ ~XFDateStyle()

XFDateStyle::~XFDateStyle ( )
overridevirtual

Definition at line 165 of file xfdatestyle.cxx.

Member Function Documentation

◆ AddAmPm()

void XFDateStyle::AddAmPm ( )
inline

Definition at line 193 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateAmPm, and m_aParts.

◆ AddEra()

void XFDateStyle::AddEra ( )
inline

Definition at line 152 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateEra, and m_aParts.

◆ AddHour()

void XFDateStyle::AddHour ( bool  bLongFmt = true)
inline

Definition at line 168 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateHour, and m_aParts.

◆ AddMinute()

void XFDateStyle::AddMinute ( bool  bLongFmt = true)
inline

Definition at line 176 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateMinute, and m_aParts.

◆ AddMonth()

void XFDateStyle::AddMonth ( bool  bLongFmt = true,
bool  bTexture = false 
)
inline

Definition at line 127 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateMonth, and m_aParts.

◆ AddMonthDay()

void XFDateStyle::AddMonthDay ( bool  bLongFmt = true)
inline

Definition at line 136 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateMonthDay, and m_aParts.

◆ AddSecond()

void XFDateStyle::AddSecond ( bool  bLongFmt = true)
inline

Definition at line 184 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateSecond, and m_aParts.

◆ AddText()

void XFDateStyle::AddText ( const OUString &  part)
inline

Definition at line 160 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateText, m_aParts, and text().

◆ AddWeekDay()

void XFDateStyle::AddWeekDay ( bool  bLongFmt = true)
inline

Definition at line 144 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateWeekDay, and m_aParts.

◆ AddYear()

void XFDateStyle::AddYear ( bool  bLongFmt = true)
inline

Definition at line 119 of file xfdatestyle.hxx.

References XFStyleContainer::AddStyle(), enumXFDateYear, and m_aParts.

◆ GetStyleFamily()

enumXFStyle XFDateStyle::GetStyleFamily ( )
overridevirtual

@descr get style family.

Reimplemented from XFStyle.

Definition at line 169 of file xfdatestyle.cxx.

References enumXFStyleDate.

◆ ToXml()

void XFDateStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aParts

XFStyleContainer XFDateStyle::m_aParts
private

The documentation for this class was generated from the following files: