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

#include <KDReportsTextDocument_p.h>

Public Member Functions

 TextDocument ()
 
 ~TextDocument ()
 
QString asHtml () const
 
QList< KDReports::AutoTableElement * > autoTableElements ()
 
QTextDocument & contentDocument ()
 
TextDocumentDatacontentDocumentData ()
 
QFont defaultFont () const
 
void layoutWithTextWidth (qreal w)
 
void preciseDump ()
 
void regenerateAutoTableForModel (QAbstractItemModel *model)
 
void regenerateAutoTables ()
 
void scaleFontsBy (qreal factor)
 
void setPageSize (QSizeF size)
 
void updateTextValue (const QString &id, const QString &newValue)
 

Detailed Description

Definition at line 52 of file KDReportsTextDocument_p.h.

Constructor & Destructor Documentation

◆ TextDocument()

KDReports::TextDocument::TextDocument ( )
explicit

Definition at line 18 of file KDReportsTextDocument.cpp.

◆ ~TextDocument()

KDReports::TextDocument::~TextDocument ( )

Definition at line 22 of file KDReportsTextDocument.cpp.

Member Function Documentation

◆ asHtml()

QString KDReports::TextDocument::asHtml ( ) const

◆ autoTableElements()

QList<KDReports::AutoTableElement *> KDReports::TextDocument::autoTableElements ( )

◆ contentDocument()

QTextDocument & KDReports::TextDocument::contentDocument ( )

Definition at line 41 of file KDReportsTextDocument.cpp.

Referenced by KDReports::HeaderMap::height().

◆ contentDocumentData()

KDReports::TextDocumentData & KDReports::TextDocument::contentDocumentData ( )

Definition at line 36 of file KDReportsTextDocument.cpp.

◆ defaultFont()

QFont KDReports::TextDocument::defaultFont ( ) const

Definition at line 46 of file KDReportsTextDocument.cpp.

◆ layoutWithTextWidth()

void KDReports::TextDocument::layoutWithTextWidth ( qreal  w)

Definition at line 26 of file KDReportsTextDocument.cpp.

◆ preciseDump()

void KDReports::TextDocument::preciseDump ( )

Definition at line 68 of file KDReportsTextDocument.cpp.

◆ regenerateAutoTableForModel()

void KDReports::TextDocument::regenerateAutoTableForModel ( QAbstractItemModel *  model)

◆ regenerateAutoTables()

void KDReports::TextDocument::regenerateAutoTables ( )

◆ scaleFontsBy()

void KDReports::TextDocument::scaleFontsBy ( qreal  factor)

Definition at line 51 of file KDReportsTextDocument.cpp.

◆ setPageSize()

void KDReports::TextDocument::setPageSize ( QSizeF  size)

Definition at line 31 of file KDReportsTextDocument.cpp.

◆ updateTextValue()

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

Definition at line 56 of file KDReportsTextDocument.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