20 #ifndef INCLUDED_SVX_XDASH_HXX
21 #define INCLUDED_SVX_XDASH_HXX
27 #include <com/sun/star/drawing/DashStyle.hpp>
41 XDash(css::drawing::DashStyle eDash = css::drawing::DashStyle_RECT,
42 sal_uInt16 nDots = 1, sal_uInt32 nDotLen = 20,
43 sal_uInt16 nDashes = 1, sal_uInt32 nDashLen = 20, sal_uInt32 nDistance = 20);
47 void SetDashStyle(css::drawing::DashStyle eNewStyle) { eDash = eNewStyle; }
48 void SetDots(sal_uInt16 nNewDots) { nDots = nNewDots; }
49 void SetDotLen(sal_uInt32 nNewDotLen) { nDotLen = nNewDotLen; }
50 void SetDashes(sal_uInt16 nNewDashes) { nDashes = nNewDashes; }
51 void SetDashLen(sal_uInt32 nNewDashLen) { nDashLen = nNewDashLen; }
52 void SetDistance(sal_uInt32 nNewDistance) { nDistance = nNewDistance; }
55 sal_uInt16
GetDots()
const {
return nDots; }
64 double CreateDotDashArray(::std::vector< double >& rDotDashArray,
double fLineWidth)
const;
void SetDotLen(sal_uInt32 nNewDotLen)
void SetDots(sal_uInt16 nNewDots)
sal_uInt32 GetDistance() const
void SetDashLen(sal_uInt32 nNewDashLen)
void SetDistance(sal_uInt32 nNewDistance)
css::drawing::DashStyle eDash
sal_uInt16 GetDots() const
css::drawing::DashStyle GetDashStyle() const
void SetDashStyle(css::drawing::DashStyle eNewStyle)
void SetDashes(sal_uInt16 nNewDashes)
sal_uInt32 GetDotLen() const
#define SVXCORE_DLLPUBLIC
sal_uInt32 GetDashLen() const
bool operator==(const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2)
sal_uInt16 GetDashes() const