This file is indexed.

/usr/share/gtk-doc/html/goffice-0.10/goffice-0.10-GOFileOpeners.html is in libgoffice-0.10-doc 0.10.28-1.

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
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GOFileOpeners: GOffice Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch14.html" title="File utilities">
<link rel="prev" href="goffice-0.10-Files.html" title="Files">
<link rel="next" href="GOFileSaver.html" title="GOFileSaver">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#goffice-0.10-GOFileOpeners.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#goffice-0.10-GOFileOpeners.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#goffice-0.10-GOFileOpeners.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch14.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="goffice-0.10-Files.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GOFileSaver.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="goffice-0.10-GOFileOpeners"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="goffice-0.10-GOFileOpeners.top_of_page"></a>GOFileOpeners</span></h2>
<p>GOFileOpeners</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerOpenFunc" title="GOFileOpenerOpenFunc ()">*GOFileOpenerOpenFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerOpenFuncWithEnc" title="GOFileOpenerOpenFuncWithEnc ()">*GOFileOpenerOpenFuncWithEnc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerProbeFunc" title="GOFileOpenerProbeFunc ()">*GOFileOpenerProbeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-can-probe" title="go_file_opener_can_probe ()">go_file_opener_can_probe</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-for-id" title="go_file_opener_for_id ()">go_file_opener_for_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> const *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-get-description" title="go_file_opener_get_description ()">go_file_opener_get_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">char</span> const *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-get-id" title="go_file_opener_get_id ()">go_file_opener_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> const *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-get-mimes" title="go_file_opener_get_mimes ()">go_file_opener_get_mimes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> const *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-get-suffixes" title="go_file_opener_get_suffixes ()">go_file_opener_get_suffixes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-is-encoding-dependent" title="go_file_opener_is_encoding_dependent ()">go_file_opener_is_encoding_dependent</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-new" title="go_file_opener_new ()">go_file_opener_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-new-with-enc" title="go_file_opener_new_with_enc ()">go_file_opener_new_with_enc</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-open" title="go_file_opener_open ()">go_file_opener_open</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-probe" title="go_file_opener_probe ()">go_file_opener_probe</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-register" title="go_file_opener_register ()">go_file_opener_register</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="goffice-0.10-GOFileOpeners.html#go-file-opener-unregister" title="go_file_opener_unregister ()">go_file_opener_unregister</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener--description" title="The “description” property">description</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener--id" title="The “id” property">id</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener--interactive-only" title="The “interactive-only” property">interactive-only</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<a name="GOFileOpener"></a><div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener-struct" title="GOFileOpener">GOFileOpener</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerClass" title="GOFileOpenerClass">GOFileOpenerClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
    <span class="lineart">╰──</span> GOFileOpener
</pre>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GOFileOpenerOpenFunc"></a><h3>GOFileOpenerOpenFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GOFileOpenerOpenFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                         <em class="parameter"><code><a class="link" href="GOIOContext.html" title="GOIOContext"><span class="type">GOIOContext</span></a> *io_context</code></em>,
                         <em class="parameter"><code><a class="link" href="GoView.html" title="GoView"><span class="type">GoView</span></a> *view</code></em>,
                         <em class="parameter"><code><span class="type">GsfInput</span> *input</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GOFileOpenerOpenFuncWithEnc"></a><h3>GOFileOpenerOpenFuncWithEnc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GOFileOpenerOpenFuncWithEnc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> const *enc</code></em>,
                                <em class="parameter"><code><a class="link" href="GOIOContext.html" title="GOIOContext"><span class="type">GOIOContext</span></a> *io_context</code></em>,
                                <em class="parameter"><code><a class="link" href="GoView.html" title="GoView"><span class="type">GoView</span></a> *view</code></em>,
                                <em class="parameter"><code><span class="type">GsfInput</span> *input</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GOFileOpenerProbeFunc"></a><h3>GOFileOpenerProbeFunc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*GOFileOpenerProbeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                          <em class="parameter"><code><span class="type">GsfInput</span> *input</code></em>,
                          <em class="parameter"><code><a class="link" href="goffice-0.10-Files.html#GOFileProbeLevel" title="enum GOFileProbeLevel"><span class="type">GOFileProbeLevel</span></a> pl</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-can-probe"></a><h3>go_file_opener_can_probe ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
