public Poppler.ActionNamed named;
public Poppler.ActionOCGState ocg_state;
public Poppler.ActionRendition rendition;
+ public Poppler.ActionResetForm reset_form;
public Poppler.ActionType type;
public Poppler.ActionUri uri;
public Poppler.Action copy ();
public size_t size;
[CCode (has_construct_function = false)]
protected Attachment ();
+ [Version (since = "20.09.0")]
+ public unowned GLib.StringBuilder get_checksum ();
+ [Version (since = "20.09.0")]
+ public unowned GLib.DateTime? get_ctime ();
+ [Version (since = "20.09.0")]
+ public unowned string get_description ();
+ [Version (since = "20.09.0")]
+ public unowned GLib.DateTime? get_mtime ();
+ [Version (since = "20.09.0")]
+ public unowned string get_name ();
+ [Version (since = "20.09.0")]
+ public size_t get_size ();
public bool save (string filename) throws GLib.Error;
public bool save_to_callback (Poppler.AttachmentSaveFunc save_func) throws GLib.Error;
}
public string get_author ();
[Version (since = "0.16")]
public long get_creation_date ();
+ [Version (since = "20.09.0")]
+ public GLib.DateTime? get_creation_date_time ();
[Version (since = "0.16")]
public string get_creator ();
public Poppler.FormField get_form_field (int id);
public string get_metadata ();
[Version (since = "0.16")]
public long get_modification_date ();
+ [Version (since = "20.09.0")]
+ public GLib.DateTime? get_modification_date_time ();
[Version (since = "0.18")]
public uint get_n_attachments ();
public int get_n_pages ();
[Version (since = "0.16")]
public string get_title ();
public bool has_attachments ();
+ [Version (since = "0.90")]
+ public bool has_javascript ();
[Version (since = "0.16")]
public bool is_linearized ();
+ [Version (since = "0.90")]
+ public void reset_form (GLib.List<string> fields, bool exclude_fields);
public bool save (string uri) throws GLib.Error;
public bool save_a_copy (string uri) throws GLib.Error;
[Version (since = "0.46")]
public void set_author (string author);
[Version (since = "0.46")]
public void set_creation_date (long creation_date);
+ [Version (since = "20.09.0")]
+ public void set_creation_date_time (GLib.DateTime? creation_datetime);
[Version (since = "0.46")]
public void set_creator (string creator);
[Version (since = "0.46")]
public void set_keywords (string keywords);
[Version (since = "0.46")]
public void set_modification_date (long modification_date);
+ [Version (since = "20.09.0")]
+ public void set_modification_date_time (GLib.DateTime? modification_datetime);
[Version (since = "0.46")]
public void set_producer (string producer);
[Version (since = "0.46")]
[Version (since = "0.46")]
public void set_title (string title);
public string author { owned get; set; }
+ [Version (deprecated = true, deprecated_since = "20.09.0")]
public int creation_date { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "20.09.0")]
+ public GLib.DateTime creation_datetime { owned get; set; }
public string creator { owned get; set; }
[NoAccessorMethod]
public string format { owned get; }
public bool linearized { get; }
public string metadata { owned get; }
[NoAccessorMethod]
+ [Version (deprecated = true, deprecated_since = "20.09.0")]
public int mod_date { get; set; }
+ [NoAccessorMethod]
+ [Version (since = "20.09.0")]
+ public GLib.DateTime mod_datetime { owned get; set; }
public Poppler.PageLayout page_layout { get; }
public Poppler.PageMode page_mode { get; }
public Poppler.Permissions permissions { get; }
public unowned Poppler.Action get_action ();
[Version (since = "0.72")]
public unowned Poppler.Action get_additional_action (Poppler.AdditionalActionType type);
+ [Version (since = "0.88")]
+ public string get_alternate_ui_name ();
public Poppler.FormFieldType get_field_type ();
public double get_font_size ();
public int get_id ();
public class Movie : GLib.Object {
[CCode (has_construct_function = false)]
protected Movie ();
+ [Version (since = "0.89")]
+ public void get_aspect (int width, int height);
[Version (since = "0.80")]
public uint64 get_duration ();
[Version (since = "0.14")]
[Version (since = "0.18")]
public static void free_text_attributes (GLib.List<Poppler.TextAttributes> list);
public GLib.List<Poppler.AnnotMapping> get_annot_mapping ();
+ public bool get_bounding_box (out Poppler.Rectangle rect);
public Poppler.Rectangle get_crop_box ();
public double get_duration ();
public GLib.List<Poppler.FormFieldMapping> get_form_field_mapping ();
public Poppler.Media media;
}
[CCode (cheader_filename = "poppler.h", has_type_id = false)]
+ public struct ActionResetForm {
+ public Poppler.ActionType type;
+ public string title;
+ public GLib.List<string> fields;
+ public bool exclude;
+ }
+ [CCode (cheader_filename = "poppler.h", has_type_id = false)]
public struct ActionUri {
public Poppler.ActionType type;
public string title;
MOVIE,
RENDITION,
OCG_STATE,
- JAVASCRIPT
+ JAVASCRIPT,
+ RESET_FORM
}
[CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ADDITIONAL_ACTION_", type_id = "poppler_additional_action_type_get_type ()")]
[Version (since = "0.72")]
public static string named_dest_from_bytestring ([CCode (array_length_cname = "length", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data);
[CCode (array_length_pos = 1.1, array_length_type = "gsize", cheader_filename = "poppler.h")]
[Version (since = "0.73")]
- public static uint8[]? named_dest_to_bytestring (string named_dest);
+ public static uint8[]? named_dest_to_bytestring (string name);
}