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

Border line style for drawing object. More...

#include <xfdrawlinestyle.hxx>

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

Public Member Functions

 XFDrawLineStyle ()
 
void SetWidth (double width)
 @descr Set line width. More...
 
void SetColor (const XFColor &color)
 @descr Set line color. More...
 
void SetTransparency (sal_Int32 transparency)
 @descr Set line transparency. More...
 
void SetLineStyle (enumXFLineStyle style)
 @descr Set line type, solid,dash,dot? More...
 
void SetDot1Number (sal_Int32 number)
 @descr Set first dot number of dash line. More...
 
void SetDot2Number (sal_Int32 number)
 @descr Set second dot number of dash line. More...
 
void SetDot1Length (double length)
 @descr Set first dot length. More...
 
void SetDot2Length (double length)
 @descr Set second dot length. More...
 
void SetSpace (double space)
 @descr Set space between dash dot. More...
 
bool IsSolid () const
 @descr decide whether it's a solid line. More...
 
double GetWidth () const
 
const XFColorGetColor () const
 
sal_Int32 GetTransparency () const
 
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

enumXFLineStyle m_eLineStyle
 
XFColor m_aColor
 
double m_fWidth
 
sal_Int32 m_nTransparency
 
sal_Int32 m_nNumber1
 
sal_Int32 m_nNumber2
 
double m_fSpace
 
double m_fLength1
 
double m_fLength2
 

Additional Inherited Members

- Protected Attributes inherited from XFStyle
OUString m_strStyleName
 
OUString m_strParentStyleName
 

Detailed Description

Border line style for drawing object.

Definition at line 70 of file xfdrawlinestyle.hxx.

Constructor & Destructor Documentation

◆ XFDrawLineStyle()

XFDrawLineStyle::XFDrawLineStyle ( )

Definition at line 63 of file xfdrawlinestyle.cxx.

Member Function Documentation

◆ GetColor()

const XFColor & XFDrawLineStyle::GetColor ( ) const
inline

Definition at line 203 of file xfdrawlinestyle.hxx.

References m_aColor.

Referenced by XFDrawStyle::ToXml().

◆ GetStyleFamily()

enumXFStyle XFDrawLineStyle::GetStyleFamily ( )
overridevirtual

@descr get style family.

Reimplemented from XFStyle.

Definition at line 75 of file xfdrawlinestyle.cxx.

References enumXFStyleStrokeDash.

◆ GetTransparency()

sal_Int32 XFDrawLineStyle::GetTransparency ( ) const
inline

Definition at line 208 of file xfdrawlinestyle.hxx.

References m_nTransparency.

Referenced by XFDrawStyle::ToXml().

◆ GetWidth()

double XFDrawLineStyle::GetWidth ( ) const
inline

Definition at line 198 of file xfdrawlinestyle.hxx.

References m_fWidth.

Referenced by XFDrawStyle::ToXml().

◆ IsSolid()

bool XFDrawLineStyle::IsSolid ( ) const
inline

@descr decide whether it's a solid line.

Definition at line 193 of file xfdrawlinestyle.hxx.

References enumXFLineSolid, and m_eLineStyle.

Referenced by XFDrawStyle::ToXml().

◆ SetColor()

void XFDrawLineStyle::SetColor ( const XFColor color)
inline

@descr Set line color.

Definition at line 153 of file xfdrawlinestyle.hxx.

References m_aColor.

Referenced by XFDrawStyle::SetLineStyle().

◆ SetDot1Length()

void XFDrawLineStyle::SetDot1Length ( double  length)
inline

@descr Set first dot length.

Definition at line 178 of file xfdrawlinestyle.hxx.

References length, and m_fLength1.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetDot1Number()

void XFDrawLineStyle::SetDot1Number ( sal_Int32  number)
inline

@descr Set first dot number of dash line.

Definition at line 168 of file xfdrawlinestyle.hxx.

References m_nNumber1.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetDot2Length()

void XFDrawLineStyle::SetDot2Length ( double  length)
inline

@descr Set second dot length.

Definition at line 183 of file xfdrawlinestyle.hxx.

References length, and m_fLength2.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetDot2Number()

void XFDrawLineStyle::SetDot2Number ( sal_Int32  number)
inline

@descr Set second dot number of dash line.

Definition at line 173 of file xfdrawlinestyle.hxx.

References m_nNumber2.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetLineStyle()

void XFDrawLineStyle::SetLineStyle ( enumXFLineStyle  style)
inline

@descr Set line type, solid,dash,dot?

Definition at line 163 of file xfdrawlinestyle.hxx.

References m_eLineStyle.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetSpace()

void XFDrawLineStyle::SetSpace ( double  space)
inline

@descr Set space between dash dot.

Definition at line 188 of file xfdrawlinestyle.hxx.

References m_fSpace.

Referenced by XFDrawStyle::SetLineDashStyle().

◆ SetTransparency()

void XFDrawLineStyle::SetTransparency ( sal_Int32  transparency)
inline

@descr Set line transparency.

Definition at line 158 of file xfdrawlinestyle.hxx.

References m_nTransparency.

Referenced by XFDrawStyle::SetLineStyle().

◆ SetWidth()

void XFDrawLineStyle::SetWidth ( double  width)
inline

@descr Set line width.

Definition at line 148 of file xfdrawlinestyle.hxx.

References m_fWidth.

Referenced by XFDrawStyle::SetLineStyle().

◆ ToXml()

void XFDrawLineStyle::ToXml ( IXFStream pStrm)
overridevirtual

Member Data Documentation

◆ m_aColor

XFColor XFDrawLineStyle::m_aColor
private

Definition at line 138 of file xfdrawlinestyle.hxx.

Referenced by GetColor(), and SetColor().

◆ m_eLineStyle

enumXFLineStyle XFDrawLineStyle::m_eLineStyle
private

Definition at line 137 of file xfdrawlinestyle.hxx.

Referenced by IsSolid(), SetLineStyle(), and ToXml().

◆ m_fLength1

double XFDrawLineStyle::m_fLength1
private

Definition at line 144 of file xfdrawlinestyle.hxx.

Referenced by SetDot1Length(), and ToXml().

◆ m_fLength2

double XFDrawLineStyle::m_fLength2
private

Definition at line 145 of file xfdrawlinestyle.hxx.

Referenced by SetDot2Length(), and ToXml().

◆ m_fSpace

double XFDrawLineStyle::m_fSpace
private

Definition at line 143 of file xfdrawlinestyle.hxx.

Referenced by SetSpace(), and ToXml().

◆ m_fWidth

double XFDrawLineStyle::m_fWidth
private

Definition at line 139 of file xfdrawlinestyle.hxx.

Referenced by GetWidth(), and SetWidth().

◆ m_nNumber1

sal_Int32 XFDrawLineStyle::m_nNumber1
private

Definition at line 141 of file xfdrawlinestyle.hxx.

Referenced by SetDot1Number(), and ToXml().

◆ m_nNumber2

sal_Int32 XFDrawLineStyle::m_nNumber2
private

Definition at line 142 of file xfdrawlinestyle.hxx.

Referenced by SetDot2Number(), and ToXml().

◆ m_nTransparency

sal_Int32 XFDrawLineStyle::m_nTransparency
private

Definition at line 140 of file xfdrawlinestyle.hxx.

Referenced by GetTransparency(), and SetTransparency().


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