filters
Swinder::FormatAlignment Class Reference
#include <format.h>
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 &) | |
FormatAlignment & | operator= (const FormatAlignment &) |
FormatAlignment & | assign (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
|
Creates a default alignment information.
|
|
Destroys the alignment information.
|
|
Creates a copy of alignment information.
|
Member Function Documentation
|
Returns horizontal alignment. Possible values are Format::Left, Format::Right and Format::Center.
|
|
Returns horizontal alignment. Possible values are Format::Top, Format::Middle and Format::Bottom.
|
|
Assigns from another alignment information.
|
|
Returns the indentation level.
|
|
Returns true if it is a default alignment information.
|
|
Returns true if this alignment is not equal to f; otherwise returns false.
|
|
Assigns from another alignment information.
|
|
Returns true if this alignment is equal to f; otherwise returns false.
|
|
Returns the text rotation angle.
|
|
Sets the horizontal alignment.
|
|
Sets the horizontal alignment.
|
|
Sets the indentation level.
|
|
Sets the text rotation angle.
|
|
Sets whether the text should be wrapped at right border.
|
|
Returns true if the text should be wrapped at right border.
|
The documentation for this class was generated from the following file: