KD Reports API Documentation  2.2
Public Member Functions | Public Attributes | List of all members
KDReports::ReportPrivate Class Reference

#include <KDReportsReport_p.h>

Public Member Functions

 ReportPrivate (const ReportPrivate &)=delete
 
 ReportPrivate (Report *report)
 
 ~ReportPrivate ()
 
ReportBuilderbuilder () 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
 
ReportPrivateoperator= (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::AbstractReportLayoutm_layout
 
qreal m_layoutWidth
 
MainTablem_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
 
XmlElementHandlerm_xmlElementHandler
 
KDReports::Reportq
 

Detailed Description

Definition at line 87 of file KDReportsReport_p.h.

Constructor & Destructor Documentation

◆ ReportPrivate() [1/2]

QT_END_NAMESPACE KDReports::ReportPrivate::ReportPrivate ( Report report)
explicit

Definition at line 42 of file KDReportsReport.cpp.

◆ ~ReportPrivate()

KDReports::ReportPrivate::~ReportPrivate ( )

Definition at line 80 of file KDReportsReport.cpp.

◆ ReportPrivate() [2/2]

KDReports::ReportPrivate::ReportPrivate ( const ReportPrivate )
delete

Member Function Documentation

◆ builder()

KDReports::ReportBuilder * KDReports::ReportPrivate::builder ( ) const

Definition at line 431 of file KDReportsReport.cpp.

References KDReports::Report::WordProcessing.

◆ debugLayoutToPdf()

void KDReports::ReportPrivate::debugLayoutToPdf ( const char *  fileName)

Definition at line 397 of file KDReportsReport.cpp.

◆ doPrint()

bool KDReports::ReportPrivate::doPrint ( QPrinter *  printer,
QWidget *  parent 
)

Definition at line 353 of file KDReportsReport.cpp.

◆ ensureLayouted()

void KDReports::ReportPrivate::ensureLayouted ( )

Definition at line 105 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ hasNonLayoutedTextDocument()

bool KDReports::ReportPrivate::hasNonLayoutedTextDocument ( ) const

◆ headerChanged()

void KDReports::ReportPrivate::headerChanged ( )

Definition at line 348 of file KDReportsReport.cpp.

◆ layoutAsOnePage()

QSizeF KDReports::ReportPrivate::layoutAsOnePage ( qreal  docWidth)

Definition at line 330 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ mainTextDocHeight()

qreal KDReports::ReportPrivate::mainTextDocHeight ( ) const

Definition at line 153 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ mainTextDocRect()

QRect KDReports::ReportPrivate::mainTextDocRect ( ) const

Definition at line 166 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ operator=()

ReportPrivate& KDReports::ReportPrivate::operator= ( const ReportPrivate )
delete

◆ paintPage()

void KDReports::ReportPrivate::paintPage ( int  pageNumber,
QPainter &  painter 
)

◆ paperSize()

QSizeF KDReports::ReportPrivate::paperSize ( ) const

Definition at line 91 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ rawMainTextDocHeight()

qreal KDReports::ReportPrivate::rawMainTextDocHeight ( ) const

Definition at line 130 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ setPaperSizeFromPrinter()

void KDReports::ReportPrivate::setPaperSizeFromPrinter ( QSizeF  paperSize)

Definition at line 185 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ skipHeadersFooters()

bool KDReports::ReportPrivate::skipHeadersFooters ( ) const

Definition at line 144 of file KDReportsReport.cpp.

◆ textDocumentWidth()

qreal KDReports::ReportPrivate::textDocumentWidth ( ) const

Definition at line 426 of file KDReportsReport.cpp.

References KDReports::mmToPixels().

◆ wantEndlessPrinting()

bool KDReports::ReportPrivate::wantEndlessPrinting ( ) const

Definition at line 86 of file KDReportsReport.cpp.

Member Data Documentation

◆ m_currentModel

const QAbstractItemModel* KDReports::ReportPrivate::m_currentModel

Definition at line 151 of file KDReportsReport_p.h.

◆ m_currentRow

int KDReports::ReportPrivate::m_currentRow

Definition at line 150 of file KDReportsReport_p.h.

◆ m_documentName

QString KDReports::ReportPrivate::m_documentName

Definition at line 122 of file KDReportsReport_p.h.

◆ m_endlessPrinterWidth

qreal KDReports::ReportPrivate::m_endlessPrinterWidth

Definition at line 118 of file KDReportsReport_p.h.

◆ m_firstPageNumber

int KDReports::ReportPrivate::m_firstPageNumber

Definition at line 137 of file KDReportsReport_p.h.

◆ m_footerBodySpacing

qreal KDReports::ReportPrivate::m_footerBodySpacing

Definition at line 128 of file KDReportsReport_p.h.

◆ m_footers

HeaderMap KDReports::ReportPrivate::m_footers

Definition at line 130 of file KDReportsReport_p.h.

◆ m_headerBodySpacing

qreal KDReports::ReportPrivate::m_headerBodySpacing

Definition at line 127 of file KDReportsReport_p.h.

◆ m_headers

HeaderMap KDReports::ReportPrivate::m_headers

Definition at line 129 of file KDReportsReport_p.h.

◆ m_imageValues

QHash<QString, QImage> KDReports::ReportPrivate::m_imageValues

Definition at line 148 of file KDReportsReport_p.h.

◆ m_layout

KDReports::AbstractReportLayout* KDReports::ReportPrivate::m_layout

Definition at line 153 of file KDReportsReport_p.h.

◆ m_layoutWidth

qreal KDReports::ReportPrivate::m_layoutWidth

Definition at line 117 of file KDReportsReport_p.h.

◆ m_mainTable

MainTable* KDReports::ReportPrivate::m_mainTable

Definition at line 154 of file KDReportsReport_p.h.

◆ m_marginBottom

qreal KDReports::ReportPrivate::m_marginBottom

Definition at line 125 of file KDReportsReport_p.h.

◆ m_marginLeft

qreal KDReports::ReportPrivate::m_marginLeft

Definition at line 124 of file KDReportsReport_p.h.

◆ m_marginRight

qreal KDReports::ReportPrivate::m_marginRight

Definition at line 126 of file KDReportsReport_p.h.

◆ m_marginTop

qreal KDReports::ReportPrivate::m_marginTop

Definition at line 123 of file KDReportsReport_p.h.

◆ m_orientation

QPageLayout::Orientation KDReports::ReportPrivate::m_orientation

Definition at line 120 of file KDReportsReport_p.h.

◆ m_pageContentSizeDirty

bool KDReports::ReportPrivate::m_pageContentSizeDirty

Definition at line 138 of file KDReportsReport_p.h.

◆ m_pageSize

QPageSize KDReports::ReportPrivate::m_pageSize

Definition at line 121 of file KDReportsReport_p.h.

◆ m_paperSize

QSizeF KDReports::ReportPrivate::m_paperSize
mutable

Definition at line 119 of file KDReportsReport_p.h.

◆ m_progressDialogEnabled

bool KDReports::ReportPrivate::m_progressDialogEnabled = true

Definition at line 139 of file KDReportsReport_p.h.

◆ m_reportMode

KDReports::Report::ReportMode KDReports::ReportPrivate::m_reportMode

Definition at line 152 of file KDReportsReport_p.h.

◆ m_textValues

QHash<QString, QString> KDReports::ReportPrivate::m_textValues

Definition at line 147 of file KDReportsReport_p.h.

◆ m_watermarkColor

QColor KDReports::ReportPrivate::m_watermarkColor

Definition at line 133 of file KDReportsReport_p.h.

◆ m_watermarkFont

QFont KDReports::ReportPrivate::m_watermarkFont

Definition at line 134 of file KDReportsReport_p.h.

◆ m_watermarkFunction

Report::WatermarkFunction KDReports::ReportPrivate::m_watermarkFunction

Definition at line 136 of file KDReportsReport_p.h.

◆ m_watermarkImage

QImage KDReports::ReportPrivate::m_watermarkImage

Definition at line 135 of file KDReportsReport_p.h.

◆ m_watermarkRotation

int KDReports::ReportPrivate::m_watermarkRotation

Definition at line 132 of file KDReportsReport_p.h.

◆ m_watermarkText

QString KDReports::ReportPrivate::m_watermarkText

Definition at line 131 of file KDReportsReport_p.h.

◆ m_xmlElementHandler

XmlElementHandler* KDReports::ReportPrivate::m_xmlElementHandler

Definition at line 149 of file KDReportsReport_p.h.

◆ q

KDReports::Report* KDReports::ReportPrivate::q

Definition at line 155 of file KDReportsReport_p.h.


The documentation for this class was generated from the following files:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated by doxygen 1.9.1