Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/odtframe/KoOdtFrameReportCheckBox.h
Show All 18 Lines | |||||
19 | 19 | | |||
20 | #ifndef KOODTFRAMEREPORTCHECKBOX_H | 20 | #ifndef KOODTFRAMEREPORTCHECKBOX_H | ||
21 | #define KOODTFRAMEREPORTCHECKBOX_H | 21 | #define KOODTFRAMEREPORTCHECKBOX_H | ||
22 | 22 | | |||
23 | #include "KoOdtFrameReportPrimitive.h" | 23 | #include "KoOdtFrameReportPrimitive.h" | ||
24 | 24 | | |||
25 | class KoGenStyles; | 25 | class KoGenStyles; | ||
26 | class KoXmlWriter; | 26 | class KoXmlWriter; | ||
27 | class OROCheck; | 27 | class OROCheckBox; | ||
28 | 28 | | |||
29 | class KoOdtFrameReportCheckBox : public KoOdtFrameReportPrimitive | 29 | class KoOdtFrameReportCheckBox : public KoOdtFrameReportPrimitive | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | explicit KoOdtFrameReportCheckBox(OROCheck *primitive); | 32 | explicit KoOdtFrameReportCheckBox(OROCheckBox *primitive); | ||
33 | virtual ~KoOdtFrameReportCheckBox(); | 33 | virtual ~KoOdtFrameReportCheckBox(); | ||
34 | 34 | | |||
35 | virtual void createStyle(KoGenStyles *coll); | 35 | virtual void createStyle(KoGenStyles *coll); | ||
36 | virtual void createBody(KoXmlWriter *bodyWriter) const; | 36 | virtual void createBody(KoXmlWriter *bodyWriter) const; | ||
37 | virtual bool saveData(KoStore *store, KoXmlWriter *manifestWriter) const; | 37 | virtual bool saveData(KoStore *store, KoXmlWriter *manifestWriter) const; | ||
38 | 38 | | |||
39 | OROCheck *checkBox() const; | 39 | OROCheckBox *checkBox() const; | ||
40 | 40 | | |||
41 | protected: | 41 | protected: | ||
42 | void frameStyle(KoGenStyles &coll); | 42 | void frameStyle(KoGenStyles &coll); | ||
43 | QString imageName() const; | 43 | QString imageName() const; | ||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | QString m_paragraphStyleName; | 46 | QString m_paragraphStyleName; | ||
47 | QString m_textStyleName; | 47 | QString m_textStyleName; | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | #endif // KOODTFRAMEREPORTCHECKBOX_H | 50 | #endif // KOODTFRAMEREPORTCHECKBOX_H |