KD Reports API Documentation
2.2
|
#include <KDReportsHeader_p.h>
Public Member Functions | |
HeaderReportBuilder (REPORTBUILDER_CTOR_ARGDEFS) | |
void | addBlockElement (const KDReports::Element &element, Qt::AlignmentFlag horizontalAlignment, const QColor &background=QColor()) override |
void | addInlineElement (const KDReports::Element &element) override |
void | addVerticalSpacing (qreal space) override |
Public Member Functions inherited from KDReports::ReportBuilder | |
ReportBuilder (KDReports::TextDocumentData &contentDocument, const QTextCursor &cursor, Report *report) | |
virtual | ~ReportBuilder () |
virtual void | addBlockElementPublic (const Element &element, Qt::AlignmentFlag horizontalAlignment, const QColor &backgroundColor=QColor()) |
virtual void | addInlineElementPublic (const Element &element) |
virtual void | addPageBreakPublic () |
virtual void | addVariable (KDReports::VariableType variable) |
virtual void | addVariablePublic (KDReports::VariableType variable) |
virtual void | addVerticalSpacingPublic (qreal space) |
QTextCursor & | contentDocumentCursor () |
TextDocumentData & | contentDocumentData () |
void | copyStateFrom (const ReportBuilder &parentBuilder) |
QTextDocument & | currentDocument () |
TextDocumentData & | currentDocumentData () |
int | currentPosition () |
QTextCursor & | cursor () |
QFont | defaultFont () const |
virtual void | insertFragmentPublic (const QTextDocumentFragment &fragment) |
Report * | report () |
void | setDefaultFont (const QFont &font) |
void | setParagraphMargins (qreal left, qreal top, qreal right, qreal bottom) |
void | setTabPositions (const QList< QTextOption::Tab > &tabs) |
void | setupBlockFormat (QTextBlockFormat &blockFormat) const |
Additional Inherited Members | |
Static Public Member Functions inherited from KDReports::ReportBuilder | |
static QTextCharFormat::VerticalAlignment | toVerticalAlignment (Qt::Alignment alignment) |
Definition at line 49 of file KDReportsHeader_p.h.
|
inline |
Definition at line 52 of file KDReportsHeader_p.h.
|
inlineoverridevirtual |
Reimplemented from KDReports::ReportBuilder.
Definition at line 62 of file KDReportsHeader_p.h.
References KDReports::ReportBuilder::addBlockElement(), and KDReports::ReportBuilder::report().
|
inlineoverridevirtual |
Reimplemented from KDReports::ReportBuilder.
Definition at line 57 of file KDReportsHeader_p.h.
References KDReports::ReportBuilder::addInlineElement(), and KDReports::ReportBuilder::report().
|
inlineoverridevirtual |
Reimplemented from KDReports::ReportBuilder.
Definition at line 67 of file KDReportsHeader_p.h.
References KDReports::ReportBuilder::addVerticalSpacing(), and KDReports::ReportBuilder::report().