1 #ifndef EL__DOCUMENT_FORMAT_H
2 #define EL__DOCUMENT_FORMAT_H
4 #include "util/color.h"
6 struct document_options
;
10 enum text_style_format
{
18 /* AT_NO_ENTITIES means the parser has already expanded
19 * entities and numeric character references, so the put_chars
20 * function of the renderer must not do that again. */
24 struct text_style_color
{
30 enum text_style_format attr
;
31 struct text_style_color color
;
34 #define INIT_TEXT_STYLE(attr, fg, bg) { attr, {fg, bg}}
36 void get_screen_char_template(struct screen_char
*template_
, struct document_options
*options
, struct text_style style
);