LibreOffice Module lotuswordpro (master) 1
|
Border line style for drawing object. More...
#include <xfdrawlinestyle.hxx>
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 XFColor & | GetColor () 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 | |
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 | |
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 |
Border line style for drawing object.
Definition at line 70 of file xfdrawlinestyle.hxx.
XFDrawLineStyle::XFDrawLineStyle | ( | ) |
Definition at line 63 of file xfdrawlinestyle.cxx.
|
inline |
Definition at line 203 of file xfdrawlinestyle.hxx.
References m_aColor.
Referenced by XFDrawStyle::ToXml().
|
overridevirtual |
@descr get style family.
Reimplemented from XFStyle.
Definition at line 75 of file xfdrawlinestyle.cxx.
References enumXFStyleStrokeDash.
|
inline |
Definition at line 208 of file xfdrawlinestyle.hxx.
References m_nTransparency.
Referenced by XFDrawStyle::ToXml().
|
inline |
Definition at line 198 of file xfdrawlinestyle.hxx.
References m_fWidth.
Referenced by XFDrawStyle::ToXml().
|
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().
|
inline |
@descr Set line color.
Definition at line 153 of file xfdrawlinestyle.hxx.
References m_aColor.
Referenced by XFDrawStyle::SetLineStyle().
|
inline |
@descr Set first dot length.
Definition at line 178 of file xfdrawlinestyle.hxx.
References length, and m_fLength1.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set first dot number of dash line.
Definition at line 168 of file xfdrawlinestyle.hxx.
References m_nNumber1.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set second dot length.
Definition at line 183 of file xfdrawlinestyle.hxx.
References length, and m_fLength2.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set second dot number of dash line.
Definition at line 173 of file xfdrawlinestyle.hxx.
References m_nNumber2.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set line type, solid,dash,dot?
Definition at line 163 of file xfdrawlinestyle.hxx.
References m_eLineStyle.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set space between dash dot.
Definition at line 188 of file xfdrawlinestyle.hxx.
References m_fSpace.
Referenced by XFDrawStyle::SetLineDashStyle().
|
inline |
@descr Set line transparency.
Definition at line 158 of file xfdrawlinestyle.hxx.
References m_nTransparency.
Referenced by XFDrawStyle::SetLineStyle().
|
inline |
@descr Set line width.
Definition at line 148 of file xfdrawlinestyle.hxx.
References m_fWidth.
Referenced by XFDrawStyle::SetLineStyle().
|
overridevirtual |
Implements IXFStyle.
Definition at line 77 of file xfdrawlinestyle.cxx.
References IXFAttrList::AddAttribute(), IXFAttrList::Clear(), IXFStream::EndElement(), enumXFLineDash, enumXFLineDashDot, enumXFLineDot, enumXFLineDotDash, IXFStream::GetAttrList(), XFStyle::GetStyleName(), m_eLineStyle, m_fLength1, m_fLength2, m_fSpace, m_nNumber1, m_nNumber2, and IXFStream::StartElement().
|
private |
Definition at line 138 of file xfdrawlinestyle.hxx.
Referenced by GetColor(), and SetColor().
|
private |
Definition at line 137 of file xfdrawlinestyle.hxx.
Referenced by IsSolid(), SetLineStyle(), and ToXml().
|
private |
Definition at line 144 of file xfdrawlinestyle.hxx.
Referenced by SetDot1Length(), and ToXml().
|
private |
Definition at line 145 of file xfdrawlinestyle.hxx.
Referenced by SetDot2Length(), and ToXml().
|
private |
Definition at line 143 of file xfdrawlinestyle.hxx.
Referenced by SetSpace(), and ToXml().
|
private |
Definition at line 139 of file xfdrawlinestyle.hxx.
Referenced by GetWidth(), and SetWidth().
|
private |
Definition at line 141 of file xfdrawlinestyle.hxx.
Referenced by SetDot1Number(), and ToXml().
|
private |
Definition at line 142 of file xfdrawlinestyle.hxx.
Referenced by SetDot2Number(), and ToXml().
|
private |
Definition at line 140 of file xfdrawlinestyle.hxx.
Referenced by GetTransparency(), and SetTransparency().