KReport
KReportDesign.cpp
50KReportDesignReadingStatus::KReportDesignReadingStatus(const KReportDesignReadingStatus& other) : d(new Private)
55KReportDesignReadingStatus& KReportDesignReadingStatus::operator=(const KReportDesignReadingStatus &other)
The KReportDesignReadStatus represents status of reading a report design in .kreport format.
Definition KReportDesign.h:36
QString errorDetails() const
Detailed error message, partially translated.
Definition KReportDesign.cpp:78
int errorLineNumber() const
Line number (counting from 0) in which the error occured. -1 if there is no error.
Definition KReportDesign.cpp:89
QString errorMessage() const
Error message suitable for displaying to the user, translated.
Definition KReportDesign.cpp:83
int errorColumnNumber() const
Column number (counting from 0) in which the error occured. -1 if there is no error.
Definition KReportDesign.cpp:73
void setPageLayout(const QPageLayout &pageLayout)
Sets the page layout to pageLayout.
Definition KReportDesign.cpp:186
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 toString(int indent=1) const
Converts the report document back to its textual representation.
Definition KReportDesign.cpp:164
static QPageLayout defaultPageLayout()
Definition KReportDesign.cpp:240
void addSection(const KReportSection §ion)
Add section section. Previous section of the same type is removed from this design.
Definition KReportDesign.cpp:227
void setTitle(const QString &title)
Sets title for this design to title.
Definition KReportDesign.cpp:181
KReportSection section(KReportSection::Type type) const
Definition KReportDesign.cpp:215
bool hasSection(KReportSection::Type type) const
Definition KReportDesign.cpp:206
KReportElement createElement(const QString &typeName, QString *errorMessage)
Creates and returns report element of type typeName On success errorMessage is cleared,...
Definition KReportDesign.cpp:192
bool setContent(const QString &text, KReportDesignReadingStatus *status=nullptr)
Reads the XML document in .kreport format from the string text.
Definition KReportDesign.cpp:140
The KReportElement class represents a functional visual element of a report design.
Definition KReportElement.shared.h:32
An interface for plugins delivering KReport elements.
Definition KReportPluginInterface.h:46
The KReportSection class represents a section of a report design.
Definition KReportSection.shared.h:32
Q_SCRIPTABLE CaptureState status()
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
QDebug & nospace()
QDebug & space()
ParseResult setContent(QAnyStringView text, ParseOptions options)
Point
QPageSize pageSize() const const
void setPageSize(const QPageSize &pageSize, const QMarginsF &minMargins)
void setUnits(Unit units)
bool isValid() const const
QPrinterInfo defaultPrinter()
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.