Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDocument.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | |||||
76 | #ifdef KREPORT_SCRIPTING | 76 | #ifdef KREPORT_SCRIPTING | ||
77 | QString script() const; | 77 | QString script() const; | ||
78 | 78 | | |||
79 | QString interpreter() const; | 79 | QString interpreter() const; | ||
80 | #endif | 80 | #endif | ||
81 | 81 | | |||
82 | bool externalData() const; | 82 | bool externalData() const; | ||
83 | 83 | | |||
84 | KReportDetailSectionData* detail() const { | 84 | KReportDetailSectionData* detail() const; | ||
85 | return m_detailSection; | | |||
86 | } | | |||
87 | 85 | | |||
88 | void setName(const QString&n); | 86 | void setName(const QString&n); | ||
89 | QString name() const; | 87 | QString name() const; | ||
90 | 88 | | |||
91 | QString title() const; | 89 | QString title() const; | ||
92 | 90 | | |||
93 | QPageLayout pageLayout() const; | 91 | QPageLayout pageLayout() const; | ||
94 | 92 | | |||
95 | QString pageSize(); | 93 | QString pageSize(); | ||
96 | void setPageSize(const QString &size); | 94 | void setPageSize(const QString &size); | ||
97 | 95 | | |||
98 | protected: | | |||
99 | | ||||
100 | | ||||
101 | KReportSectionData * m_pageHeaderFirst; | | |||
102 | KReportSectionData * m_pageHeaderOdd; | | |||
103 | KReportSectionData * m_pageHeaderEven; | | |||
104 | KReportSectionData * m_pageHeaderLast; | | |||
105 | KReportSectionData * m_pageHeaderAny; | | |||
106 | | ||||
107 | KReportSectionData * m_reportHeader; | | |||
108 | KReportSectionData * m_reportFooter; | | |||
109 | | ||||
110 | KReportSectionData * m_pageFooterFirst; | | |||
111 | KReportSectionData * m_pageFooterOdd; | | |||
112 | KReportSectionData * m_pageFooterEven; | | |||
113 | KReportSectionData * m_pageFooterLast; | | |||
114 | KReportSectionData * m_pageFooterAny; | | |||
115 | | ||||
116 | KReportDetailSectionData* m_detailSection; | | |||
117 | | ||||
118 | private: | 96 | private: | ||
119 | void init(); | | |||
120 | | ||||
121 | friend class KReportPreRendererPrivate; | 97 | friend class KReportPreRendererPrivate; | ||
122 | friend class KReportPreRenderer; | 98 | friend class KReportPreRenderer; | ||
123 | #ifdef KREPORT_SCRIPTING | 99 | #ifdef KREPORT_SCRIPTING | ||
124 | friend class KReportScriptHandler; | 100 | friend class KReportScriptHandler; | ||
125 | friend class Scripting::Report; | 101 | friend class Scripting::Report; | ||
126 | #endif | 102 | #endif | ||
127 | 103 | | |||
128 | //! TODO add support for labels | 104 | //! TODO add support for labels | ||
129 | QString labelType() const; | 105 | QString labelType() const; | ||
130 | void setLabelType(const QString &label); | 106 | void setLabelType(const QString &label); | ||
131 | 107 | | |||
132 | class Private; | 108 | class Private; | ||
133 | Private * const d; | 109 | Private * const d; | ||
134 | }; | 110 | }; | ||
135 | 111 | | |||
136 | #endif | 112 | #endif |