1
/* poppler-glib.vapi generated by vapigen, do not modify. */
3
[CCode (cprefix = "Poppler", gir_namespace = "Poppler", gir_version = "0.18", lower_case_cprefix = "poppler_")]
5
namespace AnnotTextIcon {
6
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_CIRCLE")]
7
public const string CIRCLE;
8
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_COMMENT")]
9
public const string COMMENT;
10
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_CROSS")]
11
public const string CROSS;
12
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_HELP")]
13
public const string HELP;
14
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_INSERT")]
15
public const string INSERT;
16
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_KEY")]
17
public const string KEY;
18
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_NEW_PARAGRAPH")]
19
public const string NEW_PARAGRAPH;
20
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_NOTE")]
21
public const string NOTE;
22
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_ANNOT_TEXT_ICON_PARAGRAPH")]
23
public const string PARAGRAPH;
25
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_action_get_type ()")]
28
public Poppler.ActionAny any;
29
public Poppler.ActionGotoDest goto_dest;
30
public Poppler.ActionGotoRemote goto_remote;
31
public Poppler.ActionJavascript javascript;
32
public Poppler.ActionLaunch launch;
33
public Poppler.ActionMovie movie;
34
public Poppler.ActionNamed named;
35
public Poppler.ActionOCGState ocg_state;
36
public Poppler.ActionRendition rendition;
37
public Poppler.ActionType type;
38
public Poppler.ActionUri uri;
39
public Poppler.Action copy ();
42
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_get_type ()")]
43
public class Annot : GLib.Object {
44
[CCode (has_construct_function = false)]
46
public Poppler.AnnotType get_annot_type ();
47
public Poppler.Color get_color ();
48
public string get_contents ();
49
public Poppler.AnnotFlag get_flags ();
50
public string get_modified ();
51
public string get_name ();
52
public int get_page_index ();
53
public void set_color (Poppler.Color? poppler_color);
54
public void set_contents (string contents);
56
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_annot_callout_line_get_type ()")]
58
public class AnnotCalloutLine {
59
public bool multiline;
66
[CCode (has_construct_function = false)]
67
public AnnotCalloutLine ();
68
public Poppler.AnnotCalloutLine copy ();
71
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_file_attachment_get_type ()")]
72
public class AnnotFileAttachment : Poppler.AnnotMarkup {
73
[CCode (has_construct_function = false)]
74
protected AnnotFileAttachment ();
75
public Poppler.Attachment get_attachment ();
76
public string get_name ();
78
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_free_text_get_type ()")]
79
public class AnnotFreeText : Poppler.AnnotMarkup {
80
[CCode (has_construct_function = false)]
81
protected AnnotFreeText ();
82
public Poppler.AnnotCalloutLine get_callout_line ();
83
public Poppler.AnnotFreeTextQuadding get_quadding ();
85
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_annot_mapping_get_type ()")]
87
public class AnnotMapping {
88
public Poppler.Annot annot;
89
public Poppler.Rectangle area;
90
[CCode (has_construct_function = false)]
91
public AnnotMapping ();
92
public Poppler.AnnotMapping copy ();
95
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_markup_get_type ()")]
96
public class AnnotMarkup : Poppler.Annot {
97
[CCode (has_construct_function = false)]
98
protected AnnotMarkup ();
99
public GLib.Date get_date ();
100
public Poppler.AnnotExternalDataType get_external_data ();
101
public string get_label ();
102
public double get_opacity ();
103
public bool get_popup_is_open ();
104
public bool get_popup_rectangle (out Poppler.Rectangle poppler_rect);
105
public Poppler.AnnotMarkupReplyType get_reply_to ();
106
public string get_subject ();
107
public bool has_popup ();
108
public void set_label (string? label);
109
public void set_opacity (double opacity);
110
public void set_popup (Poppler.Rectangle popup_rect);
111
public void set_popup_is_open (bool is_open);
113
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_movie_get_type ()")]
114
public class AnnotMovie : Poppler.Annot {
115
[CCode (has_construct_function = false)]
116
protected AnnotMovie ();
117
public unowned Poppler.Movie get_movie ();
118
public string get_title ();
120
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_screen_get_type ()")]
121
public class AnnotScreen : Poppler.Annot {
122
[CCode (has_construct_function = false)]
123
protected AnnotScreen ();
124
public unowned Poppler.Action get_action ();
126
[CCode (cheader_filename = "poppler.h", type_id = "poppler_annot_text_get_type ()")]
127
public class AnnotText : Poppler.AnnotMarkup {
128
[CCode (has_construct_function = false, type = "PopplerAnnot*")]
129
public AnnotText (Poppler.Document doc, Poppler.Rectangle rect);
130
public string get_icon ();
131
public bool get_is_open ();
132
public Poppler.AnnotTextState get_state ();
133
public void set_icon (string icon);
134
public void set_is_open (bool is_open);
136
[CCode (cheader_filename = "poppler.h", type_id = "poppler_attachment_get_type ()")]
137
public class Attachment : GLib.Object {
138
public GLib.StringBuilder checksum;
139
public GLib.Time ctime;
140
public string description;
141
public GLib.Time mtime;
144
[CCode (has_construct_function = false)]
145
protected Attachment ();
146
public bool save (string filename) throws GLib.Error;
147
public bool save_to_callback (Poppler.AttachmentSaveFunc save_func) throws GLib.Error;
149
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_color_get_type ()")]
155
[CCode (has_construct_function = false)]
157
public Poppler.Color copy ();
160
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_dest_get_type ()")]
163
public double bottom;
164
public uint change_left;
165
public uint change_top;
166
public uint change_zoom;
168
public string named_dest;
172
public Poppler.DestType type;
174
public Poppler.Dest copy ();
177
[CCode (cheader_filename = "poppler.h", type_id = "poppler_document_get_type ()")]
178
public class Document : GLib.Object {
179
[CCode (has_construct_function = false)]
180
protected Document ();
181
public Poppler.Dest find_dest (string link_name);
182
[CCode (has_construct_function = false)]
183
public Document.from_data (string data, int length, string? password) throws GLib.Error;
184
[CCode (has_construct_function = false)]
185
public Document.from_file (string uri, string? password) throws GLib.Error;
186
public GLib.List<Poppler.Attachment> get_attachments ();
187
public string get_author ();
188
public long get_creation_date ();
189
public string get_creator ();
190
public Poppler.FormField get_form_field (int id);
191
public bool get_id (out string permanent_id, out string update_id);
192
public string get_keywords ();
193
public string get_metadata ();
194
public long get_modification_date ();
195
public uint get_n_attachments ();
196
public int get_n_pages ();
197
public Poppler.Page get_page (int index);
198
public Poppler.Page get_page_by_label (string label);
199
public Poppler.PageLayout get_page_layout ();
200
public Poppler.PageMode get_page_mode ();
201
public void get_pdf_version (out uint major_version, out uint minor_version);
202
public string get_pdf_version_string ();
203
public Poppler.Permissions get_permissions ();
204
public string get_producer ();
205
public string get_subject ();
206
public string get_title ();
207
public bool has_attachments ();
208
public bool is_linearized ();
209
public bool save (string uri) throws GLib.Error;
210
public bool save_a_copy (string uri) throws GLib.Error;
211
public string author { owned get; }
212
public int creation_date { get; }
213
public string creator { owned get; }
215
public string format { owned get; }
217
public uint format_major { get; }
219
public uint format_minor { get; }
220
public string keywords { owned get; }
222
public bool linearized { get; }
223
public string metadata { owned get; }
225
public int mod_date { get; }
226
public Poppler.PageLayout page_layout { get; }
227
public Poppler.PageMode page_mode { get; }
228
public Poppler.Permissions permissions { get; }
229
public string producer { owned get; }
230
public string subject { owned get; }
231
public string title { owned get; }
233
public Poppler.ViewerPreferences viewer_preferences { get; }
235
[CCode (cheader_filename = "poppler.h", type_id = "poppler_font_info_get_type ()")]
236
public class FontInfo : GLib.Object {
237
[CCode (has_construct_function = false)]
238
public FontInfo (Poppler.Document document);
240
public bool scan (int n_pages, out Poppler.FontsIter iter);
242
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_fonts_iter_get_type ()")]
244
public class FontsIter {
245
public Poppler.FontsIter copy ();
247
public unowned string get_file_name ();
248
public Poppler.FontType get_font_type ();
249
public unowned string get_full_name ();
250
public unowned string get_name ();
251
public bool is_embedded ();
252
public bool is_subset ();
255
[CCode (cheader_filename = "poppler.h", type_id = "poppler_form_field_get_type ()")]
256
public class FormField : GLib.Object {
257
[CCode (has_construct_function = false)]
258
protected FormField ();
259
public Poppler.FormButtonType button_get_button_type ();
260
public bool button_get_state ();
261
public void button_set_state (bool state);
262
public bool choice_can_select_multiple ();
263
public bool choice_commit_on_change ();
264
public bool choice_do_spell_check ();
265
public Poppler.FormChoiceType choice_get_choice_type ();
266
public string choice_get_item (int index);
267
public int choice_get_n_items ();
268
public string choice_get_text ();
269
public bool choice_is_editable ();
270
public bool choice_is_item_selected (int index);
271
public void choice_select_item (int index);
272
public void choice_set_text (string text);
273
public void choice_toggle_item (int index);
274
public void choice_unselect_all ();
275
public unowned Poppler.Action get_action ();
276
public Poppler.FormFieldType get_field_type ();
277
public double get_font_size ();
278
public int get_id ();
279
public string get_mapping_name ();
280
public string get_name ();
281
public string get_partial_name ();
282
public bool is_read_only ();
283
public bool text_do_scroll ();
284
public bool text_do_spell_check ();
285
public int text_get_max_len ();
286
public string text_get_text ();
287
public Poppler.FormTextType text_get_text_type ();
288
public bool text_is_password ();
289
public bool text_is_rich_text ();
290
public void text_set_text (string text);
292
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_form_field_mapping_get_type ()")]
294
public class FormFieldMapping {
295
public Poppler.Rectangle area;
296
public Poppler.FormField field;
297
[CCode (has_construct_function = false)]
298
public FormFieldMapping ();
299
public Poppler.FormFieldMapping copy ();
302
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_image_mapping_get_type ()")]
304
public class ImageMapping {
305
public Poppler.Rectangle area;
307
[CCode (has_construct_function = false)]
308
public ImageMapping ();
309
public Poppler.ImageMapping copy ();
312
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_index_iter_get_type ()")]
314
public class IndexIter {
315
[CCode (has_construct_function = false)]
316
public IndexIter (Poppler.Document document);
317
public Poppler.IndexIter copy ();
319
public Poppler.Action get_action ();
320
public Poppler.IndexIter get_child ();
321
public bool is_open ();
324
[CCode (cheader_filename = "poppler.h", type_id = "poppler_layer_get_type ()")]
325
public class Layer : GLib.Object {
326
[CCode (has_construct_function = false)]
328
public int get_radio_button_group_id ();
329
public unowned string get_title ();
331
public bool is_parent ();
332
public bool is_visible ();
335
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_layers_iter_get_type ()")]
337
public class LayersIter {
338
[CCode (has_construct_function = false)]
339
public LayersIter (Poppler.Document document);
340
public Poppler.LayersIter copy ();
342
public Poppler.LayersIter get_child ();
343
public Poppler.Layer get_layer ();
344
public string get_title ();
347
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_link_mapping_get_type ()")]
349
public class LinkMapping {
350
public Poppler.Action action;
351
public Poppler.Rectangle area;
352
[CCode (has_construct_function = false)]
353
public LinkMapping ();
354
public Poppler.LinkMapping copy ();
357
[CCode (cheader_filename = "poppler.h", type_id = "poppler_media_get_type ()")]
358
public class Media : GLib.Object {
359
[CCode (has_construct_function = false)]
361
public unowned string get_filename ();
362
public unowned string get_mime_type ();
363
public bool is_embedded ();
364
public bool save (string filename) throws GLib.Error;
365
public bool save_to_callback (Poppler.MediaSaveFunc save_func) throws GLib.Error;
367
[CCode (cheader_filename = "poppler.h", type_id = "poppler_movie_get_type ()")]
368
public class Movie : GLib.Object {
369
[CCode (has_construct_function = false)]
371
public unowned string get_filename ();
372
public bool need_poster ();
373
public bool show_controls ();
375
[CCode (cheader_filename = "poppler.h", type_id = "poppler_ps_file_get_type ()")]
376
public class PSFile : GLib.Object {
377
[CCode (has_construct_function = false)]
378
public PSFile (Poppler.Document document, string filename, int first_page, int n_pages);
380
public void set_duplex (bool duplex);
381
public void set_paper_size (double width, double height);
383
[CCode (cheader_filename = "poppler.h", type_id = "poppler_page_get_type ()")]
384
public class Page : GLib.Object {
385
[CCode (has_construct_function = false)]
387
public void add_annot (Poppler.Annot annot);
388
public GLib.List<Poppler.Rectangle> find_text (string text);
389
public static void free_annot_mapping (GLib.List<Poppler.AnnotMapping> list);
390
public static void free_form_field_mapping (GLib.List<Poppler.FormFieldMapping> list);
391
public static void free_image_mapping (GLib.List<Poppler.ImageMapping> list);
392
public static void free_link_mapping (GLib.List<Poppler.LinkMapping> list);
393
public static void free_text_attributes (GLib.List<Poppler.TextAttributes> list);
394
public GLib.List<Poppler.AnnotMapping> get_annot_mapping ();
395
public Poppler.Rectangle get_crop_box ();
396
public double get_duration ();
397
public GLib.List<Poppler.FormFieldMapping> get_form_field_mapping ();
398
public Cairo.Surface get_image (int image_id);
399
public GLib.List<Poppler.ImageMapping> get_image_mapping ();
400
public int get_index ();
401
public string get_label ();
402
public GLib.List<Poppler.LinkMapping> get_link_mapping ();
403
public Cairo.Region get_selected_region (double scale, Poppler.SelectionStyle style, Poppler.Rectangle selection);
404
public string get_selected_text (Poppler.SelectionStyle style, Poppler.Rectangle selection);
405
[Deprecated (since = "0.16")]
406
public GLib.List<Poppler.Rectangle> get_selection_region (double scale, Poppler.SelectionStyle style, Poppler.Rectangle selection);
407
public void get_size (out double width, out double height);
408
public string get_text ();
409
public GLib.List<Poppler.TextAttributes> get_text_attributes ();
410
public bool get_text_layout ([CCode (array_length_cname = "n_rectangles", array_length_pos = 1.1, array_length_type = "guint")] out Poppler.Rectangle[] rectangles);
411
public Cairo.Surface get_thumbnail ();
412
public bool get_thumbnail_size (int width, int height);
413
public Poppler.PageTransition get_transition ();
414
public void render ([CCode (type = "cairo_t*")] Cairo.Context cairo);
415
public void render_for_printing ([CCode (type = "cairo_t*")] Cairo.Context cairo);
416
public void render_for_printing_with_options ([CCode (type = "cairo_t*")] Cairo.Context cairo, Poppler.PrintFlags options);
417
public void render_selection ([CCode (type = "cairo_t*")] Cairo.Context cairo, Poppler.Rectangle selection, Poppler.Rectangle old_selection, Poppler.SelectionStyle style, Poppler.Color glyph_color, Poppler.Color background_color);
418
public void render_to_ps (Poppler.PSFile ps_file);
419
public static void selection_region_free (GLib.List<Poppler.Rectangle> region);
420
public string label { owned get; }
422
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_page_transition_get_type ()")]
424
public class PageTransition {
425
public Poppler.PageTransitionAlignment alignment;
427
public Poppler.PageTransitionDirection direction;
429
public bool rectangular;
431
public Poppler.PageTransitionType type;
432
[CCode (has_construct_function = false)]
433
public PageTransition ();
434
public Poppler.PageTransition copy ();
437
[CCode (cheader_filename = "poppler.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "poppler_text_attributes_get_type ()")]
439
public class TextAttributes {
440
public Poppler.Color color;
441
public int end_index;
442
public string font_name;
443
public double font_size;
444
public bool is_underlined;
445
public int start_index;
446
[CCode (has_construct_function = false)]
447
public TextAttributes ();
448
public Poppler.TextAttributes copy ();
451
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
452
public struct ActionAny {
453
public Poppler.ActionType type;
456
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
457
public struct ActionGotoDest {
458
public Poppler.ActionType type;
460
public Poppler.Dest dest;
462
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
463
public struct ActionGotoRemote {
464
public Poppler.ActionType type;
466
public string file_name;
467
public Poppler.Dest dest;
469
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
470
public struct ActionJavascript {
471
public Poppler.ActionType type;
473
public string script;
475
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
476
public struct ActionLaunch {
477
public Poppler.ActionType type;
479
public string file_name;
480
public string @params;
482
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
483
public struct ActionLayer {
484
public Poppler.ActionLayerAction action;
485
public weak GLib.List<Poppler.ActionLayer> layers;
487
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
488
public struct ActionMovie {
489
public Poppler.ActionType type;
491
public Poppler.ActionMovieOperation operation;
492
public Poppler.Movie movie;
494
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
495
public struct ActionNamed {
496
public Poppler.ActionType type;
498
public string named_dest;
500
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
501
public struct ActionOCGState {
502
public Poppler.ActionType type;
504
public GLib.List<Poppler.ActionLayer> state_list;
506
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
507
public struct ActionRendition {
508
public Poppler.ActionType type;
511
public Poppler.Media media;
513
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
514
public struct ActionUri {
515
public Poppler.ActionType type;
519
[CCode (cheader_filename = "poppler.h", type_id = "poppler_rectangle_get_type ()")]
520
public struct Rectangle {
525
[CCode (has_construct_function = false, type = "PopplerRectangle*")]
527
public Poppler.Rectangle copy ();
530
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_LAYER_")]
531
public enum ActionLayerAction {
536
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_MOVIE_")]
537
public enum ActionMovieOperation {
543
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_")]
544
public enum ActionType {
557
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_")]
558
public enum AnnotExternalDataType {
562
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_FLAG_")]
564
public enum AnnotFlag {
577
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_FREE_TEXT_QUADDING_")]
578
public enum AnnotFreeTextQuadding {
583
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_MARKUP_REPLY_TYPE_")]
584
public enum AnnotMarkupReplyType {
588
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_TEXT_STATE_")]
589
public enum AnnotTextState {
599
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ANNOT_")]
600
public enum AnnotType {
628
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_BACKEND_")]
629
public enum Backend {
634
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_DEST_")]
635
public enum DestType {
647
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FONT_TYPE_")]
648
public enum FontType {
662
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FORM_BUTTON_")]
663
public enum FormButtonType {
668
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FORM_CHOICE_")]
669
public enum FormChoiceType {
673
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FORM_FIELD_")]
674
public enum FormFieldType {
681
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_FORM_TEXT_")]
682
public enum FormTextType {
687
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ORIENTATION_")]
688
public enum Orientation {
694
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PAGE_LAYOUT_")]
695
public enum PageLayout {
704
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PAGE_MODE_")]
705
public enum PageMode {
714
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PAGE_TRANSITION_")]
715
public enum PageTransitionAlignment {
719
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PAGE_TRANSITION_")]
720
public enum PageTransitionDirection {
724
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PAGE_TRANSITION_")]
725
public enum PageTransitionType {
739
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PERMISSIONS_")]
741
public enum Permissions {
747
OK_TO_EXTRACT_CONTENTS,
749
OK_TO_PRINT_HIGH_RESOLUTION,
752
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_PRINT_")]
754
public enum PrintFlags {
760
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_SELECTION_")]
761
public enum SelectionStyle {
766
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_VIEWER_PREFERENCES_")]
768
public enum ViewerPreferences {
778
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ERROR_")]
779
public errordomain Error {
785
public static GLib.Quark quark ();
787
[CCode (cheader_filename = "poppler.h", instance_pos = 1.9)]
788
public delegate bool AttachmentSaveFunc ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
789
[CCode (cheader_filename = "poppler.h", instance_pos = 1.9)]
790
public delegate bool MediaSaveFunc ([CCode (array_length_cname = "count", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] buf) throws GLib.Error;
791
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_HAS_CAIRO")]
792
public const int HAS_CAIRO;
793
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MAJOR_VERSION")]
794
public const int MAJOR_VERSION;
795
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MICRO_VERSION")]
796
public const int MICRO_VERSION;
797
[CCode (cheader_filename = "poppler.h", cname = "POPPLER_MINOR_VERSION")]
798
public const int MINOR_VERSION;
799
[CCode (cheader_filename = "poppler.h")]
800
public static bool date_parse (string date, long timet);
801
[CCode (cheader_filename = "poppler.h")]
802
public static Poppler.Backend get_backend ();
803
[CCode (cheader_filename = "poppler.h")]
804
public static unowned string get_version ();