LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
XDash Class Referencefinal

#include <xdash.hxx>

Public Member Functions

 XDash (css::drawing::DashStyle eDash=css::drawing::DashStyle_RECT, sal_uInt16 nDots=1, sal_uInt32 nDotLen=20, sal_uInt16 nDashes=1, sal_uInt32 nDashLen=20, sal_uInt32 nDistance=20)
 
bool operator== (const XDash &rDash) const
 
void SetDashStyle (css::drawing::DashStyle eNewStyle)
 
void SetDots (sal_uInt16 nNewDots)
 
void SetDotLen (sal_uInt32 nNewDotLen)
 
void SetDashes (sal_uInt16 nNewDashes)
 
void SetDashLen (sal_uInt32 nNewDashLen)
 
void SetDistance (sal_uInt32 nNewDistance)
 
css::drawing::DashStyle GetDashStyle () const
 
sal_uInt16 GetDots () const
 
sal_uInt32 GetDotLen () const
 
sal_uInt16 GetDashes () const
 
sal_uInt32 GetDashLen () const
 
sal_uInt32 GetDistance () const
 
double CreateDotDashArray (::std::vector< double > &rDotDashArray, double fLineWidth) const
 

Private Attributes

css::drawing::DashStyle eDash
 
sal_uInt32 nDotLen
 
sal_uInt16 nDots
 
sal_uInt16 nDashes
 
sal_uInt32 nDashLen
 
sal_uInt32 nDistance
 

Detailed Description

Definition at line 32 of file xdash.hxx.

Constructor & Destructor Documentation

XDash::XDash ( css::drawing::DashStyle  eDash = css::drawing::DashStyle_RECT,
sal_uInt16  nDots = 1,
sal_uInt32  nDotLen = 20,
sal_uInt16  nDashes = 1,
sal_uInt32  nDashLen = 20,
sal_uInt32  nDistance = 20 
)

Definition at line 407 of file xattr.cxx.

Member Function Documentation

double XDash::CreateDotDashArray ( ::std::vector< double > &  rDotDashArray,
double  fLineWidth 
) const
sal_uInt16 XDash::GetDashes ( ) const
inline
sal_uInt32 XDash::GetDashLen ( ) const
inline
css::drawing::DashStyle XDash::GetDashStyle ( ) const
inline
sal_uInt32 XDash::GetDistance ( ) const
inline
sal_uInt32 XDash::GetDotLen ( ) const
inline
sal_uInt16 XDash::GetDots ( ) const
inline
bool XDash::operator== ( const XDash rDash) const

Definition at line 418 of file xattr.cxx.

References eDash, nDashes, nDashLen, nDistance, nDotLen, and nDots.

void XDash::SetDashes ( sal_uInt16  nNewDashes)
inline

Definition at line 51 of file xdash.hxx.

Referenced by XLineDashItem::PutValue().

void XDash::SetDashLen ( sal_uInt32  nNewDashLen)
inline

Definition at line 52 of file xdash.hxx.

Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().

void XDash::SetDashStyle ( css::drawing::DashStyle  eNewStyle)
inline

Definition at line 48 of file xdash.hxx.

Referenced by SvxUnoXDashTable::createEntry(), and XLineDashItem::PutValue().

void XDash::SetDistance ( sal_uInt32  nNewDistance)
inline

Definition at line 53 of file xdash.hxx.

Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().

void XDash::SetDotLen ( sal_uInt32  nNewDotLen)
inline

Definition at line 50 of file xdash.hxx.

Referenced by XLineDashItem::PutValue(), and XLineDashItem::ScaleMetrics().

void XDash::SetDots ( sal_uInt16  nNewDots)
inline

Definition at line 49 of file xdash.hxx.

Referenced by XLineDashItem::PutValue().

Member Data Documentation

css::drawing::DashStyle XDash::eDash
private

Definition at line 34 of file xdash.hxx.

Referenced by operator==().

sal_uInt16 XDash::nDashes
private

Definition at line 37 of file xdash.hxx.

Referenced by operator==().

sal_uInt32 XDash::nDashLen
private

Definition at line 38 of file xdash.hxx.

Referenced by operator==().

sal_uInt32 XDash::nDistance
private

Definition at line 39 of file xdash.hxx.

Referenced by operator==().

sal_uInt32 XDash::nDotLen
private

Definition at line 35 of file xdash.hxx.

Referenced by operator==().

sal_uInt16 XDash::nDots
private

Definition at line 36 of file xdash.hxx.

Referenced by operator==().


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