KD Reports API Documentation
2.2
|
#include <KDReportsReport_p.h>
Public Member Functions | |
ReportPrivate (const ReportPrivate &)=delete | |
ReportPrivate (Report *report) | |
~ReportPrivate () | |
ReportBuilder * | builder () const |
void | debugLayoutToPdf (const char *fileName) |
bool | doPrint (QPrinter *printer, QWidget *parent) |
void | ensureLayouted () |
bool | hasNonLayoutedTextDocument () const |
void | headerChanged () |
QSizeF | layoutAsOnePage (qreal docWidth) |
qreal | mainTextDocHeight () const |
QRect | mainTextDocRect () const |
ReportPrivate & | operator= (const ReportPrivate &)=delete |
void | paintPage (int pageNumber, QPainter &painter) |
QSizeF | paperSize () const |
qreal | rawMainTextDocHeight () const |
void | setPaperSizeFromPrinter (QSizeF paperSize) |
bool | skipHeadersFooters () const |
qreal | textDocumentWidth () const |
bool | wantEndlessPrinting () const |
Public Attributes | |
const QAbstractItemModel * | m_currentModel |
int | m_currentRow |
QString | m_documentName |
qreal | m_endlessPrinterWidth |
int | m_firstPageNumber |
qreal | m_footerBodySpacing |
HeaderMap | m_footers |
qreal | m_headerBodySpacing |
HeaderMap | m_headers |
QHash< QString, QImage > | m_imageValues |
KDReports::AbstractReportLayout * | m_layout |
qreal | m_layoutWidth |
MainTable * | m_mainTable |
qreal | m_marginBottom |
qreal | m_marginLeft |
qreal | m_marginRight |
qreal | m_marginTop |
QPageLayout::Orientation | m_orientation |
bool | m_pageContentSizeDirty |
QPageSize | m_pageSize |
QSizeF | m_paperSize |
bool | m_progressDialogEnabled = true |
KDReports::Report::ReportMode | m_reportMode |
QHash< QString, QString > | m_textValues |
QColor | m_watermarkColor |
QFont | m_watermarkFont |
Report::WatermarkFunction | m_watermarkFunction |
QImage | m_watermarkImage |
int | m_watermarkRotation |
QString | m_watermarkText |
XmlElementHandler * | m_xmlElementHandler |
KDReports::Report * | q |
Definition at line 87 of file KDReportsReport_p.h.
|
explicit |
Definition at line 42 of file KDReportsReport.cpp.
KDReports::ReportPrivate::~ReportPrivate | ( | ) |
Definition at line 80 of file KDReportsReport.cpp.
|
delete |
KDReports::ReportBuilder * KDReports::ReportPrivate::builder | ( | ) | const |
Definition at line 431 of file KDReportsReport.cpp.
References KDReports::Report::WordProcessing.
void KDReports::ReportPrivate::debugLayoutToPdf | ( | const char * | fileName | ) |
Definition at line 397 of file KDReportsReport.cpp.
bool KDReports::ReportPrivate::doPrint | ( | QPrinter * | printer, |
QWidget * | parent | ||
) |
Definition at line 353 of file KDReportsReport.cpp.
void KDReports::ReportPrivate::ensureLayouted | ( | ) |
Definition at line 105 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
bool KDReports::ReportPrivate::hasNonLayoutedTextDocument | ( | ) | const |
void KDReports::ReportPrivate::headerChanged | ( | ) |
Definition at line 348 of file KDReportsReport.cpp.
QSizeF KDReports::ReportPrivate::layoutAsOnePage | ( | qreal | docWidth | ) |
Definition at line 330 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
qreal KDReports::ReportPrivate::mainTextDocHeight | ( | ) | const |
Definition at line 153 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
QRect KDReports::ReportPrivate::mainTextDocRect | ( | ) | const |
Definition at line 166 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
|
delete |
void KDReports::ReportPrivate::paintPage | ( | int | pageNumber, |
QPainter & | painter | ||
) |
QSizeF KDReports::ReportPrivate::paperSize | ( | ) | const |
Definition at line 91 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
qreal KDReports::ReportPrivate::rawMainTextDocHeight | ( | ) | const |
Definition at line 130 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
void KDReports::ReportPrivate::setPaperSizeFromPrinter | ( | QSizeF | paperSize | ) |
Definition at line 185 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
bool KDReports::ReportPrivate::skipHeadersFooters | ( | ) | const |
Definition at line 144 of file KDReportsReport.cpp.
qreal KDReports::ReportPrivate::textDocumentWidth | ( | ) | const |
Definition at line 426 of file KDReportsReport.cpp.
References KDReports::mmToPixels().
bool KDReports::ReportPrivate::wantEndlessPrinting | ( | ) | const |
Definition at line 86 of file KDReportsReport.cpp.
const QAbstractItemModel* KDReports::ReportPrivate::m_currentModel |
Definition at line 151 of file KDReportsReport_p.h.
int KDReports::ReportPrivate::m_currentRow |
Definition at line 150 of file KDReportsReport_p.h.
QString KDReports::ReportPrivate::m_documentName |
Definition at line 122 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_endlessPrinterWidth |
Definition at line 118 of file KDReportsReport_p.h.
int KDReports::ReportPrivate::m_firstPageNumber |
Definition at line 137 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_footerBodySpacing |
Definition at line 128 of file KDReportsReport_p.h.
HeaderMap KDReports::ReportPrivate::m_footers |
Definition at line 130 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_headerBodySpacing |
Definition at line 127 of file KDReportsReport_p.h.
HeaderMap KDReports::ReportPrivate::m_headers |
Definition at line 129 of file KDReportsReport_p.h.
QHash<QString, QImage> KDReports::ReportPrivate::m_imageValues |
Definition at line 148 of file KDReportsReport_p.h.
KDReports::AbstractReportLayout* KDReports::ReportPrivate::m_layout |
Definition at line 153 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_layoutWidth |
Definition at line 117 of file KDReportsReport_p.h.
MainTable* KDReports::ReportPrivate::m_mainTable |
Definition at line 154 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_marginBottom |
Definition at line 125 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_marginLeft |
Definition at line 124 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_marginRight |
Definition at line 126 of file KDReportsReport_p.h.
qreal KDReports::ReportPrivate::m_marginTop |
Definition at line 123 of file KDReportsReport_p.h.
QPageLayout::Orientation KDReports::ReportPrivate::m_orientation |
Definition at line 120 of file KDReportsReport_p.h.
bool KDReports::ReportPrivate::m_pageContentSizeDirty |
Definition at line 138 of file KDReportsReport_p.h.
QPageSize KDReports::ReportPrivate::m_pageSize |
Definition at line 121 of file KDReportsReport_p.h.
|
mutable |
Definition at line 119 of file KDReportsReport_p.h.
bool KDReports::ReportPrivate::m_progressDialogEnabled = true |
Definition at line 139 of file KDReportsReport_p.h.
KDReports::Report::ReportMode KDReports::ReportPrivate::m_reportMode |
Definition at line 152 of file KDReportsReport_p.h.
QHash<QString, QString> KDReports::ReportPrivate::m_textValues |
Definition at line 147 of file KDReportsReport_p.h.
QColor KDReports::ReportPrivate::m_watermarkColor |
Definition at line 133 of file KDReportsReport_p.h.
QFont KDReports::ReportPrivate::m_watermarkFont |
Definition at line 134 of file KDReportsReport_p.h.
Report::WatermarkFunction KDReports::ReportPrivate::m_watermarkFunction |
Definition at line 136 of file KDReportsReport_p.h.
QImage KDReports::ReportPrivate::m_watermarkImage |
Definition at line 135 of file KDReportsReport_p.h.
int KDReports::ReportPrivate::m_watermarkRotation |
Definition at line 132 of file KDReportsReport_p.h.
QString KDReports::ReportPrivate::m_watermarkText |
Definition at line 131 of file KDReportsReport_p.h.
XmlElementHandler* KDReports::ReportPrivate::m_xmlElementHandler |
Definition at line 149 of file KDReportsReport_p.h.
KDReports::Report* KDReports::ReportPrivate::q |
Definition at line 155 of file KDReportsReport_p.h.