diff options
Diffstat (limited to 'tests/poppler/glib/Poppler-0.16.gir')
-rw-r--r-- | tests/poppler/glib/Poppler-0.16.gir | 3911 |
1 files changed, 3911 insertions, 0 deletions
diff --git a/tests/poppler/glib/Poppler-0.16.gir b/tests/poppler/glib/Poppler-0.16.gir new file mode 100644 index 00000000..c78f1fcf --- /dev/null +++ b/tests/poppler/glib/Poppler-0.16.gir @@ -0,0 +1,3911 @@ +<?xml version="1.0"?> +<!-- This file was automatically generated from C sources - DO NOT EDIT! +To affect the contents of this file, edit the original C definitions, +and/or use gtk-doc annotations. --> +<repository version="1.2" + xmlns="http://www.gtk.org/introspection/core/1.0" + xmlns:c="http://www.gtk.org/introspection/c/1.0" + xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + <include name="GLib" version="2.0"/> + <include name="GModule" version="2.0"/> + <include name="GObject" version="2.0"/> + <include name="Gdk" version="2.0"/> + <include name="GdkPixbuf" version="2.0"/> + <include name="Gio" version="2.0"/> + <include name="Pango" version="1.0"/> + <include name="cairo" version="1.0"/> + <namespace name="Poppler" + version="0.16" + shared-library="libpoppler-glib.so.6" + c:identifier-prefixes="Poppler" + c:symbol-prefixes="poppler"> + <constant name="ANNOT_TEXT_ICON_CIRCLE" value="Circle"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_COMMENT" value="Comment"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_CROSS" value="Cross"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_HELP" value="Help"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_INSERT" value="Insert"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_KEY" value="Key"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_NEW_PARAGRAPH" value="NewParagraph"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_NOTE" value="Note"> + <type name="utf8" c:type="gchar*"/> + </constant> + <constant name="ANNOT_TEXT_ICON_PARAGRAPH" value="Paragraph"> + <type name="utf8" c:type="gchar*"/> + </constant> + <union name="Action" + c:type="PopplerAction" + glib:type-name="PopplerAction" + glib:get-type="poppler_action_get_type" + c:symbol-prefix="action"> + <doc xml:whitespace="preserve">A data structure for holding actions</doc> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="any" writable="1"> + <type name="ActionAny" c:type="PopplerActionAny"/> + </field> + <field name="goto_dest" writable="1"> + <type name="ActionGotoDest" c:type="PopplerActionGotoDest"/> + </field> + <field name="goto_remote" writable="1"> + <type name="ActionGotoRemote" c:type="PopplerActionGotoRemote"/> + </field> + <field name="launch" writable="1"> + <type name="ActionLaunch" c:type="PopplerActionLaunch"/> + </field> + <field name="uri" writable="1"> + <type name="ActionUri" c:type="PopplerActionUri"/> + </field> + <field name="named" writable="1"> + <type name="ActionNamed" c:type="PopplerActionNamed"/> + </field> + <field name="movie" writable="1"> + <type name="ActionMovie" c:type="PopplerActionMovie"/> + </field> + <field name="rendition" writable="1"> + <type name="ActionRendition" c:type="PopplerActionRendition"/> + </field> + <field name="ocg_state" writable="1"> + <type name="ActionOCGState" c:type="PopplerActionOCGState"/> + </field> + <method name="copy" c:identifier="poppler_action_copy"> + <doc xml:whitespace="preserve">Copies @action, creating an identical #PopplerAction.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new action identical to @action</doc> + <type name="Action" c:type="PopplerAction*"/> + </return-value> + </method> + <method name="free" c:identifier="poppler_action_free"> + <doc xml:whitespace="preserve">Frees @action</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + </method> + </union> + <record name="ActionAny" c:type="PopplerActionAny"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + </record> + <record name="ActionGotoDest" c:type="PopplerActionGotoDest"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="dest" writable="1"> + <type name="Dest" c:type="PopplerDest*"/> + </field> + </record> + <record name="ActionGotoRemote" c:type="PopplerActionGotoRemote"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="file_name" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="dest" writable="1"> + <type name="Dest" c:type="PopplerDest*"/> + </field> + </record> + <record name="ActionLaunch" c:type="PopplerActionLaunch"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="file_name" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="params" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + </record> + <record name="ActionLayer" c:type="PopplerActionLayer"> + <doc xml:whitespace="preserve">Action to perform over a list of layers</doc> + <field name="action" writable="1"> + <type name="ActionLayerAction" c:type="PopplerActionLayerAction"/> + </field> + <field name="layers" writable="1"> + <type name="GLib.List" c:type="GList*"> + <type name="gpointer" c:type="gpointer"/> + </type> + </field> + </record> + <enumeration name="ActionLayerAction" + version="0.14" + glib:type-name="PopplerActionLayerAction" + glib:get-type="poppler_action_layer_action_get_type" + c:type="PopplerActionLayerAction"> + <doc xml:whitespace="preserve">Layer actions</doc> + <member name="on" + value="0" + c:identifier="POPPLER_ACTION_LAYER_ON" + glib:nick="on"/> + <member name="off" + value="1" + c:identifier="POPPLER_ACTION_LAYER_OFF" + glib:nick="off"/> + <member name="toggle" + value="2" + c:identifier="POPPLER_ACTION_LAYER_TOGGLE" + glib:nick="toggle"/> + </enumeration> + <record name="ActionMovie" c:type="PopplerActionMovie"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="operation" writable="1"> + <type name="ActionMovieOperation" + c:type="PopplerActionMovieOperation"/> + </field> + <field name="movie" writable="1"> + <type name="Movie" c:type="PopplerMovie*"/> + </field> + </record> + <enumeration name="ActionMovieOperation" + version="0.14" + glib:type-name="PopplerActionMovieOperation" + glib:get-type="poppler_action_movie_operation_get_type" + c:type="PopplerActionMovieOperation"> + <doc xml:whitespace="preserve">Movie operations</doc> + <member name="play" + value="0" + c:identifier="POPPLER_ACTION_MOVIE_PLAY" + glib:nick="play"/> + <member name="pause" + value="1" + c:identifier="POPPLER_ACTION_MOVIE_PAUSE" + glib:nick="pause"/> + <member name="resume" + value="2" + c:identifier="POPPLER_ACTION_MOVIE_RESUME" + glib:nick="resume"/> + <member name="stop" + value="3" + c:identifier="POPPLER_ACTION_MOVIE_STOP" + glib:nick="stop"/> + </enumeration> + <record name="ActionNamed" c:type="PopplerActionNamed"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="named_dest" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + </record> + <record name="ActionOCGState" c:type="PopplerActionOCGState"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="state_list" writable="1"> + <type name="GLib.List" c:type="GList*"> + <type name="gpointer" c:type="gpointer"/> + </type> + </field> + </record> + <record name="ActionRendition" c:type="PopplerActionRendition"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="op" writable="1"> + <type name="gint" c:type="gint"/> + </field> + <field name="media" writable="1"> + <type name="Media" c:type="PopplerMedia*"/> + </field> + </record> + <enumeration name="ActionType" + glib:type-name="PopplerActionType" + glib:get-type="poppler_action_type_get_type" + c:type="PopplerActionType"> + <doc xml:whitespace="preserve">Action types</doc> + <member name="unknown" + value="0" + c:identifier="POPPLER_ACTION_UNKNOWN" + glib:nick="unknown"/> + <member name="none" + value="1" + c:identifier="POPPLER_ACTION_NONE" + glib:nick="none"/> + <member name="goto_dest" + value="2" + c:identifier="POPPLER_ACTION_GOTO_DEST" + glib:nick="goto-dest"/> + <member name="goto_remote" + value="3" + c:identifier="POPPLER_ACTION_GOTO_REMOTE" + glib:nick="goto-remote"/> + <member name="launch" + value="4" + c:identifier="POPPLER_ACTION_LAUNCH" + glib:nick="launch"/> + <member name="uri" + value="5" + c:identifier="POPPLER_ACTION_URI" + glib:nick="uri"/> + <member name="named" + value="6" + c:identifier="POPPLER_ACTION_NAMED" + glib:nick="named"/> + <member name="movie" + value="7" + c:identifier="POPPLER_ACTION_MOVIE" + glib:nick="movie"/> + <member name="rendition" + value="8" + c:identifier="POPPLER_ACTION_RENDITION" + glib:nick="rendition"/> + <member name="ocg_state" + value="9" + c:identifier="POPPLER_ACTION_OCG_STATE" + glib:nick="ocg-state"/> + </enumeration> + <record name="ActionUri" c:type="PopplerActionUri"> + <field name="type" writable="1"> + <type name="ActionType" c:type="PopplerActionType"/> + </field> + <field name="title" writable="1"> + <type name="utf8" c:type="gchar*"/> + </field> + <field name="uri" writable="1"> + <type name="utf8" c:type="char*"/> + </field> + </record> + <class name="Annot" + c:symbol-prefix="annot" + c:type="PopplerAnnot" + parent="GObject.Object" + glib:type-name="PopplerAnnot" + glib:get-type="poppler_annot_get_type"> + <method name="get_annot_type" + c:identifier="poppler_annot_get_annot_type"> + <doc xml:whitespace="preserve">Gets the type of @poppler_annot</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">#PopplerAnnotType of @poppler_annot.</doc> + <type name="AnnotType" c:type="PopplerAnnotType"/> + </return-value> + </method> + <method name="get_color" c:identifier="poppler_annot_get_color"> + <doc xml:whitespace="preserve">Retrieves the color of @poppler_annot.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated #PopplerColor with the color values of</doc> + <type name="Color" c:type="PopplerColor*"/> + </return-value> + </method> + <method name="get_contents" c:identifier="poppler_annot_get_contents"> + <doc xml:whitespace="preserve">Retrieves the contents of @poppler_annot. +must be freed with g_free() when done.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated string with the contents of @poppler_annot. It</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + <method name="get_flags" c:identifier="poppler_annot_get_flags"> + <return-value transfer-ownership="none"> + <type name="AnnotFlag" c:type="PopplerAnnotFlag"/> + </return-value> + </method> + <method name="get_modified" c:identifier="poppler_annot_get_modified"> + <doc xml:whitespace="preserve">Retrieves the last modification data of @poppler_annot. The returned +string will be either a PDF format date or a text string. +See also #poppler_date_parse()</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated string with the last modification data of</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + <method name="get_name" c:identifier="poppler_annot_get_name"> + <doc xml:whitespace="preserve">Retrieves the name of @poppler_annot. +be freed with g_free() when done.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated string with the name of @poppler_annot. It must</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + <method name="get_page_index" + c:identifier="poppler_annot_get_page_index" + version="0.14"> + <doc xml:whitespace="preserve">Returns the page index to which @poppler_annot is associated, or -1 if unknown</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">page index or -1</doc> + <type name="gint" c:type="gint"/> + </return-value> + </method> + <method name="set_color" + c:identifier="poppler_annot_set_color" + version="0.16"> + <doc xml:whitespace="preserve">Sets the color of @poppler_annot.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="poppler_color" + transfer-ownership="none" + allow-none="1"> + <doc xml:whitespace="preserve">a #PopplerColor, or %NULL</doc> + <type name="Color" c:type="PopplerColor*"/> + </parameter> + </parameters> + </method> + <method name="set_contents" + c:identifier="poppler_annot_set_contents" + version="0.12"> + <doc xml:whitespace="preserve">Sets the contents of @poppler_annot to the given value, +replacing the current contents.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="contents" transfer-ownership="none"> + <doc xml:whitespace="preserve">a text string containing the new contents</doc> + <type name="utf8" c:type="gchar*"/> + </parameter> + </parameters> + </method> + </class> + <record name="AnnotCalloutLine" + c:type="PopplerAnnotCalloutLine" + glib:type-name="PopplerAnnotCalloutLine" + glib:get-type="poppler_annot_callout_line_get_type" + c:symbol-prefix="annot_callout_line"> + <field name="multiline" writable="1"> + <type name="gboolean" c:type="gboolean"/> + </field> + <field name="x1" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <field name="y1" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <field name="x2" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <field name="y2" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <field name="x3" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <field name="y3" writable="1"> + <type name="gdouble" c:type="gdouble"/> + </field> + <constructor name="new" c:identifier="poppler_annot_callout_line_new"> + <doc xml:whitespace="preserve">Creates a new empty #PopplerAnnotCalloutLine. +It must be freed when done.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated #PopplerAnnotCalloutLine, NULL in other case.</doc> + <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/> + </return-value> + </constructor> + <method name="copy" c:identifier="poppler_annot_callout_line_copy"> + <doc xml:whitespace="preserve">It does copy @callout to a new #PopplerAnnotCalloutLine.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated #PopplerAnnotCalloutLine as exact copy of</doc> + <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/> + </return-value> + </method> + <method name="free" c:identifier="poppler_annot_callout_line_free"> + <doc xml:whitespace="preserve">Frees the memory used by #PopplerAnnotCalloutLine.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + </method> + </record> + <enumeration name="AnnotExternalDataType" + glib:type-name="PopplerAnnotExternalDataType" + glib:get-type="poppler_annot_external_data_type_get_type" + c:type="PopplerAnnotExternalDataType"> + <member name="3d" + value="0" + c:identifier="POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_3D" + glib:nick="3d"/> + <member name="unknown" + value="1" + c:identifier="POPPLER_ANNOT_EXTERNAL_DATA_MARKUP_UNKNOWN" + glib:nick="unknown"/> + </enumeration> + <class name="AnnotFileAttachment" + c:symbol-prefix="annot_file_attachment" + c:type="PopplerAnnotFileAttachment" + parent="AnnotMarkup" + glib:type-name="PopplerAnnotFileAttachment" + glib:get-type="poppler_annot_file_attachment_get_type"> + <method name="get_attachment" + c:identifier="poppler_annot_file_attachment_get_attachment" + version="0.14" + introspectable="0"> + <doc xml:whitespace="preserve">Creates a #PopplerAttachment for the file of the file attachment annotation @annot. +The #PopplerAttachment must be unrefed with g_object_unref by the caller.</doc> + <return-value> + <doc xml:whitespace="preserve">@PopplerAttachment</doc> + <type name="Attachment" c:type="PopplerAttachment*"/> + </return-value> + </method> + <method name="get_name" + c:identifier="poppler_annot_file_attachment_get_name" + version="0.14"> + <doc xml:whitespace="preserve">Retrieves the name of @poppler_annot. +be freed with g_free() when done.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated string with the name of @poppler_annot. It must</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + </class> + <bitfield name="AnnotFlag" + glib:type-name="PopplerAnnotFlag" + glib:get-type="poppler_annot_flag_get_type" + c:type="PopplerAnnotFlag"> + <member name="unknown" + value="0" + c:identifier="POPPLER_ANNOT_FLAG_UNKNOWN" + glib:nick="unknown"/> + <member name="invisible" + value="1" + c:identifier="POPPLER_ANNOT_FLAG_INVISIBLE" + glib:nick="invisible"/> + <member name="hidden" + value="2" + c:identifier="POPPLER_ANNOT_FLAG_HIDDEN" + glib:nick="hidden"/> + <member name="print" + value="4" + c:identifier="POPPLER_ANNOT_FLAG_PRINT" + glib:nick="print"/> + <member name="no_zoom" + value="8" + c:identifier="POPPLER_ANNOT_FLAG_NO_ZOOM" + glib:nick="no-zoom"/> + <member name="no_rotate" + value="16" + c:identifier="POPPLER_ANNOT_FLAG_NO_ROTATE" + glib:nick="no-rotate"/> + <member name="no_view" + value="32" + c:identifier="POPPLER_ANNOT_FLAG_NO_VIEW" + glib:nick="no-view"/> + <member name="read_only" + value="64" + c:identifier="POPPLER_ANNOT_FLAG_READ_ONLY" + glib:nick="read-only"/> + <member name="locked" + value="128" + c:identifier="POPPLER_ANNOT_FLAG_LOCKED" + glib:nick="locked"/> + <member name="toggle_no_view" + value="256" + c:identifier="POPPLER_ANNOT_FLAG_TOGGLE_NO_VIEW" + glib:nick="toggle-no-view"/> + <member name="locked_contents" + value="512" + c:identifier="POPPLER_ANNOT_FLAG_LOCKED_CONTENTS" + glib:nick="locked-contents"/> + </bitfield> + <class name="AnnotFreeText" + c:symbol-prefix="annot_free_text" + c:type="PopplerAnnotFreeText" + parent="AnnotMarkup" + glib:type-name="PopplerAnnotFreeText" + glib:get-type="poppler_annot_free_text_get_type"> + <method name="get_callout_line" + c:identifier="poppler_annot_free_text_get_callout_line"> + <doc xml:whitespace="preserve">Retrieves a #PopplerCalloutLine of four or six numbers specifying a callout +line attached to the @poppler_annot. +line, NULL in other case. It must be freed with g_free() when +done.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated #PopplerCalloutLine if the annot has a callout</doc> + <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/> + </return-value> + </method> + <method name="get_quadding" + c:identifier="poppler_annot_free_text_get_quadding"> + <doc xml:whitespace="preserve">Retrieves the justification of the text of @poppler_annot.</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">#PopplerAnnotFreeTextQuadding of @poppler_annot.</doc> + <type name="AnnotFreeTextQuadding" + c:type="PopplerAnnotFreeTextQuadding"/> + </return-value> + </method> + </class> + <enumeration name="AnnotFreeTextQuadding" + glib:type-name="PopplerAnnotFreeTextQuadding" + glib:get-type="poppler_annot_free_text_quadding_get_type" + c:type="PopplerAnnotFreeTextQuadding"> + <member name="left_justified" + value="0" + c:identifier="POPPLER_ANNOT_FREE_TEXT_QUADDING_LEFT_JUSTIFIED" + glib:nick="left-justified"/> + <member name="centered" + value="1" + c:identifier="POPPLER_ANNOT_FREE_TEXT_QUADDING_CENTERED" + glib:nick="centered"/> + <member name="right_justified" + value="2" + c:identifier="POPPLER_ANNOT_FREE_TEXT_QUADDING_RIGHT_JUSTIFIED" + glib:nick="right-justified"/> + </enumeration> + <record name="AnnotMapping" + c:type="PopplerAnnotMapping" + glib:type-name="PopplerAnnotMapping" + glib:get-type="poppler_annot_mapping_get_type" + c:symbol-prefix="annot_mapping"> + <doc xml:whitespace="preserve">A #PopplerAnnotMapping structure represents the location +of @annot on the page</doc> + <field name="area" writable="1"> + <type name="Rectangle" c:type="PopplerRectangle"/> + </field> + <field name="annot" writable="1"> + <type name="Annot" c:type="PopplerAnnot*"/> + </field> + <constructor name="new" c:identifier="poppler_annot_mapping_new"> + <doc xml:whitespace="preserve">Creates a new #PopplerAnnotMapping</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new #PopplerAnnotMapping, use poppler_annot_mapping_free() to free it</doc> + <type name="AnnotMapping" c:type="PopplerAnnotMapping*"/> + </return-value> + </constructor> + <method name="copy" c:identifier="poppler_annot_mapping_copy"> + <doc xml:whitespace="preserve">Creates a copy of @mapping</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a new allocated copy of @mapping</doc> + <type name="AnnotMapping" c:type="PopplerAnnotMapping*"/> + </return-value> + </method> + <method name="free" c:identifier="poppler_annot_mapping_free"> + <doc xml:whitespace="preserve">Frees the given #PopplerAnnotMapping</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + </method> + </record> + <class name="AnnotMarkup" + c:symbol-prefix="annot_markup" + c:type="PopplerAnnotMarkup" + parent="Annot" + glib:type-name="PopplerAnnotMarkup" + glib:get-type="poppler_annot_markup_get_type"> + <method name="get_date" + c:identifier="poppler_annot_markup_get_date" + introspectable="0"> + <doc xml:whitespace="preserve">Returns the date and time when the annotation was created +when the annotation was created, or %NULL</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">a #GDate representing the date and time</doc> + <type name="GLib.Date" c:type="GDate*"/> + </return-value> + </method> + <method name="get_external_data" + c:identifier="poppler_annot_markup_get_external_data"> + <return-value transfer-ownership="none"> + <type name="AnnotExternalDataType" + c:type="PopplerAnnotExternalDataType"/> + </return-value> + </method> + <method name="get_label" c:identifier="poppler_annot_markup_get_label"> + <doc xml:whitespace="preserve">Retrieves the label text of @poppler_annot.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">the label text of @poppler_annot.</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + <method name="get_opacity" + c:identifier="poppler_annot_markup_get_opacity"> + <doc xml:whitespace="preserve">Retrieves the opacity value of @poppler_annot. +between 0 (transparent) and 1 (opaque)</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">the opacity value of @poppler_annot,</doc> + <type name="gdouble" c:type="gdouble"/> + </return-value> + </method> + <method name="get_popup_is_open" + c:identifier="poppler_annot_markup_get_popup_is_open"> + <doc xml:whitespace="preserve">Retrieves the state of the popup window related to @poppler_annot. +other case.</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">the state of @poppler_annot. %TRUE if it's open, %FALSE in</doc> + <type name="gboolean" c:type="gboolean"/> + </return-value> + </method> + <method name="get_popup_rectangle" + c:identifier="poppler_annot_markup_get_popup_rectangle" + version="0.12"> + <doc xml:whitespace="preserve">Retrieves the rectangle of the popup window related to @poppler_annot.</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">%TRUE if #PopplerRectangle was correctly filled, %FALSE otherwise</doc> + <type name="gboolean" c:type="gboolean"/> + </return-value> + <parameters> + <parameter name="poppler_rect" + direction="out" + caller-allocates="1" + transfer-ownership="none"> + <doc xml:whitespace="preserve">a #PopplerRectangle to store the popup rectangle</doc> + <type name="Rectangle" c:type="PopplerRectangle*"/> + </parameter> + </parameters> + </method> + <method name="get_reply_to" + c:identifier="poppler_annot_markup_get_reply_to"> + <return-value transfer-ownership="none"> + <type name="AnnotMarkupReplyType" + c:type="PopplerAnnotMarkupReplyType"/> + </return-value> + </method> + <method name="get_subject" + c:identifier="poppler_annot_markup_get_subject"> + <return-value transfer-ownership="full"> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + <method name="has_popup" + c:identifier="poppler_annot_markup_has_popup" + version="0.12"> + <doc xml:whitespace="preserve">Return %TRUE if the markup annotation has a popup window associated</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">%TRUE, if @poppler_annot has popup, %FALSE otherwise</doc> + <type name="gboolean" c:type="gboolean"/> + </return-value> + </method> + <method name="set_label" + c:identifier="poppler_annot_markup_set_label" + version="0.16"> + <doc xml:whitespace="preserve">Sets the label text of @poppler_annot, replacing the current one</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="label" transfer-ownership="none" allow-none="1"> + <doc xml:whitespace="preserve">a text string containing the new label, or %NULL</doc> + <type name="utf8" c:type="gchar*"/> + </parameter> + </parameters> + </method> + <method name="set_opacity" + c:identifier="poppler_annot_markup_set_opacity" + version="0.16"> + <doc xml:whitespace="preserve">Sets the opacity of @poppler_annot. This value applies to +all visible elements of @poppler_annot in its closed state, +but not to the pop-up window that appears when it's openened</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="opacity" transfer-ownership="none"> + <doc xml:whitespace="preserve">a constant opacity value, between 0 (transparent) and 1 (opaque)</doc> + <type name="gdouble" c:type="gdouble"/> + </parameter> + </parameters> + </method> + <method name="set_popup" + c:identifier="poppler_annot_markup_set_popup" + version="0.16"> + <doc xml:whitespace="preserve">Associates a new popup window for editing contents of @poppler_annot. +Popup window shall be displayed by viewers at @popup_rect on the page.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="popup_rect" transfer-ownership="none"> + <doc xml:whitespace="preserve">a #PopplerRectangle</doc> + <type name="Rectangle" c:type="PopplerRectangle*"/> + </parameter> + </parameters> + </method> + <method name="set_popup_is_open" + c:identifier="poppler_annot_markup_set_popup_is_open" + version="0.16"> + <doc xml:whitespace="preserve">Sets the state of the popup window related to @poppler_annot.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="is_open" transfer-ownership="none"> + <doc xml:whitespace="preserve">whether popup window should initially be displayed open</doc> + <type name="gboolean" c:type="gboolean"/> + </parameter> + </parameters> + </method> + </class> + <enumeration name="AnnotMarkupReplyType" + glib:type-name="PopplerAnnotMarkupReplyType" + glib:get-type="poppler_annot_markup_reply_type_get_type" + c:type="PopplerAnnotMarkupReplyType"> + <member name="r" + value="0" + c:identifier="POPPLER_ANNOT_MARKUP_REPLY_TYPE_R" + glib:nick="r"/> + <member name="group" + value="1" + c:identifier="POPPLER_ANNOT_MARKUP_REPLY_TYPE_GROUP" + glib:nick="group"/> + </enumeration> + <class name="AnnotMovie" + c:symbol-prefix="annot_movie" + c:type="PopplerAnnotMovie" + parent="Annot" + glib:type-name="PopplerAnnotMovie" + glib:get-type="poppler_annot_movie_get_type"> + <method name="get_movie" + c:identifier="poppler_annot_movie_get_movie" + version="0.14"> + <doc xml:whitespace="preserve">Retrieves the movie object (PopplerMovie) stored in the @poppler_annot. +object is owned by #PopplerAnnotMovie and should not be freed</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">the movie object stored in the @poppler_annot. The returned</doc> + <type name="Movie" c:type="PopplerMovie*"/> + </return-value> + </method> + <method name="get_title" + c:identifier="poppler_annot_movie_get_title" + version="0.14"> + <doc xml:whitespace="preserve">Retrieves the movie title of @poppler_annot.</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">the title text of @poppler_annot.</doc> + <type name="utf8" c:type="gchar*"/> + </return-value> + </method> + </class> + <class name="AnnotScreen" + c:symbol-prefix="annot_screen" + c:type="PopplerAnnotScreen" + parent="Annot" + glib:type-name="PopplerAnnotScreen" + glib:get-type="poppler_annot_screen_get_type"> + <method name="get_action" + c:identifier="poppler_annot_screen_get_action" + version="0.14"> + <doc xml:whitespace="preserve">Retrieves the action (#PopplerAction) that shall be performed when @poppler_annot is activated +object is owned by @poppler_annot and should not be freed</doc> + <return-value transfer-ownership="none"> + <doc xml:whitespace="preserve">the action to perform. The returned</doc> + <type name="Action" c:type="PopplerAction*"/> + </return-value> + </method> + </class> + <class name="AnnotText" + c:symbol-prefix="annot_text" + c:type="PopplerAnnotText" + parent="AnnotMarkup" + glib:type-name="PopplerAnnotText" + glib:get-type="poppler_annot_text_get_type"> + <constructor name="new" + c:identifier="poppler_annot_text_new" + version="0.16"> + <doc xml:whitespace="preserve">Creates a new Text annotation that will be +located on @rect when added to a page. See +poppler_page_add_annot()</doc> + <return-value transfer-ownership="full"> + <doc xml:whitespace="preserve">A newly created #PopplerAnnotText annotation</doc> |