… | |
… | |
32 | static void psiconv_free_in_line_layout_aux(void * layout); |
32 | static void psiconv_free_in_line_layout_aux(void * layout); |
33 | static void psiconv_free_paragraph_aux(void * paragraph); |
33 | static void psiconv_free_paragraph_aux(void * paragraph); |
34 | static void psiconv_free_paint_data_section_aux(void * section); |
34 | static void psiconv_free_paint_data_section_aux(void * section); |
35 | static void psiconv_free_clipart_section_aux(void * section); |
35 | static void psiconv_free_clipart_section_aux(void * section); |
36 | |
36 | |
|
|
37 | /* Note: these defaults seem to be hard-coded somewhere outside the |
|
|
38 | files themself. */ |
37 | psiconv_character_layout psiconv_basic_character_layout(void) |
39 | psiconv_character_layout psiconv_basic_character_layout(void) |
38 | { |
40 | { |
39 | /* Make the structures static, to oblige IRIX */ |
41 | /* Make the structures static, to oblige IRIX */ |
40 | static struct psiconv_color_s black = |
42 | static struct psiconv_color_s black = |
41 | { |
43 | { |
… | |
… | |
61 | 10.0, /* font_size */ |
63 | 10.0, /* font_size */ |
62 | psiconv_bool_false, /* italic */ |
64 | psiconv_bool_false, /* italic */ |
63 | psiconv_bool_false, /* bold */ |
65 | psiconv_bool_false, /* bold */ |
64 | psiconv_normalscript, /* super_sub */ |
66 | psiconv_normalscript, /* super_sub */ |
65 | psiconv_bool_false, /* underline */ |
67 | psiconv_bool_false, /* underline */ |
66 | psiconv_bool_false, /* strike_out */ |
68 | psiconv_bool_false, /* strikethrough */ |
67 | &font, /* font */ |
69 | &font, /* font */ |
68 | }; |
70 | }; |
69 | |
71 | |
70 | return psiconv_clone_character_layout(&cl); |
72 | return psiconv_clone_character_layout(&cl); |
71 | } |
73 | } |
72 | |
74 | |
|
|
75 | /* Note: these defaults seem to be hard-coded somewhere outside the |
|
|
76 | files themself. */ |
73 | psiconv_paragraph_layout psiconv_basic_paragraph_layout(void) |
77 | psiconv_paragraph_layout psiconv_basic_paragraph_layout(void) |
74 | { |
78 | { |
75 | static struct psiconv_font_s font = |
79 | static struct psiconv_font_s font = |
76 | { |
80 | { |
77 | "Times New Roman", /* name */ |
81 | "Times New Roman", /* name */ |
… | |
… | |
115 | 0.0, /* indent_left */ |
119 | 0.0, /* indent_left */ |
116 | 0.0, /* indent_right */ |
120 | 0.0, /* indent_right */ |
117 | 0.0, /* indent_first */ |
121 | 0.0, /* indent_first */ |
118 | psiconv_justify_left, /* justify_hor */ |
122 | psiconv_justify_left, /* justify_hor */ |
119 | psiconv_justify_middle,/* justify_ver */ |
123 | psiconv_justify_middle,/* justify_ver */ |
120 | 0.0, /* interline */ |
124 | 10.0, /* linespacing */ |
121 | psiconv_bool_false, /* interline_exact */ |
125 | psiconv_bool_false, /* linespacing_exact */ |
122 | 0.0, /* top_space */ |
126 | 0.0, /* space_above */ |
123 | 0.0, /* bottom_space */ |
127 | 0.0, /* space_below */ |
124 | psiconv_bool_false, /* on_one_page */ |
|
|
125 | psiconv_bool_false, /* together_with */ |
128 | psiconv_bool_false, /* keep_together */ |
|
|
129 | psiconv_bool_false, /* keep_with_next */ |
126 | psiconv_bool_false, /* on_next_page */ |
130 | psiconv_bool_false, /* on_next_page */ |
127 | psiconv_bool_false, /* no_widow_protection */ |
131 | psiconv_bool_false, /* no_widow_protection */ |
128 | 0.0, /* left_margin */ |
132 | 0.0, /* left_margin */ |
129 | &bullet, /* bullet */ |
133 | &bullet, /* bullet */ |
130 | &no_border, /* left_border */ |
134 | &no_border, /* left_border */ |