… | |
… | |
85 | typedef enum psiconv_border_kind |
85 | typedef enum psiconv_border_kind |
86 | { psiconv_border_none, |
86 | { psiconv_border_none, |
87 | psiconv_border_solid, |
87 | psiconv_border_solid, |
88 | psiconv_border_double, |
88 | psiconv_border_double, |
89 | psiconv_border_dotted, |
89 | psiconv_border_dotted, |
90 | psiconv_border_striped, |
90 | psiconv_border_dashed, |
91 | psiconv_border_dotstripe, |
91 | psiconv_border_dotdashed, |
92 | psiconv_border_dotdotstripe |
92 | psiconv_border_dotdotdashed |
93 | } psiconv_border_kind_t; |
93 | } psiconv_border_kind_t; |
94 | |
94 | |
95 | /* Colors. |
95 | /* Colors. |
96 | black: 0x00 0x00 0x00 |
96 | black: 0x00 0x00 0x00 |
97 | white: 0xff 0xff 0xff */ |
97 | white: 0xff 0xff 0xff */ |
… | |
… | |
154 | psiconv_size_t font_size; |
154 | psiconv_size_t font_size; |
155 | psiconv_bool_t italic; |
155 | psiconv_bool_t italic; |
156 | psiconv_bool_t bold; |
156 | psiconv_bool_t bold; |
157 | psiconv_super_sub_t super_sub; |
157 | psiconv_super_sub_t super_sub; |
158 | psiconv_bool_t underline; |
158 | psiconv_bool_t underline; |
159 | psiconv_bool_t strike_out; |
159 | psiconv_bool_t strikethrough; |
160 | psiconv_font font; |
160 | psiconv_font font; |
161 | } *psiconv_character_layout; |
161 | } *psiconv_character_layout; |
162 | |
162 | |
163 | typedef struct psiconv_paragraph_layout_s |
163 | typedef struct psiconv_paragraph_layout_s |
164 | { |
164 | { |
… | |
… | |
166 | psiconv_length_t indent_left; |
166 | psiconv_length_t indent_left; |
167 | psiconv_length_t indent_right; |
167 | psiconv_length_t indent_right; |
168 | psiconv_length_t indent_first; |
168 | psiconv_length_t indent_first; |
169 | psiconv_justify_hor_t justify_hor; |
169 | psiconv_justify_hor_t justify_hor; |
170 | psiconv_justify_ver_t justify_ver; |
170 | psiconv_justify_ver_t justify_ver; |
171 | psiconv_size_t interline; |
171 | psiconv_size_t linespacing; |
172 | psiconv_bool_t interline_exact; |
172 | psiconv_bool_t linespacing_exact; |
173 | psiconv_size_t top_space; |
173 | psiconv_size_t space_above; |
174 | psiconv_size_t bottom_space; |
174 | psiconv_size_t space_below; |
175 | psiconv_bool_t on_one_page; |
175 | psiconv_bool_t keep_together; |
176 | psiconv_bool_t together_with; /* What the heck is this? */ |
176 | psiconv_bool_t keep_with_next; |
177 | psiconv_bool_t on_next_page; |
177 | psiconv_bool_t on_next_page; |
178 | psiconv_bool_t no_widow_protection; |
178 | psiconv_bool_t no_widow_protection; |
179 | psiconv_length_t border_distance; |
179 | psiconv_length_t border_distance; |
180 | psiconv_bullet bullet; |
180 | psiconv_bullet bullet; |
181 | psiconv_border left_border; |
181 | psiconv_border left_border; |