KReport
KReportDesign.cpp
50 KReportDesignReadingStatus::KReportDesignReadingStatus(const KReportDesignReadingStatus& other) : d(new Private)
55 KReportDesignReadingStatus& KReportDesignReadingStatus::operator=(const KReportDesignReadingStatus &other)
QString toString(int indent=1) const
Converts the report document back to its textual representation.
Definition: KReportDesign.cpp:164
The KReportSection class represents a section of a report design.
Definition: KReportSection.shared.h:31
QDebug & nospace()
bool hasSection(KReportSection::Type type) const
Definition: KReportDesign.cpp:206
QDebug & space()
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
bool setContent(const QByteArray &data, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn)
void addSection(const KReportSection §ion)
Add section section. Previous section of the same type is removed from this design.
Definition: KReportDesign.cpp:227
The KReportDesignReadStatus represents status of reading a report design in .kreport format.
Definition: KReportDesign.h:35
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
QPrinterInfo defaultPrinter()
void setPageLayout(const QPageLayout &pageLayout)
Sets the page layout to pageLayout.
Definition: KReportDesign.cpp:186
void setTitle(const QString &title)
Sets title for this design to title.
Definition: KReportDesign.cpp:181
QString errorMessage() const
Error message suitable for displaying to the user, translated.
Definition: KReportDesign.cpp:83
bool setContent(const QString &text, KReportDesignReadingStatus *status=nullptr)
Reads the XML document in .kreport format from the string text.
Definition: KReportDesign.cpp:140
Q_SCRIPTABLE CaptureState status()
Point
KReportSection section(KReportSection::Type type) const
Definition: KReportDesign.cpp:215
static void setDefaultPageLayout(const QPageLayout &pageLayout)
Sets default page layout to pageLayout This information is used when a new report design is created.
Definition: KReportDesign.cpp:255
QString errorDetails() const
Detailed error message, partially translated.
Definition: KReportDesign.cpp:78
void setUnits(QPageLayout::Unit units)
static QPageLayout defaultPageLayout()
Definition: KReportDesign.cpp:240
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString fromLatin1(const char *str, int size)
int errorColumnNumber() const
Column number (counting from 0) in which the error occured. -1 if there is no error.
Definition: KReportDesign.cpp:73
int errorLineNumber() const
Line number (counting from 0) in which the error occured. -1 if there is no error.
Definition: KReportDesign.cpp:89
The KReportElement class represents a functional visual element of a report design.
Definition: KReportElement.shared.h:31
QPageSize pageSize() const const
bool isValid() const const
void setPageSize(const QPageSize &pageSize, const QMarginsF &minMargins)
KReportElement createElement(const QString &typeName, QString *errorMessage)
Creates and returns report element of type typeName On success errorMessage is cleared,...
Definition: KReportDesign.cpp:192
An interface for plugins delivering KReport elements.
Definition: KReportPluginInterface.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 04:07:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 04:07:48 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.