File: fo-list-item-body.h

package info (click to toggle)
xmlroff 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 36,456 kB
  • ctags: 25,964
  • sloc: ansic: 178,200; xml: 109,155; sh: 8,973; makefile: 1,331; perl: 30
file content (56 lines) | stat: -rw-r--r-- 2,921 bytes parent folder | download | duplicates (5)
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
/* Fo
 * fo-list_item_body.h: 'list-item-body' formatting object
 *
 * Copyright (C) 2001 Sun Microsystems
 * Copyright (C) 2007 Menteith Consulting Ltd
 *
 * See COPYING for the status of this software.
 */

#ifndef __FO_LIST_ITEM_BODY_H__
#define __FO_LIST_ITEM_BODY_H__

#include <libfo/fo-utils.h>
#include <libfo/property/fo-property.h>

G_BEGIN_DECLS

typedef struct _FoListItemBody      FoListItemBody;
typedef struct _FoListItemBodyClass FoListItemBodyClass;

#define FO_TYPE_LIST_ITEM_BODY              (fo_list_item_body_get_type ())
#define FO_LIST_ITEM_BODY(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LIST_ITEM_BODY, FoListItemBody))
#define FO_LIST_ITEM_BODY_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_LIST_ITEM_BODY, FoListItemBodyClass))
#define FO_IS_LIST_ITEM_BODY(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_LIST_ITEM_BODY))
#define FO_IS_LIST_ITEM_BODY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_LIST_ITEM_BODY))
#define FO_LIST_ITEM_BODY_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_LIST_ITEM_BODY, FoListItemBodyClass))


GType        fo_list_item_body_get_type      (void) G_GNUC_CONST;
FoFo *       fo_list_item_body_new (void);

FoProperty * fo_list_item_body_get_id (FoFo       *fo_fo);
void         fo_list_item_body_set_id (FoFo       *fo_fo,
                                       FoProperty *new_id);
FoProperty * fo_list_item_body_get_keep_together (FoFo       *fo_fo);
void         fo_list_item_body_set_keep_together (FoFo       *fo_fo,
                                                  FoProperty *new_keep_together);
FoProperty * fo_list_item_body_get_keep_together_within_column (FoFo       *fo_fo);
void         fo_list_item_body_set_keep_together_within_column (FoFo       *fo_fo,
                                                                FoProperty *new_keep_together_within_column);
FoProperty * fo_list_item_body_get_keep_together_within_line (FoFo       *fo_fo);
void         fo_list_item_body_set_keep_together_within_line (FoFo       *fo_fo,
                                                              FoProperty *new_keep_together_within_line);
FoProperty * fo_list_item_body_get_keep_together_within_page (FoFo       *fo_fo);
void         fo_list_item_body_set_keep_together_within_page (FoFo       *fo_fo,
                                                              FoProperty *new_keep_together_within_page);
FoProperty * fo_list_item_body_get_role (FoFo       *fo_fo);
void         fo_list_item_body_set_role (FoFo       *fo_fo,
                                         FoProperty *new_role);
FoProperty * fo_list_item_body_get_source_document (FoFo       *fo_fo);
void         fo_list_item_body_set_source_document (FoFo       *fo_fo,
                                                    FoProperty *new_source_document);

G_END_DECLS

#endif /* !__FO_LIST_ITEM_BODY_H__ */