filters

Swinder::FormatAlignment Class Reference

#include <format.h>

List of all members.


Detailed Description

Defines alignment information for cell format.

Class FormatAlignment defines the horizontal and vertical alignment for the text inside a cell.

Definition at line 276 of file kspread/excel/sidewinder/format.h.


Public Member Functions

 FormatAlignment ()
 ~FormatAlignment ()
 FormatAlignment (const FormatAlignment &)
FormatAlignmentoperator= (const FormatAlignment &)
FormatAlignmentassign (const FormatAlignment &)
bool isNull () const
unsigned alignX () const
void setAlignX (unsigned xa)
unsigned alignY () const
void setAlignY (unsigned xa)
bool wrap () const
void setWrap (bool w)
unsigned indentLevel () const
void setIndentLevel (unsigned i)
unsigned rotationAngle () const
void setRotationAngle (unsigned r)
bool operator== (const FormatAlignment &f) const
bool operator!= (const FormatAlignment &f) const

Constructor & Destructor Documentation

Swinder::FormatAlignment::FormatAlignment (  ) 

Creates a default alignment information.

Swinder::FormatAlignment::~FormatAlignment (  ) 

Destroys the alignment information.

Swinder::FormatAlignment::FormatAlignment ( const FormatAlignment  ) 

Creates a copy of alignment information.


Member Function Documentation

unsigned Swinder::FormatAlignment::alignX (  )  const

Returns horizontal alignment.

Possible values are Format::Left, Format::Right and Format::Center.

See also:
setAlignX

unsigned Swinder::FormatAlignment::alignY (  )  const

Returns horizontal alignment.

Possible values are Format::Top, Format::Middle and Format::Bottom.

See also:
setAlignY

FormatAlignment& Swinder::FormatAlignment::assign ( const FormatAlignment  ) 

Assigns from another alignment information.

unsigned Swinder::FormatAlignment::indentLevel (  )  const

Returns the indentation level.

See also:
setIndentLevel

bool Swinder::FormatAlignment::isNull (  )  const

Returns true if it is a default alignment information.

bool Swinder::FormatAlignment::operator!= ( const FormatAlignment f  )  const

Returns true if this alignment is not equal to f; otherwise returns false.

FormatAlignment& Swinder::FormatAlignment::operator= ( const FormatAlignment  ) 

Assigns from another alignment information.

bool Swinder::FormatAlignment::operator== ( const FormatAlignment f  )  const

Returns true if this alignment is equal to f; otherwise returns false.

unsigned Swinder::FormatAlignment::rotationAngle (  )  const

Returns the text rotation angle.

See also:
setRotationAngle

void Swinder::FormatAlignment::setAlignX ( unsigned  xa  ) 

Sets the horizontal alignment.

See also:
alignX

void Swinder::FormatAlignment::setAlignY ( unsigned  xa  ) 

Sets the horizontal alignment.

See also:
alignY

void Swinder::FormatAlignment::setIndentLevel ( unsigned  i  ) 

Sets the indentation level.

See also:
indentLevel

void Swinder::FormatAlignment::setRotationAngle ( unsigned  r  ) 

Sets the text rotation angle.

See also:
rotationAngle

void Swinder::FormatAlignment::setWrap ( bool  w  ) 

Sets whether the text should be wrapped at right border.

See also:
setWrap

bool Swinder::FormatAlignment::wrap (  )  const

Returns true if the text should be wrapped at right border.

See also:
setWrap


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys