#ifndef TEXTSTYLEINSTANCE_HPP #define TEXTSTYLEINSTANCE_HPP #include #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; QTextCharFormat blockquote; QTextBlockFormat standard_format; QTextBlockFormat preformatted_format; QTextBlockFormat blockquote_format; QTextBlockFormat heading_format; QTextBlockFormat link_format; QTextListFormat list_format; QTextTableFormat blockquote_tableformat; explicit TextStyleInstance(DocumentStyle const & style); }; #endif // TEXTSTYLEINSTANCE_HPP