Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportRenderObjects.h
Show All 21 Lines | |||||
22 | #include <QList> | 22 | #include <QList> | ||
23 | #include <QPointF> | 23 | #include <QPointF> | ||
24 | #include <QSizeF> | 24 | #include <QSizeF> | ||
25 | #include <QFont> | 25 | #include <QFont> | ||
26 | #include <QImage> | 26 | #include <QImage> | ||
27 | #include <QPen> | 27 | #include <QPen> | ||
28 | #include <QBrush> | 28 | #include <QBrush> | ||
29 | #include <QPicture> | 29 | #include <QPicture> | ||
30 | #include <QPageLayout> | ||||
30 | 31 | | |||
31 | #include "KReportPageOptions.h" | | |||
32 | #include "KReportData.h" | 32 | #include "KReportData.h" | ||
33 | #include "KReportItemBase.h" | 33 | #include "KReportItemBase.h" | ||
34 | #include "KReportSectionData.h" | 34 | #include "KReportSectionData.h" | ||
35 | #include "KReportLineStyle.h" | 35 | #include "KReportLineStyle.h" | ||
36 | 36 | | |||
37 | class ORODocument; | 37 | class ORODocument; | ||
38 | class OROPage; | 38 | class OROPage; | ||
39 | class OROPrimitive; | 39 | class OROPrimitive; | ||
Show All 29 Lines | 56 | public: | |||
69 | void addPage(OROPage*); | 69 | void addPage(OROPage*); | ||
70 | 70 | | |||
71 | int sections() const { | 71 | int sections() const { | ||
72 | return m_sections.count(); | 72 | return m_sections.count(); | ||
73 | }; | 73 | }; | ||
74 | OROSection* section(int); | 74 | OROSection* section(int); | ||
75 | void addSection(OROSection*); | 75 | void addSection(OROSection*); | ||
76 | 76 | | |||
77 | void setPageOptions(const KReportPageOptions &); | 77 | void setPageLayout(const QPageLayout &); | ||
78 | KReportPageOptions pageOptions() const { | 78 | QPageLayout pageLayout() const { | ||
79 | return m_pageOptions; | 79 | return m_pageLayout; | ||
80 | }; | 80 | }; | ||
81 | 81 | | |||
82 | void notifyChange(int pageNo); | 82 | void notifyChange(int pageNo); | ||
83 | 83 | | |||
84 | protected: | 84 | protected: | ||
85 | QString m_title; | 85 | QString m_title; | ||
86 | QList<OROPage*> m_pages; | 86 | QList<OROPage*> m_pages; | ||
87 | QList<OROSection*> m_sections; | 87 | QList<OROSection*> m_sections; | ||
88 | KReportPageOptions m_pageOptions; | 88 | QPageLayout m_pageLayout; | ||
89 | 89 | | |||
90 | Q_SIGNALS: | 90 | Q_SIGNALS: | ||
91 | void updated(int pageNo); | 91 | void updated(int pageNo); | ||
92 | }; | 92 | }; | ||
93 | 93 | | |||
94 | // | 94 | // | ||
95 | // OROPage | 95 | // OROPage | ||
96 | // This object is a single page in a document and may contain zero or more | 96 | // This object is a single page in a document and may contain zero or more | ||
▲ Show 20 Lines • Show All 391 Lines • Show Last 20 Lines |