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

FormatAlignment::FormatAlignment (  ) 

Creates a default alignment information.

Definition at line 244 of file format.cpp.

FormatAlignment::~FormatAlignment (  ) 

Destroys the alignment information.

Definition at line 256 of file format.cpp.

FormatAlignment::FormatAlignment ( const FormatAlignment align  ) 

Creates a copy of alignment information.

Definition at line 262 of file format.cpp.


Member Function Documentation

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

Assigns from another alignment information.

Definition at line 269 of file format.cpp.

FormatAlignment & FormatAlignment::assign ( const FormatAlignment align  ) 

Assigns from another alignment information.

Definition at line 275 of file format.cpp.

bool FormatAlignment::isNull (  )  const

Returns true if it is a default alignment information.

Definition at line 286 of file format.cpp.

unsigned FormatAlignment::alignX (  )  const

Returns horizontal alignment.

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

See also:
setAlignX

Definition at line 291 of file format.cpp.

void FormatAlignment::setAlignX ( unsigned  xa  ) 

Sets the horizontal alignment.

See also:
alignX

Definition at line 296 of file format.cpp.

unsigned FormatAlignment::alignY (  )  const

Returns horizontal alignment.

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

See also:
setAlignY

Definition at line 302 of file format.cpp.

void FormatAlignment::setAlignY ( unsigned  xa  ) 

Sets the horizontal alignment.

See also:
alignY

Definition at line 307 of file format.cpp.

bool FormatAlignment::wrap (  )  const

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

See also:
setWrap

Definition at line 313 of file format.cpp.

void FormatAlignment::setWrap ( bool  w  ) 

Sets whether the text should be wrapped at right border.

See also:
setWrap

Definition at line 318 of file format.cpp.

unsigned FormatAlignment::indentLevel (  )  const

Returns the indentation level.

See also:
setIndentLevel

Definition at line 324 of file format.cpp.

void FormatAlignment::setIndentLevel ( unsigned  i  ) 

Sets the indentation level.

See also:
indentLevel

Definition at line 329 of file format.cpp.

unsigned FormatAlignment::rotationAngle (  )  const

Returns the text rotation angle.

See also:
setRotationAngle

Definition at line 335 of file format.cpp.

void FormatAlignment::setRotationAngle ( unsigned  r  ) 

Sets the text rotation angle.

See also:
rotationAngle

Definition at line 340 of file format.cpp.

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

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

Definition at line 346 of file format.cpp.

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

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

Definition at line 356 of file format.cpp.


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