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

#include <xfrowstyle.hxx>

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

Public Member Functions

 XFRowStyle ()
 
void SetRowHeight (double height)
 
double GetRowHeight () const
 
void SetMinRowHeight (double height)
 
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

double m_fHeight
 
double m_fMinHeight
 
XFColor m_aBackColor
 

Additional Inherited Members

- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 68 of file xfrowstyle.hxx.

Constructor & Destructor Documentation

◆ XFRowStyle()

XFRowStyle::XFRowStyle ( )

Definition at line 63 of file xfrowstyle.cxx.

References m_fHeight, and m_fMinHeight.

Member Function Documentation

◆ GetRowHeight()

double XFRowStyle::GetRowHeight ( ) const
inline

Definition at line 94 of file xfrowstyle.hxx.

References FLOAT_MIN, m_fHeight, and m_fMinHeight.

Referenced by LwpRowLayout::RegisterCurRowStyle().

◆ GetStyleFamily()

enumXFStyle XFRowStyle::GetStyleFamily ( )
overridevirtual

@descr get style family.

Reimplemented from XFStyle.

Definition at line 69 of file xfrowstyle.cxx.

References enumXFStyleTableRow.

◆ SetMinRowHeight()

void XFRowStyle::SetMinRowHeight ( double  height)
inline

Definition at line 92 of file xfrowstyle.hxx.

References m_fMinHeight.

Referenced by LwpTableLayout::SplitRowToCells().

◆ SetRowHeight()

void XFRowStyle::SetRowHeight ( double  height)
inline

Definition at line 90 of file xfrowstyle.hxx.

References m_fHeight.

◆ ToXml()

void XFRowStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aBackColor

XFColor XFRowStyle::m_aBackColor
private

Definition at line 87 of file xfrowstyle.hxx.

Referenced by ToXml().

◆ m_fHeight

double XFRowStyle::m_fHeight
private

Definition at line 85 of file xfrowstyle.hxx.

Referenced by GetRowHeight(), SetRowHeight(), ToXml(), and XFRowStyle().

◆ m_fMinHeight

double XFRowStyle::m_fMinHeight
private

Definition at line 86 of file xfrowstyle.hxx.

Referenced by GetRowHeight(), SetMinRowHeight(), ToXml(), and XFRowStyle().


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