KD Reports API Documentation  2.0
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 55 of file KDReportsTextDocument_p.h.

Constructor & Destructor Documentation

◆ TextDocument()

KDReports::TextDocument::TextDocument ( )
explicit

Definition at line 24 of file KDReportsTextDocument.cpp.

◆ ~TextDocument()

KDReports::TextDocument::~TextDocument ( )

Definition at line 26 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 43 of file KDReportsTextDocument.cpp.

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

◆ contentDocumentData()

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

Definition at line 38 of file KDReportsTextDocument.cpp.

◆ defaultFont()

QFont KDReports::TextDocument::defaultFont ( ) const

Definition at line 48 of file KDReportsTextDocument.cpp.

◆ layoutWithTextWidth()

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

Definition at line 28 of file KDReportsTextDocument.cpp.

◆ preciseDump()

void KDReports::TextDocument::preciseDump ( )

Definition at line 70 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 53 of file KDReportsTextDocument.cpp.

◆ setPageSize()

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

Definition at line 33 of file KDReportsTextDocument.cpp.

◆ updateTextValue()

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

Definition at line 58 of file KDReportsTextDocument.cpp.


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

© 2007-2021 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 on Sat Jan 8 2022 02:38:32 for KD Reports API Documentation by doxygen 1.8.17