Changeset View
Changeset View
Standalone View
Standalone View
libs/koreport/renderer/KoReportPreRenderer.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
46 | 46 | | |||
47 | void setSourceData(KoReportData*); | 47 | void setSourceData(KoReportData*); | ||
48 | void registerScriptObject(QObject*, const QString&); | 48 | void registerScriptObject(QObject*, const QString&); | ||
49 | 49 | | |||
50 | bool generateDocument(); | 50 | bool generateDocument(); | ||
51 | 51 | | |||
52 | ORODocument *document(); | 52 | ORODocument *document(); | ||
53 | 53 | | |||
54 | /** | | |||
55 | @brief Set the name of the report so that it can be used internally by the script engine | | |||
56 | */ | | |||
57 | void setName(const QString &); | | |||
58 | | ||||
59 | bool isValid() const; | 54 | bool isValid() const; | ||
60 | 55 | | |||
61 | const KoReportReportData *reportData() const; | 56 | const KoReportReportData *reportData() const; | ||
62 | 57 | | |||
63 | protected: | 58 | protected: | ||
64 | 59 | | |||
65 | private: | 60 | private: | ||
66 | KoReportPreRendererPrivate *const d; | 61 | KoReportPreRendererPrivate *const d; | ||
67 | bool setDom(const QDomElement &); | 62 | bool setDom(const QDomElement &); | ||
68 | }; | 63 | }; | ||
69 | 64 | | |||
70 | #endif // __KOREPORTPRERENDERER_H__ | 65 | #endif // __KOREPORTPRERENDERER_H__ |