|
LibreOffice Module lotuswordpro (master) 1
|
#include <xfsectionstyle.hxx>
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 | |
| 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 |
Private Attributes | |
| double | m_fMarginLeft |
| double | m_fMarginRight |
| XFColor | m_aBackColor |
| std::unique_ptr< XFColumns > | m_pColumns |
Additional Inherited Members | |
Protected Attributes inherited from XFStyle | |
| OUString | m_strStyleName |
| OUString | m_strParentStyleName |
Definition at line 72 of file xfsectionstyle.hxx.
| XFSectionStyle::XFSectionStyle | ( | ) |
Definition at line 64 of file xfsectionstyle.cxx.
References m_fMarginLeft, m_fMarginRight, and m_pColumns.
|
overridevirtual |
Definition at line 71 of file xfsectionstyle.cxx.
|
overridevirtual |
@descr get style family.
Reimplemented from XFStyle.
Definition at line 75 of file xfsectionstyle.cxx.
References enumXFStyleSection.
| void XFSectionStyle::SetColumns | ( | XFColumns * | pColumns | ) |
Definition at line 90 of file xfsectionstyle.cxx.
References m_pColumns.
| void XFSectionStyle::SetMarginLeft | ( | double | left | ) |
Definition at line 80 of file xfsectionstyle.cxx.
References left, and m_fMarginLeft.
| void XFSectionStyle::SetMarginRight | ( | double | right | ) |
Definition at line 85 of file xfsectionstyle.cxx.
References m_fMarginRight, and right.
|
overridevirtual |
Implements IXFStyle.
Definition at line 95 of file xfsectionstyle.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), XFStyle::GetStyleName(), XFColor::IsValid(), m_aBackColor, m_fMarginLeft, m_fMarginRight, m_pColumns, IXFStream::StartElement(), and XFColor::ToString().
|
private |
Definition at line 93 of file xfsectionstyle.hxx.
Referenced by ToXml().
|
private |
Definition at line 91 of file xfsectionstyle.hxx.
Referenced by SetMarginLeft(), ToXml(), and XFSectionStyle().
|
private |
Definition at line 92 of file xfsectionstyle.hxx.
Referenced by SetMarginRight(), ToXml(), and XFSectionStyle().
|
private |
Definition at line 94 of file xfsectionstyle.hxx.
Referenced by SetColumns(), ToXml(), and XFSectionStyle().