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

Private Attributes

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

Detailed Description

Definition at line 31 of file xdash.hxx.

Constructor & Destructor Documentation

◆ XDash()

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

Definition at line 483 of file xattr.cxx.

Member Function Documentation

◆ CreateDotDashArray()

double XDash::CreateDotDashArray ( ::std::vector< double > &  rDotDashArray,
double  fLineWidth 
) const

◆ GetDashes()

sal_uInt16 XDash::GetDashes ( ) const
inline

◆ GetDashLen()

double XDash::GetDashLen ( ) const
inline

◆ GetDashStyle()

css::drawing::DashStyle XDash::GetDashStyle ( ) const
inline

Definition at line 54 of file xdash.hxx.

Referenced by CreateDotDashArray(), IMPL_LINK_NOARG(), and XLineDashItem::QueryValue().

◆ GetDistance()

double XDash::GetDistance ( ) const
inline

◆ GetDotLen()

double XDash::GetDotLen ( ) const
inline

◆ GetDots()

sal_uInt16 XDash::GetDots ( ) const
inline

◆ operator==()

bool XDash::operator== ( const XDash rDash) const

Definition at line 494 of file xattr.cxx.

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

◆ SetDashes()

void XDash::SetDashes ( sal_uInt16  nNewDashes)
inline

Definition at line 50 of file xdash.hxx.

Referenced by XLineDashItem::PutValue().

◆ SetDashLen()

void XDash::SetDashLen ( double  nNewDashLen)
inline

Definition at line 51 of file xdash.hxx.

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

◆ SetDashStyle()

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

Definition at line 47 of file xdash.hxx.

Referenced by XLineDashItem::PutValue().

◆ SetDistance()

void XDash::SetDistance ( double  nNewDistance)
inline

Definition at line 52 of file xdash.hxx.

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

◆ SetDotLen()

void XDash::SetDotLen ( double  nNewDotLen)
inline

Definition at line 49 of file xdash.hxx.

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

◆ SetDots()

void XDash::SetDots ( sal_uInt16  nNewDots)
inline

Definition at line 48 of file xdash.hxx.

Referenced by XLineDashItem::PutValue().

Member Data Documentation

◆ eDash

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

Definition at line 33 of file xdash.hxx.

Referenced by operator==().

◆ nDashes

sal_uInt16 XDash::nDashes
private

Definition at line 35 of file xdash.hxx.

Referenced by operator==().

◆ nDashLen

double XDash::nDashLen
private

Definition at line 37 of file xdash.hxx.

Referenced by operator==().

◆ nDistance

double XDash::nDistance
private

Definition at line 38 of file xdash.hxx.

Referenced by operator==().

◆ nDotLen

double XDash::nDotLen
private

Definition at line 36 of file xdash.hxx.

Referenced by operator==().

◆ nDots

sal_uInt16 XDash::nDots
private

Definition at line 34 of file xdash.hxx.

Referenced by operator==().


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