LibreOffice Module lotuswordpro (master) 1
|
#include <xftimestyle.hxx>
Public Member Functions | |
XFTimeStyle () | |
virtual | ~XFTimeStyle () override |
void | AddHour (bool bLongFmt=true) |
void | AddMinute (bool bLongFmt=true) |
void | AddSecond (bool bLongFmt=true) |
void | SetAmPm (bool bAmPm) |
void | AddText (const OUString &part) |
virtual enumXFStyle | GetStyleFamily () override |
@descr get style family. More... | |
virtual void | ToXml (IXFStream *pStrm) override |
void | SetTruncate (bool bTrunc) |
Public Member Functions inherited from XFStyle | |
XFStyle () | |
virtual | ~XFStyle () override |
XFStyle (XFStyle const &)=default | |
XFStyle (XFStyle &&)=default | |
XFStyle & | operator= (XFStyle const &)=default |
XFStyle & | operator= (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 | |
IXFStyle & | operator= (IXFStyle const &)=default |
IXFStyle & | operator= (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 | |
bool | m_bAmPm |
std::vector< XFTimePart > | m_aParts |
bool | m_bTruncate |
Additional Inherited Members | |
Protected Attributes inherited from XFStyle | |
OUString | m_strStyleName |
OUString | m_strParentStyleName |
Definition at line 99 of file xftimestyle.hxx.
XFTimeStyle::XFTimeStyle | ( | ) |
Definition at line 110 of file xftimestyle.cxx.
References m_bAmPm, and m_bTruncate.
|
overridevirtual |
Definition at line 116 of file xftimestyle.cxx.
|
inline |
Definition at line 150 of file xftimestyle.hxx.
References enumXFDateHour, m_aParts, XFDateTimePart::SetLongFmt(), and XFDateTimePart::SetPartType().
|
inline |
Definition at line 158 of file xftimestyle.hxx.
References enumXFDateMinute, m_aParts, XFDateTimePart::SetLongFmt(), and XFDateTimePart::SetPartType().
|
inline |
Definition at line 166 of file xftimestyle.hxx.
References enumXFDateSecond, m_aParts, XFTimePart::SetDecimalPos(), XFDateTimePart::SetLongFmt(), and XFDateTimePart::SetPartType().
|
inline |
Definition at line 180 of file xftimestyle.hxx.
References enumXFDateText, m_aParts, XFDateTimePart::SetPartType(), XFDateTimePart::SetText(), and text().
|
overridevirtual |
@descr get style family.
Reimplemented from XFStyle.
Definition at line 120 of file xftimestyle.cxx.
References enumXFStyleTime.
|
inline |
Definition at line 175 of file xftimestyle.hxx.
References m_bAmPm.
|
inline |
Definition at line 188 of file xftimestyle.hxx.
References m_bTruncate.
|
overridevirtual |
Implements IXFStyle.
Definition at line 125 of file xftimestyle.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), XFStyle::GetParentStyleName(), XFStyle::GetStyleName(), m_aParts, m_bAmPm, m_bTruncate, and IXFStream::StartElement().
|
private |
Definition at line 126 of file xftimestyle.hxx.
Referenced by AddHour(), AddMinute(), AddSecond(), AddText(), and ToXml().
|
private |
Definition at line 125 of file xftimestyle.hxx.
Referenced by SetAmPm(), ToXml(), and XFTimeStyle().
|
private |
Definition at line 127 of file xftimestyle.hxx.
Referenced by SetTruncate(), ToXml(), and XFTimeStyle().