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

#include <xfimagestyle.hxx>

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

Public Member Functions

 XFImageStyle ()
 
void SetBrightness (sal_Int32 brightness)
 
void SetContrast (sal_Int32 contrast)
 
void SetClip (double left, double right, double top, double bottom)
 
virtual void ToXml (IXFStream *pStrm) override
 
- Public Member Functions inherited from XFFrameStyle
 XFFrameStyle ()
 
virtual ~XFFrameStyle () override
 
void SetWrapType (enumXFWrap wrap)
 
void SetMargins (double left, double right, double top, double bottom)
 @descr: space between frame and paragraph text. More...
 
void SetPadding (double left, double right, double top, double bottom)
 @descr: space between frame and text inside frame. More...
 
void SetBorders (std::unique_ptr< XFBorders > pBorders)
 @descr: set the border property of the frame. More...
 
void SetColumns (XFColumns *pColumns)
 @descr: set the column property of the frame. More...
 
void SetShadow (XFShadow *pShadow)
 @descr: set the shadow object the frame. More...
 
void SetBackImage (std::unique_ptr< XFBGImage > &rImage)
 @descr: set the background image of the frame. More...
 
void SetBackColor (XFColor const &color)
 @descr: set the background color of the frame. More...
 
void SetProtect (bool content, bool size, bool pos)
 @descr Set whether frame is protected. More...
 
void SetTextDir (enumXFTextDir dir)
 @descr Set text dir. More...
 
void SetXPosType (enumXFFrameXPos pos, enumXFFrameXRel rel)
 @descr Set horizontal position type. More...
 
void SetYPosType (enumXFFrameYPos pos, enumXFFrameYRel rel)
 @descr Set vertical position type. More...
 
void SetTransparency (sal_Int16 nTransparency)
 
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
 
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

sal_Int32 m_nBrightness
 
sal_Int32 m_nContrast
 
double m_fClipLeft
 
double m_fClipRight
 
double m_fClipTop
 
double m_fClipBottom
 

Additional Inherited Members

- Protected Attributes inherited from XFFrameStyle
enumXFWrap m_eWrap
 
XFPadding m_aPad
 
XFMargins m_aMargins
 
std::unique_ptr< XFBordersm_pBorders
 
std::unique_ptr< XFColumnsm_pColumns
 
std::unique_ptr< XFShadowm_pShadow
 
std::unique_ptr< XFBGImagem_pBGImage
 
XFColor m_aBackColor
 
bool m_bProtectContent
 
bool m_bProtectSize
 
bool m_bProtectPos
 
sal_Int16 m_nTransparency
 
enumXFTextDir m_eTextDir
 
enumXFFrameXPos m_eXPos
 
enumXFFrameXRel m_eXRel
 
enumXFFrameYPos m_eYPos
 
enumXFFrameYRel m_eYRel
 
- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Definition at line 65 of file xfimagestyle.hxx.

Constructor & Destructor Documentation

◆ XFImageStyle()

XFImageStyle::XFImageStyle ( )

Definition at line 66 of file xfimagestyle.cxx.

Member Function Documentation

◆ SetBrightness()

void XFImageStyle::SetBrightness ( sal_Int32  brightness)
inline

Definition at line 88 of file xfimagestyle.hxx.

References m_nBrightness.

◆ SetClip()

void XFImageStyle::SetClip ( double  left,
double  right,
double  top,
double  bottom 
)
inline

Definition at line 92 of file xfimagestyle.hxx.

References bottom, left, m_fClipBottom, m_fClipLeft, m_fClipRight, m_fClipTop, right, and top.

◆ SetContrast()

void XFImageStyle::SetContrast ( sal_Int32  contrast)
inline

Definition at line 90 of file xfimagestyle.hxx.

References m_nContrast.

◆ ToXml()

void XFImageStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_fClipBottom

double XFImageStyle::m_fClipBottom
private

Definition at line 85 of file xfimagestyle.hxx.

Referenced by SetClip(), and ToXml().

◆ m_fClipLeft

double XFImageStyle::m_fClipLeft
private

Definition at line 82 of file xfimagestyle.hxx.

Referenced by SetClip(), and ToXml().

◆ m_fClipRight

double XFImageStyle::m_fClipRight
private

Definition at line 83 of file xfimagestyle.hxx.

Referenced by SetClip(), and ToXml().

◆ m_fClipTop

double XFImageStyle::m_fClipTop
private

Definition at line 84 of file xfimagestyle.hxx.

Referenced by SetClip(), and ToXml().

◆ m_nBrightness

sal_Int32 XFImageStyle::m_nBrightness
private

Definition at line 80 of file xfimagestyle.hxx.

Referenced by SetBrightness(), and ToXml().

◆ m_nContrast

sal_Int32 XFImageStyle::m_nContrast
private

Definition at line 81 of file xfimagestyle.hxx.

Referenced by SetContrast(), and ToXml().


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