1 /* Fo
2  * fo-table_footer.h: 'table-footer' formatting object
3  *
4  * Copyright (C) 2001 Sun Microsystems
5  * Copyright (C) 2007 Menteith Consulting Ltd
6  *
7  * See COPYING for the status of this software.
8  */
9 
10 #ifndef __FO_TABLE_FOOTER_H__
11 #define __FO_TABLE_FOOTER_H__
12 
13 #include <libfo/fo-utils.h>
14 #include <libfo/fo/fo-fo.h>
15 #include <libfo/property/fo-property.h>
16 
17 G_BEGIN_DECLS
18 
19 typedef struct _FoTableFooter      FoTableFooter;
20 typedef struct _FoTableFooterClass FoTableFooterClass;
21 
22 #define FO_TYPE_TABLE_FOOTER              (fo_table_footer_get_type ())
23 #define FO_TABLE_FOOTER(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_TABLE_FOOTER, FoTableFooter))
24 #define FO_TABLE_FOOTER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_TABLE_FOOTER, FoTableFooterClass))
25 #define FO_IS_TABLE_FOOTER(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_TABLE_FOOTER))
26 #define FO_IS_TABLE_FOOTER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_TABLE_FOOTER))
27 #define FO_TABLE_FOOTER_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_TABLE_FOOTER, FoTableFooterClass))
28 
29 
30 GType        fo_table_footer_get_type      (void) G_GNUC_CONST;
31 FoFo *       fo_table_footer_new (void);
32 
33 FoProperty * fo_table_footer_get_background_color (FoFo       *fo_fo);
34 void         fo_table_footer_set_background_color (FoFo       *fo_fo,
35 						   FoProperty *new_background_color);
36 FoProperty * fo_table_footer_get_background_image (FoFo       *fo_fo);
37 void         fo_table_footer_set_background_image (FoFo       *fo_fo,
38                                                    FoProperty *new_background_image);
39 FoProperty * fo_table_footer_get_border_after_color (FoFo       *fo_fo);
40 void         fo_table_footer_set_border_after_color (FoFo       *fo_fo,
41                                                      FoProperty *new_border_after_color);
42 FoProperty * fo_table_footer_get_border_after_precedence (FoFo       *fo_fo);
43 void         fo_table_footer_set_border_after_precedence (FoFo       *fo_fo,
44                                                           FoProperty *new_border_after_precedence);
45 FoProperty * fo_table_footer_get_border_after_style (FoFo       *fo_fo);
46 void         fo_table_footer_set_border_after_style (FoFo       *fo_fo,
47                                                      FoProperty *new_border_after_style);
48 FoProperty * fo_table_footer_get_border_after_width (FoFo       *fo_fo);
49 void         fo_table_footer_set_border_after_width (FoFo       *fo_fo,
50                                                      FoProperty *new_border_after_width);
51 FoProperty * fo_table_footer_get_border_before_color (FoFo       *fo_fo);
52 void         fo_table_footer_set_border_before_color (FoFo       *fo_fo,
53                                                       FoProperty *new_border_before_color);
54 FoProperty * fo_table_footer_get_border_before_precedence (FoFo       *fo_fo);
55 void         fo_table_footer_set_border_before_precedence (FoFo       *fo_fo,
56                                                            FoProperty *new_border_before_precedence);
57 FoProperty * fo_table_footer_get_border_before_style (FoFo       *fo_fo);
58 void         fo_table_footer_set_border_before_style (FoFo       *fo_fo,
59                                                       FoProperty *new_border_before_style);
60 FoProperty * fo_table_footer_get_border_before_width (FoFo       *fo_fo);
61 void         fo_table_footer_set_border_before_width (FoFo       *fo_fo,
62                                                       FoProperty *new_border_before_width);
63 FoProperty * fo_table_footer_get_border_bottom_color (FoFo       *fo_fo);
64 void         fo_table_footer_set_border_bottom_color (FoFo       *fo_fo,
65                                                       FoProperty *new_border_bottom_color);
66 FoProperty * fo_table_footer_get_border_bottom_style (FoFo       *fo_fo);
67 void         fo_table_footer_set_border_bottom_style (FoFo       *fo_fo,
68                                                       FoProperty *new_border_bottom_style);
69 FoProperty * fo_table_footer_get_border_bottom_width (FoFo       *fo_fo);
70 void         fo_table_footer_set_border_bottom_width (FoFo       *fo_fo,
71                                                       FoProperty *new_border_bottom_width);
72 FoProperty * fo_table_footer_get_border_end_color (FoFo       *fo_fo);
73 void         fo_table_footer_set_border_end_color (FoFo       *fo_fo,
74                                                    FoProperty *new_border_end_color);
75 FoProperty * fo_table_footer_get_border_end_precedence (FoFo       *fo_fo);
76 void         fo_table_footer_set_border_end_precedence (FoFo       *fo_fo,
77                                                         FoProperty *new_border_end_precedence);
78 FoProperty * fo_table_footer_get_border_end_style (FoFo       *fo_fo);
79 void         fo_table_footer_set_border_end_style (FoFo       *fo_fo,
80                                                    FoProperty *new_border_end_style);
81 FoProperty * fo_table_footer_get_border_end_width (FoFo       *fo_fo);
82 void         fo_table_footer_set_border_end_width (FoFo       *fo_fo,
83                                                    FoProperty *new_border_end_width);
84 FoProperty * fo_table_footer_get_border_left_color (FoFo       *fo_fo);
85 void         fo_table_footer_set_border_left_color (FoFo       *fo_fo,
86                                                     FoProperty *new_border_left_color);
87 FoProperty * fo_table_footer_get_border_left_style (FoFo       *fo_fo);
88 void         fo_table_footer_set_border_left_style (FoFo       *fo_fo,
89                                                     FoProperty *new_border_left_style);
90 FoProperty * fo_table_footer_get_border_left_width (FoFo       *fo_fo);
91 void         fo_table_footer_set_border_left_width (FoFo       *fo_fo,
92                                                     FoProperty *new_border_left_width);
93 FoProperty * fo_table_footer_get_border_right_color (FoFo       *fo_fo);
94 void         fo_table_footer_set_border_right_color (FoFo       *fo_fo,
95                                                      FoProperty *new_border_right_color);
96 FoProperty * fo_table_footer_get_border_right_style (FoFo       *fo_fo);
97 void         fo_table_footer_set_border_right_style (FoFo       *fo_fo,
98                                                      FoProperty *new_border_right_style);
99 FoProperty * fo_table_footer_get_border_right_width (FoFo       *fo_fo);
100 void         fo_table_footer_set_border_right_width (FoFo       *fo_fo,
101                                                      FoProperty *new_border_right_width);
102 FoProperty * fo_table_footer_get_border_start_color (FoFo       *fo_fo);
103 void         fo_table_footer_set_border_start_color (FoFo       *fo_fo,
104                                                      FoProperty *new_border_start_color);
105 FoProperty * fo_table_footer_get_border_start_precedence (FoFo       *fo_fo);
106 void         fo_table_footer_set_border_start_precedence (FoFo       *fo_fo,
107                                                           FoProperty *new_border_start_precedence);
108 FoProperty * fo_table_footer_get_border_start_style (FoFo       *fo_fo);
109 void         fo_table_footer_set_border_start_style (FoFo       *fo_fo,
110                                                      FoProperty *new_border_start_style);
111 FoProperty * fo_table_footer_get_border_start_width (FoFo       *fo_fo);
112 void         fo_table_footer_set_border_start_width (FoFo       *fo_fo,
113                                                      FoProperty *new_border_start_width);
114 FoProperty * fo_table_footer_get_border_top_color (FoFo       *fo_fo);
115 void         fo_table_footer_set_border_top_color (FoFo       *fo_fo,
116                                                    FoProperty *new_border_top_color);
117 FoProperty * fo_table_footer_get_border_top_style (FoFo       *fo_fo);
118 void         fo_table_footer_set_border_top_style (FoFo       *fo_fo,
119                                                    FoProperty *new_border_top_style);
120 FoProperty * fo_table_footer_get_border_top_width (FoFo       *fo_fo);
121 void         fo_table_footer_set_border_top_width (FoFo       *fo_fo,
122                                                    FoProperty *new_border_top_width);
123 FoProperty * fo_table_footer_get_id (FoFo       *fo_fo);
124 void         fo_table_footer_set_id (FoFo       *fo_fo,
125                                      FoProperty *new_id);
126 FoProperty * fo_table_footer_get_padding_after (FoFo       *fo_fo);
127 void         fo_table_footer_set_padding_after (FoFo       *fo_fo,
128                                                 FoProperty *new_padding_after);
129 FoProperty * fo_table_footer_get_padding_before (FoFo       *fo_fo);
130 void         fo_table_footer_set_padding_before (FoFo       *fo_fo,
131                                                  FoProperty *new_padding_before);
132 FoProperty * fo_table_footer_get_padding_bottom (FoFo       *fo_fo);
133 void         fo_table_footer_set_padding_bottom (FoFo       *fo_fo,
134                                                  FoProperty *new_padding_bottom);
135 FoProperty * fo_table_footer_get_padding_end (FoFo       *fo_fo);
136 void         fo_table_footer_set_padding_end (FoFo       *fo_fo,
137                                               FoProperty *new_padding_end);
138 FoProperty * fo_table_footer_get_padding_left (FoFo       *fo_fo);
139 void         fo_table_footer_set_padding_left (FoFo       *fo_fo,
140                                                FoProperty *new_padding_left);
141 FoProperty * fo_table_footer_get_padding_right (FoFo       *fo_fo);
142 void         fo_table_footer_set_padding_right (FoFo       *fo_fo,
143                                                 FoProperty *new_padding_right);
144 FoProperty * fo_table_footer_get_padding_start (FoFo       *fo_fo);
145 void         fo_table_footer_set_padding_start (FoFo       *fo_fo,
146                                                 FoProperty *new_padding_start);
147 FoProperty * fo_table_footer_get_padding_top (FoFo       *fo_fo);
148 void         fo_table_footer_set_padding_top (FoFo       *fo_fo,
149                                               FoProperty *new_padding_top);
150 FoProperty * fo_table_footer_get_role (FoFo       *fo_fo);
151 void         fo_table_footer_set_role (FoFo       *fo_fo,
152                                        FoProperty *new_role);
153 FoProperty * fo_table_footer_get_source_document (FoFo       *fo_fo);
154 void         fo_table_footer_set_source_document (FoFo       *fo_fo,
155                                                   FoProperty *new_source_document);
156 
157 G_END_DECLS
158 
159 #endif /* !__FO_TABLE_FOOTER_H__ */
160