|
LibreOffice Module lotuswordpro (master) 1
|
#include <xfliststyle.hxx>
Public Member Functions | |
| XFListStyle () | |
| XFListStyle (const XFListStyle &other) | |
| XFListStyle & | operator= (const XFListStyle &other)=delete |
| virtual | ~XFListStyle () override |
| void | SetDisplayLevel (sal_Int32 level, sal_Int16 nShowLevel) |
| void | SetListPosition (sal_Int32 level, double indent, double minLabelWidth, double minLabelDistance, enumXFAlignType align=enumXFAlignStart) |
| void | SetListBullet (sal_Int32 level, OUString const &bullet_char, const OUString &fontname, const OUString &prefix, const OUString &suffix) |
| void | SetListNumber (sal_Int32 level, XFNumFmt const &numFmt, sal_Int16 nStartValue) |
| 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 | |
| std::unique_ptr< XFListLevel > | m_pListLevels [10] |
Additional Inherited Members | |
Protected Attributes inherited from XFStyle | |
| OUString | m_strStyleName |
| OUString | m_strParentStyleName |
Definition at line 183 of file xfliststyle.hxx.
| XFListStyle::XFListStyle | ( | ) |
Definition at line 153 of file xfliststyle.cxx.
References enumXFListLevelNumber, i, m_pListLevels, XFNumFmt::SetFormat(), and XFNumFmt::SetSuffix().
| XFListStyle::XFListStyle | ( | const XFListStyle & | other | ) |
Definition at line 170 of file xfliststyle.cxx.
References enumXFListLevelBullet, enumXFListLevelNumber, i, m_pListLevels, and type.
|
overridevirtual |
Definition at line 190 of file xfliststyle.cxx.
|
inlineoverridevirtual |
@descr get style family.
Reimplemented from XFStyle.
Definition at line 213 of file xfliststyle.hxx.
References enumXFStyleList.
|
delete |
| void XFListStyle::SetDisplayLevel | ( | sal_Int32 | level, |
| sal_Int16 | nShowLevel | ||
| ) |
Definition at line 194 of file xfliststyle.cxx.
References enumXFListLevelNumber, m_pListLevels, XFListLevel::SetDisplayLevel(), XFListLevel::SetIndent(), XFListLevel::SetLevel(), XFListLevel::SetListlevelType(), and XFListLevel::SetMinLabelWidth().
| void XFListStyle::SetListBullet | ( | sal_Int32 | level, |
| OUString const & | bullet_char, | ||
| const OUString & | fontname, | ||
| const OUString & | prefix, | ||
| const OUString & | suffix | ||
| ) |
Definition at line 234 of file xfliststyle.cxx.
References enumXFListLevelBullet, m_pListLevels, and prefix.
| void XFListStyle::SetListNumber | ( | sal_Int32 | level, |
| XFNumFmt const & | numFmt, | ||
| sal_Int16 | nStartValue | ||
| ) |
Definition at line 256 of file xfliststyle.cxx.
References enumXFListLevelNumber, m_pListLevels, and start.
| void XFListStyle::SetListPosition | ( | sal_Int32 | level, |
| double | indent, | ||
| double | minLabelWidth, | ||
| double | minLabelDistance, | ||
| enumXFAlignType | align = enumXFAlignStart |
||
| ) |
Definition at line 211 of file xfliststyle.cxx.
References enumXFListLevelNumber, m_pListLevels, XFListLevel::SetAlignType(), XFListLevel::SetIndent(), XFListLevel::SetLevel(), XFListLevel::SetListlevelType(), XFListLevel::SetMinLabelDistance(), and XFListLevel::SetMinLabelWidth().
|
overridevirtual |
Implements IXFStyle.
Definition at line 271 of file xfliststyle.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), IXFStream::GetAttrList(), XFStyle::GetParentStyleName(), XFStyle::GetStyleName(), m_pListLevels, and IXFStream::StartElement().
|
private |
Definition at line 220 of file xfliststyle.hxx.
Referenced by SetDisplayLevel(), SetListBullet(), SetListNumber(), SetListPosition(), ToXml(), and XFListStyle().