KReport
KReportUtils.h
46 KREPORT_EXPORT bool attr(const QDomElement &el, const QString &attrName, bool defaultValue = false);
50 KREPORT_EXPORT qreal attr(const QDomElement &el, const QString &attrName, qreal defaultValue = 0.0);
52 KREPORT_EXPORT QColor attr(const QDomElement &el, const QString &attrName, const QColor &defaultValue = QColor());
56 KREPORT_EXPORT qreal attrPercent(const QDomElement& el, const QString &attrName, qreal defaultValue = 0.0);
66 KREPORT_EXPORT Qt::Alignment horizontalAlignment(const QString &str, Qt::Alignment defaultValue);
101 //! @return percent value for element @a name. If the element is missing, returns @a defaultPercentValue.
118 KREPORT_EXPORT void buildXMLTextStyle(QDomDocument *doc, QDomElement *entity, const KReportTextStyleData &ts);
121 KREPORT_EXPORT void buildXMLLineStyle(QDomDocument *doc, QDomElement *entity, const KReportLineStyle &ls);
127 * Sets value of property @a p if element @e e has attribute named report:X where X is the name of @a p.
146 KREPORT_EXPORT bool parseReportTextStyleData(const QDomElement & elemSource, KReportTextStyleData *ts);
149 KREPORT_EXPORT bool parseReportLineStyleData(const QDomElement & elemSource, KReportLineStyle *ls);
155 //! Like QPageSize::PageSizeId pageSizeId(const QString &key) but returns entire QPageSize object.
The KReportLineStyle class represents line style.
Definition KReportLineStyle.shared.h:27
KREPORT_EXPORT QPageSize::PageSizeId pageSize(const QString &key)
Definition KReportPageSize.cpp:114
PageSizeId
typedef Alignment
PenStyle
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.