KReport
18#ifndef KREPORTITEMTEXT_H
19#define KREPORTITEMTEXT_H
21#include "KReportItemBase.h"
39 explicit KReportItemText(
const QDomNode & element);
40 ~KReportItemText()
override;
42 QString typeName()
const override;
43 int renderSimpleData(OROPage *page, OROSection *section,
const QPointF &offset,
const QVariant &data, KReportScriptHandler *script)
override;
46 KProperty* m_horizontalAlignment;
47 KProperty* m_verticalAlignment;
49 KProperty* m_foregroundColor;
50 KProperty* m_backgroundColor;
51 KProperty* m_backgroundOpacity;
52 KProperty* m_lineColor;
53 KProperty* m_lineWeight;
54 KProperty* m_lineStyle;
55 KProperty* m_itemValue;
58 qreal m_bottomPadding;
62 return m_font->value().value<QFont>();
65 void setBottomPadding(qreal bp);
66 qreal bottomPadding()
const;
69 KReportTextStyleData textStyle()
const;
70 KReportLineStyle lineStyle()
const;
73 void createProperties()
override;
75 friend class Scripting::Text;
Base class for items that are drawn syncronously.
Text item script interface.
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.