LibreOffice Module lotuswordpro (master) 1
|
implements ixfstyle interface. More...
#include <xfstyle.hxx>
Public Member Functions | |
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 |
Protected Attributes | |
OUString | m_strStyleName |
OUString | m_strParentStyleName |
implements ixfstyle interface.
This is the base class for all concentrate style.
Definition at line 69 of file xfstyle.hxx.
XFStyle::XFStyle | ( | ) |
Definition at line 62 of file xfstyle.cxx.
|
overridevirtual |
Definition at line 66 of file xfstyle.cxx.
|
default |
|
default |
|
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.
|
overridevirtual |
@descr set parent style name.
Implements IXFStyle.
Definition at line 80 of file xfstyle.cxx.
References m_strParentStyleName.
Referenced by XFCellStyle::ToXml(), XFFrameStyle::ToXml(), XFImageStyle::ToXml(), XFListStyle::ToXml(), XFRowStyle::ToXml(), XFTableStyle::ToXml(), XFTextBoxStyle::ToXml(), XFTimeStyle::ToXml(), XFParaStyle::ToXml(), XFTextStyle::ToXml(), and XFNumberStyle::ToXml_StartElement().
|
overridevirtual |
@descr get style family.
Implements IXFStyle.
Reimplemented in XFArrowStyle, XFCellStyle, XFColStyle, XFDateStyle, XFDrawLineStyle, XFDrawStyle, XFFrameStyle, XFListStyle, XFMasterPage, XFNumberStyle, XFPageMaster, XFParaStyle, XFDefaultParaStyle, XFRowStyle, XFRubyStyle, XFSectionStyle, XFTableStyle, XFTextBoxStyle, XFTextStyle, XFTimeStyle, and XFDrawAreaStyle.
Definition at line 90 of file xfstyle.cxx.
References enumXFStyleUnknown.
|
overridevirtual |
@descr get style name.
Implements IXFStyle.
Definition at line 70 of file xfstyle.cxx.
References m_strStyleName.
Referenced by LwpPageLayout::RegisterEndnoteStyle(), LwpFribTable::RegisterNewStyle(), LwpPageLayout::RegisterStyle(), LwpPara::RegisterStyle(), LwpFrib::RegisterStyle(), LwpFribFrame::RegisterStyle(), XFPageMaster::ToXml(), XFArrowStyle::ToXml(), XFCellStyle::ToXml(), XFColStyle::ToXml(), XFDateStyle::ToXml(), XFDrawLineStyle::ToXml(), XFDrawStyle::ToXml(), XFFrameStyle::ToXml(), XFImageStyle::ToXml(), XFListStyle::ToXml(), XFRowStyle::ToXml(), XFSectionStyle::ToXml(), XFTableStyle::ToXml(), XFTextBoxStyle::ToXml(), XFTimeStyle::ToXml(), XFDrawAreaStyle::ToXml(), XFParaStyle::ToXml(), XFRubyStyle::ToXml(), XFTextStyle::ToXml(), XFNumberStyle::ToXml_EndElement(), XFNumberStyle::ToXml_Negative(), and XFNumberStyle::ToXml_StartElement().
|
overridevirtual |
@descr return parent style name.
Implements IXFStyle.
Definition at line 85 of file xfstyle.cxx.
References m_strParentStyleName.
|
overridevirtual |
@descr set style name.
Implements IXFStyle.
Definition at line 75 of file xfstyle.cxx.
References m_strStyleName.
Referenced by LwpDocument::ChangeStyleName(), LwpFribPageBreak::RegisterBreakStyle(), LwpFribColumnBreak::RegisterBreakStyle(), LwpPara::RegisterMasterPage(), LwpPara::RegisterStyle(), LwpFrib::RegisterStyle(), XFDrawStyle::SetAreaColor(), XFDrawStyle::SetAreaLineStyle(), XFDrawStyle::SetLineDashStyle(), XFDrawStyle::SetLineStyle(), and XFNumberStyle::ToXml_Negative().
|
protected |
Definition at line 114 of file xfstyle.hxx.
Referenced by XFCellStyle::Equal(), XFParaStyle::Equal(), GetParentStyleName(), XFParaStyle::operator=(), SetParentStyleName(), and XFCellStyle::ToXml().
|
protected |
Definition at line 113 of file xfstyle.hxx.
Referenced by GetStyleName(), SetStyleName(), and XFMasterPage::ToXml().