comparison src/constants.h @ 76:1e6e7699f0b8

Add replacements.ini to configure text replacements
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 05 Oct 2016 14:23:23 +0200
parents d545e5cb2b72
children 9412d60c8ac1
comparison
equal deleted inserted replaced
75:92139cc60121 76:1e6e7699f0b8
73 73
74 /** 74 /**
75 * @brief The pattern used to match a free text answer. */ 75 * @brief The pattern used to match a free text answer. */
76 #define FREETXT_PATTERN "\"([^\"]*)\"?", QRegularExpression::MultilineOption 76 #define FREETXT_PATTERN "\"([^\"]*)\"?", QRegularExpression::MultilineOption
77 77
78 /**
79 * @brief the pattern to unsecape images. */
80 #define IMAGE_PATTERN "##(.*)##", QRegularExpression::MultilineOption
81
82
83 /**
84 * @brief the pattern to unsecape latex. */
85 #define LATEX_PATTERN "\\$\\$(.*)\\$\\$", QRegularExpression::MultilineOption
86
87 #define TITLE_ROW_HEIGHT 30 78 #define TITLE_ROW_HEIGHT 30
88 79
89 #define CHOICE_ROW_HEIGHT 30 80 #define CHOICE_ROW_HEIGHT 30
90 81
91 #define TEXT_ROW_HEIGHT 20 82 #define TEXT_ROW_HEIGHT 20
112 103
113 #define MAX_FILENAME_COUNT 10000 104 #define MAX_FILENAME_COUNT 10000
114 105
115 #define PRETTY_NAME "EduExportConverter" 106 #define PRETTY_NAME "EduExportConverter"
116 107
108 #define CONFIG_FILE_NAME "replacements.ini"
109
117 110
118 #endif // CONSTANTS_H 111 #endif // CONSTANTS_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)