|
KD Reports API Documentation
2.0
|
Go to the documentation of this file.
17 #ifndef KDREPORTSTEXTDOCREPORTLAYOUT_H
18 #define KDREPORTSTEXTDOCREPORTLAYOUT_H
26 class TextDocReportLayout :
public AbstractReportLayout
48 void updateTextValue(
const QString &
id,
const QString &newValue)
override;
52 bool scaleTo(
int numPagesHorizontally,
int numPagesVertically)
override;
64 QString
anchorAt(
int pageNumber, QPoint pos)
override;
66 QString
toHtml()
const override;
76 TextDocument m_textDocument;
77 ReportBuilder m_builder;
82 #endif // KDREPORTSTEXTDOCREPORTLAYOUT_H
void ensureLayouted() override
Reimplemented for internal purposes. .
void setDefaultFont(const QFont &font) override
Reimplemented for internal purposes. .
int maximumNumberOfPagesForVerticalScaling() const override
Reimplemented for internal purposes. .
qreal idealWidth() override
Reimplemented for internal purposes. .
ReportBuilder * builder()
qreal layoutAsOnePage(qreal width) override
Reimplemented for internal purposes. .
QString toHtml() const override
Reimplemented for internal purposes. .
TextDocReportLayout(KDReports::Report *report)
QFont defaultFont() const override
Reimplemented for internal purposes. .
void finishHtmlExport() override
Reimplemented for internal purposes. .
int maximumNumberOfPagesForHorizontalScaling() const override
Reimplemented for internal purposes. .
int numberOfPages() override
Reimplemented for internal purposes. .
void setLayoutDirty() override
Reimplemented for internal purposes. .
void updateTextValue(const QString &id, const QString &newValue) override
Reimplemented for internal purposes. .
TextDocument & textDocument()
void setUserRequestedFontScalingFactor(qreal factor) override
Reimplemented for internal purposes. .
void setPageContentSize(QSizeF size) override
Reimplemented for internal purposes. .
QString anchorAt(int pageNumber, QPoint pos) override
Reimplemented for internal purposes. .
bool scaleTo(int numPagesHorizontally, int numPagesVertically) override
Reimplemented for internal purposes. .
qreal userRequestedFontScalingFactor() const override
Reimplemented for internal purposes. .
void setFixedRowHeight(qreal height) override
Reimplemented for internal purposes. .
void paintPageContent(int pageNumber, QPainter &painter) override
Reimplemented for internal purposes. .