KReport
18#ifndef KREPORTITEMFIELD_H
19#define KREPORTITEMFIELD_H
21#include "KReportItemBase.h"
37 explicit KReportItemField(
const QDomNode & element);
38 ~KReportItemField()
override;
40 QString typeName()
const override;
41 int renderSimpleData(OROPage *page, OROSection *section,
const QPointF &offset,
const QVariant &data, KReportScriptHandler *script)
override;
44 KProperty * m_horizontalAlignment;
45 KProperty * m_verticalAlignment;
51 KProperty * m_foregroundColor;
52 KProperty * m_backgroundColor;
53 KProperty* m_backgroundOpacity;
54 KProperty* m_lineColor;
55 KProperty* m_lineWeight;
56 KProperty* m_lineStyle;
57 KProperty* m_wordWrap;
59 KProperty* m_itemValue;
64 QStringList fieldNames(
const QString &);
66 KReportLineStyle lineStyle()
const;
67 KReportTextStyleData textStyle()
const;
69 int textFlags()
const;
72 return m_font->value().value<QFont>();
76 void createProperties()
override;
78 friend class Scripting::Field;
Base class for items that are drawn syncronously.
Field item script interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.