KD Reports API Documentation
2.2
|
#include <KDReportsSpreadsheetReportLayout_p.h>
Public Member Functions | |
SpreadsheetReportLayout (KDReports::Report *report) | |
QString | anchorAt (int pageNumber, QPoint pos) override |
Reimplemented for internal purposes. . More... | |
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 | setCellBorder (qreal border, const QBrush &borderBrush) |
void | setCellPadding (qreal padding) |
void | setDefaultFont (const QFont &font) override |
Reimplemented for internal purposes. . More... | |
void | setFixedRowHeight (qreal height) override |
Reimplemented for internal purposes. . More... | |
void | setHeaderBackground (const QBrush &headerBackground) |
void | setHorizontalHeaderFont (const QFont &font) |
void | setHorizontalHeaderVisible (bool visible) |
void | setIconSize (QSize iconSize) |
void | setLayoutDirty () override |
Reimplemented for internal purposes. . More... | |
void | setModel (QAbstractItemModel *model) |
void | setPageContentSize (QSizeF size) override |
Reimplemented for internal purposes. . More... | |
void | setTableBreakingPageOrder (KDReports::Report::TableBreakingPageOrder order) |
void | setUserRequestedFontScalingFactor (qreal factor) override |
Reimplemented for internal purposes. . More... | |
void | setVerticalHeaderFont (const QFont &font) |
void | setVerticalHeaderVisible (bool visible) |
KDReports::Report::TableBreakingPageOrder | tableBreakingPageOrder () const |
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 () |
AbstractReportLayout & | operator= (const AbstractReportLayout &other)=delete |
Definition at line 23 of file KDReportsSpreadsheetReportLayout_p.h.
|
explicit |
Definition at line 23 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 596 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 48 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 344 of file KDReportsSpreadsheetReportLayout.cpp.
References KDReports::TableBreakingLogic::columnsPerPage(), KDReports::Report::RightThenDown, KDReports::TableBreakingLogic::setColumnWidths(), KDReports::TableBreakingLogic::setPageCount(), and KDReports::TableBreakingLogic::widthPerPage().
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 554 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 534 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 195 of file KDReportsSpreadsheetReportLayout.cpp.
References KDReports::AutoTableElement::DecorationAlignmentRole.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
void KDReports::SpreadsheetReportLayout::setCellBorder | ( | qreal | border, |
const QBrush & | borderBrush | ||
) |
Definition at line 655 of file KDReportsSpreadsheetReportLayout.cpp.
void KDReports::SpreadsheetReportLayout::setCellPadding | ( | qreal | padding | ) |
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 40 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
void KDReports::SpreadsheetReportLayout::setHeaderBackground | ( | const QBrush & | headerBackground | ) |
void KDReports::SpreadsheetReportLayout::setHorizontalHeaderFont | ( | const QFont & | font | ) |
void KDReports::SpreadsheetReportLayout::setHorizontalHeaderVisible | ( | bool | visible | ) |
void KDReports::SpreadsheetReportLayout::setIconSize | ( | QSize | iconSize | ) |
Definition at line 650 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 35 of file KDReportsSpreadsheetReportLayout.cpp.
void KDReports::SpreadsheetReportLayout::setModel | ( | QAbstractItemModel * | model | ) |
Definition at line 624 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 335 of file KDReportsSpreadsheetReportLayout.cpp.
void KDReports::SpreadsheetReportLayout::setTableBreakingPageOrder | ( | KDReports::Report::TableBreakingPageOrder | order | ) |
Definition at line 604 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 583 of file KDReportsSpreadsheetReportLayout.cpp.
void KDReports::SpreadsheetReportLayout::setVerticalHeaderFont | ( | const QFont & | font | ) |
void KDReports::SpreadsheetReportLayout::setVerticalHeaderVisible | ( | bool | visible | ) |
|
inline |
Definition at line 75 of file KDReportsSpreadsheetReportLayout_p.h.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 549 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 527 of file KDReportsSpreadsheetReportLayout.cpp.
|
overridevirtual |
Reimplemented for internal purposes.
.
Implements KDReports::AbstractReportLayout.
Definition at line 591 of file KDReportsSpreadsheetReportLayout.cpp.