KReport
18 #ifndef KREPORTRENDEROBJECTS_H
19 #define KREPORTRENDEROBJECTS_H
30 #include <QPageLayout>
32 #include "KReportDataSource.h"
33 #include "KReportItemBase.h"
34 #include "KReportSectionData.h"
35 #include "KReportLineStyle.h"
58 void setTitle(
const QString &title);
65 int pageCount()
const;
74 const OROPage* page(
int index)
const;
91 int pageIndex(
const OROPage* page)
const;
100 void removePage(
OROPage* page);
113 int sectionCount()
const;
152 void notifyChange(
int pageNo);
155 void updated(
int pageNo);
177 int pageNumber()
const;
179 int primitiveCount()
const;
184 void insertPrimitive(
OROPrimitive* primitive,
int index = -1);
206 void setBackgroundColor(
const QColor& color);
207 QColor backgroundColor()
const;
213 void setType(KReportSectionData::Type type);
214 KReportSectionData::Type type()
const;
216 int primitiveCount()
const;
243 void setPosition(
const QPointF &pos);
246 void setSize(
const QSizeF &s);
270 void setText(
const QString &text);
272 KReportTextStyleData textStyle()
const;
273 void setTextStyle(
const KReportTextStyleData&);
278 void setFont(
const QFont &font);
281 void setFlags(
int flags);
285 bool requiresPostProcessing()
const;
286 void setRequiresPostProcessing(
bool pp);
288 bool wordWrap()
const;
289 void setWordWrap(
bool ww);
291 bool canGrow()
const;
292 void setCanGrow(
bool grow);
314 void setEndPoint(
const QPointF &end);
337 void setImage(
const QImage &img);
339 bool isScaled()
const;
340 void setScaled(
bool scaled);
365 void setPicture(
const QPicture& pic);
386 void setRect(
const QRectF &rectangle);
389 void setPen(
const QPen &pen);
392 void setBrush(
const QBrush &brush);
411 void setRect(
const QRectF &rectangle);
414 void setPen(
const QPen &pen);
417 void setBrush(
const QBrush &brush);
442 void setCheckType(Type type);
443 Type checkType()
const;
445 void setValue(
bool val);
451 void setForegroundColor(
const QColor& fg);
452 QColor foregroundColor()
const;
460 #endif // __RENDEROBJECTS_H__
A text box primitive it defines a box region and text that will be rendered inside that region,...
The KReportLineStyle class represents line style.
Defines an image. An image is a bitmap.
Q_SCRIPTABLE Q_NOREPLY void start()
Represents a single page in a document and may contain zero or more OROPrimitive objects all of which...
Represents a single document containing one or more OROPage elements.
Defines a picture. A picture is different to an image, in that it is drawn using commands.
Represents a single a single row in a document and may contain zero or more OROPrimitives.
Represents the basic primitive with a position and type. Other primitives are subclasses with a defin...
Defines a line with a width/weight.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:08:54 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.