go_file_opener_can_probe (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                          <em class="parameter"><code><a class="link" href="goffice-0.10-Files.html#GOFileProbeLevel" title="enum GOFileProbeLevel"><span class="type">GOFileProbeLevel</span></a> pl</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-for-id"></a><h3>go_file_opener_for_id ()</h3>
<pre class="programlisting"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
go_file_opener_for_id (<em class="parameter"><code><span class="type">char</span> const *id</code></em>);</pre>
<p>Searches for file opener with given <em class="parameter"><code>id</code></em>
, registered using
go_file_opener_register</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>File opener's ID</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.6.6"></a><h4>Returns</h4>
<p> <a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> object or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if opener cannot be found. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-get-description"></a><h3>go_file_opener_get_description ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const *
go_file_opener_get_description (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-get-id"></a><h3>go_file_opener_get_id ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> const *
go_file_opener_get_id (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-get-mimes"></a><h3>go_file_opener_get_mimes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> const *
go_file_opener_get_mimes (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>);</pre>
<div class="refsect3">
<a name="id-1.6.7.4.9.9.4"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.9.5"></a><h4>Returns</h4>
<p> the supported mime types. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-get-suffixes"></a><h3>go_file_opener_get_suffixes ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> const *
go_file_opener_get_suffixes (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>);</pre>
<div class="refsect3">
<a name="id-1.6.7.4.9.10.4"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.10.5"></a><h4>Returns</h4>
<p> the suffixes for the supporte file types. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-is-encoding-dependent"></a><h3>go_file_opener_is_encoding_dependent ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
go_file_opener_is_encoding_dependent (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-new"></a><h3>go_file_opener_new ()</h3>
<pre class="programlisting"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
go_file_opener_new (<em class="parameter"><code><span class="type">char</span> const *id</code></em>,
                    <em class="parameter"><code><span class="type">char</span> const *description</code></em>,
                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *suffixes</code></em>,
                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *mimes</code></em>,
                    <em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerProbeFunc" title="GOFileOpenerProbeFunc ()"><span class="type">GOFileOpenerProbeFunc</span></a> probe_func</code></em>,
                    <em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerOpenFunc" title="GOFileOpenerOpenFunc ()"><span class="type">GOFileOpenerOpenFunc</span></a> open_func</code></em>);</pre>
<p>Creates new GOFileOpener object. Optional <em class="parameter"><code>id</code></em>
 will be used
after registering it with go_file_opener_register function.</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>Optional ID of the opener (or NULL)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>description</p></td>
<td class="parameter_description"><p>Description of supported file format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>suffixes</p></td>
<td class="parameter_description"><p> List of suffixes to associate with the opener. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>mimes</p></td>
<td class="parameter_description"><p> List of mime types to associate with the opener. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>probe_func</p></td>
<td class="parameter_description"><p> Optional pointer to "probe" function (or NULL). </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>open_func</p></td>
<td class="parameter_description"><p> Pointer to "open" function. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.12.6"></a><h4>Returns</h4>
<p> newly created GOFileOpener object. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-new-with-enc"></a><h3>go_file_opener_new_with_enc ()</h3>
<pre class="programlisting"><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="returnvalue">GOFileOpener</span></a> *
go_file_opener_new_with_enc (<em class="parameter"><code><span class="type">char</span> const *id</code></em>,
                             <em class="parameter"><code><span class="type">char</span> const *description</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *suffixes</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *mimes</code></em>,
                             <em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerProbeFunc" title="GOFileOpenerProbeFunc ()"><span class="type">GOFileOpenerProbeFunc</span></a> probe_func</code></em>,
                             <em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpenerOpenFuncWithEnc" title="GOFileOpenerOpenFuncWithEnc ()"><span class="type">GOFileOpenerOpenFuncWithEnc</span></a> open_func</code></em>);</pre>
<p>Creates new GOFileOpener object. Optional <em class="parameter"><code>id</code></em>
 will be used
after registering it with go_file_opener_register function.</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>Optional ID of the opener (or NULL)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>description</p></td>
<td class="parameter_description"><p>Description of supported file format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>suffixes</p></td>
<td class="parameter_description"><p> List of suffixes to associate with the opener. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>mimes</p></td>
<td class="parameter_description"><p> List of mime types to associate with the opener. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> char]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>probe_func</p></td>
<td class="parameter_description"><p> Optional pointer to "probe" function (or NULL). </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>open_func</p></td>
<td class="parameter_description"><p> Pointer to "open" function. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.13.6"></a><h4>Returns</h4>
<p> newly created <a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> object. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-open"></a><h3>go_file_opener_open ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
go_file_opener_open (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> const *opt_enc</code></em>,
                     <em class="parameter"><code><a class="link" href="GOIOContext.html" title="GOIOContext"><span class="type">GOIOContext</span></a> *io_context</code></em>,
                     <em class="parameter"><code><a class="link" href="GoView.html" title="GoView"><span class="type">GoView</span></a> *view</code></em>,
                     <em class="parameter"><code><span class="type">GsfInput</span> *input</code></em>);</pre>
<p>Reads content of <em class="parameter"><code>file_name</code></em>
 file into workbook <em class="parameter"><code>wbv</code></em>
 is attached to.
Results are reported using <em class="parameter"><code>io_context</code></em>
 object, use
go_io_error_occurred to find out if operation was successful.
The state of <em class="parameter"><code>wbv</code></em>
 and its workbook is undefined if operation fails, you
should destroy them in that case.</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p>GOFileOpener object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opt_enc</p></td>
<td class="parameter_description"><p>Optional encoding</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>io_context</p></td>
<td class="parameter_description"><p>Context for i/o operation</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>view</p></td>
<td class="parameter_description"><p><a class="link" href="GoView.html" title="GoView"><span class="type">GoView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input</p></td>
<td class="parameter_description"><p>Gsf input stream</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-probe"></a><h3>go_file_opener_probe ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
go_file_opener_probe (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> const *fo</code></em>,
                      <em class="parameter"><code><span class="type">GsfInput</span> *input</code></em>,
                      <em class="parameter"><code><a class="link" href="goffice-0.10-Files.html#GOFileProbeLevel" title="enum GOFileProbeLevel"><span class="type">GOFileProbeLevel</span></a> pl</code></em>);</pre>
<p>Checks if a given file is supported by the opener.</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>input</p></td>
<td class="parameter_description"><p><span class="type">GsfInput</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pl</p></td>
<td class="parameter_description"><p><a class="link" href="goffice-0.10-Files.html#GOFileProbeLevel" title="enum GOFileProbeLevel"><span class="type">GOFileProbeLevel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.6.7.4.9.15.6"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the opener can read given file and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-register"></a><h3>go_file_opener_register ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
go_file_opener_register (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> *fo</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
<p>Adds <em class="parameter"><code>fo</code></em>
 opener to the list of available file openers, making it
available for Gnumeric i/o routines. The opener is registered with given
<em class="parameter"><code>priority</code></em>
. The priority is used to determine the order in which openers
will be tried when reading a file. The higher the priority, the sooner it
will be tried. Default XML-based Gnumeric file opener is registered at
priority 50. Recommended range for <em class="parameter"><code>priority</code></em>
 is [0, 100].
Reference count for the opener is incremented inside the function, but
you don't have to (and shouldn't) call g_object_unref on it if it's
floating object (for example, when you pass object newly created with
go_file_opener_new and not referenced anywhere).</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.16.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p>GOFileOpener object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>priority</p></td>
<td class="parameter_description"><p>Opener's priority</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="go-file-opener-unregister"></a><h3>go_file_opener_unregister ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
go_file_opener_unregister (<em class="parameter"><code><a class="link" href="goffice-0.10-GOFileOpeners.html#GOFileOpener"><span class="type">GOFileOpener</span></a> *fo</code></em>);</pre>
<p>Removes <em class="parameter"><code>fo</code></em>
 opener from list of available file openers. Reference count
for the opener is decremented inside the function.</p>
<div class="refsect3">
<a name="id-1.6.7.4.9.17.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fo</p></td>
<td class="parameter_description"><p>GOFileOpener object previously registered using
go_file_opener_register</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GOFileOpener-struct"></a><h3>GOFileOpener</h3>
<pre class="programlisting">typedef struct _GOFileOpener GOFileOpener;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GOFileOpenerClass"></a><h3>GOFileOpenerClass</h3>
<pre class="programlisting">typedef struct {
	GObjectClass parent_class;

	/* private */
	gboolean  (*can_probe) (GOFileOpener const *fo,
				GOFileProbeLevel pl);
	gboolean  (*probe) (GOFileOpener const *fo,
	                    GsfInput *input,
	                    GOFileProbeLevel pl);
	void      (*open)  (GOFileOpener const *fo,
			    gchar const *opt_enc,
	                    GOIOContext *io_context,
	                    GoView *view,
	                    GsfInput *input);
} GOFileOpenerClass;
</pre>
<p>File opener base class.</p>
<div class="refsect3">
<a name="id-1.6.7.4.10.3.5"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GOFileOpenerClass.parent-class"></a>parent_class</code></em>;</p></td>
<td class="struct_member_description"><p>parent class.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GOFileOpenerClass.can-probe"></a>can_probe</code></em> ()</p></td>
<td class="struct_member_description"><p>returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the files can be probed.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GOFileOpenerClass.probe"></a>probe</code></em> ()</p></td>
<td class="struct_member_description"><p>probes the file.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GOFileOpenerClass.open"></a>open</code></em> ()</p></td>
<td class="struct_member_description"><p>opens and reads the file.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="goffice-0.10-GOFileOpeners.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GOFileOpener--description"></a><h3>The <code class="literal">“description”</code> property</h3>
<pre class="programlisting">  “description”              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The description of the opener.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GOFileOpener--id"></a><h3>The <code class="literal">“id”</code> property</h3>
<pre class="programlisting">  “id”                       <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The identifier of the opener.</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GOFileOpener--interactive-only"></a><h3>The <code class="literal">“interactive-only”</code> property</h3>
<pre class="programlisting">  “interactive-only”         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>TRUE if this opener requires interaction.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>