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

#include <KDReportsSpreadsheetReportLayout_p.h>

Inheritance diagram for KDReports::SpreadsheetReportLayout:
KDReports::AbstractReportLayout

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 ()
 
AbstractReportLayoutoperator= (const AbstractReportLayout &other)=delete
 

Detailed Description

Definition at line 23 of file KDReportsSpreadsheetReportLayout_p.h.

Constructor & Destructor Documentation

◆ SpreadsheetReportLayout()

KDReports::SpreadsheetReportLayout::SpreadsheetReportLayout ( KDReports::Report report)
explicit

Definition at line 23 of file KDReportsSpreadsheetReportLayout.cpp.

Member Function Documentation

◆ anchorAt()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 596 of file KDReportsSpreadsheetReportLayout.cpp.

◆ defaultFont()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 48 of file KDReportsSpreadsheetReportLayout.cpp.

◆ ensureLayouted()

void KDReports::SpreadsheetReportLayout::ensureLayouted ( )
overridevirtual

◆ finishHtmlExport()

void KDReports::SpreadsheetReportLayout::finishHtmlExport ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 554 of file KDReportsSpreadsheetReportLayout.cpp.

◆ idealWidth()

qreal KDReports::SpreadsheetReportLayout::idealWidth ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ layoutAsOnePage()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 534 of file KDReportsSpreadsheetReportLayout.cpp.

◆ maximumNumberOfPagesForHorizontalScaling()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ maximumNumberOfPagesForVerticalScaling()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ numberOfPages()

int KDReports::SpreadsheetReportLayout::numberOfPages ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ paintPageContent()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 195 of file KDReportsSpreadsheetReportLayout.cpp.

References KDReports::AutoTableElement::DecorationAlignmentRole.

◆ scaleTo()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ setCellBorder()

void KDReports::SpreadsheetReportLayout::setCellBorder ( qreal  border,
const QBrush &  borderBrush 
)

Definition at line 655 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setCellPadding()

void KDReports::SpreadsheetReportLayout::setCellPadding ( qreal  padding)

◆ setDefaultFont()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 40 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setFixedRowHeight()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

◆ setHeaderBackground()

void KDReports::SpreadsheetReportLayout::setHeaderBackground ( const QBrush &  headerBackground)

◆ setHorizontalHeaderFont()

void KDReports::SpreadsheetReportLayout::setHorizontalHeaderFont ( const QFont &  font)

◆ setHorizontalHeaderVisible()

void KDReports::SpreadsheetReportLayout::setHorizontalHeaderVisible ( bool  visible)

◆ setIconSize()

void KDReports::SpreadsheetReportLayout::setIconSize ( QSize  iconSize)

Definition at line 650 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setLayoutDirty()

void KDReports::SpreadsheetReportLayout::setLayoutDirty ( )
overridevirtual

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 35 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setModel()

void KDReports::SpreadsheetReportLayout::setModel ( QAbstractItemModel *  model)

Definition at line 624 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setPageContentSize()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 335 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setTableBreakingPageOrder()

void KDReports::SpreadsheetReportLayout::setTableBreakingPageOrder ( KDReports::Report::TableBreakingPageOrder  order)

Definition at line 604 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setUserRequestedFontScalingFactor()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 583 of file KDReportsSpreadsheetReportLayout.cpp.

◆ setVerticalHeaderFont()

void KDReports::SpreadsheetReportLayout::setVerticalHeaderFont ( const QFont &  font)

◆ setVerticalHeaderVisible()

void KDReports::SpreadsheetReportLayout::setVerticalHeaderVisible ( bool  visible)

◆ tableBreakingPageOrder()

KDReports::Report::TableBreakingPageOrder KDReports::SpreadsheetReportLayout::tableBreakingPageOrder ( ) const
inline

Definition at line 75 of file KDReportsSpreadsheetReportLayout_p.h.

◆ toHtml()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 549 of file KDReportsSpreadsheetReportLayout.cpp.

◆ updateTextValue()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 527 of file KDReportsSpreadsheetReportLayout.cpp.

◆ userRequestedFontScalingFactor()

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

Reimplemented for internal purposes.
.

Implements KDReports::AbstractReportLayout.

Definition at line 591 of file KDReportsSpreadsheetReportLayout.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