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

#include <xhatch.hxx>

Collaboration diagram for XHatch:
[legend]

Public Member Functions

 XHatch ()
 
 XHatch (const Color &rCol, css::drawing::HatchStyle eStyle=css::drawing::HatchStyle_SINGLE, long nDistance=20, long nAngle=0)
 
bool operator== (const XHatch &rHatch) const
 
void SetHatchStyle (css::drawing::HatchStyle eNewStyle)
 
void SetColor (const Color &rColor)
 
void SetDistance (long nNewDistance)
 
void SetAngle (long nNewAngle)
 
css::drawing::HatchStyle GetHatchStyle () const
 
const ColorGetColor () const
 
long GetDistance () const
 
long GetAngle () const
 

Private Attributes

css::drawing::HatchStyle eStyle
 
Color aColor
 
long nDistance
 
long nAngle
 

Detailed Description

Definition at line 31 of file xhatch.hxx.

Constructor & Destructor Documentation

XHatch::XHatch ( )
inline

Definition at line 39 of file xhatch.hxx.

XHatch::XHatch ( const Color rCol,
css::drawing::HatchStyle  eStyle = css::drawing::HatchStyle_SINGLE,
long  nDistance = 20,
long  nAngle = 0 
)

Definition at line 2357 of file xattr.cxx.

Member Function Documentation

long XHatch::GetAngle ( ) const
inline

Definition at line 53 of file xhatch.hxx.

Referenced by SvxUnoXHatchTable::getAny(), and XFillHatchItem::QueryValue().

const Color& XHatch::GetColor ( ) const
inline

Definition at line 51 of file xhatch.hxx.

Referenced by SvxUnoXHatchTable::getAny(), and XFillHatchItem::QueryValue().

long XHatch::GetDistance ( ) const
inline
css::drawing::HatchStyle XHatch::GetHatchStyle ( ) const
inline

Definition at line 50 of file xhatch.hxx.

Referenced by SvxUnoXHatchTable::getAny(), and XFillHatchItem::QueryValue().

bool XHatch::operator== ( const XHatch rHatch) const

Definition at line 2366 of file xattr.cxx.

References aColor, eStyle, nAngle, and nDistance.

void XHatch::SetAngle ( long  nNewAngle)
inline

Definition at line 48 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue().

void XHatch::SetColor ( const Color rColor)
inline
void XHatch::SetDistance ( long  nNewDistance)
inline

Definition at line 47 of file xhatch.hxx.

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

void XHatch::SetHatchStyle ( css::drawing::HatchStyle  eNewStyle)
inline

Definition at line 45 of file xhatch.hxx.

Referenced by SvxUnoXHatchTable::createEntry(), and XFillHatchItem::PutValue().

Member Data Documentation

Color XHatch::aColor
private

Definition at line 34 of file xhatch.hxx.

Referenced by operator==().

css::drawing::HatchStyle XHatch::eStyle
private

Definition at line 33 of file xhatch.hxx.

Referenced by operator==().

long XHatch::nAngle
private

Definition at line 36 of file xhatch.hxx.

Referenced by operator==().

long XHatch::nDistance
private

Definition at line 35 of file xhatch.hxx.

Referenced by operator==().


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