kspread
KSpread::PrintSettings Class Reference
Settings used for printing. More...
#include <PrintSettings.h>
Public Types | |
| enum | PageOrder { TopToBottom, LeftToRight } |
Public Member Functions | |
| PrintSettings (const PrintSettings &other) | |
| PrintSettings () | |
| virtual | ~PrintSettings () |
| void | addPrintRange (const QRect &range) |
| bool | centerHorizontally () const |
| bool | centerVertically () const |
| bool | operator!= (const PrintSettings &other) const |
| void | operator= (const PrintSettings &settings) |
| bool | operator== (const PrintSettings &other) const |
| const KoPageLayout & | pageLayout () const |
| const QSize & | pageLimits () const |
| PageOrder | pageOrder () const |
| bool | printCharts () const |
| bool | printCommentIndicator () const |
| bool | printFormulaIndicator () const |
| bool | printGraphics () const |
| bool | printGrid () const |
| bool | printHeaders () const |
| double | printHeight () const |
| bool | printObjects () const |
| const Region & | printRegion () const |
| double | printWidth () const |
| bool | printZeroValues () const |
| void | removePrintRange (const QRect &range) |
| const QPair< int, int > & | repeatedColumns () const |
| const QPair< int, int > & | repeatedRows () const |
| void | setCenterHorizontally (bool center) |
| void | setCenterVertically (bool center) |
| void | setPageFormat (KoPageFormat::Format format) |
| void | setPageLayout (const KoPageLayout &pageLayout) |
| void | setPageLimits (const QSize &pageLimits) |
| void | setPageOrder (PageOrder order) |
| void | setPageOrientation (KoPageFormat::Orientation orientation) |
| void | setPrintCharts (bool printCharts) |
| void | setPrintCommentIndicator (bool printCommentIndicator) |
| void | setPrintFormulaIndicator (bool printFormulaIndicator) |
| void | setPrintGraphics (bool printGraphics) |
| void | setPrintGrid (bool printGrid) |
| void | setPrintHeaders (bool printHeaders) |
| void | setPrintObjects (bool printObjects) |
| void | setPrintRegion (const Region ®ion) |
| void | setPrintZeroValues (bool printZeroValues) |
| void | setRepeatedColumns (const QPair< int, int > &repeatedColumns) |
| void | setRepeatedRows (const QPair< int, int > &repeatedRows) |
| void | setZoom (double zoom) |
| double | zoom () const |
Detailed Description
Settings used for printing.
Definition at line 40 of file PrintSettings.h.
Member Enumeration Documentation
Definition at line 43 of file PrintSettings.h.
Constructor & Destructor Documentation
| PrintSettings::PrintSettings | ( | ) |
Constructor.
Definition at line 73 of file PrintSettings.cpp.
| PrintSettings::PrintSettings | ( | const PrintSettings & | other | ) |
Constructor.
Definition at line 92 of file PrintSettings.cpp.
| PrintSettings::~PrintSettings | ( | ) | [virtual] |
Destructor.
Definition at line 114 of file PrintSettings.cpp.
Member Function Documentation
| void PrintSettings::addPrintRange | ( | const QRect & | range | ) |
Definition at line 271 of file PrintSettings.cpp.
| bool PrintSettings::centerHorizontally | ( | ) | const |
Definition at line 241 of file PrintSettings.cpp.
| bool PrintSettings::centerVertically | ( | ) | const |
Definition at line 251 of file PrintSettings.cpp.
| bool KSpread::PrintSettings::operator!= | ( | const PrintSettings & | other | ) | const [inline] |
Definition at line 221 of file PrintSettings.h.
| void PrintSettings::operator= | ( | const PrintSettings & | settings | ) |
Assignment operator.
Definition at line 322 of file PrintSettings.cpp.
| bool PrintSettings::operator== | ( | const PrintSettings & | other | ) | const |
Equality operator.
Definition at line 343 of file PrintSettings.cpp.
| const KoPageLayout & PrintSettings::pageLayout | ( | ) | const |
- Returns:
- the page layout associated with this document (margins, pageSize, etc).
- See also:
- KoPageLayout
Definition at line 119 of file PrintSettings.cpp.
| const QSize & PrintSettings::pageLimits | ( | ) | const |
Definition at line 291 of file PrintSettings.cpp.
| PrintSettings::PageOrder PrintSettings::pageOrder | ( | ) | const |
The order in which the pages should be created.
Either they are created beginning at the left, continuing to the right and then the next row of pages, or they are created vertically page column-wise.
- Returns:
- the page order
Definition at line 151 of file PrintSettings.cpp.
| bool PrintSettings::printCharts | ( | ) | const |
Returns, if the charts shall be shown on printouts.
Definition at line 171 of file PrintSettings.cpp.
| bool PrintSettings::printCommentIndicator | ( | ) | const |
Returns, if the comment rect shall be shown on printouts.
Definition at line 201 of file PrintSettings.cpp.
| bool PrintSettings::printFormulaIndicator | ( | ) | const |
Returns, if the formula rect shall be shown on printouts.
Definition at line 211 of file PrintSettings.cpp.
| bool PrintSettings::printGraphics | ( | ) | const |
Returns, if the graphics shall be shown on printouts.
Definition at line 191 of file PrintSettings.cpp.
| bool PrintSettings::printGrid | ( | ) | const |
Returns, if the grid shall be shown on printouts.
Definition at line 161 of file PrintSettings.cpp.
| bool PrintSettings::printHeaders | ( | ) | const |
Returns, if the headers shall be shown on printouts.
Definition at line 221 of file PrintSettings.cpp.
| double PrintSettings::printHeight | ( | ) | const |
- Returns:
- the print height of the paper.
Definition at line 146 of file PrintSettings.cpp.
| bool PrintSettings::printObjects | ( | ) | const |
Returns, if the objects shall be shown on printouts.
Definition at line 181 of file PrintSettings.cpp.
| const KSpread::Region & PrintSettings::printRegion | ( | ) | const |
Definition at line 261 of file PrintSettings.cpp.
| double PrintSettings::printWidth | ( | ) | const |
- Returns:
- the print width of the paper.
Definition at line 141 of file PrintSettings.cpp.
| bool PrintSettings::printZeroValues | ( | ) | const |
Returns, if the zero values shall be shown on printouts.
Definition at line 231 of file PrintSettings.cpp.
| void PrintSettings::removePrintRange | ( | const QRect & | range | ) |
Definition at line 276 of file PrintSettings.cpp.
| const QPair< int, int > & PrintSettings::repeatedColumns | ( | ) | const |
Returns the columns, which are printed on each page.
Returns QPair (0, 0) if nothing is defined.
Definition at line 301 of file PrintSettings.cpp.
| const QPair< int, int > & PrintSettings::repeatedRows | ( | ) | const |
Returns the rows, which are printed on each page.
Returns QPair (0, 0) if nothing is defined
Definition at line 312 of file PrintSettings.cpp.
| void PrintSettings::setCenterHorizontally | ( | bool | center | ) |
Definition at line 246 of file PrintSettings.cpp.
| void PrintSettings::setCenterVertically | ( | bool | center | ) |
Definition at line 256 of file PrintSettings.cpp.
| void PrintSettings::setPageFormat | ( | KoPageFormat::Format | format | ) |
Definition at line 129 of file PrintSettings.cpp.
| void PrintSettings::setPageLayout | ( | const KoPageLayout & | pageLayout | ) |
Definition at line 124 of file PrintSettings.cpp.
| void PrintSettings::setPageLimits | ( | const QSize & | pageLimits | ) |
Definition at line 296 of file PrintSettings.cpp.
| void PrintSettings::setPageOrder | ( | PageOrder | order | ) |
Definition at line 156 of file PrintSettings.cpp.
| void PrintSettings::setPageOrientation | ( | KoPageFormat::Orientation | orientation | ) |
Definition at line 135 of file PrintSettings.cpp.
| void PrintSettings::setPrintCharts | ( | bool | printCharts | ) |
Sets, if the charts shall be shown on printouts.
Definition at line 176 of file PrintSettings.cpp.
| void PrintSettings::setPrintCommentIndicator | ( | bool | printCommentIndicator | ) |
Sets, if the comment rect shall be shown on printouts.
Definition at line 206 of file PrintSettings.cpp.
| void PrintSettings::setPrintFormulaIndicator | ( | bool | printFormulaIndicator | ) |
Sets, if the formula Rect shall be shown on printouts.
Definition at line 216 of file PrintSettings.cpp.
| void PrintSettings::setPrintGraphics | ( | bool | printGraphics | ) |
Sets, if the graphics shall be shown on printouts.
Definition at line 196 of file PrintSettings.cpp.
| void PrintSettings::setPrintGrid | ( | bool | printGrid | ) |
Sets, if the grid shall be shown on printouts.
Definition at line 166 of file PrintSettings.cpp.
| void PrintSettings::setPrintHeaders | ( | bool | printHeaders | ) |
Sets, if the headers shall be shown on printouts.
Definition at line 226 of file PrintSettings.cpp.
| void PrintSettings::setPrintObjects | ( | bool | printObjects | ) |
Sets, if the objects shall be shown on printouts.
Definition at line 186 of file PrintSettings.cpp.
| void PrintSettings::setPrintRegion | ( | const Region & | region | ) |
Definition at line 266 of file PrintSettings.cpp.
| void PrintSettings::setPrintZeroValues | ( | bool | printZeroValues | ) |
Sets, if the zero values shall be shown on printouts.
Definition at line 236 of file PrintSettings.cpp.
| void PrintSettings::setRepeatedColumns | ( | const QPair< int, int > & | repeatedColumns | ) |
Sets the columns to be printed on each page.
Only the x-values of the points are used Set it to QPair (0, 0) to undefine it
Definition at line 306 of file PrintSettings.cpp.
| void PrintSettings::setRepeatedRows | ( | const QPair< int, int > & | repeatedRows | ) |
Sets the rows to be printed on each page.
Only the y-values of the points are used Set it to QPair (0, 0) to undefine it
Definition at line 317 of file PrintSettings.cpp.
| void PrintSettings::setZoom | ( | double | zoom | ) |
Definition at line 286 of file PrintSettings.cpp.
| double PrintSettings::zoom | ( | ) | const |
Definition at line 281 of file PrintSettings.cpp.
The documentation for this class was generated from the following files:
