1 /* Fo 2 * fo-property-initial-page-number.h: 'initial-page-number' property 3 * 4 * Copyright (C) 2001-2006 Sun Microsystems 5 * Copyright (C) 2007-2010 Menteith Consulting Ltd 6 * Copyright (C) 2011 Mentea 7 * 8 * See COPYING for the status of this software. 9 */ 10 11 #ifndef __FO_PROPERTY_INITIAL_PAGE_NUMBER_H__ 12 #define __FO_PROPERTY_INITIAL_PAGE_NUMBER_H__ 13 14 #include <libfo/fo-utils.h> 15 #include <libfo/property/fo-property.h> 16 17 G_BEGIN_DECLS 18 19 /* initial-page-number */ 20 /* Inherited: FALSE */ 21 /* Shorthand: FALSE */ 22 /* auto | auto-odd | auto-even | <number> | inherit */ 23 /* Initial value: auto */ 24 25 #define FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER (fo_property_initial_page_number_get_type ()) 26 #define FO_PROPERTY_INITIAL_PAGE_NUMBER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER, FoPropertyInitialPageNumber)) 27 #define FO_PROPERTY_INITIAL_PAGE_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER, FoPropertyInitialPageNumberClass)) 28 #define FO_IS_PROPERTY_INITIAL_PAGE_NUMBER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER)) 29 #define FO_IS_PROPERTY_INITIAL_PAGE_NUMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER)) 30 #define FO_PROPERTY_INITIAL_PAGE_NUMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_INITIAL_PAGE_NUMBER, FoPropertyInitialPageNumberClass)) 31 32 33 /** 34 * FoPropertyInitialPageNumber: 35 * 36 * Instance of the 'initial-page-number' property. 37 **/ 38 typedef struct _FoPropertyInitialPageNumber FoPropertyInitialPageNumber; 39 40 /** 41 * FoPropertyInitialPageNumberClass: 42 * 43 * Class structure for the 'initial-page-number' property. 44 **/ 45 typedef struct _FoPropertyInitialPageNumberClass FoPropertyInitialPageNumberClass; 46 47 GType fo_property_initial_page_number_get_type (void) G_GNUC_CONST; 48 FoProperty * fo_property_initial_page_number_new (void); 49 FoProperty * fo_property_initial_page_number_get_initial (void); 50 51 G_END_DECLS 52 53 #endif /* !__FO_PROPERTY_INITIAL_PAGE_NUMBER_H__ */ 54