diff options
Diffstat (limited to 'src/renderers/textstyleinstance.hpp')
| -rw-r--r-- | src/renderers/textstyleinstance.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/renderers/textstyleinstance.hpp b/src/renderers/textstyleinstance.hpp new file mode 100644 index 0000000..9a1b4bb --- /dev/null +++ b/src/renderers/textstyleinstance.hpp @@ -0,0 +1,22 @@ +#ifndef TEXTSTYLEINSTANCE_HPP +#define TEXTSTYLEINSTANCE_HPP + +#include <QTextCharFormat> + +#include "documentstyle.hpp" + +struct TextStyleInstance +{ + QTextCharFormat preformatted; + QTextCharFormat standard; + QTextCharFormat standard_link; + QTextCharFormat external_link; + QTextCharFormat cross_protocol_link; + QTextCharFormat standard_h1; + QTextCharFormat standard_h2; + QTextCharFormat standard_h3; + + explicit TextStyleInstance(DocumentStyle const & style); +}; + +#endif // TEXTSTYLEINSTANCE_HPP |
