<?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="GObject" version="2.0"/>
  <include name="Gdk" version="3.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <namespace name="LOKDocView"
             version="0.1"
             shared-library="liblibreofficekitgtk.so"
             c:identifier-prefixes="LOKDoc"
             c:symbol-prefixes="lok_doc">
    <class name="View"
           c:symbol-prefix="view"
           c:type="LOKDocView"
           parent="Gtk.DrawingArea"
           glib:type-name="LOKDocView"
           glib:get-type="lok_doc_view_get_type"
           glib:type-struct="ViewClass">
      <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                       line="39"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gio.Initable"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="lok_doc_view_new" throws="1">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="53"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="51">The #LOKDocView widget instance.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <parameter name="pPath"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="45">LibreOffice install path. Pass null to set it to default
path which in most cases would be $libdir/libreoffice/program</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="47">The cancellable object that you can use to cancel this
operation.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_user_profile"
                   c:identifier="lok_doc_view_new_from_user_profile"
                   throws="1">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="68">The #LOKDocView widget instance.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <parameter name="pPath"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="59">LibreOffice install path. Pass null to set it to default
path which in most cases would be $libdir/libreoffice/program</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pUserProfile"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="61">User profile URL. Must be either a file URL or a
special vnd.sun.star.pathname URL. Pass non-null to be able to use this
widget and LibreOffice itself in parallel.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="64">The cancellable object that you can use to cancel this
operation.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy_selection" c:identifier="lok_doc_view_copy_selection">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="286"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="283">Selected text. The caller must free the returned buffer after
use. Returns null if no document is set.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="278">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pMimeType" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="279">suggests the return format, for example text/plain;charset=utf-8</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pUsedMimeType"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="280">output parameter to inform about the determined format
(suggested or plain text).</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_next" c:identifier="lok_doc_view_find_next">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="239">Highlights the next matching text in the view. `search-not-found` signal will
be emitted when no search is found</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="248"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="241">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="242">text to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bHighlightAll" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="243">Whether all the matches should be highlighted or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_prev" c:identifier="lok_doc_view_find_prev">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="252">Highlights the previous matching text in the view. `search-not-found` signal
will be emitted when no search is found</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="261"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="254">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="255">text to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bHighlightAll" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="256">Whether all the matches should be highlighted or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_document"
              c:identifier="lok_doc_view_get_document"
              introspectable="0">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="113">Gets the document the viewer displays.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="121"/>
        <return-value>
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="119">The #LibreOfficeKitDocument instance the widget is currently showing</doc>
          <type c:type="LibreOfficeKitDocument*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="115">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_edit" c:identifier="lok_doc_view_get_edit">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="214">Gets if the viewer is actually an editor or not.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="222"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="220">%TRUE if the given pDocView is in edit mode.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="216">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_part" c:identifier="lok_doc_view_get_part">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="169"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="167">Current part number of the document. Returns -1 if no document is set currently.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="165">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_part_name" c:identifier="lok_doc_view_get_part_name">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="187"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="184">Get current part name of loaded document. Returns null if no
document is set, or document has been destroyed using lok_doc_view_destroy_document.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="181">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="nPart" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_parts" c:identifier="lok_doc_view_get_parts">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="158">Part refers to either individual sheets in a Calc, or slides in Impress,
and has no relevance for Writer. Returns -1 if no document is set currently.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="156">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_info"
              c:identifier="lok_doc_view_get_version_info">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="318">Get version information of the LOKit process</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="332"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="324">JSON string containing version information in format:
{ProductName: &lt;&gt;, ProductVersion: &lt;&gt;, ProductExtension: &lt;&gt;, BuildId: &lt;&gt;}

Eg: {"ProductName": "LibreOffice",
"ProductVersion": "5.3",
"ProductExtension": ".0.0.alpha0",
"BuildId": "&lt;full 40 char git hash&gt;"}</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="320">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_zoom" c:identifier="lok_doc_view_get_zoom">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="152"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="150">The current zoom factor value in float for pDocView</doc>
          <type name="gfloat" c:type="gfloat"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="148">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="highlight_all" c:identifier="lok_doc_view_highlight_all">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="265">Highlights all matching texts in the view. `search-not-found` signal
