KD Reports API Documentation
2.0
|
#include <KDReportsReportBuilder_p.h>
Public Member Functions | |
ReportBuilder (KDReports::TextDocumentData &contentDocument, const QTextCursor &cursor, Report *report) | |
virtual | ~ReportBuilder () |
virtual void | addBlockElement (const Element &element, Qt::AlignmentFlag horizontalAlignment, const QColor &backgroundColor=QColor()) |
virtual void | addBlockElementPublic (const Element &element, Qt::AlignmentFlag horizontalAlignment, const QColor &backgroundColor=QColor()) |
virtual void | addInlineElement (const Element &element) |
virtual void | addInlineElementPublic (const Element &element) |
virtual void | addPageBreakPublic () |
virtual void | addVariable (KDReports::VariableType variable) |
virtual void | addVariablePublic (KDReports::VariableType variable) |
virtual void | addVerticalSpacing (qreal space) |
virtual void | addVerticalSpacingPublic (qreal space) |
QTextCursor & | contentDocumentCursor () |
TextDocumentData & | contentDocumentData () |
void | copyStateFrom (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) |
Definition at line 41 of file KDReportsReportBuilder_p.h.
KDReports::ReportBuilder::ReportBuilder | ( | KDReports::TextDocumentData & | contentDocument, |
const QTextCursor & | cursor, | ||
Report * | report | ||
) |
|
inlinevirtual |
Definition at line 46 of file KDReportsReportBuilder_p.h.
|
virtual |
Reimplemented in KDReports::HeaderReportBuilder.
Definition at line 47 of file KDReportsReportBuilder.cpp.
References KDReports::Element::build().
Referenced by KDReports::Cell::build(), and KDReports::Frame::build().
|
virtual |
|
virtual |
Reimplemented in KDReports::HeaderReportBuilder.
Definition at line 34 of file KDReportsReportBuilder.cpp.
References KDReports::Element::build().
Referenced by KDReports::Cell::build(), and KDReports::Frame::build().
|
virtual |
|
virtual |
Definition at line 153 of file KDReportsReportBuilder.cpp.
|
virtual |
Definition at line 87 of file KDReportsReportBuilder.cpp.
References KDReports::TextElement::build(), KDReports::PageCount, KDReports::setVariableMarker(), and KDReports::variableValue().
Referenced by KDReports::Cell::build(), and KDReports::Frame::build().
|
virtual |
|
virtual |
Reimplemented in KDReports::HeaderReportBuilder.
Definition at line 111 of file KDReportsReportBuilder.cpp.
References KDReports::mmToPixels().
|
virtual |
|
inline |
Definition at line 81 of file KDReportsReportBuilder_p.h.
|
inline |
Definition at line 80 of file KDReportsReportBuilder_p.h.
void KDReports::ReportBuilder::copyStateFrom | ( | ReportBuilder & | parentBuilder | ) |
Definition at line 178 of file KDReportsReportBuilder.cpp.
Referenced by KDReports::TableElement::build(), and KDReports::Frame::build().
|
inline |
Definition at line 71 of file KDReportsReportBuilder_p.h.
Referenced by KDReports::AutoTableElement::build(), and KDReports::ImageElement::build().
|
inline |
Definition at line 69 of file KDReportsReportBuilder_p.h.
Referenced by KDReports::HtmlElement::build(), KDReports::TableElement::build(), KDReports::Frame::build(), KDReports::TextElement::build(), KDReports::AutoTableElement::build(), and KDReports::ImageElement::build().
int KDReports::ReportBuilder::currentPosition | ( | ) |
Definition at line 214 of file KDReportsReportBuilder.cpp.
|
inline |
Definition at line 48 of file KDReportsReportBuilder_p.h.
References KDReports::TextDocumentData::Append.
Referenced by KDReports::HLineElement::build(), KDReports::HtmlElement::build(), KDReports::TableElement::build(), KDReports::Frame::build(), KDReports::TextElement::build(), KDReports::ChartElement::build(), KDReports::AutoTableElement::build(), and KDReports::ImageElement::build().
|
inline |
Definition at line 77 of file KDReportsReportBuilder_p.h.
|
virtual |
Definition at line 160 of file KDReportsReportBuilder.cpp.
|
inline |
Definition at line 53 of file KDReportsReportBuilder_p.h.
Referenced by KDReports::TableElement::build(), KDReports::Frame::build(), and KDReports::ImageElement::build().
|
inline |
Definition at line 75 of file KDReportsReportBuilder_p.h.
Referenced by KDReports::TableElement::build().
void KDReports::ReportBuilder::setParagraphMargins | ( | qreal | left, |
qreal | top, | ||
qreal | right, | ||
qreal | bottom | ||
) |
void KDReports::ReportBuilder::setTabPositions | ( | const QList< QTextOption::Tab > & | tabs | ) |
Definition at line 165 of file KDReportsReportBuilder.cpp.
References KDReports::mmToPixels().
void KDReports::ReportBuilder::setupBlockFormat | ( | QTextBlockFormat & | blockFormat | ) |
Definition at line 205 of file KDReportsReportBuilder.cpp.