~ubuntu-branches/debian/experimental/python-poppler/experimental

« back to all changes in this revision

Viewing changes to .pc/04-closefiles.diff/poppler.defs

  • Committer: Package Import Robot
  • Author(s): Andrea Gasparini
  • Date: 2012-04-06 12:05:36 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120406120536-m4tul35svvzj4jwi
Tags: 0.12.1-7
* debian/patches:
    + series: re-enabled poppler-0.18.diff (Closes: #651388)
    + added 03-psfilenew.diff (Closes: #662890)
    + added 04-closefiles.diff (LP: #316722)
* debian/control: bump standard version to 3.9.3
* debian/rules: rewrite with dh7,added autoreconf (Closes: #558532)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*- scheme -*-
 
2
; object definitions ...
 
3
 
 
4
(define-boxed FormFieldMapping
 
5
  (in-module "Poppler")
 
6
  (c-name "PopplerFormFieldMapping")
 
7
  (gtype-id "POPPLER_TYPE_FORM_FIELD_MAPPING")
 
8
  (copy-func "poppler_form_field_mapping_copy")
 
9
  (release-func "poppler_form_field_mapping_free")
 
10
  (fields
 
11
    '("PopplerRectangle" "area")
 
12
    '("PopplerFormField*" "field")
 
13
  )
 
14
)
 
15
 
 
16
(define-boxed ImageMapping
 
17
  (in-module "Poppler")
 
18
  (c-name "PopplerImageMapping")
 
19
  (gtype-id "POPPLER_TYPE_IMAGE_MAPPING")
 
20
  (copy-func "poppler_image_mapping_copy")
 
21
  (release-func "poppler_image_mapping_free")
 
22
  (fields
 
23
    '("PopplerRectangle" "area")
 
24
    '("gint" "image_id")
 
25
  )
 
26
)
 
27
 
 
28
(define-boxed PageTransition
 
29
  (in-module "Poppler")
 
30
  (c-name "PopplerPageTransition")
 
31
  (gtype-id "POPPLER_TYPE_PAGE_TRANSITION")
 
32
  (copy-func "poppler_page_transition_copy")
 
33
  (release-func "poppler_page_transition_free")
 
34
  (fields
 
35
    '("PopplerPageTransitionType" "type")
 
36
    '("PopplerPageTransitionAlignment" "alignment")
 
37
    '("PopplerPageTransitionDirection" "direction")
 
38
    '("gint" "duration")
 
39
    '("gint" "angle")
 
40
    '("gdouble" "scale")
 
41
    '("gboolean" "rectangular")
 
42
  )
 
43
)
 
44
 
 
45
(define-boxed LinkMapping
 
46
  (in-module "Poppler")
 
47
  (c-name "PopplerLinkMapping")
 
48
  (gtype-id "POPPLER_TYPE_LINK_MAPPING")
 
49
  (copy-func "poppler_link_mapping_copy")
 
50
  (release-func "poppler_link_mapping_free")
 
51
  (fields
 
52
    '("PopplerRectangle" "area")
 
53
    '("PyObject*" "action")
 
54
  )
 
55
)
 
56
 
 
57
(define-boxed Rectangle
 
58
  (in-module "Poppler")
 
59
  (c-name "PopplerRectangle")
 
60
  (gtype-id "POPPLER_TYPE_RECTANGLE")
 
61
  (copy-func "poppler_rectangle_copy")
 
62
  (release-func "poppler_rectangle_free")
 
63
  (fields
 
64
    '("gdouble" "x1")
 
65
    '("gdouble" "y1")
 
66
    '("gdouble" "x2")
 
67
    '("gdouble" "y2")
 
68
  )
 
69
)
 
70
 
 
71
(define-boxed Color
 
72
  (in-module "Poppler")
 
73
  (c-name "PopplerColor")
 
74
  (gtype-id "POPPLER_TYPE_COLOR")
 
75
  (copy-func "poppler_color_copy")
 
76
  (release-func "poppler_color_free")
 
77
  (fields
 
78
    '("guint16" "red")
 
79
    '("guint16" "green")
 
80
    '("guint16" "blue")
 
81
  )
 
82
)
 
83
 
 
84
(define-boxed Action
 
85
  (in-module "Poppler")
 
86
  (c-name "PopplerAction")
 
87
  (gtype-id "POPPLER_TYPE_ACTION")
 
88
  (copy-func "poppler_action_copy")
 
89
  (release-func "poppler_action_free")
 
90
  (fields
 
91
    '("PopplerActionType" "type")
 
92
  )
 
93
)
 
94
 
 
95
(define-boxed ActionAny
 
96
  (in-module "Poppler")
 
97
  (c-name "PopplerActionAny")
 
98
  (gtype-id "POPPLER_TYPE_ACTION_ANY")
 
99
  (fields
 
100
    '("gchar*" "title")
 
101
  )
 
102
)
 
103
 
 
104
(define-boxed ActionGotoDest
 
105
  (in-module "Poppler")
 
106
  (c-name "PopplerActionGotoDest")
 
107
  (gtype-id "POPPLER_TYPE_ACTION_GOTO_DEST")
 
108
  (fields
 
109
    '("gchar*" "title")
 
110
    '("PopplerDest*" "dest")
 
111
  )
 
112
)
 
113
 
 
114
(define-boxed ActionGotoRemote
 
115
  (in-module "Poppler")
 
116
  (c-name "PopplerActionGotoRemote")
 
117
  (gtype-id "POPPLER_TYPE_ACTION_GOTO_REMOTE")
 
118
  (fields
 
119
    '("gchar*" "title")
 
120
    '("gchar*" "file_name")
 
121
    '("PopplerDest*" "dest")
 
122
  )
 
123
)
 
124
 
 
125
(define-boxed ActionLaunch
 
126
  (in-module "Poppler")
 
127
  (c-name "PopplerActionLaunch")
 
128
  (gtype-id "POPPLER_TYPE_ACTION_LAUNCH")
 
129
  (fields
 
130
    '("gchar*" "title")
 
131
    '("gchar*" "file_name")
 
132
    '("gchar*" "params")
 
133
  )
 
134
)
 
135
 
 
136
(define-boxed ActionUri
 
137
  (in-module "Poppler")
 
138
  (c-name "PopplerActionUri")
 
139
  (gtype-id "POPPLER_TYPE_ACTION_URI")
 
140
  (fields
 
141
    '("gchar*" "title")
 
142
    '("gchar*" "uri")
 
143
  )
 
144
)
 
145
 
 
146
(define-boxed ActionNamed
 
147
  (in-module "Poppler")
 
148
  (c-name "PopplerActionNamed")
 
149
  (gtype-id "POPPLER_TYPE_ACTION_NAMED")
 
150
  (fields
 
151
    '("gchar*" "title")
 
152
    '("gchar*" "named_dest")
 
153
  )
 
154
)
 
155
 
 
156
(define-boxed ActionMovie
 
157
  (in-module "Poppler")
 
158
  (c-name "PopplerActionMovie")
 
159
  (gtype-id "POPPLER_TYPE_ACTION_MOVIE")
 
160
  (fields
 
161
    '("gchar*" "title")
 
162
  )
 
163
)
 
164
 
 
165
(define-boxed Dest
 
166
  (in-module "Poppler")
 
167
  (c-name "PopplerDest")
 
168
  (gtype-id "POPPLER_TYPE_DEST")
 
169
  (copy-func "poppler_dest_copy")
 
170
  (release-func "poppler_dest_free")
 
171
  (fields
 
172
    '("PopplerDestType" "type")
 
173
    '("int" "page_num")
 
174
    '("double" "left")
 
175
    '("double" "bottom")
 
176
    '("double" "right")
 
177
    '("double" "top")
 
178
    '("double" "zoom")
 
179
    '("gchar*" "named_dest")
 
180
    '("guint" "change_left")
 
181
    '("guint" "change_top")
 
182
    '("guint" "change_zoom")
 
183
  )
 
184
)
 
185
 
 
186
(define-boxed FontsIter
 
187
  (in-module "Poppler")
 
188
  (c-name "PopplerFontsIter")
 
189
  (gtype-id "POPPLER_TYPE_FONTS_ITER")
 
190
  (copy-func "poppler_fonts_iter_copy")
 
191
  (release-func "poppler_fonts_iter_free")
 
192
)
 
193
 
 
194
(define-boxed IndexIter
 
195
  (in-module "Poppler")
 
196
  (c-name "PopplerIndexIter")
 
197
  (gtype-id "POPPLER_TYPE_INDEX_ITER")
 
198
  (copy-func "poppler_index_iter_copy")
 
199
  (release-func "poppler_index_iter_free")
 
200
)
 
201
 
 
202
(define-boxed LayersIter
 
203
  (in-module "Poppler")
 
204
  (c-name "PopplerLayersIter")
 
205
  (gtype-id "POPPLER_TYPE_LAYERS_ITER")
 
206
  (copy-func "poppler_layers_iter_copy")
 
207
  (release-func "poppler_layers_iter_free")
 
208
)
 
209
 
 
210
(define-boxed AnnotCalloutLine
 
211
  (in-module "Poppler")
 
212
  (c-name "PopplerAnnotCalloutLine")
 
213
  (gtype-id "POPPLER_TYPE_ANNOT_CALLOUT_LINE")
 
214
  (copy-func "poppler_annot_callout_line_copy")
 
215
  (release-func "poppler_annot_callout_line_free")
 
216
)
 
217
 
 
218
(define-boxed AnnotMapping
 
219
  (in-module "Poppler")
 
220
  (c-name "PopplerAnnotMapping")
 
221
  (gtype-id "POPPLER_TYPE_ANNOT_MAPPING")
 
222
  (copy-func "poppler_annot_mapping_copy")
 
223
  (release-func "poppler_annot_mapping_free")
 
224
  (fields
 
225
    '("PopplerRectangle" "area")
 
226
    '("PopplerAnnot*" "annot")
 
227
  )
 
228
)
 
229
 
 
230
(define-object Annot
 
231
  (in-module "Poppler")
 
232
  (parent "GObject")
 
233
  (c-name "PopplerAnnot")
 
234
  (gtype-id "POPPLER_TYPE_ANNOT")
 
235
)
 
236
 
 
237
(define-object AnnotMarkup
 
238
  (in-module "Poppler")
 
239
  (parent "PopplerAnnot")
 
240
  (c-name "PopplerAnnotMarkup")
 
241
  (gtype-id "POPPLER_TYPE_ANNOT_MARKUP")
 
242
)
 
243
 
 
244
(define-object AnnotText
 
245
  (in-module "Poppler")
 
246
  (parent "PopplerAnnotMarkup")
 
247
  (c-name "PopplerAnnotText")
 
248
  (gtype-id "POPPLER_TYPE_ANNOT_TEXT")
 
249
)
 
250
 
 
251
(define-object AnnotFreeText
 
252
  (in-module "Poppler")
 
253
  (parent "PopplerAnnotMarkup")
 
254
  (c-name "PopplerAnnotFreeText")
 
255
  (gtype-id "POPPLER_TYPE_ANNOT_FREE_TEXT")
 
256
)
 
257
 
 
258
(define-object Document
 
259
  (in-module "Poppler")
 
260
  (parent "GObject")
 
261
  (c-name "PopplerDocument")
 
262
  (gtype-id "POPPLER_TYPE_DOCUMENT")
 
263
)
 
264
 
 
265
(define-object Layer
 
266
  (in-module "Poppler")
 
267
  (parent "GObject")
 
268
  (c-name "PopplerLayer")
 
269
  (gtype-id "POPPLER_TYPE_LAYER")
 
270
)
 
271
 
 
272
(define-object Page
 
273
  (in-module "Poppler")
 
274
  (parent "GObject")
 
275
  (c-name "PopplerPage")
 
276
  (gtype-id "POPPLER_TYPE_PAGE")
 
277
)
 
278
 
 
279
(define-object PSFile
 
280
  (in-module "Poppler")
 
281
  (parent "GObject")
 
282
  (c-name "PopplerPSFile")
 
283
  (gtype-id "POPPLER_TYPE_PS_FILE")
 
284
)
 
285
 
 
286
(define-object Attachment
 
287
  (in-module "Poppler")
 
288
  (parent "GObject")
 
289
  (c-name "PopplerAttachment")
 
290
  (gtype-id "POPPLER_TYPE_ATTACHMENT")
 
291
)
 
292
 
 
293
(define-object FormField
 
294
  (in-module "Poppler")
 
295
  (parent "GObject")
 
296
  (c-name "PopplerFormField")
 
297
  (gtype-id "POPPLER_TYPE_FORM_FIELD")
 
298
)
 
299
 
 
300
(define-object FontInfo
 
301
  (in-module "Poppler")
 
302
  (parent "GObject")
 
303
  (c-name "PopplerFontInfo")
 
304
  (gtype-id "POPPLER_TYPE_FONT_INFO")
 
305
)
 
306
 
 
307
;; Enumerations and flags ...
 
308
 
 
309
(define-enum ActionType
 
310
  (in-module "Poppler")
 
311
  (c-name "PopplerActionType")
 
312
  (gtype-id "POPPLER_TYPE_ACTION_TYPE")
 
313
  (values
 
314
    '("unknown" "POPPLER_ACTION_UNKNOWN")
 
315
    '("none" "POPPLER_ACTION_NONE")
 
316
    '("goto-dest" "POPPLER_ACTION_GOTO_DEST")
 
317
    '("goto-remote" "POPPLER_ACTION_GOTO_REMOTE")
 
318
    '("launch" "POPPLER_ACTION_LAUNCH")
 
319
    '("uri" "POPPLER_ACTION_URI")
 
320
    '("named" "POPPLER_ACTION_NAMED")
 
321
    '("movie" "POPPLER_ACTION_MOVIE")
 
322
  )
 
323
)
 
324
 
 
325
(define-enum DestType
 
326
  (in-module "Poppler")
 
327
  (c-name "PopplerDestType")
 
328
  (gtype-id "POPPLER_TYPE_DEST_TYPE")
 
329
  (values
 
330
    '("unknown" "POPPLER_DEST_UNKNOWN")
 
331
    '("xyz" "POPPLER_DEST_XYZ")
 
332
    '("fit" "POPPLER_DEST_FIT")
 
333
    '("fith" "POPPLER_DEST_FITH")
 
334
    '("fitv" "POPPLER_DEST_FITV")
 
335
    '("fitr" "POPPLER_DEST_FITR")
 
336
    '("fitb" "POPPLER_DEST_FITB")
 
337
    '("fitbh" "POPPLER_DEST_FITBH")
 
338
    '("fitbv" "POPPLER_DEST_FITBV")
 
339
    '("named" "POPPLER_DEST_NAMED")
 
340
  )
 
341
)
 
342
 
 
343
(define-enum AnnotType
 
344
  (in-module "Poppler")
 
345
  (c-name "PopplerAnnotType")
 
346
  (gtype-id "POPPLER_TYPE_ANNOT_TYPE")
 
347
  (values
 
348
    '("unknown" "POPPLER_ANNOT_UNKNOWN")
 
349
    '("text" "POPPLER_ANNOT_TEXT")
 
350
    '("link" "POPPLER_ANNOT_LINK")
 
351
    '("free-text" "POPPLER_ANNOT_FREE_TEXT")
 
352
    '("line" "POPPLER_ANNOT_LINE")
 
353
    '("square" "POPPLER_ANNOT_SQUARE")
 
354
    '("circle" "POPPLER_ANNOT_CIRCLE")
 
355
    '("polygon" "POPPLER_ANNOT_POLYGON")
 
356
    '("poly-line" "POPPLER_ANNOT_POLY_LINE")
 
357
    '("highlight" "POPPLER_ANNOT_HIGHLIGHT")
 
358
    '("underline" "POPPLER_ANNOT_UNDERLINE")
 
359
    '("squiggly" "POPPLER_ANNOT_SQUIGGLY")
 
360
    '("strike-out" "POPPLER_ANNOT_STRIKE_OUT")
 
361
    '("stamp" "POPPLER_ANNOT_STAMP")
 
362
    '("caret" "POPPLER_ANNOT_CARET")
 
363
    '("ink" "POPPLER_ANNOT_INK")
 
364
    '("popup" "POPPLER_ANNOT_POPUP")
 
365
    '("file-attachment" "POPPLER_ANNOT_FILE_ATTACHMENT")
 
366
    '("sound" "POPPLER_ANNOT_SOUND")
 
367
    '("movie" "POPPLER_ANNOT_MOVIE")
 
368
    '("widget" "POPPLER_ANNOT_WIDGET")
 
369
    '("screen" "POPPLER_ANNOT_SCREEN")
 
370
    '("printer-mark" "POPPLER_ANNOT_PRINTER_MARK")
 
371
    '("trap-net" "POPPLER_ANNOT_TRAP_NET")
 
372
    '("watermark" "POPPLER_ANNOT_WATERMARK")
 
373
    '("3d" "POPPLER_ANNOT_3D")
 
374
  )
 
375
)
 
376
 
 
377
(define-flags AnnotFlag
 
378
  (in-module "Poppler")
 
379
  (c-name "PopplerAnnotFlag")
 
380
  (gtype-id "POPPLER_TYPE_ANNOT_FLAG")
 
381
  (values
 
382
    '("unknown" "POPPLER_ANNOT_FLAG_UNKNOWN")
 
383
    '("invisible" "POPPLER_ANNOT_FLAG_INVISIBLE")
 
384
    '("hidden" "POPPLER_ANNOT_FLAG_HIDDEN")
 
385
    '("print" "POPPLER_ANNOT_FLAG_PRINT")
 
386
    '("no-zoom" "POPPLER_ANNOT_FLAG_NO_ZOOM")
 
387
    '("no-rotate" "POPPLER_ANNOT_FLAG_NO_ROTATE")
 
388
    '("no-view" "POPPLER_ANNOT_FLAG_NO_VIEW")
 
389
    '("read-only" "POPPLER_ANNOT_FLAG_READ_ONLY")
 
390
    '("locked" "POPPLER_ANNOT_FLAG_LOCKED")
 
391
    '("toggle-no-view" "POPPLER_ANNOT_FLAG_TOGGLE_NO_VIEW")
 
392
    '("locked-contents" "POPPLER_ANNOT_FLAG_LOCKED_CONTENTS")
 
393
  )
 
394
)
 
395
 
 
396
(define-enum AnnotMarkupReplyType
 
397
  (in-module "Poppler")
 
398
  (c-name "PopplerAnnotMarkupReplyType")
 
399
  (gtype-id "POPPLER_TYPE_ANNOT_MARKUP_REPLY_TYPE")
 
400
  (values
 
401
    '("r" "POPPLER_ANNOT_MARKUP_REPLY_TYPE_R")
 
402
    '("group" "POPPLER_ANNOT_MARKUP_REPLY_TYPE_GROUP")
 
403
  )
 
404
)
 
405
 
 
406
(define-enum AnnotExternalDataType
 
407
  (in-module "Poppler")
 
408
  (c-name "PopplerAnnotExternalDataType")
 
409
  (gtype-id "POPPLER_TYPE_ANNOT_EXTERNAL_DATA_TYPE")
 
410
  (values
 
411
    '("3d" "POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_3D")
 
412
    '("unknown" "POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_UNKNOWN")
 
413
  )
 
414
)
 
415
 
 
416
(define-enum AnnotTextState
 
417
  (in-module "Poppler")
 
418
  (c-name "PopplerAnnotTextState")
 
419
  (gtype-id "POPPLER_TYPE_ANNOT_TEXT_STATE")
 
420
  (values
 
421
    '("marked" "POPPLER_ANNOT_TEXT_STATE_MARKED")
 
422
    '("unmarked" "POPPLER_ANNOT_TEXT_STATE_UNMARKED")
 
423
    '("accepted" "POPPLER_ANNOT_TEXT_STATE_ACCEPTED")
 
424
    '("rejected" "POPPLER_ANNOT_TEXT_STATE_REJECTED")
 
425
    '("cancelled" "POPPLER_ANNOT_TEXT_STATE_CANCELLED")
 
426
    '("completed" "POPPLER_ANNOT_TEXT_STATE_COMPLETED")
 
427
    '("none" "POPPLER_ANNOT_TEXT_STATE_NONE")
 
428
    '("unknown" "POPPLER_ANNOT_TEXT_STATE_UNKNOWN")
 
429
  )
 
430
)
 
431
 
 
432
(define-enum AnnotFreeTextQuadding
 
433
  (in-module "Poppler")
 
434
  (c-name "PopplerAnnotFreeTextQuadding")
 
435
  (gtype-id "POPPLER_TYPE_ANNOT_FREE_TEXT_QUADDING")
 
436
  (values
 
437
    '("left-justified" "POPPLER_ANNOT_FREE_TEXT_QUADDING_LEFT_JUSTIFIED")
 
438
    '("centered" "POPPLER_ANNOT_FREE_TEXT_QUADDING_CENTERED")
 
439
    '("right-justified" "POPPLER_ANNOT_FREE_TEXT_QUADDING_RIGHT_JUSTIFIED")
 
440
  )
 
441
)
 
442
 
 
443
(define-enum PageLayout
 
444
  (in-module "Poppler")
 
445
  (c-name "PopplerPageLayout")
 
446
  (gtype-id "POPPLER_TYPE_PAGE_LAYOUT")
 
447
  (values
 
448
    '("unset" "POPPLER_PAGE_LAYOUT_UNSET")
 
449
    '("single-page" "POPPLER_PAGE_LAYOUT_SINGLE_PAGE")
 
450
    '("one-column" "POPPLER_PAGE_LAYOUT_ONE_COLUMN")
 
451
    '("two-column-left" "POPPLER_PAGE_LAYOUT_TWO_COLUMN_LEFT")
 
452
    '("two-column-right" "POPPLER_PAGE_LAYOUT_TWO_COLUMN_RIGHT")
 
453
    '("two-page-left" "POPPLER_PAGE_LAYOUT_TWO_PAGE_LEFT")
 
454
    '("two-page-right" "POPPLER_PAGE_LAYOUT_TWO_PAGE_RIGHT")
 
455
  )
 
456
)
 
457
 
 
458
(define-enum PageMode
 
459
  (in-module "Poppler")
 
460
  (c-name "PopplerPageMode")
 
461
  (gtype-id "POPPLER_TYPE_PAGE_MODE")
 
462
  (values
 
463
    '("unset" "POPPLER_PAGE_MODE_UNSET")
 
464
    '("none" "POPPLER_PAGE_MODE_NONE")
 
465
    '("use-outlines" "POPPLER_PAGE_MODE_USE_OUTLINES")
 
466
    '("use-thumbs" "POPPLER_PAGE_MODE_USE_THUMBS")
 
467
    '("full-screen" "POPPLER_PAGE_MODE_FULL_SCREEN")
 
468
    '("use-oc" "POPPLER_PAGE_MODE_USE_OC")
 
469
    '("use-attachments" "POPPLER_PAGE_MODE_USE_ATTACHMENTS")
 
470
  )
 
471
)
 
472
 
 
473
(define-enum FontType
 
474
  (in-module "Poppler")
 
475
  (c-name "PopplerFontType")
 
476
  (gtype-id "POPPLER_TYPE_FONT_TYPE")
 
477
  (values
 
478
    '("unknown" "POPPLER_FONT_TYPE_UNKNOWN")
 
479
    '("type1" "POPPLER_FONT_TYPE_TYPE1")
 
480
    '("type1c" "POPPLER_FONT_TYPE_TYPE1C")
 
481
    '("type1cot" "POPPLER_FONT_TYPE_TYPE1COT")
 
482
    '("type3" "POPPLER_FONT_TYPE_TYPE3")
 
483
    '("truetype" "POPPLER_FONT_TYPE_TRUETYPE")
 
484
    '("truetypeot" "POPPLER_FONT_TYPE_TRUETYPEOT")
 
485
    '("cid-type0" "POPPLER_FONT_TYPE_CID_TYPE0")
 
486
    '("cid-type0c" "POPPLER_FONT_TYPE_CID_TYPE0C")
 
487
    '("cid-type0cot" "POPPLER_FONT_TYPE_CID_TYPE0COT")
 
488
    '("cid-type2" "POPPLER_FONT_TYPE_CID_TYPE2")
 
489
    '("cid-type2ot" "POPPLER_FONT_TYPE_CID_TYPE2OT")
 
490
  )
 
491
)
 
492
 
 
493
(define-flags ViewerPreferences
 
494
  (in-module "Poppler")
 
495
  (c-name "PopplerViewerPreferences")
 
496
  (gtype-id "POPPLER_TYPE_VIEWER_PREFERENCES")
 
497
  (values
 
498
    '("unset" "POPPLER_VIEWER_PREFERENCES_UNSET")
 
499
    '("hide-toolbar" "POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR")
 
500
    '("hide-menubar" "POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR")
 
501
    '("hide-windowui" "POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI")
 
502
    '("fit-window" "POPPLER_VIEWER_PREFERENCES_FIT_WINDOW")
 
503
    '("center-window" "POPPLER_VIEWER_PREFERENCES_CENTER_WINDOW")
 
504
    '("display-doc-title" "POPPLER_VIEWER_PREFERENCES_DISPLAY_DOC_TITLE")
 
505
    '("direction-rtl" "POPPLER_VIEWER_PREFERENCES_DIRECTION_RTL")
 
506
  )
 
507
)
 
508
 
 
509
(define-flags Permissions
 
510
  (in-module "Poppler")
 
511
  (c-name "PopplerPermissions")
 
512
  (gtype-id "POPPLER_TYPE_PERMISSIONS")
 
513
  (values
 
514
    '("ok-to-print" "POPPLER_PERMISSIONS_OK_TO_PRINT")
 
515
    '("ok-to-modify" "POPPLER_PERMISSIONS_OK_TO_MODIFY")
 
516
    '("ok-to-copy" "POPPLER_PERMISSIONS_OK_TO_COPY")
 
517
    '("ok-to-add-notes" "POPPLER_PERMISSIONS_OK_TO_ADD_NOTES")
 
518
    '("ok-to-fill-form" "POPPLER_PERMISSIONS_OK_TO_FILL_FORM")
 
519
    '("full" "POPPLER_PERMISSIONS_FULL")
 
520
  )
 
521
)
 
522
 
 
523
(define-enum FormFieldType
 
524
  (in-module "Poppler")
 
525
  (c-name "PopplerFormFieldType")
 
526
  (gtype-id "POPPLER_TYPE_FORM_FIELD_TYPE")
 
527
  (values
 
528
    '("unknown" "POPPLER_FORM_FIELD_UNKNOWN")
 
529
    '("button" "POPPLER_FORM_FIELD_BUTTON")
 
530
    '("text" "POPPLER_FORM_FIELD_TEXT")
 
531
    '("choice" "POPPLER_FORM_FIELD_CHOICE")
 
532
    '("signature" "POPPLER_FORM_FIELD_SIGNATURE")
 
533
  )
 
534
)
 
535
 
 
536
(define-enum FormButtonType
 
537
  (in-module "Poppler")
 
538
  (c-name "PopplerFormButtonType")
 
539
  (gtype-id "POPPLER_TYPE_FORM_BUTTON_TYPE")
 
540
  (values
 
541
    '("push" "POPPLER_FORM_BUTTON_PUSH")
 
542
    '("check" "POPPLER_FORM_BUTTON_CHECK")
 
543
    '("radio" "POPPLER_FORM_BUTTON_RADIO")
 
544
  )
 
545
)
 
546
 
 
547
(define-enum FormTextType
 
548
  (in-module "Poppler")
 
549
  (c-name "PopplerFormTextType")
 
550
  (gtype-id "POPPLER_TYPE_FORM_TEXT_TYPE")
 
551
  (values
 
552
    '("normal" "POPPLER_FORM_TEXT_NORMAL")
 
553
    '("multiline" "POPPLER_FORM_TEXT_MULTILINE")
 
554
    '("file-select" "POPPLER_FORM_TEXT_FILE_SELECT")
 
555
  )
 
556
)
 
557
 
 
558
(define-enum FormChoiceType
 
559
  (in-module "Poppler")
 
560
  (c-name "PopplerFormChoiceType")
 
561
  (gtype-id "POPPLER_TYPE_FORM_CHOICE_TYPE")
 
562
  (values
 
563
    '("combo" "POPPLER_FORM_CHOICE_COMBO")
 
564
    '("list" "POPPLER_FORM_CHOICE_LIST")
 
565
  )
 
566
)
 
567
 
 
568
(define-enum Error
 
569
  (in-module "Poppler")
 
570
  (c-name "PopplerError")
 
571
  (gtype-id "POPPLER_TYPE_ERROR")
 
572
  (values
 
573
    '("invalid" "POPPLER_ERROR_INVALID")
 
574
    '("encrypted" "POPPLER_ERROR_ENCRYPTED")
 
575
    '("open-file" "POPPLER_ERROR_OPEN_FILE")
 
576
    '("bad-catalog" "POPPLER_ERROR_BAD_CATALOG")
 
577
    '("damaged" "POPPLER_ERROR_DAMAGED")
 
578
  )
 
579
)
 
580
 
 
581
(define-enum Orientation
 
582
  (in-module "Poppler")
 
583
  (c-name "PopplerOrientation")
 
584
  (gtype-id "POPPLER_TYPE_ORIENTATION")
 
585
  (values
 
586
    '("portrait" "POPPLER_ORIENTATION_PORTRAIT")
 
587
    '("landscape" "POPPLER_ORIENTATION_LANDSCAPE")
 
588
    '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN")
 
589
    '("seascape" "POPPLER_ORIENTATION_SEASCAPE")
 
590
  )
 
591
)
 
592
 
 
593
(define-enum PageTransitionType
 
594
  (in-module "Poppler")
 
595
  (c-name "PopplerPageTransitionType")
 
596
  (gtype-id "POPPLER_TYPE_PAGE_TRANSITION_TYPE")
 
597
  (values
 
598
    '("replace" "POPPLER_PAGE_TRANSITION_REPLACE")
 
599
    '("split" "POPPLER_PAGE_TRANSITION_SPLIT")
 
600
    '("blinds" "POPPLER_PAGE_TRANSITION_BLINDS")
 
601
    '("box" "POPPLER_PAGE_TRANSITION_BOX")
 
602
    '("wipe" "POPPLER_PAGE_TRANSITION_WIPE")
 
603
    '("dissolve" "POPPLER_PAGE_TRANSITION_DISSOLVE")
 
604
    '("glitter" "POPPLER_PAGE_TRANSITION_GLITTER")
 
605
    '("fly" "POPPLER_PAGE_TRANSITION_FLY")
 
606
    '("push" "POPPLER_PAGE_TRANSITION_PUSH")
 
607
    '("cover" "POPPLER_PAGE_TRANSITION_COVER")
 
608
    '("uncover" "POPPLER_PAGE_TRANSITION_UNCOVER")
 
609
    '("fade" "POPPLER_PAGE_TRANSITION_FADE")
 
610
  )
 
611
)
 
612
 
 
613
(define-enum PageTransitionAlignment
 
614
  (in-module "Poppler")
 
615
  (c-name "PopplerPageTransitionAlignment")
 
616
  (gtype-id "POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT")
 
617
  (values
 
618
    '("horizontal" "POPPLER_PAGE_TRANSITION_HORIZONTAL")
 
619
    '("vertical" "POPPLER_PAGE_TRANSITION_VERTICAL")
 
620
  )
 
621
)
 
622
 
 
623
(define-enum PageTransitionDirection
 
624
  (in-module "Poppler")
 
625
  (c-name "PopplerPageTransitionDirection")
 
626
  (gtype-id "POPPLER_TYPE_PAGE_TRANSITION_DIRECTION")
 
627
  (values
 
628
    '("inward" "POPPLER_PAGE_TRANSITION_INWARD")
 
629
    '("outward" "POPPLER_PAGE_TRANSITION_OUTWARD")
 
630
  )
 
631
)
 
632
 
 
633
(define-enum SelectionStyle
 
634
  (in-module "Poppler")
 
635
  (c-name "PopplerSelectionStyle")
 
636
  (gtype-id "POPPLER_TYPE_SELECTION_STYLE")
 
637
  (values
 
638
    '("glyph" "POPPLER_SELECTION_GLYPH")
 
639
    '("word" "POPPLER_SELECTION_WORD")
 
640
    '("line" "POPPLER_SELECTION_LINE")
 
641
  )
 
642
)
 
643
 
 
644
(define-enum Backend
 
645
  (in-module "Poppler")
 
646
  (c-name "PopplerBackend")
 
647
  (gtype-id "POPPLER_TYPE_BACKEND")
 
648
  (values
 
649
    '("unknown" "POPPLER_BACKEND_UNKNOWN")
 
650
    '("splash" "POPPLER_BACKEND_SPLASH")
 
651
    '("cairo" "POPPLER_BACKEND_CAIRO")
 
652
  )
 
653
)
 
654
 
 
655
 
 
656
 
 
657
;; From poppler-action.h
 
658
 
 
659
(define-function poppler_action_get_type
 
660
  (c-name "poppler_action_get_type")
 
661
  (return-type "GType")
 
662
)
 
663
 
 
664
(define-method free
 
665
  (of-object "PopplerAction")
 
666
  (c-name "poppler_action_free")
 
667
  (return-type "none")
 
668
)
 
669
 
 
670
(define-method copy
 
671
  (of-object "PopplerAction")
 
672
  (c-name "poppler_action_copy")
 
673
  (return-type "PopplerAction*")
 
674
)
 
675
 
 
676
(define-function poppler_dest_get_type
 
677
  (c-name "poppler_dest_get_type")
 
678
  (return-type "GType")
 
679
)
 
680
 
 
681
(define-method free
 
682
  (of-object "PopplerDest")
 
683
  (c-name "poppler_dest_free")
 
684
  (return-type "none")
 
685
)
 
686
 
 
687
(define-method copy
 
688
  (of-object "PopplerDest")
 
689
  (c-name "poppler_dest_copy")
 
690
  (return-type "PopplerDest*")
 
691
)
 
692
 
 
693
 
 
694
 
 
695
;; From poppler-annot.h
 
696
 
 
697
(define-function poppler_annot_get_type
 
698
  (c-name "poppler_annot_get_type")
 
699
  (return-type "GType")
 
700
)
 
701
 
 
702
(define-method get_annot_type
 
703
  (of-object "PopplerAnnot")
 
704
  (c-name "poppler_annot_get_annot_type")
 
705
  (return-type "PopplerAnnotType")
 
706
)
 
707
 
 
708
(define-method get_contents
 
709
  (of-object "PopplerAnnot")
 
710
  (c-name "poppler_annot_get_contents")
 
711
  (return-type "gchar*")
 
712
)
 
713
 
 
714
(define-method set_contents
 
715
  (of-object "PopplerAnnot")
 
716
  (c-name "poppler_annot_set_contents")
 
717
  (return-type "none")
 
718
  (parameters
 
719
    '("const-gchar*" "contents")
 
720
  )
 
721
)
 
722
 
 
723
(define-method get_name
 
724
  (of-object "PopplerAnnot")
 
725
  (c-name "poppler_annot_get_name")
 
726
  (return-type "gchar*")
 
727
)
 
728
 
 
729
(define-method get_modified
 
730
  (of-object "PopplerAnnot")
 
731
  (c-name "poppler_annot_get_modified")
 
732
  (return-type "gchar*")
 
733
)
 
734
 
 
735
(define-method get_flags
 
736
  (of-object "PopplerAnnot")
 
737
  (c-name "poppler_annot_get_flags")
 
738
  (return-type "PopplerAnnotFlag")
 
739
)
 
740
 
 
741
(define-method get_color
 
742
  (of-object "PopplerAnnot")
 
743
  (c-name "poppler_annot_get_color")
 
744
  (return-type "PopplerColor*")
 
745
)
 
746
 
 
747
(define-function poppler_annot_markup_get_type
 
748
  (c-name "poppler_annot_markup_get_type")
 
749
  (return-type "GType")
 
750
)
 
751
 
 
752
(define-method get_label
 
753
  (of-object "PopplerAnnotMarkup")
 
754
  (c-name "poppler_annot_markup_get_label")
 
755
  (return-type "gchar*")
 
756
)
 
757
 
 
758
(define-method has_popup
 
759
  (of-object "PopplerAnnotMarkup")
 
760
  (c-name "poppler_annot_markup_has_popup")
 
761
  (return-type "gboolean")
 
762
)
 
763
 
 
764
(define-method get_popup_is_open
 
765
  (of-object "PopplerAnnotMarkup")
 
766
  (c-name "poppler_annot_markup_get_popup_is_open")
 
767
  (return-type "gboolean")
 
768
)
 
769
 
 
770
(define-method get_popup_rectangle
 
771
  (of-object "PopplerAnnotMarkup")
 
772
  (c-name "poppler_annot_markup_get_popup_rectangle")
 
773
  (return-type "gboolean")
 
774
  (parameters
 
775
    '("PopplerRectangle*" "poppler_rect")
 
776
  )
 
777
)
 
778
 
 
779
(define-method get_opacity
 
780
  (of-object "PopplerAnnotMarkup")
 
781
  (c-name "poppler_annot_markup_get_opacity")
 
782
  (return-type "gdouble")
 
783
)
 
784
 
 
785
(define-method get_date
 
786
  (of-object "PopplerAnnotMarkup")
 
787
  (c-name "poppler_annot_markup_get_date")
 
788
  (return-type "GDate*")
 
789
)
 
790
 
 
791
(define-method get_subject
 
792
  (of-object "PopplerAnnotMarkup")
 
793
  (c-name "poppler_annot_markup_get_subject")
 
794
  (return-type "gchar*")
 
795
)
 
796
 
 
797
(define-method get_reply_to
 
798
  (of-object "PopplerAnnotMarkup")
 
799
  (c-name "poppler_annot_markup_get_reply_to")
 
800
  (return-type "PopplerAnnotMarkupReplyType")
 
801
)
 
802
 
 
803
(define-method get_external_data
 
804
  (of-object "PopplerAnnotMarkup")
 
805
  (c-name "poppler_annot_markup_get_external_data")
 
806
  (return-type "PopplerAnnotExternalDataType")
 
807
)
 
808
 
 
809
(define-function poppler_annot_text_get_type
 
810
  (c-name "poppler_annot_text_get_type")
 
811
  (return-type "GType")
 
812
)
 
813
 
 
814
(define-method get_is_open
 
815
  (of-object "PopplerAnnotText")
 
816
  (c-name "poppler_annot_text_get_is_open")
 
817
  (return-type "gboolean")
 
818
)
 
819
 
 
820
(define-method get_icon
 
821
  (of-object "PopplerAnnotText")
 
822
  (c-name "poppler_annot_text_get_icon")
 
823
  (return-type "gchar*")
 
824
)
 
825
 
 
826
(define-method get_state
 
827
  (of-object "PopplerAnnotText")
 
828
  (c-name "poppler_annot_text_get_state")
 
829
  (return-type "PopplerAnnotTextState")
 
830
)
 
831
 
 
832
(define-function poppler_annot_free_text_get_type
 
833
  (c-name "poppler_annot_free_text_get_type")
 
834
  (return-type "GType")
 
835
)
 
836
 
 
837
(define-method get_quadding
 
838
  (of-object "PopplerAnnotFreeText")
 
839
  (c-name "poppler_annot_free_text_get_quadding")
 
840
  (return-type "PopplerAnnotFreeTextQuadding")
 
841
)
 
842
 
 
843
(define-method get_callout_line
 
844
  (of-object "PopplerAnnotFreeText")
 
845
  (c-name "poppler_annot_free_text_get_callout_line")
 
846
  (return-type "PopplerAnnotCalloutLine*")
 
847
)
 
848
 
 
849
(define-function poppler_annot_callout_line_get_type
 
850
  (c-name "poppler_annot_callout_line_get_type")
 
851
  (return-type "GType")
 
852
)
 
853
 
 
854
(define-function poppler_annot_callout_line_new
 
855
  (c-name "poppler_annot_callout_line_new")
 
856
  (is-constructor-of "PopplerAnnotCalloutLine")
 
857
  (return-type "PopplerAnnotCalloutLine*")
 
858
)
 
859
 
 
860
(define-method copy
 
861
  (of-object "PopplerAnnotCalloutLine")
 
862
  (c-name "poppler_annot_callout_line_copy")
 
863
  (return-type "PopplerAnnotCalloutLine*")
 
864
)
 
865
 
 
866
(define-method free
 
867
  (of-object "PopplerAnnotCalloutLine")
 
868
  (c-name "poppler_annot_callout_line_free")
 
869
  (return-type "none")
 
870
)
 
871
 
 
872
 
 
873
 
 
874
;; From poppler-attachment.h
 
875
 
 
876
(define-function poppler_attachment_get_type
 
877
  (c-name "poppler_attachment_get_type")
 
878
  (return-type "GType")
 
879
)
 
880
 
 
881
(define-method save
 
882
  (of-object "PopplerAttachment")
 
883
  (c-name "poppler_attachment_save")
 
884
  (return-type "gboolean")
 
885
  (parameters
 
886
    '("const-char*" "filename")
 
887
    '("GError**" "error")
 
888
  )
 
889
)
 
890
 
 
891
(define-method save_to_callback
 
892
  (of-object "PopplerAttachment")
 
893
  (c-name "poppler_attachment_save_to_callback")
 
894
  (return-type "gboolean")
 
895
  (parameters
 
896
    '("PopplerAttachmentSaveFunc" "save_func")
 
897
    '("gpointer" "user_data")
 
898
    '("GError**" "error")
 
899
  )
 
900
)
 
901
 
 
902
 
 
903
 
 
904
;; From poppler-date.h
 
905
 
 
906
(define-function date_parse
 
907
  (c-name "poppler_date_parse")
 
908
  (return-type "gboolean")
 
909
  (parameters
 
910
    '("const-gchar*" "date")
 
911
    '("time_t*" "timet")
 
912
  )
 
913
)
 
914
 
 
915
 
 
916
 
 
917
;; From poppler-document.h
 
918
 
 
919
(define-function poppler_document_get_type
 
920
  (c-name "poppler_document_get_type")
 
921
  (return-type "GType")
 
922
)
 
923
 
 
924
(define-function document_new_from_file
 
925
  (c-name "poppler_document_new_from_file")
 
926
  (return-type "PopplerDocument*")
 
927
  (parameters
 
928
    '("const-char*" "uri")
 
929
    '("const-char*" "password" (null-ok))
 
930
    '("GError**" "error")
 
931
  )
 
932
)
 
933
 
 
934
(define-function document_new_from_data
 
935
  (c-name "poppler_document_new_from_data")
 
936
  (return-type "PopplerDocument*")
 
937
  (parameters
 
938
    '("char*" "data")
 
939
    '("int" "length")
 
940
    '("const-char*" "password")
 
941
    '("GError**" "error")
 
942
  )
 
943
)
 
944
 
 
945
(define-method save
 
946
  (of-object "PopplerDocument")
 
947
  (c-name "poppler_document_save")
 
948
  (return-type "gboolean")
 
949
  (parameters
 
950
    '("const-char*" "uri")
 
951
    '("GError**" "error")
 
952
  )
 
953
)
 
954
 
 
955
(define-method save_a_copy
 
956
  (of-object "PopplerDocument")
 
957
  (c-name "poppler_document_save_a_copy")
 
958
  (return-type "gboolean")
 
959
  (parameters
 
960
    '("const-char*" "uri")
 
961
    '("GError**" "error")
 
962
  )
 
963
)
 
964
 
 
965
(define-method get_n_pages
 
966
  (of-object "PopplerDocument")
 
967
  (c-name "poppler_document_get_n_pages")
 
968
  (return-type "int")
 
969
)
 
970
 
 
971
(define-method get_page
 
972
  (of-object "PopplerDocument")
 
973
  (c-name "poppler_document_get_page")
 
974
  (return-type "PopplerPage*")
 
975
  (parameters
 
976
    '("int" "index")
 
977
  )
 
978
)
 
979
 
 
980
(define-method get_page_by_label
 
981
  (of-object "PopplerDocument")
 
982
  (c-name "poppler_document_get_page_by_label")
 
983
  (return-type "PopplerPage*")
 
984
  (parameters
 
985
    '("const-char*" "label")
 
986
  )
 
987
)
 
988
 
 
989
(define-method has_attachments
 
990
  (of-object "PopplerDocument")
 
991
  (c-name "poppler_document_has_attachments")
 
992
  (return-type "gboolean")
 
993
)
 
994
 
 
995
(define-method get_attachments
 
996
  (of-object "PopplerDocument")
 
997
  (c-name "poppler_document_get_attachments")
 
998
  (return-type "GList*")
 
999
)
 
1000
 
 
1001
(define-method find_dest
 
1002
  (of-object "PopplerDocument")
 
1003
  (c-name "poppler_document_find_dest")
 
1004
  (return-type "PopplerDest*")
 
1005
  (parameters
 
1006
    '("const-gchar*" "link_name")
 
1007
  )
 
1008
)
 
1009
 
 
1010
(define-method get_form_field
 
1011
  (of-object "PopplerDocument")
 
1012
  (c-name "poppler_document_get_form_field")
 
1013
  (return-type "PopplerFormField*")
 
1014
  (parameters
 
1015
    '("gint" "id")
 
1016
  )
 
1017
)
 
1018
 
 
1019
(define-function poppler_index_iter_get_type
 
1020
  (c-name "poppler_index_iter_get_type")
 
1021
  (return-type "GType")
 
1022
)
 
1023
 
 
1024
(define-function poppler_index_iter_new
 
1025
  (c-name "poppler_index_iter_new")
 
1026
  (is-constructor-of "PopplerIndexIter")
 
1027
  (return-type "PopplerIndexIter*")
 
1028
  (parameters
 
1029
    '("PopplerDocument*" "document")
 
1030
  )
 
1031
)
 
1032
 
 
1033
(define-method copy
 
1034
  (of-object "PopplerIndexIter")
 
1035
  (c-name "poppler_index_iter_copy")
 
1036
  (return-type "PopplerIndexIter*")
 
1037
)
 
1038
 
 
1039
(define-method free
 
1040
  (of-object "PopplerIndexIter")
 
1041
  (c-name "poppler_index_iter_free")
 
1042
  (return-type "none")
 
1043
)
 
1044
 
 
1045
(define-method get_child
 
1046
  (of-object "PopplerIndexIter")
 
1047
  (c-name "poppler_index_iter_get_child")
 
1048
  (return-type "PopplerIndexIter*")
 
1049
)
 
1050
 
 
1051
(define-method is_open
 
1052
  (of-object "PopplerIndexIter")
 
1053
  (c-name "poppler_index_iter_is_open")
 
1054
  (return-type "gboolean")
 
1055
)
 
1056
 
 
1057
(define-method get_action
 
1058
  (of-object "PopplerIndexIter")
 
1059
  (c-name "poppler_index_iter_get_action")
 
1060
  (return-type "PopplerAction*")
 
1061
)
 
1062
 
 
1063
(define-method next
 
1064
  (of-object "PopplerIndexIter")
 
1065
  (c-name "poppler_index_iter_next")
 
1066
  (return-type "gboolean")
 
1067
)
 
1068
 
 
1069
(define-function poppler_font_info_get_type
 
1070
  (c-name "poppler_font_info_get_type")
 
1071
  (return-type "GType")
 
1072
)
 
1073
 
 
1074
(define-function poppler_font_info_new
 
1075
  (c-name "poppler_font_info_new")
 
1076
  (is-constructor-of "PopplerFontInfo")
 
1077
  (return-type "PopplerFontInfo*")
 
1078
  (parameters
 
1079
    '("PopplerDocument*" "document")
 
1080
  )
 
1081
)
 
1082
 
 
1083
(define-method scan
 
1084
  (of-object "PopplerFontInfo")
 
1085
  (c-name "poppler_font_info_scan")
 
1086
  (return-type "gboolean")
 
1087
  (parameters
 
1088
    '("int" "n_pages")
 
1089
    '("PopplerFontsIter**" "iter")
 
1090
  )
 
1091
)
 
1092
 
 
1093
(define-method free
 
1094
  (of-object "PopplerFontInfo")
 
1095
  (c-name "poppler_font_info_free")
 
1096
  (return-type "none")
 
1097
)
 
1098
 
 
1099
(define-function poppler_fonts_iter_get_type
 
1100
  (c-name "poppler_fonts_iter_get_type")
 
1101
  (return-type "GType")
 
1102
)
 
1103
 
 
1104
(define-method copy
 
1105
  (of-object "PopplerFontsIter")
 
1106
  (c-name "poppler_fonts_iter_copy")
 
1107
  (return-type "PopplerFontsIter*")
 
1108
)
 
1109
 
 
1110
(define-method free
 
1111
  (of-object "PopplerFontsIter")
 
1112
  (c-name "poppler_fonts_iter_free")
 
1113
  (return-type "none")
 
1114
)
 
1115
 
 
1116
(define-method get_name
 
1117
  (of-object "PopplerFontsIter")
 
1118
  (c-name "poppler_fonts_iter_get_name")
 
1119
  (return-type "const-char*")
 
1120
)
 
1121
 
 
1122
(define-method get_full_name
 
1123
  (of-object "PopplerFontsIter")
 
1124
  (c-name "poppler_fonts_iter_get_full_name")
 
1125
  (return-type "const-char*")
 
1126
)
 
1127
 
 
1128
(define-method get_file_name
 
1129
  (of-object "PopplerFontsIter")
 
1130
  (c-name "poppler_fonts_iter_get_file_name")
 
1131
  (return-type "const-char*")
 
1132
)
 
1133
 
 
1134
(define-method get_font_type
 
1135
  (of-object "PopplerFontsIter")
 
1136
  (c-name "poppler_fonts_iter_get_font_type")
 
1137
  (return-type "PopplerFontType")
 
1138
)
 
1139
 
 
1140
(define-method is_embedded
 
1141
  (of-object "PopplerFontsIter")
 
1142
  (c-name "poppler_fonts_iter_is_embedded")
 
1143
  (return-type "gboolean")
 
1144
)
 
1145
 
 
1146
(define-method is_subset
 
1147
  (of-object "PopplerFontsIter")
 
1148
  (c-name "poppler_fonts_iter_is_subset")
 
1149
  (return-type "gboolean")
 
1150
)
 
1151
 
 
1152
(define-method next
 
1153
  (of-object "PopplerFontsIter")
 
1154
  (c-name "poppler_fonts_iter_next")
 
1155
  (return-type "gboolean")
 
1156
)
 
1157
 
 
1158
(define-function poppler_layers_iter_get_type
 
1159
  (c-name "poppler_layers_iter_get_type")
 
1160
  (return-type "GType")
 
1161
)
 
1162
 
 
1163
(define-function poppler_layers_iter_new
 
1164
  (c-name "poppler_layers_iter_new")
 
1165
  (is-constructor-of "PopplerLayersIter")
 
1166
  (return-type "PopplerLayersIter*")
 
1167
  (parameters
 
1168
    '("PopplerDocument*" "document")
 
1169
  )
 
1170
)
 
1171
 
 
1172
(define-method copy
 
1173
  (of-object "PopplerLayersIter")
 
1174
  (c-name "poppler_layers_iter_copy")
 
1175
  (return-type "PopplerLayersIter*")
 
1176
)
 
1177
 
 
1178
(define-method free
 
1179
  (of-object "PopplerLayersIter")
 
1180
  (c-name "poppler_layers_iter_free")
 
1181
  (return-type "none")
 
1182
)
 
1183
 
 
1184
(define-method get_child
 
1185
  (of-object "PopplerLayersIter")
 
1186
  (c-name "poppler_layers_iter_get_child")
 
1187
  (return-type "PopplerLayersIter*")
 
1188
)
 
1189
 
 
1190
(define-method get_title
 
1191
  (of-object "PopplerLayersIter")
 
1192
  (c-name "poppler_layers_iter_get_title")
 
1193
  (return-type "gchar*")
 
1194
)
 
1195
 
 
1196
(define-method get_layer
 
1197
  (of-object "PopplerLayersIter")
 
1198
  (c-name "poppler_layers_iter_get_layer")
 
1199
  (return-type "PopplerLayer*")
 
1200
)
 
1201
 
 
1202
(define-method next
 
1203
  (of-object "PopplerLayersIter")
 
1204
  (c-name "poppler_layers_iter_next")
 
1205
  (return-type "gboolean")
 
1206
)
 
1207
 
 
1208
(define-function poppler_ps_file_get_type
 
1209
  (c-name "poppler_ps_file_get_type")
 
1210
  (return-type "GType")
 
1211
)
 
1212
 
 
1213
(define-function poppler_ps_file_new
 
1214
  (c-name "poppler_ps_file_new")
 
1215
  (is-constructor-of "PopplerPSFile")
 
1216
  (return-type "PopplerPSFile*")
 
1217
  (parameters
 
1218
    '("PopplerDocument*" "document")
 
1219
    '("const-char*" "filename")
 
1220
    '("int" "first_page")
 
1221
    '("int" "n_pages")
 
1222
  )
 
1223
)
 
1224
 
 
1225
(define-method set_paper_size
 
1226
  (of-object "PopplerPSFile")
 
1227
  (c-name "poppler_ps_file_set_paper_size")
 
1228
  (return-type "none")
 
1229
  (parameters
 
1230
    '("double" "width")
 
1231
    '("double" "height")
 
1232
  )
 
1233
)
 
1234
 
 
1235
(define-method set_duplex
 
1236
  (of-object "PopplerPSFile")
 
1237
  (c-name "poppler_ps_file_set_duplex")
 
1238
  (return-type "none")
 
1239
  (parameters
 
1240
    '("gboolean" "duplex")
 
1241
  )
 
1242
)
 
1243
 
 
1244
(define-method free
 
1245
  (of-object "PopplerPSFile")
 
1246
  (c-name "poppler_ps_file_free")
 
1247
  (return-type "none")
 
1248
)
 
1249
 
 
1250
 
 
1251
 
 
1252
;; From poppler-enums.h
 
1253
 
 
1254
(define-function poppler_action_type_get_type
 
1255
  (c-name "poppler_action_type_get_type")
 
1256
  (return-type "GType")
 
1257
)
 
1258
 
 
1259
(define-function poppler_dest_type_get_type
 
1260
  (c-name "poppler_dest_type_get_type")
 
1261
  (return-type "GType")
 
1262
)
 
1263
 
 
1264
(define-function poppler_page_layout_get_type
 
1265
  (c-name "poppler_page_layout_get_type")
 
1266
  (return-type "GType")
 
1267
)
 
1268
 
 
1269
(define-function poppler_page_mode_get_type
 
1270
  (c-name "poppler_page_mode_get_type")
 
1271
  (return-type "GType")
 
1272
)
 
1273
 
 
1274
(define-function poppler_font_type_get_type
 
1275
  (c-name "poppler_font_type_get_type")
 
1276
  (return-type "GType")
 
1277
)
 
1278
 
 
1279
(define-function poppler_viewer_preferences_get_type
 
1280
  (c-name "poppler_viewer_preferences_get_type")
 
1281
  (return-type "GType")
 
1282
)
 
1283
 
 
1284
(define-function poppler_permissions_get_type
 
1285
  (c-name "poppler_permissions_get_type")
 
1286
  (return-type "GType")
 
1287
)
 
1288
 
 
1289
(define-function poppler_form_field_type_get_type
 
1290
  (c-name "poppler_form_field_type_get_type")
 
1291
  (return-type "GType")
 
1292
)
 
1293
 
 
1294
(define-function poppler_form_button_type_get_type
 
1295
  (c-name "poppler_form_button_type_get_type")
 
1296
  (return-type "GType")
 
1297
)
 
1298
 
 
1299
(define-function poppler_form_text_type_get_type
 
1300
  (c-name "poppler_form_text_type_get_type")
 
1301
  (return-type "GType")
 
1302
)
 
1303
 
 
1304
(define-function poppler_form_choice_type_get_type
 
1305
  (c-name "poppler_form_choice_type_get_type")
 
1306
  (return-type "GType")
 
1307
)
 
1308
 
 
1309
(define-function poppler_annot_type_get_type
 
1310
  (c-name "poppler_annot_type_get_type")
 
1311
  (return-type "GType")
 
1312
)
 
1313
 
 
1314
(define-function poppler_annot_flag_get_type
 
1315
  (c-name "poppler_annot_flag_get_type")
 
1316
  (return-type "GType")
 
1317
)
 
1318
 
 
1319
(define-function poppler_annot_markup_reply_type_get_type
 
1320
  (c-name "poppler_annot_markup_reply_type_get_type")
 
1321
  (return-type "GType")
 
1322
)
 
1323
 
 
1324
(define-function poppler_annot_external_data_type_get_type
 
1325
  (c-name "poppler_annot_external_data_type_get_type")
 
1326
  (return-type "GType")
 
1327
)
 
1328
 
 
1329
(define-function poppler_annot_text_state_get_type
 
1330
  (c-name "poppler_annot_text_state_get_type")
 
1331
  (return-type "GType")
 
1332
)
 
1333
 
 
1334
(define-function poppler_annot_free_text_quadding_get_type
 
1335
  (c-name "poppler_annot_free_text_quadding_get_type")
 
1336
  (return-type "GType")
 
1337
)
 
1338
 
 
1339
(define-function poppler_error_get_type
 
1340
  (c-name "poppler_error_get_type")
 
1341
  (return-type "GType")
 
1342
)
 
1343
 
 
1344
(define-function poppler_orientation_get_type
 
1345
  (c-name "poppler_orientation_get_type")
 
1346
  (return-type "GType")
 
1347
)
 
1348
 
 
1349
(define-function poppler_page_transition_type_get_type
 
1350
  (c-name "poppler_page_transition_type_get_type")
 
1351
  (return-type "GType")
 
1352
)
 
1353
 
 
1354
(define-function poppler_page_transition_alignment_get_type
 
1355
  (c-name "poppler_page_transition_alignment_get_type")
 
1356
  (return-type "GType")
 
1357
)
 
1358
 
 
1359
(define-function poppler_page_transition_direction_get_type
 
1360
  (c-name "poppler_page_transition_direction_get_type")
 
1361
  (return-type "GType")
 
1362
)
 
1363
 
 
1364
(define-function poppler_selection_style_get_type
 
1365
  (c-name "poppler_selection_style_get_type")
 
1366
  (return-type "GType")
 
1367
)
 
1368
 
 
1369
(define-function poppler_backend_get_type
 
1370
  (c-name "poppler_backend_get_type")
 
1371
  (return-type "GType")
 
1372
)
 
1373
 
 
1374
 
 
1375
 
 
1376
;; From poppler-features.h
 
1377
 
 
1378
 
 
1379
 
 
1380
;; From poppler-form-field.h
 
1381
 
 
1382
(define-function poppler_form_field_get_type
 
1383
  (c-name "poppler_form_field_get_type")
 
1384
  (return-type "GType")
 
1385
)
 
1386
 
 
1387
(define-method get_field_type
 
1388
  (of-object "PopplerFormField")
 
1389
  (c-name "poppler_form_field_get_field_type")
 
1390
  (return-type "PopplerFormFieldType")
 
1391
)
 
1392
 
 
1393
(define-method get_id
 
1394
  (of-object "PopplerFormField")
 
1395
  (c-name "poppler_form_field_get_id")
 
1396
  (return-type "gint")
 
1397
)
 
1398
 
 
1399
(define-method get_font_size
 
1400
  (of-object "PopplerFormField")
 
1401
  (c-name "poppler_form_field_get_font_size")
 
1402
  (return-type "gdouble")
 
1403
)
 
1404
 
 
1405
(define-method is_read_only
 
1406
  (of-object "PopplerFormField")
 
1407
  (c-name "poppler_form_field_is_read_only")
 
1408
  (return-type "gboolean")
 
1409
)
 
1410
 
 
1411
(define-method button_get_button_type
 
1412
  (of-object "PopplerFormField")
 
1413
  (c-name "poppler_form_field_button_get_button_type")
 
1414
  (return-type "PopplerFormButtonType")
 
1415
)
 
1416
 
 
1417
(define-method button_get_state
 
1418
  (of-object "PopplerFormField")
 
1419
  (c-name "poppler_form_field_button_get_state")
 
1420
  (return-type "gboolean")
 
1421
)
 
1422
 
 
1423
(define-method button_set_state
 
1424
  (of-object "PopplerFormField")
 
1425
  (c-name "poppler_form_field_button_set_state")
 
1426
  (return-type "none")
 
1427
  (parameters
 
1428
    '("gboolean" "state")
 
1429
  )
 
1430
)
 
1431
 
 
1432
(define-method text_get_text_type
 
1433
  (of-object "PopplerFormField")
 
1434
  (c-name "poppler_form_field_text_get_text_type")
 
1435
  (return-type "PopplerFormTextType")
 
1436
)
 
1437
 
 
1438
(define-method text_get_text
 
1439
  (of-object "PopplerFormField")
 
1440
  (c-name "poppler_form_field_text_get_text")
 
1441
  (return-type "gchar*")
 
1442
)
 
1443
 
 
1444
(define-method text_set_text
 
1445
  (of-object "PopplerFormField")
 
1446
  (c-name "poppler_form_field_text_set_text")
 
1447
  (return-type "none")
 
1448
  (parameters
 
1449
    '("const-gchar*" "text")
 
1450
  )
 
1451
)
 
1452
 
 
1453
(define-method text_get_max_len
 
1454
  (of-object "PopplerFormField")
 
1455
  (c-name "poppler_form_field_text_get_max_len")
 
1456
  (return-type "gint")
 
1457
)
 
1458
 
 
1459
(define-method text_do_spell_check
 
1460
  (of-object "PopplerFormField")
 
1461
  (c-name "poppler_form_field_text_do_spell_check")
 
1462
  (return-type "gboolean")
 
1463
)
 
1464
 
 
1465
(define-method text_do_scroll
 
1466
  (of-object "PopplerFormField")
 
1467
  (c-name "poppler_form_field_text_do_scroll")
 
1468
  (return-type "gboolean")
 
1469
)
 
1470
 
 
1471
(define-method text_is_rich_text
 
1472
  (of-object "PopplerFormField")
 
1473
  (c-name "poppler_form_field_text_is_rich_text")
 
1474
  (return-type "gboolean")
 
1475
)
 
1476
 
 
1477
(define-method text_is_password
 
1478
  (of-object "PopplerFormField")
 
1479
  (c-name "poppler_form_field_text_is_password")
 
1480
  (return-type "gboolean")
 
1481
)
 
1482
 
 
1483
(define-method choice_get_choice_type
 
1484
  (of-object "PopplerFormField")
 
1485
  (c-name "poppler_form_field_choice_get_choice_type")
 
1486
  (return-type "PopplerFormChoiceType")
 
1487
)
 
1488
 
 
1489
(define-method choice_is_editable
 
1490
  (of-object "PopplerFormField")
 
1491
  (c-name "poppler_form_field_choice_is_editable")
 
1492
  (return-type "gboolean")
 
1493
)
 
1494
 
 
1495
(define-method choice_can_select_multiple
 
1496
  (of-object "PopplerFormField")
 
1497
  (c-name "poppler_form_field_choice_can_select_multiple")
 
1498
  (return-type "gboolean")
 
1499
)
 
1500
 
 
1501
(define-method choice_do_spell_check
 
1502
  (of-object "PopplerFormField")
 
1503
  (c-name "poppler_form_field_choice_do_spell_check")
 
1504
  (return-type "gboolean")
 
1505
)
 
1506
 
 
1507
(define-method choice_commit_on_change
 
1508
  (of-object "PopplerFormField")
 
1509
  (c-name "poppler_form_field_choice_commit_on_change")
 
1510
  (return-type "gboolean")
 
1511
)
 
1512
 
 
1513
(define-method choice_get_n_items
 
1514
  (of-object "PopplerFormField")
 
1515
  (c-name "poppler_form_field_choice_get_n_items")
 
1516
  (return-type "gint")
 
1517
)
 
1518
 
 
1519
(define-method choice_get_item
 
1520
  (of-object "PopplerFormField")
 
1521
  (c-name "poppler_form_field_choice_get_item")
 
1522
  (return-type "gchar*")
 
1523
  (parameters
 
1524
    '("gint" "index")
 
1525
  )
 
1526
)
 
1527
 
 
1528
(define-method choice_is_item_selected
 
1529
  (of-object "PopplerFormField")
 
1530
  (c-name "poppler_form_field_choice_is_item_selected")
 
1531
  (return-type "gboolean")
 
1532
  (parameters
 
1533
    '("gint" "index")
 
1534
  )
 
1535
)
 
1536
 
 
1537
(define-method choice_select_item
 
1538
  (of-object "PopplerFormField")
 
1539
  (c-name "poppler_form_field_choice_select_item")
 
1540
  (return-type "none")
 
1541
  (parameters
 
1542
    '("gint" "index")
 
1543
  )
 
1544
)
 
1545
 
 
1546
(define-method choice_unselect_all
 
1547
  (of-object "PopplerFormField")
 
1548
  (c-name "poppler_form_field_choice_unselect_all")
 
1549
  (return-type "none")
 
1550
)
 
1551
 
 
1552
(define-method choice_toggle_item
 
1553
  (of-object "PopplerFormField")
 
1554
  (c-name "poppler_form_field_choice_toggle_item")
 
1555
  (return-type "none")
 
1556
  (parameters
 
1557
    '("gint" "index")
 
1558
  )
 
1559
)
 
1560
 
 
1561
(define-method choice_set_text
 
1562
  (of-object "PopplerFormField")
 
1563
  (c-name "poppler_form_field_choice_set_text")
 
1564
  (return-type "none")
 
1565
  (parameters
 
1566
    '("const-gchar*" "text")
 
1567
  )
 
1568
)
 
1569
 
 
1570
(define-method choice_get_text
 
1571
  (of-object "PopplerFormField")
 
1572
  (c-name "poppler_form_field_choice_get_text")
 
1573
  (return-type "gchar*")
 
1574
)
 
1575
 
 
1576
 
 
1577
 
 
1578
;; From poppler.h
 
1579
 
 
1580
(define-function error_quark
 
1581
  (c-name "poppler_error_quark")
 
1582
  (return-type "GQuark")
 
1583
)
 
1584
 
 
1585
(define-function get_backend
 
1586
  (c-name "poppler_get_backend")
 
1587
  (return-type "PopplerBackend")
 
1588
)
 
1589
 
 
1590
(define-function get_version
 
1591
  (c-name "poppler_get_version")
 
1592
  (return-type "const-char*")
 
1593
)
 
1594
 
 
1595
 
 
1596
 
 
1597
;; From poppler-layer.h
 
1598
 
 
1599
(define-function poppler_layer_get_type
 
1600
  (c-name "poppler_layer_get_type")
 
1601
  (return-type "GType")
 
1602
)
 
1603
 
 
1604
(define-method get_title
 
1605
  (of-object "PopplerLayer")
 
1606
  (c-name "poppler_layer_get_title")
 
1607
  (return-type "const-gchar*")
 
1608
)
 
1609
 
 
1610
(define-method is_visible
 
1611
  (of-object "PopplerLayer")
 
1612
  (c-name "poppler_layer_is_visible")
 
1613
  (return-type "gboolean")
 
1614
)
 
1615
 
 
1616
(define-method show
 
1617
  (of-object "PopplerLayer")
 
1618
  (c-name "poppler_layer_show")
 
1619
  (return-type "none")
 
1620
)
 
1621
 
 
1622
(define-method hide
 
1623
  (of-object "PopplerLayer")
 
1624
  (c-name "poppler_layer_hide")
 
1625
  (return-type "none")
 
1626
)
 
1627
 
 
1628
(define-method is_parent
 
1629
  (of-object "PopplerLayer")
 
1630
  (c-name "poppler_layer_is_parent")
 
1631
  (return-type "gboolean")
 
1632
)
 
1633
 
 
1634
(define-method get_radio_button_group_id
 
1635
  (of-object "PopplerLayer")
 
1636
  (c-name "poppler_layer_get_radio_button_group_id")
 
1637
  (return-type "gint")
 
1638
)
 
1639
 
 
1640
 
 
1641
 
 
1642
;; From poppler-page.h
 
1643
 
 
1644
(define-function poppler_page_get_type
 
1645
  (c-name "poppler_page_get_type")
 
1646
  (return-type "GType")
 
1647
)
 
1648
 
 
1649
(define-method render
 
1650
  (of-object "PopplerPage")
 
1651
  (c-name "poppler_page_render")
 
1652
  (return-type "none")
 
1653
  (parameters
 
1654
    '("cairo_t*" "cairo")
 
1655
  )
 
1656
)
 
1657
 
 
1658
(define-method render_for_printing
 
1659
  (of-object "PopplerPage")
 
1660
  (c-name "poppler_page_render_for_printing")
 
1661
  (return-type "none")
 
1662
  (parameters
 
1663
    '("cairo_t*" "cairo")
 
1664
  )
 
1665
)
 
1666
 
 
1667
(define-method get_thumbnail
 
1668
  (of-object "PopplerPage")
 
1669
  (c-name "poppler_page_get_thumbnail")
 
1670
  (return-type "cairo_surface_t*")
 
1671
)
 
1672
 
 
1673
(define-method render_selection
 
1674
  (of-object "PopplerPage")
 
1675
  (c-name "poppler_page_render_selection")
 
1676
  (return-type "none")
 
1677
  (parameters
 
1678
    '("cairo_t*" "cairo")
 
1679
    '("PopplerRectangle*" "selection")
 
1680
    '("PopplerRectangle*" "old_selection")
 
1681
    '("PopplerSelectionStyle" "style")
 
1682
    '("PopplerColor*" "glyph_color")
 
1683
    '("PopplerColor*" "background_color")
 
1684
  )
 
1685
)
 
1686
 
 
1687
(define-method get_size
 
1688
  (of-object "PopplerPage")
 
1689
  (c-name "poppler_page_get_size")
 
1690
  (return-type "none")
 
1691
  (parameters
 
1692
    '("double*" "width")
 
1693
    '("double*" "height")
 
1694
  )
 
1695
)
 
1696
 
 
1697
(define-method get_index
 
1698
  (of-object "PopplerPage")
 
1699
  (c-name "poppler_page_get_index")
 
1700
  (return-type "int")
 
1701
)
 
1702
 
 
1703
(define-method get_label
 
1704
  (of-object "PopplerPage")
 
1705
  (c-name "poppler_page_get_label")
 
1706
  (return-type "gchar*")
 
1707
)
 
1708
 
 
1709
(define-method get_duration
 
1710
  (of-object "PopplerPage")
 
1711
  (c-name "poppler_page_get_duration")
 
1712
  (return-type "double")
 
1713
)
 
1714
 
 
1715
(define-method get_transition
 
1716
  (of-object "PopplerPage")
 
1717
  (c-name "poppler_page_get_transition")
 
1718
  (return-type "PopplerPageTransition*")
 
1719
)
 
1720
 
 
1721
(define-method get_thumbnail_size
 
1722
  (of-object "PopplerPage")
 
1723
  (c-name "poppler_page_get_thumbnail_size")
 
1724
  (return-type "gboolean")
 
1725
  (parameters
 
1726
    '("int*" "width")
 
1727
    '("int*" "height")
 
1728
  )
 
1729
)
 
1730
 
 
1731
(define-method find_text
 
1732
  (of-object "PopplerPage")
 
1733
  (c-name "poppler_page_find_text")
 
1734
  (return-type "GList*")
 
1735
  (parameters
 
1736
    '("const-char*" "text")
 
1737
  )
 
1738
)
 
1739
 
 
1740
(define-method render_to_ps
 
1741
  (of-object "PopplerPage")
 
1742
  (c-name "poppler_page_render_to_ps")
 
1743
  (return-type "none")
 
1744
  (parameters
 
1745
    '("PopplerPSFile*" "ps_file")
 
1746
  )
 
1747
)
 
1748
 
 
1749
(define-method get_text
 
1750
  (of-object "PopplerPage")
 
1751
  (c-name "poppler_page_get_text")
 
1752
  (return-type "char*")
 
1753
)
 
1754
 
 
1755
(define-method get_selected_text
 
1756
  (of-object "PopplerPage")
 
1757
  (c-name "poppler_page_get_selected_text")
 
1758
  (return-type "char*")
 
1759
  (parameters
 
1760
    '("PopplerSelectionStyle" "style")
 
1761
    '("PopplerRectangle*" "selection")
 
1762
  )
 
1763
)
 
1764
 
 
1765
(define-method get_selection_region
 
1766
  (of-object "PopplerPage")
 
1767
  (c-name "poppler_page_get_selection_region")
 
1768
  (return-type "GList*")
 
1769
  (parameters
 
1770
    '("gdouble" "scale")
 
1771
    '("PopplerSelectionStyle" "style")
 
1772
    '("PopplerRectangle*" "selection")
 
1773
  )
 
1774
)
 
1775
 
 
1776
(define-function poppler_page_selection_region_free
 
1777
  (c-name "poppler_page_selection_region_free")
 
1778
  (return-type "none")
 
1779
  (parameters
 
1780
    '("GList*" "region")
 
1781
  )
 
1782
)
 
1783
 
 
1784
(define-method get_link_mapping
 
1785
  (of-object "PopplerPage")
 
1786
  (c-name "poppler_page_get_link_mapping")
 
1787
  (return-type "GList*")
 
1788
)
 
1789
 
 
1790
(define-function poppler_page_free_link_mapping
 
1791
  (c-name "poppler_page_free_link_mapping")
 
1792
  (return-type "none")
 
1793
  (parameters
 
1794
    '("GList*" "list")
 
1795
  )
 
1796
)
 
1797
 
 
1798
(define-method get_image_mapping
 
1799
  (of-object "PopplerPage")
 
1800
  (c-name "poppler_page_get_image_mapping")
 
1801
  (return-type "GList*")
 
1802
)
 
1803
 
 
1804
(define-function poppler_page_free_image_mapping
 
1805
  (c-name "poppler_page_free_image_mapping")
 
1806
  (return-type "none")
 
1807
  (parameters
 
1808
    '("GList*" "list")
 
1809
  )
 
1810
)
 
1811
 
 
1812
(define-method get_image
 
1813
  (of-object "PopplerPage")
 
1814
  (c-name "poppler_page_get_image")
 
1815
  (return-type "cairo_surface_t*")
 
1816
  (parameters
 
1817
    '("gint" "image_id")
 
1818
  )
 
1819
)
 
1820
 
 
1821
(define-method get_form_field_mapping
 
1822
  (of-object "PopplerPage")
 
1823
  (c-name "poppler_page_get_form_field_mapping")
 
1824
  (return-type "GList*")
 
1825
)
 
1826
 
 
1827
(define-function poppler_page_free_form_field_mapping
 
1828
  (c-name "poppler_page_free_form_field_mapping")
 
1829
  (return-type "none")
 
1830
  (parameters
 
1831
    '("GList*" "list")
 
1832
  )
 
1833
)
 
1834
 
 
1835
(define-method get_annot_mapping
 
1836
  (of-object "PopplerPage")
 
1837
  (c-name "poppler_page_get_annot_mapping")
 
1838
  (return-type "GList*")
 
1839
)
 
1840
 
 
1841
(define-function poppler_page_free_annot_mapping
 
1842
  (c-name "poppler_page_free_annot_mapping")
 
1843
  (return-type "none")
 
1844
  (parameters
 
1845
    '("GList*" "list")
 
1846
  )
 
1847
)
 
1848
 
 
1849
(define-function poppler_page_add_annot
 
1850
  (of-object "PopplerPage")
 
1851
  (c-name "poppler_page_add_annot")
 
1852
  (return-type "none")
 
1853
  (parameters
 
1854
    '("PopplerAnnot*" "annot")
 
1855
    '("GList*" "list")
 
1856
  )
 
1857
)
 
1858
 
 
1859
(define-method get_crop_box
 
1860
  (of-object "PopplerPage")
 
1861
  (c-name "poppler_page_get_crop_box")
 
1862
  (return-type "none")
 
1863
  (parameters
 
1864
    '("PopplerRectangle*" "rect")
 
1865
  )
 
1866
)
 
1867
 
 
1868
(define-method get_text_layout
 
1869
  (of-object "PopplerPage")
 
1870
  (c-name "poppler_page_get_text_layout")
 
1871
  (return-type "gboolean")
 
1872
  (parameters
 
1873
    '("PopplerRectangle**" "rectangles")
 
1874
    '("guint*" "n_rectangles")
 
1875
  )
 
1876
)
 
1877
 
 
1878
(define-function poppler_rectangle_get_type
 
1879
  (c-name "poppler_rectangle_get_type")
 
1880
  (return-type "GType")
 
1881
)
 
1882
 
 
1883
(define-function poppler_rectangle_new
 
1884
  (c-name "poppler_rectangle_new")
 
1885
  (is-constructor-of "PopplerRectangle")
 
1886
  (return-type "PopplerRectangle*")
 
1887
)
 
1888
 
 
1889
(define-method copy
 
1890
  (of-object "PopplerRectangle")
 
1891
  (c-name "poppler_rectangle_copy")
 
1892
  (return-type "PopplerRectangle*")
 
1893
)
 
1894
 
 
1895
(define-method free
 
1896
  (of-object "PopplerRectangle")
 
1897
  (c-name "poppler_rectangle_free")
 
1898
  (return-type "none")
 
1899
)
 
1900
 
 
1901
(define-function poppler_color_get_type
 
1902
  (c-name "poppler_color_get_type")
 
1903
  (return-type "GType")
 
1904
)
 
1905
 
 
1906
(define-function poppler_color_new
 
1907
  (c-name "poppler_color_new")
 
1908
  (is-constructor-of "PopplerColor")
 
1909
  (return-type "PopplerColor*")
 
1910
)
 
1911
 
 
1912
(define-method copy
 
1913
  (of-object "PopplerColor")
 
1914
  (c-name "poppler_color_copy")
 
1915
  (return-type "PopplerColor*")
 
1916
)
 
1917
 
 
1918
(define-method free
 
1919
  (of-object "PopplerColor")
 
1920
  (c-name "poppler_color_free")
 
1921
  (return-type "none")
 
1922
)
 
1923
 
 
1924
(define-function poppler_link_mapping_get_type
 
1925
  (c-name "poppler_link_mapping_get_type")
 
1926
  (return-type "GType")
 
1927
)
 
1928
 
 
1929
(define-function poppler_link_mapping_new
 
1930
  (c-name "poppler_link_mapping_new")
 
1931
  (is-constructor-of "PopplerLinkMapping")
 
1932
  (return-type "PopplerLinkMapping*")
 
1933
)
 
1934
 
 
1935
(define-method copy
 
1936
  (of-object "PopplerLinkMapping")
 
1937
  (c-name "poppler_link_mapping_copy")
 
1938
  (return-type "PopplerLinkMapping*")
 
1939
)
 
1940
 
 
1941
(define-method free
 
1942
  (of-object "PopplerLinkMapping")
 
1943
  (c-name "poppler_link_mapping_free")
 
1944
  (return-type "none")
 
1945
)
 
1946
 
 
1947
(define-function poppler_page_transition_get_type
 
1948
  (c-name "poppler_page_transition_get_type")
 
1949
  (return-type "GType")
 
1950
)
 
1951
 
 
1952
(define-function poppler_page_transition_new
 
1953
  (c-name "poppler_page_transition_new")
 
1954
  (is-constructor-of "PopplerPageTransition")
 
1955
  (return-type "PopplerPageTransition*")
 
1956
)
 
1957
 
 
1958
(define-method copy
 
1959
  (of-object "PopplerPageTransition")
 
1960
  (c-name "poppler_page_transition_copy")
 
1961
  (return-type "PopplerPageTransition*")
 
1962
)
 
1963
 
 
1964
(define-method free
 
1965
  (of-object "PopplerPageTransition")
 
1966
  (c-name "poppler_page_transition_free")
 
1967
  (return-type "none")
 
1968
)
 
1969
 
 
1970
(define-function poppler_image_mapping_get_type
 
1971
  (c-name "poppler_image_mapping_get_type")
 
1972
  (return-type "GType")
 
1973
)
 
1974
 
 
1975
(define-function poppler_image_mapping_new
 
1976
  (c-name "poppler_image_mapping_new")
 
1977
  (is-constructor-of "PopplerImageMapping")
 
1978
  (return-type "PopplerImageMapping*")
 
1979
)
 
1980
 
 
1981
(define-method copy
 
1982
  (of-object "PopplerImageMapping")
 
1983
  (c-name "poppler_image_mapping_copy")
 
1984
  (return-type "PopplerImageMapping*")
 
1985
)
 
1986
 
 
1987
(define-method free
 
1988
  (of-object "PopplerImageMapping")
 
1989
  (c-name "poppler_image_mapping_free")
 
1990
  (return-type "none")
 
1991
)
 
1992
 
 
1993
(define-function poppler_form_field_mapping_get_type
 
1994
  (c-name "poppler_form_field_mapping_get_type")
 
1995
  (return-type "GType")
 
1996
)
 
1997
 
 
1998
(define-function poppler_form_field_mapping_new
 
1999
  (c-name "poppler_form_field_mapping_new")
 
2000
  (is-constructor-of "PopplerFormFieldMapping")
 
2001
  (return-type "PopplerFormFieldMapping*")
 
2002
)
 
2003
 
 
2004
(define-method copy
 
2005
  (of-object "PopplerFormFieldMapping")
 
2006
  (c-name "poppler_form_field_mapping_copy")
 
2007
  (return-type "PopplerFormFieldMapping*")
 
2008
)
 
2009
 
 
2010
(define-method free
 
2011
  (of-object "PopplerFormFieldMapping")
 
2012
  (c-name "poppler_form_field_mapping_free")
 
2013
  (return-type "none")
 
2014
)
 
2015
 
 
2016
(define-function poppler_annot_mapping_get_type
 
2017
  (c-name "poppler_annot_mapping_get_type")
 
2018
  (return-type "GType")
 
2019
)
 
2020
 
 
2021
(define-function poppler_annot_mapping_new
 
2022
  (c-name "poppler_annot_mapping_new")
 
2023
  (is-constructor-of "PopplerAnnotMapping")
 
2024
  (return-type "PopplerAnnotMapping*")
 
2025
)
 
2026
 
 
2027
(define-method copy
 
2028
  (of-object "PopplerAnnotMapping")
 
2029
  (c-name "poppler_annot_mapping_copy")
 
2030
  (return-type "PopplerAnnotMapping*")
 
2031
)
 
2032
 
 
2033
(define-method free
 
2034
  (of-object "PopplerAnnotMapping")
 
2035
  (c-name "poppler_annot_mapping_free")
 
2036
  (return-type "none")
 
2037
)
 
2038
 
 
2039
(define-method to_typed_action
 
2040
  (of-object "PopplerAction")
 
2041
  (c-name "poppler_action_get_typed_action")
 
2042
  (return-type "PyObject *")
 
2043
)
 
2044