will be emitted when no search is found</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="273"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="267">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="268">text to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="new_from_widget"
              c:identifier="lok_doc_view_new_from_widget">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="80">The #LOKDocView widget instance.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="77">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pRenderingArguments"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="78">lok::Document::initializeForRendering() arguments.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_document" c:identifier="lok_doc_view_open_document">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="94"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="87">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pPath" transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="88">The path of the document that #LOKDocView widget should try to open</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pRenderingArguments"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="89">lok::Document::initializeForRendering() arguments.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="userdata"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_document_finish"
              c:identifier="lok_doc_view_open_document_finish"
              throws="1">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="109"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="107">%TRUE if the document is loaded successfully, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="103">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="paste" c:identifier="lok_doc_view_paste">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="290">Pastes the content at the current cursor position</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="301"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="299">if pData was pasted successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="292">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pMimeType" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="293">format of pData, for example text/plain;charset=utf-8</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pData" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="294">the data to be pasted</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="nSize" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="295">length of data to be pasted</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="pixel_to_twip" c:identifier="lok_doc_view_pixel_to_twip">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="334">Converts the value in pixels to twips according to zoom level.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="343"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="341">The corresponding value in twips</doc>
          <type name="gfloat" c:type="gfloat"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="336">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fInput" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="337">The value in pixels to convert to twips</doc>
            <type name="gfloat" c:type="float"/>
          </parameter>
        </parameters>
      </method>
      <method name="post_command" c:identifier="lok_doc_view_post_command">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="224">Posts the .uno: command to the LibreOfficeKit.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="233"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="226">the #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="227">the command to issue to LO core</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pArguments" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="228">the arguments to the given command</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bNotifyWhenFinished" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="229">normally false, but it may be useful for eg. .uno:Save</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="reset_view" c:identifier="lok_doc_view_reset_view">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="202"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="200">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_document_password"
              c:identifier="lok_doc_view_set_document_password">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="306">Set the password for password protected documents</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="314"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="308">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pURL" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="309">the URL of the document to set password for, as sent with signal `password-required`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pPassword"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="310">the password, NULL for no password</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_edit" c:identifier="lok_doc_view_set_edit">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="204">Sets if the viewer is actually an editor or not.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="211"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="206">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="bEdit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="207">%TRUE if the pDocView should go in edit mode, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_part" c:identifier="lok_doc_view_set_part">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="176"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="173">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="nPart" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_partmode" c:identifier="lok_doc_view_set_partmode">
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="195"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="192">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="nPartMode" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_visible_area"
              c:identifier="lok_doc_view_set_visible_area">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="134">Sets the new visible area of the widget. This helps e.g. the page down key
to jump the correct length, which depends on the amount of visible height of
the document.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="136">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pVisibleArea" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="137">The new visible area of pDocView in twips.</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_zoom" c:identifier="lok_doc_view_set_zoom">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="123">Sets the new zoom level for the widget. Does nothing if fZoom is equal to
existing zoom level. Values outside the range [0.25, 5.0] are clamped into
the nearest allowed value in the interval.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="132"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="125">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fZoom" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="126">The new zoom level that pDocView must set it into.</doc>
            <type name="gfloat" c:type="float"/>
          </parameter>
        </parameters>
      </method>
      <method name="twip_to_pixel" c:identifier="lok_doc_view_twip_to_pixel">
        <doc xml:space="preserve"
             filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
             line="346">Converts the value in twips to pixels according to zoom level.</doc>
        <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                         line="355"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
               line="353">The corresponding value in pixels</doc>
          <type name="gfloat" c:type="gfloat"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="348">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fInput" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                 line="349">The value in twips to convert to pixels</doc>
            <type name="gfloat" c:type="float"/>
          </parameter>
        </parameters>
      </method>
      <property name="can-zoom-in" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2921">It tells whether the view can further be zoomed in or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="can-zoom-out" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2934">It tells whether the view can further be zoomed out or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="doc-height" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2908">The height of the currently loaded document in #LOKDocView in twips.</doc>
        <type name="glong" c:type="glong"/>
      </property>
      <property name="doc-password" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2947">Set it to true if client supports providing password for viewing
password protected documents</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="doc-password-to-modify"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2961">Set it to true if client supports providing password for edit-protected documents</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="doc-width" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2895">The width of the currently loaded document in #LOKDocView in twips.</doc>
        <type name="glong" c:type="glong"/>
      </property>
      <property name="docpath" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2799">The path of the document that is currently being viewed.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="docpointer" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2812">A LibreOfficeKitDocument* in case documentLoad() is already called
previously.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="editable" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2825">Whether the document loaded inside of #LOKDocView is editable or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="is-initialized" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2882">Whether the requested document has completely loaded or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="is-loading" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2868">Whether the requested document is being loaded or not. %TRUE if it is
being loaded, otherwise %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="load-progress" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2838">The percent completion of the current loading operation of the
document. This can be used for progress bars. Note that this is not a
very accurate progress indicator, and its value might reset it couple of
times to 0 and start again. You should not rely on its numbers.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="lopath"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2757">The absolute path of the LibreOffice install.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="lopointer"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2771">A LibreOfficeKit* in case lok_init() is already called
previously.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="tiled-annotations"
                writable="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="userprofileurl"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2785">The absolute path of the LibreOffice user profile.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="zoom-level" writable="1" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="2854">The current zoom level of the document loaded inside #LOKDocView. The
