#include <kexisimpleprintingengine.h>
|
| void | paintPage (int pageNumber, TQPainter &painter, bool paint=true) |
|
| void | paintRecord (TQPainter &painter, KexiTableItem *item, int cellMargin, double &y, uint paintedRows, bool paint, bool printing) |
An engine painting data on pages using TQPainter. The engine allows for random access to any page.
Definition at line 57 of file kexisimpleprintingengine.h.
◆ KexiSimplePrintingEngine()
◆ ~KexiSimplePrintingEngine()
| KexiSimplePrintingEngine::~KexiSimplePrintingEngine |
( |
| ) |
|
◆ calculatePagesCount()
| void KexiSimplePrintingEngine::calculatePagesCount |
( |
TQPainter & | painter | ) |
|
◆ clear()
| void KexiSimplePrintingEngine::clear |
( |
| ) |
|
◆ done()
| bool KexiSimplePrintingEngine::done |
( |
| ) |
|
◆ eof()
| bool KexiSimplePrintingEngine::eof |
( |
| ) |
const |
|
inline |
◆ init()
◆ pagesCount()
| uint KexiSimplePrintingEngine::pagesCount |
( |
| ) |
const |
|
inline |
◆ paintedPages()
| uint KexiSimplePrintingEngine::paintedPages |
( |
| ) |
const |
|
inline |
◆ paintPage
| void KexiSimplePrintingEngine::paintPage |
( |
int | pageNumber, |
|
|
TQPainter & | painter, |
|
|
bool | paint = true ) |
|
slot |
Paints a page number pageNumber (counted from 0) on painter. If paint is false, drawings are only computed but not painted, so this can be used for calculating page number before printing or previewing.
- Todo
- add setting
- Todo
- break large records anyway...
Definition at line 202 of file kexisimpleprintingengine.cpp.
◆ paintRecord()
| void KexiSimplePrintingEngine::paintRecord |
( |
TQPainter & | painter, |
|
|
KexiTableItem * | item, |
|
|
int | cellMargin, |
|
|
double & | y, |
|
|
uint | paintedRows, |
|
|
bool | paint, |
|
|
bool | printing ) |
|
protected |
- Todo
- optimize like in KexiCSVExport::exportData()
todo inherit format
todo inherit format
todo inherit format
todo currency, decimal...
Definition at line 390 of file kexisimpleprintingengine.cpp.
◆ settings()
◆ setTitleText()
| void KexiSimplePrintingEngine::setTitleText |
( |
const TQString & | titleText | ) |
|
◆ m_bottomMargin
| double KexiSimplePrintingEngine::m_bottomMargin |
|
protected |
◆ m_cursor
◆ m_data
◆ m_dataOffsets
| TQPtrList<uint> KexiSimplePrintingEngine::m_dataOffsets |
|
protected |
◆ m_dateTimeText
| TQString KexiSimplePrintingEngine::m_dateTimeText |
|
protected |
◆ m_dateTimeWidth
| uint KexiSimplePrintingEngine::m_dateTimeWidth |
|
protected |
◆ m_dpiX
| double KexiSimplePrintingEngine::m_dpiX |
|
protected |
◆ m_dpiY
| double KexiSimplePrintingEngine::m_dpiY |
|
protected |
◆ m_eof
| bool KexiSimplePrintingEngine::m_eof |
|
protected |
◆ m_fieldsExpanded
| KexiDB::QueryColumnInfo::Vector KexiSimplePrintingEngine::m_fieldsExpanded |
|
protected |
◆ m_footerHeight
| int KexiSimplePrintingEngine::m_footerHeight |
|
protected |
◆ m_fx
| double KexiSimplePrintingEngine::m_fx |
|
protected |
◆ m_fy
| double KexiSimplePrintingEngine::m_fy |
|
protected |
◆ m_headerFont
| TQFont KexiSimplePrintingEngine::m_headerFont |
|
protected |
◆ m_headerText
| TQString KexiSimplePrintingEngine::m_headerText |
|
protected |
◆ m_headerTextRect
| TQRect KexiSimplePrintingEngine::m_headerTextRect |
|
protected |
◆ m_leftMargin
| double KexiSimplePrintingEngine::m_leftMargin |
|
protected |
◆ m_mainFont
| TQFont KexiSimplePrintingEngine::m_mainFont |
|
protected |
◆ m_mainLineSpacing
| int KexiSimplePrintingEngine::m_mainLineSpacing |
|
protected |
◆ m_maxFieldNameWidth
| int KexiSimplePrintingEngine::m_maxFieldNameWidth |
|
protected |
◆ m_pageHeight
| uint KexiSimplePrintingEngine::m_pageHeight |
|
protected |
◆ m_pagesCount
| uint KexiSimplePrintingEngine::m_pagesCount |
|
protected |
◆ m_pageWidth
| uint KexiSimplePrintingEngine::m_pageWidth |
|
protected |
◆ m_paintInitialized
| bool KexiSimplePrintingEngine::m_paintInitialized |
|
protected |
◆ m_pdm
| TQPaintDeviceMetrics KexiSimplePrintingEngine::m_pdm |
|
protected |
◆ m_rightMargin
| double KexiSimplePrintingEngine::m_rightMargin |
|
protected |
◆ m_SCALE
| uint KexiSimplePrintingEngine::m_SCALE |
|
protected |
◆ m_settings
◆ m_topMargin
| double KexiSimplePrintingEngine::m_topMargin |
|
protected |
◆ m_visibleFieldsCount
| uint KexiSimplePrintingEngine::m_visibleFieldsCount |
|
protected |
The documentation for this class was generated from the following files:
|