From 0860a8ec32fd01b6fdea92e1e6a80de096e2e694 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Tue, 23 Jun 2020 00:35:41 +0200 Subject: Starts to implement new markdown rendering --- src/renderers/textstyleinstance.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/renderers/textstyleinstance.hpp (limited to 'src/renderers/textstyleinstance.hpp') 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 + +#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 -- cgit v1.2.3