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

#include <xftablestyle.hxx>

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

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
 
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
 

Private Attributes

double m_fWidth
 
XFColor m_aBackColor
 
std::unique_ptr< XFBGImagem_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
 

Detailed Description

Definition at line 71 of file xftablestyle.hxx.

Constructor & Destructor Documentation

◆ XFTableStyle()

XFTableStyle::XFTableStyle ( )

Definition at line 63 of file xftablestyle.cxx.

◆ ~XFTableStyle()

XFTableStyle::~XFTableStyle ( )
overridevirtual

Definition at line 68 of file xftablestyle.cxx.

Member Function Documentation

◆ GetStyleFamily()

enumXFStyle XFTableStyle::GetStyleFamily ( )
overridevirtual

@descr get style family.

Reimplemented from XFStyle.

Definition at line 77 of file xftablestyle.cxx.

References enumXFStyleTable.

◆ SetAlign()

void XFTableStyle::SetAlign ( enumXFAlignType  eAlign,
double  offset = 0 
)
inline

◆ SetBackColor()

void XFTableStyle::SetBackColor ( XFColor const &  color)
inline

Definition at line 124 of file xftablestyle.hxx.

References m_aBackColor.

Referenced by LwpSuperTableLayout::ApplyBackColor().

◆ SetBackImage()

void XFTableStyle::SetBackImage ( std::unique_ptr< XFBGImage > &  rImage)

◆ SetShadow()

void XFTableStyle::SetShadow ( enumXFShadowPos  pos,
double  offset,
XFColor  color 
)
inline

◆ SetWidth()

void XFTableStyle::SetWidth ( double  width)
inline

Definition at line 103 of file xftablestyle.hxx.

References m_fWidth.

◆ ToXml()

void XFTableStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aBackColor

XFColor XFTableStyle::m_aBackColor
private

Definition at line 95 of file xftablestyle.hxx.

Referenced by SetBackColor(), and ToXml().

◆ m_aBreaks

XFBreaks XFTableStyle::m_aBreaks
private

Definition at line 99 of file xftablestyle.hxx.

Referenced by ToXml().

◆ m_aMargins

XFMargins XFTableStyle::m_aMargins
private

Definition at line 98 of file xftablestyle.hxx.

Referenced by SetAlign(), and ToXml().

◆ m_aShadow

XFShadow XFTableStyle::m_aShadow
private

Definition at line 97 of file xftablestyle.hxx.

Referenced by SetShadow(), and ToXml().

◆ m_eAlign

enumXFAlignType XFTableStyle::m_eAlign
private

Definition at line 100 of file xftablestyle.hxx.

Referenced by SetAlign(), and ToXml().

◆ m_fWidth

double XFTableStyle::m_fWidth
private

Definition at line 94 of file xftablestyle.hxx.

Referenced by SetWidth(), and ToXml().

◆ m_pBGImage

std::unique_ptr<XFBGImage> XFTableStyle::m_pBGImage
private

Definition at line 96 of file xftablestyle.hxx.

Referenced by SetBackImage(), and ToXml().


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