Mercurial > clickerconvert
comparison src/converter.h @ 23:927794e3cc52
Add HTML output and some pdf support
PDF does not look well as the CSS used for HTML is not supported.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 11 Apr 2016 11:00:40 +0200 |
parents | a10425e7ef98 |
children | e5c5ebfa4205 |
comparison
equal
deleted
inserted
replaced
22:e8320104979d | 23:927794e3cc52 |
---|---|
25 */ | 25 */ |
26 enum ConvertFormat { | 26 enum ConvertFormat { |
27 /*! XLSX (default). */ | 27 /*! XLSX (default). */ |
28 Format_XLSX, | 28 Format_XLSX, |
29 /*! PDF */ | 29 /*! PDF */ |
30 Format_PDF | 30 Format_PDF, |
31 /*! HTML */ | |
32 Format_HTML, | |
31 }; | 33 }; |
32 | 34 |
33 /** @brief Base class of Convert operations. | 35 /** @brief Base class of Convert operations. |
34 * | 36 * |
35 * Set up an instance of this using the ctor and according setters and | 37 * Set up an instance of this using the ctor and according setters and |
72 mAnswerChoiceFmt, | 74 mAnswerChoiceFmt, |
73 mAnswerTextFmt, | 75 mAnswerTextFmt, |
74 mFreeTextFmt, | 76 mFreeTextFmt, |
75 mChoiceTextFmt, | 77 mChoiceTextFmt, |
76 mChoiceVotesFmt; | 78 mChoiceVotesFmt; |
79 QString mTitleStyle, | |
80 mQuestionStyle, | |
81 mAnswerChoiceStyle, | |
82 mAnswerTextStyle, | |
83 mFreeTextStyle, | |
84 mChoiceTextStyle, | |
85 mChoiceVotesStyle; | |
77 }; | 86 }; |
78 | 87 |
79 #endif // CONVERTER_H | 88 #endif // CONVERTER_H |