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

#include <xftimestyle.hxx>

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

Public Member Functions

 XFTimePart ()
 
void SetDecimalPos (sal_Int32 pos)
 
virtual void ToXml (IXFStream *pStrm) override
 
- Public Member Functions inherited from XFDateTimePart
 XFDateTimePart ()
 
void SetPartType (enumXFDatePart ePart)
 
void SetLongFmt (bool bLongFmt)
 
void SetText (const OUString &text)
 
- 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
 

Protected Attributes

sal_Int32 m_nDecimalPos
 
- Protected Attributes inherited from XFDateTimePart
enumXFDatePart m_ePart
 
bool m_bLongFmt
 
OUString m_strText
 
- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 86 of file xftimestyle.hxx.

Constructor & Destructor Documentation

◆ XFTimePart()

XFTimePart::XFTimePart ( )

Definition at line 64 of file xftimestyle.cxx.

References m_nDecimalPos.

Member Function Documentation

◆ SetDecimalPos()

void XFTimePart::SetDecimalPos ( sal_Int32  pos)
inline

Definition at line 145 of file xftimestyle.hxx.

References m_nDecimalPos, and pos.

Referenced by XFTimeStyle::AddSecond().

◆ ToXml()

void XFTimePart::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_nDecimalPos

sal_Int32 XFTimePart::m_nDecimalPos
protected

Definition at line 96 of file xftimestyle.hxx.

Referenced by SetDecimalPos(), XFDatePart::ToXml(), ToXml(), and XFTimePart().


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