diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-23 00:35:41 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-23 00:35:41 +0200 |
| commit | 0860a8ec32fd01b6fdea92e1e6a80de096e2e694 (patch) | |
| tree | b858ca1d88bad6050f51d9a413b48f74b1a21545 /src/renderers/textstyleinstance.hpp | |
| parent | 75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (diff) | |
| download | kristall-0860a8ec32fd01b6fdea92e1e6a80de096e2e694.tar.gz | |
Starts to implement new markdown rendering
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 |
