1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
|
/* Fo
* fo-external-graphic.h: 'external-graphic' formatting object
*
* Copyright (C) 2001-2006 Sun Microsystems
* Copyright (C) 2007 Menteith Consulting Ltd
*
* See COPYING for the status of this software.
*/
#ifndef __FO_EXTERNAL_GRAPHIC_H__
#define __FO_EXTERNAL_GRAPHIC_H__
#include <libfo/fo-utils.h>
#include <libfo/fo/fo-fo.h>
#include <libfo/property/fo-property.h>
G_BEGIN_DECLS
/**
* FoExternalGraphic:
*
* Instance of the 'external-graphic' formatting object.
**/
typedef struct _FoExternalGraphic FoExternalGraphic;
/**
* FoExternalGraphicClass:
*
* Class structure for the 'external-graphic' formatting object.
**/
typedef struct _FoExternalGraphicClass FoExternalGraphicClass;
#define FO_TYPE_EXTERNAL_GRAPHIC (fo_external_graphic_get_type ())
#define FO_EXTERNAL_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphic))
#define FO_EXTERNAL_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphicClass))
#define FO_IS_EXTERNAL_GRAPHIC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_EXTERNAL_GRAPHIC))
#define FO_IS_EXTERNAL_GRAPHIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_EXTERNAL_GRAPHIC))
#define FO_EXTERNAL_GRAPHIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_EXTERNAL_GRAPHIC, FoExternalGraphicClass))
GType fo_external_graphic_get_type (void) G_GNUC_CONST;
FoFo * fo_external_graphic_new (void);
FoFo * fo_external_graphic_new_with_base_uri (const gchar *base_uri);
const gchar * fo_external_graphic_get_base_uri (FoFo *fo_fo);
FoProperty * fo_external_graphic_get_alignment_adjust (FoFo *fo_fo);
void fo_external_graphic_set_alignment_adjust (FoFo *fo_fo,
FoProperty *new_alignment_adjust);
FoProperty * fo_external_graphic_get_alignment_baseline (FoFo *fo_fo);
void fo_external_graphic_set_alignment_baseline (FoFo *fo_fo,
FoProperty *new_alignment_baseline);
FoProperty * fo_external_graphic_get_background_color (FoFo *fo_fo);
void fo_external_graphic_set_background_color (FoFo *fo_fo,
FoProperty *new_background_color);
FoProperty * fo_external_graphic_get_background_image (FoFo *fo_fo);
void fo_external_graphic_set_background_image (FoFo *fo_fo,
FoProperty *new_background_image);
FoProperty * fo_external_graphic_get_baseline_shift (FoFo *fo_fo);
void fo_external_graphic_set_baseline_shift (FoFo *fo_fo,
FoProperty *new_baseline_shift);
FoProperty * fo_external_graphic_get_block_progression_dimension (FoFo *fo_fo);
void fo_external_graphic_set_block_progression_dimension (FoFo *fo_fo,
FoProperty *new_block_progression_dimension);
FoProperty * fo_external_graphic_get_border_after_color (FoFo *fo_fo);
void fo_external_graphic_set_border_after_color (FoFo *fo_fo,
FoProperty *new_border_after_color);
FoProperty * fo_external_graphic_get_border_after_style (FoFo *fo_fo);
void fo_external_graphic_set_border_after_style (FoFo *fo_fo,
FoProperty *new_border_after_style);
FoProperty * fo_external_graphic_get_border_after_width (FoFo *fo_fo);
void fo_external_graphic_set_border_after_width (FoFo *fo_fo,
FoProperty *new_border_after_width);
FoProperty * fo_external_graphic_get_border_before_color (FoFo *fo_fo);
void fo_external_graphic_set_border_before_color (FoFo *fo_fo,
FoProperty *new_border_before_color);
FoProperty * fo_external_graphic_get_border_before_style (FoFo *fo_fo);
void fo_external_graphic_set_border_before_style (FoFo *fo_fo,
FoProperty *new_border_before_style);
FoProperty * fo_external_graphic_get_border_before_width (FoFo *fo_fo);
void fo_external_graphic_set_border_before_width (FoFo *fo_fo,
FoProperty *new_border_before_width);
FoProperty * fo_external_graphic_get_border_bottom_color (FoFo *fo_fo);
void fo_external_graphic_set_border_bottom_color (FoFo *fo_fo,
FoProperty *new_border_bottom_color);
FoProperty * fo_external_graphic_get_border_bottom_style (FoFo *fo_fo);
void fo_external_graphic_set_border_bottom_style (FoFo *fo_fo,
FoProperty *new_border_bottom_style);
FoProperty * fo_external_graphic_get_border_bottom_width (FoFo *fo_fo);
void fo_external_graphic_set_border_bottom_width (FoFo *fo_fo,
FoProperty *new_border_bottom_width);
FoProperty * fo_external_graphic_get_border_end_color (FoFo *fo_fo);
void fo_external_graphic_set_border_end_color (FoFo *fo_fo,
FoProperty *new_border_end_color);
FoProperty * fo_external_graphic_get_border_end_style (FoFo *fo_fo);
void fo_external_graphic_set_border_end_style (FoFo *fo_fo,
FoProperty *new_border_end_style);
FoProperty * fo_external_graphic_get_border_end_width (FoFo *fo_fo);
void fo_external_graphic_set_border_end_width (FoFo *fo_fo,
FoProperty *new_border_end_width);
FoProperty * fo_external_graphic_get_border_left_color (FoFo *fo_fo);
void fo_external_graphic_set_border_left_color (FoFo *fo_fo,
FoProperty *new_border_left_color);
FoProperty * fo_external_graphic_get_border_left_style (FoFo *fo_fo);
void fo_external_graphic_set_border_left_style (FoFo *fo_fo,
FoProperty *new_border_left_style);
FoProperty * fo_external_graphic_get_border_left_width (FoFo *fo_fo);
void fo_external_graphic_set_border_left_width (FoFo *fo_fo,
FoProperty *new_border_left_width);
FoProperty * fo_external_graphic_get_border_right_color (FoFo *fo_fo);
void fo_external_graphic_set_border_right_color (FoFo *fo_fo,
FoProperty *new_border_right_color);
FoProperty * fo_external_graphic_get_border_right_style (FoFo *fo_fo);
void fo_external_graphic_set_border_right_style (FoFo *fo_fo,
FoProperty *new_border_right_style);
FoProperty * fo_external_graphic_get_border_right_width (FoFo *fo_fo);
void fo_external_graphic_set_border_right_width (FoFo *fo_fo,
FoProperty *new_border_right_width);
FoProperty * fo_external_graphic_get_border_start_color (FoFo *fo_fo);
void fo_external_graphic_set_border_start_color (FoFo *fo_fo,
FoProperty *new_border_start_color);
FoProperty * fo_external_graphic_get_border_start_style (FoFo *fo_fo);
void fo_external_graphic_set_border_start_style (FoFo *fo_fo,
FoProperty *new_border_start_style);
FoProperty * fo_external_graphic_get_border_start_width (FoFo *fo_fo);
void fo_external_graphic_set_border_start_width (FoFo *fo_fo,
FoProperty *new_border_start_width);
FoProperty * fo_external_graphic_get_border_top_color (FoFo *fo_fo);
void fo_external_graphic_set_border_top_color (FoFo *fo_fo,
FoProperty *new_border_top_color);
FoProperty * fo_external_graphic_get_border_top_style (FoFo *fo_fo);
void fo_external_graphic_set_border_top_style (FoFo *fo_fo,
FoProperty *new_border_top_style);
FoProperty * fo_external_graphic_get_border_top_width (FoFo *fo_fo);
void fo_external_graphic_set_border_top_width (FoFo *fo_fo,
FoProperty *new_border_top_width);
FoProperty * fo_external_graphic_get_clip (FoFo *fo_fo);
void fo_external_graphic_set_clip (FoFo *fo_fo,
FoProperty *new_clip);
FoProperty * fo_external_graphic_get_content_height (FoFo *fo_fo);
void fo_external_graphic_set_content_height (FoFo *fo_fo,
FoProperty *new_content_height);
FoProperty * fo_external_graphic_get_content_type (FoFo *fo_fo);
void fo_external_graphic_set_content_type (FoFo *fo_fo,
FoProperty *new_content_type);
FoProperty * fo_external_graphic_get_content_width (FoFo *fo_fo);
void fo_external_graphic_set_content_width (FoFo *fo_fo,
FoProperty *new_content_width);
FoProperty * fo_external_graphic_get_display_align (FoFo *fo_fo);
void fo_external_graphic_set_display_align (FoFo *fo_fo,
FoProperty *new_display_align);
FoProperty * fo_external_graphic_get_dominant_baseline (FoFo *fo_fo);
void fo_external_graphic_set_dominant_baseline (FoFo *fo_fo,
FoProperty *new_dominant_baseline);
FoProperty * fo_external_graphic_get_height (FoFo *fo_fo);
void fo_external_graphic_set_height (FoFo *fo_fo,
FoProperty *new_height);
FoProperty * fo_external_graphic_get_id (FoFo *fo_fo);
void fo_external_graphic_set_id (FoFo *fo_fo,
FoProperty *new_id);
FoProperty * fo_external_graphic_get_inline_progression_dimension (FoFo *fo_fo);
void fo_external_graphic_set_inline_progression_dimension (FoFo *fo_fo,
FoProperty *new_inline_progression_dimension);
FoProperty * fo_external_graphic_get_keep_with_next (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_next (FoFo *fo_fo,
FoProperty *new_keep_with_next);
FoProperty * fo_external_graphic_get_keep_with_next_within_column (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_next_within_column (FoFo *fo_fo,
FoProperty *new_keep_with_next_within_column);
FoProperty * fo_external_graphic_get_keep_with_next_within_line (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_next_within_line (FoFo *fo_fo,
FoProperty *new_keep_with_next_within_line);
FoProperty * fo_external_graphic_get_keep_with_next_within_page (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_next_within_page (FoFo *fo_fo,
FoProperty *new_keep_with_next_within_page);
FoProperty * fo_external_graphic_get_keep_with_previous (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_previous (FoFo *fo_fo,
FoProperty *new_keep_with_previous);
FoProperty * fo_external_graphic_get_keep_with_previous_within_column (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_previous_within_column (FoFo *fo_fo,
FoProperty *new_keep_with_previous_within_column);
FoProperty * fo_external_graphic_get_keep_with_previous_within_line (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_previous_within_line (FoFo *fo_fo,
FoProperty *new_keep_with_previous_within_line);
FoProperty * fo_external_graphic_get_keep_with_previous_within_page (FoFo *fo_fo);
void fo_external_graphic_set_keep_with_previous_within_page (FoFo *fo_fo,
FoProperty *new_keep_with_previous_within_page);
FoProperty * fo_external_graphic_get_line_height (FoFo *fo_fo);
void fo_external_graphic_set_line_height (FoFo *fo_fo,
FoProperty *new_line_height);
FoProperty * fo_external_graphic_get_overflow (FoFo *fo_fo);
void fo_external_graphic_set_overflow (FoFo *fo_fo,
FoProperty *new_overflow);
FoProperty * fo_external_graphic_get_padding_after (FoFo *fo_fo);
void fo_external_graphic_set_padding_after (FoFo *fo_fo,
FoProperty *new_padding_after);
FoProperty * fo_external_graphic_get_padding_before (FoFo *fo_fo);
void fo_external_graphic_set_padding_before (FoFo *fo_fo,
FoProperty *new_padding_before);
FoProperty * fo_external_graphic_get_padding_bottom (FoFo *fo_fo);
void fo_external_graphic_set_padding_bottom (FoFo *fo_fo,
FoProperty *new_padding_bottom);
FoProperty * fo_external_graphic_get_padding_end (FoFo *fo_fo);
void fo_external_graphic_set_padding_end (FoFo *fo_fo,
FoProperty *new_padding_end);
FoProperty * fo_external_graphic_get_padding_left (FoFo *fo_fo);
void fo_external_graphic_set_padding_left (FoFo *fo_fo,
FoProperty *new_padding_left);
FoProperty * fo_external_graphic_get_padding_right (FoFo *fo_fo);
void fo_external_graphic_set_padding_right (FoFo *fo_fo,
FoProperty *new_padding_right);
FoProperty * fo_external_graphic_get_padding_start (FoFo *fo_fo);
void fo_external_graphic_set_padding_start (FoFo *fo_fo,
FoProperty *new_padding_start);
FoProperty * fo_external_graphic_get_padding_top (FoFo *fo_fo);
void fo_external_graphic_set_padding_top (FoFo *fo_fo,
FoProperty *new_padding_top);
FoProperty * fo_external_graphic_get_role (FoFo *fo_fo);
void fo_external_graphic_set_role (FoFo *fo_fo,
FoProperty *new_role);
FoProperty * fo_external_graphic_get_scaling (FoFo *fo_fo);
void fo_external_graphic_set_scaling (FoFo *fo_fo,
FoProperty *new_scaling);
FoProperty * fo_external_graphic_get_scaling_method (FoFo *fo_fo);
void fo_external_graphic_set_scaling_method (FoFo *fo_fo,
FoProperty *new_scaling_method);
FoProperty * fo_external_graphic_get_source_document (FoFo *fo_fo);
void fo_external_graphic_set_source_document (FoFo *fo_fo,
FoProperty *new_source_document);
FoProperty * fo_external_graphic_get_space_end (FoFo *fo_fo);
void fo_external_graphic_set_space_end (FoFo *fo_fo,
FoProperty *new_space_end);
FoProperty * fo_external_graphic_get_space_start (FoFo *fo_fo);
void fo_external_graphic_set_space_start (FoFo *fo_fo,
FoProperty *new_space_start);
FoProperty * fo_external_graphic_get_src (FoFo *fo_fo);
void fo_external_graphic_set_src (FoFo *fo_fo,
FoProperty *new_src);
FoProperty * fo_external_graphic_get_text_align (FoFo *fo_fo);
void fo_external_graphic_set_text_align (FoFo *fo_fo,
FoProperty *new_text_align);
FoProperty * fo_external_graphic_get_width (FoFo *fo_fo);
void fo_external_graphic_set_width (FoFo *fo_fo,
FoProperty *new_width);
G_END_DECLS
#endif /* !__FO_EXTERNAL_GRAPHIC_H__ */
|