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

#include <xfsectionstyle.hxx>

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

Public Member Functions

 XFSectionStyle ()
 
virtual ~XFSectionStyle () override
 
void SetMarginLeft (double left)
 
void SetMarginRight (double right)
 
void SetColumns (XFColumns *pColumns)
 
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_fMarginLeft
 
double m_fMarginRight
 
XFColor m_aBackColor
 
std::unique_ptr< XFColumnsm_pColumns
 

Additional Inherited Members

- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 72 of file xfsectionstyle.hxx.

Constructor & Destructor Documentation

◆ XFSectionStyle()

XFSectionStyle::XFSectionStyle ( )

Definition at line 64 of file xfsectionstyle.cxx.

References m_fMarginLeft, m_fMarginRight, and m_pColumns.

◆ ~XFSectionStyle()

XFSectionStyle::~XFSectionStyle ( )
overridevirtual

Definition at line 71 of file xfsectionstyle.cxx.

Member Function Documentation

◆ GetStyleFamily()

enumXFStyle XFSectionStyle::GetStyleFamily ( )
overridevirtual

@descr get style family.

Reimplemented from XFStyle.

Definition at line 75 of file xfsectionstyle.cxx.

References enumXFStyleSection.

◆ SetColumns()

void XFSectionStyle::SetColumns ( XFColumns pColumns)

Definition at line 90 of file xfsectionstyle.cxx.

References m_pColumns.

◆ SetMarginLeft()

void XFSectionStyle::SetMarginLeft ( double  left)

Definition at line 80 of file xfsectionstyle.cxx.

References left, and m_fMarginLeft.

◆ SetMarginRight()

void XFSectionStyle::SetMarginRight ( double  right)

Definition at line 85 of file xfsectionstyle.cxx.

References m_fMarginRight, and right.

◆ ToXml()

void XFSectionStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aBackColor

XFColor XFSectionStyle::m_aBackColor
private

Definition at line 93 of file xfsectionstyle.hxx.

Referenced by ToXml().

◆ m_fMarginLeft

double XFSectionStyle::m_fMarginLeft
private

Definition at line 91 of file xfsectionstyle.hxx.

Referenced by SetMarginLeft(), ToXml(), and XFSectionStyle().

◆ m_fMarginRight

double XFSectionStyle::m_fMarginRight
private

Definition at line 92 of file xfsectionstyle.hxx.

Referenced by SetMarginRight(), ToXml(), and XFSectionStyle().

◆ m_pColumns

std::unique_ptr<XFColumns> XFSectionStyle::m_pColumns
private

Definition at line 94 of file xfsectionstyle.hxx.

Referenced by SetColumns(), ToXml(), and XFSectionStyle().


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