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

implements ixfstyle interface. More...

#include <xfstyle.hxx>

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

Public Member Functions

 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

OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

implements ixfstyle interface.

This is the base class for all concentrate style.

Definition at line 69 of file xfstyle.hxx.

Constructor & Destructor Documentation

◆ XFStyle() [1/3]

XFStyle::XFStyle ( )

Definition at line 62 of file xfstyle.cxx.

◆ ~XFStyle()

XFStyle::~XFStyle ( )
overridevirtual

Definition at line 66 of file xfstyle.cxx.

◆ XFStyle() [2/3]

XFStyle::XFStyle ( XFStyle const &  )
default

◆ XFStyle() [3/3]

XFStyle::XFStyle ( XFStyle &&  )
default

Member Function Documentation

◆ Equal()

bool XFStyle::Equal ( IXFStyle pStyle)
overridevirtual

@descr decide whether two style are equal.

Implements IXFStyle.

Reimplemented in XFBGImage, XFCellStyle, XFNumberStyle, XFParaStyle, and XFTextStyle.

Definition at line 95 of file xfstyle.cxx.

◆ GetParentStyleName()

OUString XFStyle::GetParentStyleName ( )
overridevirtual

◆ GetStyleFamily()

enumXFStyle XFStyle::GetStyleFamily ( )
overridevirtual

◆ GetStyleName()

OUString XFStyle::GetStyleName ( )
overridevirtual

◆ operator=() [1/2]

XFStyle & XFStyle::operator= ( XFStyle &&  )
default

◆ operator=() [2/2]

XFStyle & XFStyle::operator= ( XFStyle const &  )
default

◆ SetParentStyleName()

void XFStyle::SetParentStyleName ( const OUString &  styleName)
overridevirtual

@descr return parent style name.

Implements IXFStyle.

Definition at line 85 of file xfstyle.cxx.

References m_strParentStyleName.

◆ SetStyleName()

void XFStyle::SetStyleName ( const OUString &  styleName)
overridevirtual

Member Data Documentation

◆ m_strParentStyleName

OUString XFStyle::m_strParentStyleName
protected

◆ m_strStyleName

OUString XFStyle::m_strStyleName
protected

Definition at line 113 of file xfstyle.hxx.

Referenced by GetStyleName(), SetStyleName(), and XFMasterPage::ToXml().


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