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

#include <KDReportsHeader_p.h>

Inheritance diagram for KDReports::HeaderReportBuilder:
KDReports::ReportBuilder

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 ()
 
TextDocumentDatacontentDocumentData ()
 
void copyStateFrom (const ReportBuilder &parentBuilder)
 
QTextDocument & currentDocument ()
 
TextDocumentDatacurrentDocumentData ()
 
int currentPosition ()
 
QTextCursor & cursor ()
 
QFont defaultFont () const
 
virtual void insertFragmentPublic (const QTextDocumentFragment &fragment)
 
Reportreport ()
 
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)
 

Detailed Description

Definition at line 49 of file KDReportsHeader_p.h.

Constructor & Destructor Documentation

◆ HeaderReportBuilder()

KDReports::HeaderReportBuilder::HeaderReportBuilder ( REPORTBUILDER_CTOR_ARGDEFS  )
inline

Definition at line 52 of file KDReportsHeader_p.h.

Member Function Documentation

◆ addBlockElement()

void KDReports::HeaderReportBuilder::addBlockElement ( const KDReports::Element element,
Qt::AlignmentFlag  horizontalAlignment,
const QColor &  background = QColor() 
)
inlineoverridevirtual

◆ addInlineElement()

void KDReports::HeaderReportBuilder::addInlineElement ( const KDReports::Element element)
inlineoverridevirtual

◆ addVerticalSpacing()

void KDReports::HeaderReportBuilder::addVerticalSpacing ( qreal  space)
inlineoverridevirtual

The documentation for this class was generated from the following file:

© 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