This file is indexed.

/usr/share/gir-1.0/LOKDocView-0.1.gir is in gir1.2-lokdocview-0.1 1:5.1.2-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
<?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">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gio.Initable"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="lok_doc_view_new" throws="1">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">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">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">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pMimeType" transfer-ownership="none">
            <doc xml:space="preserve">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">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">Highlights the next matching text in the view. `search-not-found` signal will
be emitted when no search is found</doc>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve">text to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bHighlightAll" transfer-ownership="none">
            <doc xml:space="preserve">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">Highlights the previous matching text in the view. `search-not-found` signal
will be emitted when no search is found</doc>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve">text to search for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bHighlightAll" transfer-ownership="none">
            <doc xml:space="preserve">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">Gets the document the viewer displays.</doc>
        <return-value>
          <doc xml:space="preserve">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">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">Gets if the viewer is actually an editor or not.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%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">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">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">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">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">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">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">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">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">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">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">Highlights all matching texts in the view. `search-not-found` signal
will be emitted when no search is found</doc>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pText" transfer-ownership="none">
            <doc xml:space="preserve">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">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="open_document" c:identifier="lok_doc_view_open_document">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the document is loaded succesfully, %FALSE otherwise</doc>
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pPath" transfer-ownership="full">
            <doc xml:space="preserve">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">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">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="open_document_finish"
              c:identifier="lok_doc_view_open_document_finish"
              throws="1">
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the document is loaded succesfully, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="pDocView" transfer-ownership="none">
            <doc xml:space="preserve">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">Pastes the content at the current cursor position</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pMimeType" transfer-ownership="none">
            <doc xml:space="preserve">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">the data to be pasted</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="nSize" transfer-ownership="none">
            <doc xml:space="preserve">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">Converts the value in pixels to twips according to zoom level.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fInput" transfer-ownership="none">
            <doc xml:space="preserve">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">Posts the .uno: command to the LibreOfficeKit.</doc>
        <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">the #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pCommand" transfer-ownership="none">
            <doc xml:space="preserve">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">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">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">
        <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">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">Set the password for password protected documents</doc>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="pURL" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="pPassword"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">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">Sets if the viewer is actually an editor or not.</doc>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="bEdit" transfer-ownership="none">
            <doc xml:space="preserve">%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">
        <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">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">
        <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">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_zoom" c:identifier="lok_doc_view_set_zoom">
        <doc xml:space="preserve">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>
        <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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fZoom" transfer-ownership="none">
            <doc xml:space="preserve">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">Converts the value in twips to pixels according to zoom level.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">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">The #LOKDocView instance</doc>
            <type name="View" c:type="LOKDocView*"/>
          </instance-parameter>
          <parameter name="fInput" transfer-ownership="none">
            <doc xml:space="preserve">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">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">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">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">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">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">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">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">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">Whether the document loaded inside of #LOKDocView is editable or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="is-loading" transfer-ownership="none">
        <doc xml:space="preserve">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">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">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">A LibreOfficeKit* in case lok_init() is already called
previously.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="zoom-level" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">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="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">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">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="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">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">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">The width of new cursor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="nHeight" transfer-ownership="none">
            <doc xml:space="preserve">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">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">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="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">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">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">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">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">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="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">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">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">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">whether text selected is non-null</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ViewClass"
            c:type="LOKDocViewClass"
            glib:is-gtype-struct-for="View">
      <field name="parent_class">
        <type name="Gtk.DrawingAreaClass" c:type="GtkDrawingAreaClass"/>
      </field>
    </record>
    <record name="ViewPrivate" c:type="LOKDocViewPrivate" disguised="1">
    </record>
  </namespace>
</repository>