LibreOffice Module lotuswordpro (master) 1
|
#include <xftablestyle.hxx>
Public Member Functions | |
XFTableStyle () | |
virtual | ~XFTableStyle () override |
void | SetWidth (double width) |
void | SetAlign (enumXFAlignType eAlign, double offset=0) |
void | SetShadow (enumXFShadowPos pos, double offset, XFColor color) |
void | SetBackColor (XFColor const &color) |
void | SetBackImage (std::unique_ptr< XFBGImage > &rImage) |
virtual void | ToXml (IXFStream *pStrm) override |
virtual enumXFStyle | GetStyleFamily () override |
@descr get style family. More... | |
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_fWidth |
XFColor | m_aBackColor |
std::unique_ptr< XFBGImage > | m_pBGImage |
XFShadow | m_aShadow |
XFMargins | m_aMargins |
XFBreaks | m_aBreaks |
enumXFAlignType | m_eAlign |
Additional Inherited Members | |
Protected Attributes inherited from XFStyle | |
OUString | m_strStyleName |
OUString | m_strParentStyleName |
Definition at line 71 of file xftablestyle.hxx.
XFTableStyle::XFTableStyle | ( | ) |
Definition at line 63 of file xftablestyle.cxx.
|
overridevirtual |
Definition at line 68 of file xftablestyle.cxx.
|
overridevirtual |
@descr get style family.
Reimplemented from XFStyle.
Definition at line 77 of file xftablestyle.cxx.
References enumXFStyleTable.
|
inline |
Definition at line 105 of file xftablestyle.hxx.
References enumXFAlignStart, m_aMargins, m_eAlign, XFMargins::SetBottom(), XFMargins::SetLeft(), XFMargins::SetRight(), and XFMargins::SetTop().
Referenced by LwpSuperTableLayout::ApplyAlignment().
|
inline |
Definition at line 124 of file xftablestyle.hxx.
References m_aBackColor.
Referenced by LwpSuperTableLayout::ApplyBackColor().
void XFTableStyle::SetBackImage | ( | std::unique_ptr< XFBGImage > & | rImage | ) |
Definition at line 72 of file xftablestyle.cxx.
References m_pBGImage.
Referenced by LwpSuperTableLayout::ApplyPatternFill(), and LwpSuperTableLayout::ApplyWatermark().
|
inline |
Definition at line 117 of file xftablestyle.hxx.
References m_aShadow, pos, XFShadow::SetColor(), XFShadow::SetOffset(), and XFShadow::SetPosition().
Referenced by LwpSuperTableLayout::ApplyShadow().
|
inline |
Definition at line 103 of file xftablestyle.hxx.
References m_fWidth.
|
overridevirtual |
Implements IXFStyle.
Definition at line 82 of file xftablestyle.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), enumXFAlignCenter, enumXFAlignEnd, enumXFALignMargins, enumXFAlignStart, IXFStream::GetAttrList(), XFStyle::GetParentStyleName(), XFStyle::GetStyleName(), XFColor::IsValid(), m_aBackColor, m_aBreaks, m_aMargins, m_aShadow, m_eAlign, m_fWidth, m_pBGImage, IXFStream::StartElement(), XFColor::ToString(), XFBreaks::ToXml(), XFMargins::ToXml(), and XFShadow::ToXml().
|
private |
Definition at line 95 of file xftablestyle.hxx.
Referenced by SetBackColor(), and ToXml().
|
private |
Definition at line 99 of file xftablestyle.hxx.
Referenced by ToXml().
|
private |
Definition at line 98 of file xftablestyle.hxx.
Referenced by SetAlign(), and ToXml().
|
private |
Definition at line 97 of file xftablestyle.hxx.
Referenced by SetShadow(), and ToXml().
|
private |
Definition at line 100 of file xftablestyle.hxx.
Referenced by SetAlign(), and ToXml().
|
private |
Definition at line 94 of file xftablestyle.hxx.
Referenced by SetWidth(), and ToXml().
|
private |
Definition at line 96 of file xftablestyle.hxx.
Referenced by SetBackImage(), and ToXml().