default value is 1.0.</doc>
        <type name="gfloat" c:type="gfloat"/>
      </property>
      <field name="aDrawingArea">
        <type name="Gtk.DrawingArea" c:type="GtkDrawingArea"/>
      </field>
      <glib:signal name="address-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3148">formula text content</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="command-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3023">the command that was changed</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="command-result" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3132">JSON containing the info about the command that finished,
and its success status.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="comment" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pComment" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3224">the JSON string containing comment notification
The has following structure containing the information telling whether
the comment has been added, deleted or modified.
The example:
{
    "comment": {
        "action": "Add",
        "id": "11",
        "parent": "4",
        "author": "Unknown Author",
        "text": "This is a comment",
        "dateTime": "2016-08-18T13:13:00",
        "anchorPos": "4529, 3906",
        "textRange": "1418, 3906, 3111, 919"
    }
}
'action' can be 'Add', 'Remove' or 'Modify' depending on whether
 comment has been added, removed or modified.
'parent' is a non-zero comment id if this comment is a reply comment,
 otherwise it's a root comment.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="cursor-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="nX" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3098">The new cursor position (X coordinate) in pixels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="nY" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3099">The new cursor position (Y coordinate) in pixels</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="nWidth" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3100">The width of new cursor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="nHeight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3101">The height of new cursor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="edit-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="bEdit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3008">the new edit value of the view</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="formula-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3163">formula text content</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="hyperlink-clicked" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="invalidate-header" when="first">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="3322">The column/row header is no more valid because of a column/row insertion
or a similar event. Clients must query a new column/row header set.

The payload says if we are invalidating a row or column header</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pPayload" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3325">can be either "row", "column", or "all".</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="load-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="fLoadProgress" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="2993">the new progress value</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="part-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3053">the part number which the view changed to</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="password-required" when="first">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="3190">Password must be provided by calling lok_doc_view_set_document_password
function with pUrl as provided by the callback.

Upon entering a invalid password, another `password-required` signal is
emitted.
Upon entering a valid password, document starts to load.
Upon entering a NULL password: if bModify is %TRUE, document starts to
open in view-only mode, else loading of document is aborted.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pUrl" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3193">URL of the document for which password is required</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="bModify" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3194">whether password id required to modify the document
This is true when password is required to edit the document,
while it can still be viewed without password. In such cases, provide a NULL
password for read-only access to the document.
If false, password is required for opening the document, and document
cannot be opened without providing a valid password.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="ruler" when="first">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="3255">The payload format is:

{
     "margin1": "...",
     "margin2": "...",
     "leftOffset": "...",
     "pageOffset": "...",
     "pageWidth": "...",
     "unit": "..."
 }</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pPayload" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3258">the JSON string containing the information about ruler properties</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="search-not-found" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3038">the string for which the search was not found.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="search-result-count" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3117">number of matches.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="size-changed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="aCommand" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3068">NULL, we just notify that want to notify the UI elements that are interested.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="text-selection" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="bIsTextSelected" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3178">whether text selected is non-null</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="window" when="first">
        <doc xml:space="preserve"
             filename="libreofficekit/source/gtk/lokdocview.cxx"
             line="3281">This signal emits information about external windows like dialogs, autopopups for now.

The payload format of pPayload is:

{
   "id": "unique integer id of the dialog",
   "action": "&lt;see below&gt;",
   "type": "&lt;see below&gt;"
   "rectangle": "x, y, width, height"
}

"type" tells the type of the window the action is associated with
 - "dialog" - window is a dialog
 - "child" - window is a floating window (combo boxes, etc.)

"action" can take following values:
- "created" - window is created in the backend, client can render it now
- "title_changed" - window's title is changed
- "size_changed" - window's size is changed
- "invalidate" - the area as described by "rectangle" is invalidated
   Clients must request the new area
- "cursor_invalidate" - cursor is invalidated. New position is in "rectangle"
- "cursor_visible" - cursor visible status is changed. Status is available
   in "visible" field
- "close" - window is closed</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pPayload" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libreofficekit/source/gtk/lokdocview.cxx"
                 line="3284">the JSON string containing the information about the window</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ViewClass"
            c:type="LOKDocViewClass"
            glib:is-gtype-struct-for="View">
      <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                       line="39"/>
      <field name="parent_class">
        <type name="Gtk.DrawingAreaClass" c:type="GtkDrawingAreaClass"/>
      </field>
    </record>
    <record name="ViewPrivate" c:type="LOKDocViewPrivate" disguised="1">
      <source-position filename="include/LibreOfficeKit/LibreOfficeKitGtk.h"
                       line="29"/>
    </record>
  </namespace>
</repository>
