kspread
KSpread::ColumnFormat Class Reference
A column style. More...
#include <RowColumnFormat.h>
Public Member Functions | |
| ColumnFormat (const ColumnFormat &other) | |
| ColumnFormat () | |
| ~ColumnFormat () | |
| int | column () const |
| bool | isDefault () const |
| bool | isFiltered () const |
| bool | isHidden () const |
| bool | isHiddenOrFiltered () const |
| bool | load (const KoXmlElement &row, int xshift=0, Paste::Mode mode=Paste::Normal) |
| ColumnFormat * | next () const |
| bool | operator!= (const ColumnFormat &other) const |
| bool | operator== (const ColumnFormat &other) const |
| ColumnFormat * | previous () const |
| QDomElement | save (QDomDocument &, int xshift=0) const |
| void | setColumn (int column) |
| void | setFiltered (bool filtered) |
| void | setHidden (bool _hide) |
| void | setNext (ColumnFormat *c) |
| void | setPrevious (ColumnFormat *c) |
| void | setSheet (Sheet *sheet) |
| void | setWidth (double _w) |
| double | visibleWidth () const |
| double | width () const |
Detailed Description
A column style.
Definition at line 118 of file RowColumnFormat.h.
Constructor & Destructor Documentation
| ColumnFormat::ColumnFormat | ( | ) |
Definition at line 307 of file RowColumnFormat.cpp.
| ColumnFormat::ColumnFormat | ( | const ColumnFormat & | other | ) |
Definition at line 319 of file RowColumnFormat.cpp.
| ColumnFormat::~ColumnFormat | ( | ) |
Definition at line 324 of file RowColumnFormat.cpp.
Member Function Documentation
| int ColumnFormat::column | ( | ) | const |
- Returns:
- the column of this ColumnFormat. May be 0 if this is the default format.
Definition at line 442 of file RowColumnFormat.cpp.
| bool ColumnFormat::isDefault | ( | ) | const |
- Reimplemented from superclass.
Definition at line 510 of file RowColumnFormat.cpp.
| bool ColumnFormat::isFiltered | ( | ) | const |
Definition at line 500 of file RowColumnFormat.cpp.
| bool ColumnFormat::isHidden | ( | ) | const |
Definition at line 490 of file RowColumnFormat.cpp.
| bool ColumnFormat::isHiddenOrFiltered | ( | ) | const |
Definition at line 505 of file RowColumnFormat.cpp.
| bool ColumnFormat::load | ( | const KoXmlElement & | row, | |
| int | xshift = 0, |
|||
| Paste::Mode | mode = Paste::Normal | |||
| ) |
Definition at line 395 of file RowColumnFormat.cpp.
| ColumnFormat * ColumnFormat::next | ( | ) | const |
Definition at line 452 of file RowColumnFormat.cpp.
| bool KSpread::ColumnFormat::operator!= | ( | const ColumnFormat & | other | ) | const [inline] |
Definition at line 175 of file RowColumnFormat.h.
| bool ColumnFormat::operator== | ( | const ColumnFormat & | other | ) | const |
Definition at line 515 of file RowColumnFormat.cpp.
| ColumnFormat * ColumnFormat::previous | ( | ) | const |
Definition at line 457 of file RowColumnFormat.cpp.
| QDomElement ColumnFormat::save | ( | QDomDocument & | doc, | |
| int | xshift = 0 | |||
| ) | const |
Definition at line 374 of file RowColumnFormat.cpp.
| void ColumnFormat::setColumn | ( | int | column | ) |
Definition at line 447 of file RowColumnFormat.cpp.
| void ColumnFormat::setFiltered | ( | bool | filtered | ) |
Definition at line 495 of file RowColumnFormat.cpp.
| void ColumnFormat::setHidden | ( | bool | _hide | ) |
Definition at line 472 of file RowColumnFormat.cpp.
| void ColumnFormat::setNext | ( | ColumnFormat * | c | ) |
Definition at line 462 of file RowColumnFormat.cpp.
| void ColumnFormat::setPrevious | ( | ColumnFormat * | c | ) |
Definition at line 467 of file RowColumnFormat.cpp.
| void ColumnFormat::setSheet | ( | Sheet * | sheet | ) |
Definition at line 333 of file RowColumnFormat.cpp.
| void ColumnFormat::setWidth | ( | double | _w | ) |
Sets the width to _w zoomed pixels as double value.
Use this function to set the width without getting rounding problems.
- Parameters:
-
_w is calculated in display pixels. The function cares for zooming.
Definition at line 338 of file RowColumnFormat.cpp.
| double ColumnFormat::visibleWidth | ( | ) | const |
The visible column height, respecting hiding and filtering attributes.
- Returns:
- the visible column width
Definition at line 367 of file RowColumnFormat.cpp.
| double ColumnFormat::width | ( | ) | const |
- Returns:
- the column's width
Definition at line 362 of file RowColumnFormat.cpp.
The documentation for this class was generated from the following files:
