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

#include <KDReportsTextDocReportLayout_p.h>

Inheritance diagram for KDReports::TextDocReportLayout:
KDReports::AbstractReportLayout

Public Member Functions

 TextDocReportLayout (KDReports::Report *report)
 
QString anchorAt (int pageNumber, QPoint pos) override
 Reimplemented for internal purposes.
. More...
 
ReportBuilderbuilder ()
 
QFont defaultFont () const override
 Reimplemented for internal purposes.
. More...
 
void ensureLayouted () override
 Reimplemented for internal purposes.
. More...
 
void finishHtmlExport () override
 Reimplemented for internal purposes.
. More...
 
qreal idealWidth () override
 Reimplemented for internal purposes.
. More...
 
qreal layoutAsOnePage (qreal width) override
 Reimplemented for internal purposes.
. More...
 
int maximumNumberOfPagesForHorizontalScaling () const override
 Reimplemented for internal purposes.
. More...
 
int maximumNumberOfPagesForVerticalScaling () const override
 Reimplemented for internal purposes.
. More...
 
int numberOfPages () override
 Reimplemented for internal purposes.
. More...
 
void paintPageContent (int pageNumber, QPainter &painter) override
 Reimplemented for internal purposes.
. More...
 
bool scaleTo (int numPagesHorizontally, int numPagesVertically) override
 Reimplemented for internal purposes.
. More...
 
void setDefaultFont (const QFont &font) override
 Reimplemented for internal purposes.
. More...
 
void setFixedRowHeight (qreal height) override
 Reimplemented for internal purposes.
. More...
 
void setLayoutDirty () override
 Reimplemented for internal purposes.
. More...
 
void setPageContentSize (QSizeF size) override
 Reimplemented for internal purposes.
. More...
 
void setUserRequestedFontScalingFactor (qreal factor) override
 Reimplemented for internal purposes.
. More...
 
TextDocumenttextDocument ()
 
QString toHtml () const override
 Reimplemented for internal purposes.
. More...
 
void updateTextValue (const QString &id, const QString &newValue) override
 Reimplemented for internal purposes.
. More...
 
qreal userRequestedFontScalingFactor () const override
 Reimplemented for internal purposes.
. More...
 
- Public Member Functions inherited from KDReports::AbstractReportLayout
 AbstractReportLayout ()
 
 AbstractReportLayout (const AbstractReportLayout &other)=delete
 
virtual ~AbstractReportLayout ()
 
AbstractReportLayoutoperator= (const AbstractReportLayout &other)=delete
 

Detailed Description

Definition at line 20 of file KDReportsTextDocReportLayout_p.h.

Constructor & Destructor Documentation

◆ TextDocReportLayout()

KDReports::TextDocReportLayout::TextDocReportLayout ( KDReports::Report report)
explicit

Definition at line 17 of file KDReportsTextDocReportLayout.cpp.

Member Function Documentation

◆ anchorAt()

QString KDReports::TextDocReportLayout::anchorAt ( int  pageNumber,
QPoint  pos 
)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 167 of file KDReportsTextDocReportLayout.cpp.

◆ builder()

ReportBuilder* KDReports::TextDocReportLayout::builder ( )
inline

Definition at line 69 of file KDReportsTextDocReportLayout_p.h.

◆ defaultFont()

QFont KDReports::TextDocReportLayout::defaultFont ( ) const
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 114 of file KDReportsTextDocReportLayout.cpp.

◆ ensureLayouted()

void KDReports::TextDocReportLayout::ensureLayouted ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 56 of file KDReportsTextDocReportLayout.cpp.

◆ finishHtmlExport()

void KDReports::TextDocReportLayout::finishHtmlExport ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 103 of file KDReportsTextDocReportLayout.cpp.

◆ idealWidth()

qreal KDReports::TextDocReportLayout::idealWidth ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ layoutAsOnePage()

qreal KDReports::TextDocReportLayout::layoutAsOnePage ( qreal  width)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 65 of file KDReportsTextDocReportLayout.cpp.

◆ maximumNumberOfPagesForHorizontalScaling()

int KDReports::TextDocReportLayout::maximumNumberOfPagesForHorizontalScaling ( ) const
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ maximumNumberOfPagesForVerticalScaling()

int KDReports::TextDocReportLayout::maximumNumberOfPagesForVerticalScaling ( ) const
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ numberOfPages()

int KDReports::TextDocReportLayout::numberOfPages ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ paintPageContent()

void KDReports::TextDocReportLayout::paintPageContent ( int  pageNumber,
QPainter &  painter 
)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 28 of file KDReportsTextDocReportLayout.cpp.

◆ scaleTo()

bool KDReports::TextDocReportLayout::scaleTo ( int  numPagesHorizontally,
int  numPagesVertically 
)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ setDefaultFont()

void KDReports::TextDocReportLayout::setDefaultFont ( const QFont &  font)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 108 of file KDReportsTextDocReportLayout.cpp.

◆ setFixedRowHeight()

void KDReports::TextDocReportLayout::setFixedRowHeight ( qreal  height)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ setLayoutDirty()

void KDReports::TextDocReportLayout::setLayoutDirty ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 24 of file KDReportsTextDocReportLayout.cpp.

◆ setPageContentSize()

void KDReports::TextDocReportLayout::setPageContentSize ( QSizeF  size)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 51 of file KDReportsTextDocReportLayout.cpp.

◆ setUserRequestedFontScalingFactor()

void KDReports::TextDocReportLayout::setUserRequestedFontScalingFactor ( qreal  factor)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 156 of file KDReportsTextDocReportLayout.cpp.

◆ textDocument()

TextDocument& KDReports::TextDocReportLayout::textDocument ( )
inline

Definition at line 64 of file KDReportsTextDocReportLayout_p.h.

◆ toHtml()

QString KDReports::TextDocReportLayout::toHtml ( ) const
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 60 of file KDReportsTextDocReportLayout.cpp.

◆ updateTextValue()

void KDReports::TextDocReportLayout::updateTextValue ( const QString &  id,
const QString &  newValue 
)
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 119 of file KDReportsTextDocReportLayout.cpp.

◆ userRequestedFontScalingFactor()

qreal KDReports::TextDocReportLayout::userRequestedFontScalingFactor ( ) const
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 162 of file KDReportsTextDocReportLayout.cpp.


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