KReport
KReportDocument.cpp
102 kreportDebug() << "Setting custom page size in document to " << KReportUnit::parseValue(elemThis.attribute(QLatin1String("report:custom-page-width"), QLatin1String("5.0cm"))) << KReportUnit::parseValue(elemThis.attribute(QLatin1String("report:custom-page-height"), QLatin1String("5.0cm"))) ;
103 QPageSize custom(QSize(KReportUnit::parseValue(elemThis.attribute(QLatin1String("report:custom-page-width"), QLatin1String("5.0cm"))) , KReportUnit::parseValue(elemThis.attribute(QLatin1String("report:custom-page-height"), QLatin1String("5.0cm"))) ), QString(), QPageSize::ExactMatch);
int count() const const
std::optional< QSqlQuery > query(const QString &queryStatement)
QString text() const const
QDomNode firstChild() const const
QDomElement toElement() const const
QString tagName() const const
QList< KReportItemBase * > objects() const
Definition: KReportDocument.cpp:208
ExactMatch
KReportSectionData is used to store the information about a specific report section.
Definition: KReportSectionData.h:44
QString nodeValue() const const
QDomNode item(int index) const const
Portrait
FullPageMode
static qreal parseValue(const QString &value, qreal defaultVal=0.0)
Parses common KReport and ODF values, like "10cm", "5mm" to pt.
Definition: KReportUnit.cpp:303
KReportDocument(const QDomElement &elemSource, QObject *parent=nullptr)
Definition: KReportDocument.cpp:70
KReportSectionData * section(KReportSectionData::Type type) const
Definition: KReportDocument.cpp:294
QDomNodeList childNodes() const const
QList< KReportSectionData * > sections() const
Definition: KReportDocument.cpp:253
QString nodeName() const const
Point
QString label(StandardShortcut id)
QString toLower() const const
KReportItemBase * object(const QString &) const
Definition: KReportDocument.cpp:241
const char * name(StandardAction id)
QString attribute(const QString &name, const QString &defValue) const const
Top level report document definition. A KReportDocment defines the design of a document,...
Definition: KReportDocument.h:41
bool isElement() const const
KREPORT_EXPORT QPageSize::PageSizeId pageSize(const QString &key)
Definition: KReportPageSize.cpp:114
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:10:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:10:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.