Release 0.6.0
[vala-lang.git] / vapi / libgsf-1.vapi
blob135ea93679038de2e104dcfbc746007f83a0f7c0
1 /* libgsf-1.vapi generated by lt-vapigen, do not modify. */
3 [CCode (cprefix = "Gsf", lower_case_cprefix = "gsf_")]
4 namespace Gsf {
5         [CCode (cheader_filename = "gsf/gsf-blob.h")]
6         public class Blob : GLib.Object {
7                 public ulong get_size ();
8                 [CCode (has_construct_function = false)]
9                 public Blob (ulong size, void* data_to_copy) throws GLib.Error;
10                 public void* peek_data ();
11         }
12         [CCode (cheader_filename = "gsf/gsf-clip-data.h")]
13         public class ClipData : GLib.Object {
14                 public weak Gsf.Blob get_data_blob ();
15                 public Gsf.ClipFormat get_format ();
16                 public Gsf.ClipFormatWindows get_windows_clipboard_format () throws GLib.Error;
17                 [CCode (has_construct_function = false)]
18                 public ClipData (Gsf.ClipFormat format, Gsf.Blob data_blob);
19                 public void* peek_real_data (ulong ret_size) throws GLib.Error;
20         }
21         [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
22         public class DocMetaData : GLib.Object {
23                 public void @foreach (GLib.HFunc func);
24                 public void insert (string name, GLib.Value value);
25                 public weak Gsf.DocProp? lookup (string name);
26                 [CCode (has_construct_function = false)]
27                 public DocMetaData ();
28                 public void remove (string name);
29                 public ulong size ();
30                 public weak Gsf.DocProp? steal (string name);
31                 public void store (Gsf.DocProp prop);
32         }
33         [Compact]
34         [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
35         public class DocProp {
36                 public void dump ();
37                 public weak string? get_link ();
38                 public weak string get_name ();
39                 public weak GLib.Value? get_val ();
40                 [CCode (has_construct_function = false)]
41                 public DocProp (string# name);
42                 public void set_link (string# link);
43                 public void set_val (GLib.Value# val);
44                 public GLib.Value swap_val (GLib.Value val);
45         }
46         [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
47         public class DocPropVector : GLib.Object {
48                 [CCode (cname = "gsf_docprop_vector_append")]
49                 public void append (GLib.Value value);
50                 [CCode (cname = "gsf_docprop_vector_as_string")]
51                 public string as_string ();
52                 [CCode (cname = "gsf_docprop_vector_new", has_construct_function = false)]
53                 public DocPropVector ();
54         }
55         [CCode (cheader_filename = "gsf/gsf-infile-impl.h")]
56         public class Infile : Gsf.Input {
57                 public virtual weak Gsf.Input? child_by_index (int i);
58                 public virtual weak Gsf.Input? child_by_name (string name);
59                 public weak Gsf.Input? child_by_vname (string name);
60                 public virtual weak string? name_by_index (int i);
61                 public virtual int num_children ();
62         }
63         [CCode (cheader_filename = "gsf/gsf-infile-msole.h")]
64         public class InfileMSOle : Gsf.Infile {
65                 [CCode (cname = "gsf_infile_msole_get_class_id")]
66                 public bool get_class_id (uchar res);
67                 [CCode (cname = "gsf_infile_msole_new", type = "GsfInfile*", has_construct_function = false)]
68                 public InfileMSOle (Gsf.Input source) throws GLib.Error;
69         }
70         [CCode (cheader_filename = "gsf/gsf-infile-msvba.h")]
71         public class InfileMSVBA : Gsf.Infile {
72                 [CCode (type = "GsfInfile*", has_construct_function = false)]
73                 public InfileMSVBA (Gsf.Infile source) throws GLib.Error;
74         }
75         [CCode (cheader_filename = "gsf/gsf-infile-stdio.h")]
76         public class InfileStdio : Gsf.Infile {
77                 [CCode (type = "GsfInfile*", has_construct_function = false)]
78                 public InfileStdio (string root) throws GLib.Error;
79         }
80         [CCode (cheader_filename = "gsf/gsf-infile-zip.h")]
81         public class InfileZip : Gsf.Infile {
82                 [CCode (type = "GsfInfile*", has_construct_function = false)]
83                 public InfileZip (Gsf.Input source) throws GLib.Error;
84                 [NoAccessorMethod]
85                 public int compression_level { get; }
86                 [NoAccessorMethod]
87                 public Gsf.InfileZip internal_parent { construct; }
88                 [NoAccessorMethod]
89                 public Gsf.Input source { get; construct; }
90         }
91         [CCode (cheader_filename = "gsf/gsf-input-impl.h")]
92         public class Input : GLib.Object {
93                 public Gsf.off_t cur_offset;
94                 [NoWrapper]
95                 public virtual Gsf.Input Dup () throws GLib.Error;
96                 [NoWrapper]
97                 public virtual Gsf.Input OpenSibling (string path) throws GLib.Error;
98                 [NoWrapper]
99                 [NoArrayLength]
100                 public virtual weak uchar[]? Read (ulong num_bytes, uchar[]? optional_buffer);
101                 [NoWrapper]
102                 public virtual bool Seek (Gsf.off_t offset, GLib.SeekType whence);
103                 public weak Gsf.Infile? container ();
104                 public bool copy (Gsf.Output output);
105                 public void dump (bool dump_as_hex);
106                 public Gsf.Input dup () throws GLib.Error;
107                 public bool eof ();
108                 public static GLib.Quark error ();
109                 public static GLib.Quark error_id ();
110                 public static Gsf.Input mmap_new (string filename) throws GLib.Error;
111                 public weak string? name ();
112                 public Input ();
113                 [NoArrayLength]
114                 public weak uchar[]? read (ulong num_bytes, uchar[]? optional_buffer);
115                 public Gsf.off_t remaining ();
116                 public bool seek (Gsf.off_t offset, GLib.SeekType whence);
117                 public bool seek_emulate (Gsf.off_t pos);
118                 public bool set_container (Gsf.Infile? container);
119                 public bool set_name (string? name);
120                 public bool set_name_from_filename (string filename);
121                 public bool set_size (Gsf.off_t size);
122                 public weak Gsf.Input? sibling (string name) throws GLib.Error;
123                 public Gsf.off_t size ();
124                 public Gsf.off_t tell ();
125                 public static Gsf.Input uncompress (Gsf.Input# src);
126                 [NoAccessorMethod]
127                 public int64 position { get; }
128         }
129         [CCode (cheader_filename = "gsf/gsf-input-gzip.h")]
130         public class InputGZip : Gsf.Input {
131                 [CCode (type = "GsfInput*", has_construct_function = false)]
132                 public InputGZip (Gsf.Input source) throws GLib.Error;
133                 [NoAccessorMethod]
134                 public bool raw { get; construct; }
135                 [NoAccessorMethod]
136                 public Gsf.Input source { get; construct; }
137                 [NoAccessorMethod]
138                 public int64 uncompressed_size { get; construct; }
139         }
140         [CCode (cheader_filename = "gsf/gsf-input-http.h")]
141         public class InputHTTP : Gsf.Input {
142                 public weak string get_content_type ();
143                 public weak string get_url ();
144                 [CCode (type = "GsfInput*", has_construct_function = false)]
145                 public InputHTTP (string url) throws GLib.Error;
146                 [NoAccessorMethod]
147                 public string content_type { get; construct; }
148                 [NoAccessorMethod]
149                 public string url { get; construct; }
150         }
151         [CCode (cheader_filename = "gsf/gsf-input-memory.h")]
152         public class InputMemory : Gsf.Input {
153                 [CCode (type = "GsfInput*", has_construct_function = false)]
154                 public InputMemory.clone (uchar buf, Gsf.off_t length);
155                 [CCode (type = "GsfInput*", has_construct_function = false)]
156                 public InputMemory.from_bzip (Gsf.Input source) throws GLib.Error;
157                 [CCode (type = "GsfInput*", has_construct_function = false)]
158                 public InputMemory.from_iochannel (GLib.IOChannel channel) throws GLib.Error;
159                 [CCode (type = "GsfInput*", has_construct_function = false)]
160                 public InputMemory (uchar buf, Gsf.off_t length, bool needs_free);
161         }
162         [CCode (cheader_filename = "gsf/gsf-input-proxy.h")]
163         public class InputProxy : Gsf.Input {
164                 [CCode (type = "GsfInput*", has_construct_function = false)]
165                 public InputProxy (Gsf.Input source);
166                 [CCode (type = "GsfInput*", has_construct_function = false)]
167                 public InputProxy.section (Gsf.Input source, Gsf.off_t offset, Gsf.off_t size);
168         }
169         [CCode (cheader_filename = "gsf/gsf-input-stdio.h")]
170         public class InputStdio : Gsf.Input {
171                 [CCode (type = "GsfInput*", has_construct_function = false)]
172                 public InputStdio (string filename) throws GLib.Error;
173         }
174         [CCode (cheader_filename = "gsf/gsf-input-textline.h")]
175         public class InputTextline : Gsf.Input {
176                 [NoArrayLength]
177                 public weak uint[]? ascii_gets ();
178                 [CCode (type = "GsfInput*", has_construct_function = false)]
179                 public InputTextline (Gsf.Input source);
180                 [NoArrayLength]
181                 public weak uchar[]? utf8_gets ();
182         }
183         [Compact]
184         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
185         public class OpenPkgRel {
186                 public weak string get_target ();
187                 public bool is_extern ();
188         }
189         [Compact]
190         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
191         public class OpenPkgRels {
192         }
193         [CCode (cheader_filename = "gsf/gsf-outfile-impl.h")]
194         public class Outfile : Gsf.Output {
195                 [CCode (type = "GsfOutput*", has_construct_function = false)]
196                 public Outfile.child (Gsf.Outfile outfile, string name, bool is_dir);
197                 [CCode (type = "GsfOutput*", has_construct_function = false)]
198                 public Outfile.child_full (Gsf.Outfile outfile, string name, bool is_dir, ...);
199         }
200         [CCode (cheader_filename = "gsf/gsf-outfile-msole.h")]
201         public class OutfileMSOle : Gsf.Outfile {
202                 [CCode (cname = "gsf_outfile_msole_new_full", type = "GsfOutfile*", has_construct_function = false)]
203                 public OutfileMSOle.full (Gsf.Output sink, uint bb_size, uint sb_size);
204                 [CCode (cname = "gsf_outfile_msole_new", type = "GsfOutfile*", has_construct_function = false)]
205                 public OutfileMSOle (Gsf.Output sink);
206                 [CCode (cname = "gsf_outfile_msole_set_class_id")]
207                 public bool set_class_id (uchar clsid);
208         }
209         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
210         public class OutfileOpenPkg : Gsf.Outfile {
211                 public weak string add_extern_rel (string target, string content_type);
212                 public static Gsf.Output add_rel (Gsf.Outfile dir, string name, string content_type, Gsf.Outfile parent, string type);
213                 [CCode (type = "GsfOutfile*", has_construct_function = false)]
214                 public OutfileOpenPkg (Gsf.Outfile sink);
215                 public weak string relate (Gsf.OutfileOpenPkg parent, string type);
216                 public void set_content_type (string content_type);
217                 public void set_sink (Gsf.Output sink);
218                 [NoAccessorMethod]
219                 public string content_type { get; construct; }
220                 [NoAccessorMethod]
221                 public bool is_dir { get; construct; }
222                 [NoAccessorMethod]
223                 public Gsf.Outfile sink { get; construct; }
224         }
225         [CCode (cheader_filename = "gsf/gsf-outfile-stdio.h")]
226         public class OutfileStdio : Gsf.Outfile {
227                 [CCode (type = "GsfOutfile*", has_construct_function = false)]
228                 public OutfileStdio.full (string root, ...) throws GLib.Error;
229                 [CCode (type = "GsfOutfile*", has_construct_function = false)]
230                 public OutfileStdio (string root) throws GLib.Error;
231         }
232         [CCode (cheader_filename = "gsf/gsf-outfile-zip.h")]
233         public class OutfileZip : Gsf.Outfile {
234                 [CCode (type = "GsfOutfile*", has_construct_function = false)]
235                 public OutfileZip (Gsf.Output sink) throws GLib.Error;
236                 public bool set_compression_method (Gsf.ZipCompressionMethod method);
237                 [NoAccessorMethod]
238                 public int compression_level { get; construct; }
239                 [NoAccessorMethod]
240                 public string entry_name { get; construct; }
241                 [NoAccessorMethod]
242                 public Gsf.Output sink { get; construct; }
243         }
244         [CCode (cheader_filename = "gsf/gsf-output-impl.h")]
245         public class Output : GLib.Object {
246                 public Gsf.off_t cur_offset;
247                 public Gsf.off_t cur_size;
248                 public weak GLib.Error err;
249                 public weak string printf_buf;
250                 public int printf_buf_size;
251                 public weak GLib.Object wrapped_by;
252                 [NoWrapper]
253                 public virtual bool Close ();
254                 [NoWrapper]
255                 public virtual bool Seek (Gsf.off_t offset, GLib.SeekType whence);
256                 [NoWrapper]
257                 public virtual bool Write (ulong num_bytes, uchar[] data);
258                 public bool close ();
259                 public weak Gsf.Outfile? container ();
260                 public weak GLib.Error error ();
261                 public static GLib.Quark error_id ();
262                 public bool is_closed ();
263                 public weak string? name ();
264                 public bool printf (string format, ...);
265                 public bool puts (string line);
266                 public bool seek (Gsf.off_t offset, GLib.SeekType whence);
267                 public bool set_container (Gsf.Outfile? container);
268                 public bool set_error (int code, string format);
269                 public bool set_name (string? name);
270                 public bool set_name_from_filename (string filename);
271                 public Gsf.off_t size ();
272                 public Gsf.off_t tell ();
273                 public static bool unwrap (GLib.Object wrapper, Gsf.Output wrapee);
274                 public static bool wrap (GLib.Object wrapper, Gsf.Output wrapee);
275                 public bool write (ulong num_bytes, uchar[] data);
276                 [NoAccessorMethod]
277                 public int64 position { get; }
278         }
279         [CCode (cheader_filename = "gsf/gsf-output-bzip.h")]
280         public class OutputBzip : Gsf.Output {
281                 [CCode (type = "GsfOutput*", has_construct_function = false)]
282                 public OutputBzip (Gsf.Output sink) throws GLib.Error;
283         }
284         [CCode (cheader_filename = "gsf/gsf-output-csv.h")]
285         public class OutputCsv : Gsf.Output {
286                 public weak GLib.StringBuilder buf;
287                 public ulong eol_len;
288                 public bool fields_on_line;
289                 public ulong quote_len;
290                 public ulong separator_len;
291                 public bool write_eol ();
292                 public bool write_field (string field, ulong len);
293                 [NoAccessorMethod]
294                 public string eol { get; set construct; }
295                 [NoAccessorMethod]
296                 public string quote { get; set construct; }
297                 [NoAccessorMethod]
298                 public Gsf.OutputCsvQuotingMode quoting_mode { get; set construct; }
299                 [NoAccessorMethod]
300                 public bool quoting_on_whitespace { get; set; }
301                 [NoAccessorMethod]
302                 public string quoting_triggers { get; set; }
303                 [NoAccessorMethod]
304                 public string separator { get; set construct; }
305                 [NoAccessorMethod]
306                 public Gsf.Output sink { get; set; }
307         }
308         [CCode (cheader_filename = "gsf/gsf-output-gzip.h")]
309         public class OutputGZip : Gsf.Output {
310                 [CCode (type = "GsfOutput*", has_construct_function = false)]
311                 public OutputGZip (Gsf.Output sink) throws GLib.Error;
312                 [NoAccessorMethod]
313                 public bool raw { get; construct; }
314                 [NoAccessorMethod]
315                 public Gsf.Output sink { get; construct; }
316         }
317         [CCode (cheader_filename = "gsf/gsf-output-iochannel.h")]
318         public class OutputIOChannel : Gsf.Output {
319                 [CCode (cname = "gsf_output_iochannel_new", type = "GsfOutput*", has_construct_function = false)]
320                 public OutputIOChannel (GLib.IOChannel channel);
321         }
322         [CCode (cheader_filename = "gsf/gsf-output-iconv.h")]
323         public class OutputIconv : Gsf.Output {
324                 [CCode (type = "GsfOutput*", has_construct_function = false)]
325                 public OutputIconv (Gsf.Output sink, string dst, string src);
326                 [NoAccessorMethod]
327                 public string fallback { get; set; }
328                 [NoAccessorMethod]
329                 public string input_charset { get; construct; }
330                 [NoAccessorMethod]
331                 public string output_charset { get; construct; }
332                 [NoAccessorMethod]
333                 public Gsf.Output sink { get; construct; }
334         }
335         [CCode (cheader_filename = "gsf/gsf-output-memory.h")]
336         public class OutputMemory : Gsf.Output {
337                 [NoArrayLength]
338                 public weak uchar[] get_bytes ();
339                 [CCode (type = "GsfOutput*", has_construct_function = false)]
340                 public OutputMemory ();
341         }
342         [CCode (cheader_filename = "gsf/gsf-output-stdio.h")]
343         public class OutputStdio : Gsf.Output {
344                 [CCode (type = "GsfOutput*", has_construct_function = false)]
345                 public OutputStdio.full (string filename, ...) throws GLib.Error;
346                 [CCode (type = "GsfOutput*", has_construct_function = false)]
347                 public OutputStdio (string filename) throws GLib.Error;
348         }
349         [CCode (cheader_filename = "gsf/gsf-structured-blob.h")]
350         public class StructuredBlob : Gsf.Infile {
351                 public static Gsf.StructuredBlob read (Gsf.Input input);
352                 public bool write (Gsf.Outfile container);
353         }
354         [Compact]
355         [CCode (copy_function = "gsf_timestamp_copy", cheader_filename = "gsf/gsf-timestamp.h")]
356         public class Timestamp {
357                 public GLib.Date date;
358                 public long seconds;
359                 public weak GLib.StringBuilder time_zone;
360                 public uint timet;
361                 public string as_string ();
362                 public Gsf.Timestamp copy ();
363                 public bool equal (Gsf.Timestamp b);
364                 public uint hash ();
365                 public static int parse (string spec, Gsf.Timestamp stamp);
366         }
367         [Compact]
368         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
369         public class XMLBlob {
370         }
371         [Compact]
372         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
373         public class XMLIn {
374                 public weak GLib.StringBuilder content;
375                 public weak Gsf.XMLInDoc doc;
376                 public weak Gsf.XMLInNode node;
377                 public weak GLib.SList node_stack;
378                 public void* user_state;
379                 public weak string check_ns (string str, uint ns_id);
380                 public weak Gsf.Input get_input ();
381                 public bool namecmp (string str, uint ns_id, string name);
382                 public void push_state (Gsf.XMLInDoc doc, void* new_state, Gsf.XMLInExtDtor dtor, string[] attrs);
383         }
384         [Compact]
385         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
386         public class XMLInDoc {
387                 [CCode (has_construct_function = false)]
388                 public XMLInDoc (Gsf.XMLInNode[] nodes, Gsf.XMLInNS ns);
389                 public bool parse (Gsf.Input input, void* user_state);
390                 public void set_unknown_handler (Gsf.XMLInUnknownFunc handler);
391         }
392         [Compact]
393         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
394         public class XMLInNS {
395                 public uint ns_id;
396                 public weak string uri;
397         }
398         [Compact]
399         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
400         public class XMLInNode {
401                 public uint check_children_for_ns;
402                 public weak GLib.Callback end;
403                 public Gsf.XMLContent has_content;
404                 public weak string id;
405                 public weak string name;
406                 public int ns_id;
407                 public weak string parent_id;
408                 public uint share_children_with_parent;
409                 public weak GLib.Callback start;
410                 public void* user_data;
411         }
412         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
413         public class XMLOut : GLib.Object {
414                 public void add_base64 (string id, uchar data, uint len);
415                 public void add_bool (string id, bool val);
416                 public void add_color (string id, uint r, uint g, uint b);
417                 public void add_cstr (string id, string val_utf8);
418                 public void add_cstr_unchecked (string id, string val_utf8);
419                 public void add_enum (string id, GLib.Type etype, int val);
420                 public void add_float (string id, double val, int precision);
421                 public void add_gvalue (string id, GLib.Value val);
422                 public void add_int (string id, int val);
423                 public void add_uint (string id, uint val);
424                 public weak string end_element ();
425                 public weak Gsf.Output get_output ();
426                 [CCode (has_construct_function = false)]
427                 public XMLOut (Gsf.Output output);
428                 public void set_doc_type (string type);
429                 public void simple_element (string id, string content);
430                 public void simple_float_element (string id, double val, int precision);
431                 public void simple_int_element (string id, int val);
432                 public void start_element (string id);
433                 [NoAccessorMethod]
434                 public bool pretty_print { get; set; }
435         }
436         [CCode (cheader_filename = "gsf/gsf.h")]
437         [SimpleType]
438         [IntegerType (rank = 0)]
439         public struct off_t : int64 {
440         }
441         [CCode (cprefix = "GSF_CLIP_FORMAT_", has_type_id = "0", cheader_filename = "gsf/gsf-clip-data.h")]
442         public enum ClipFormat {
443                 WINDOWS_CLIPBOARD,
444                 MACINTOSH_CLIPBOARD,
445                 GUID,
446                 NO_DATA,
447                 CLIPBOARD_FORMAT_NAME,
448                 UNKNOWN
449         }
450         [CCode (cprefix = "GSF_CLIP_FORMAT_WINDOWS_", has_type_id = "0", cheader_filename = "gsf/gsf-clip-data.h")]
451         public enum ClipFormatWindows {
452                 ERROR,
453                 UNKNOWN,
454                 METAFILE,
455                 DIB,
456                 ENHANCED_METAFILE
457         }
458         [CCode (cprefix = "GSF_OUTPUT_CSV_QUOTING_MODE_", cheader_filename = "gsf/gsf-output-csv.h")]
459         public enum OutputCsvQuotingMode {
460                 NEVER,
461                 AUTO,
462                 ALWAYS
463         }
464         [CCode (cprefix = "GSF_XML_", has_type_id = "0", cheader_filename = "gsf/gsf-libxml.h")]
465         public enum XMLContent {
466                 NO_CONTENT,
467                 CONTENT,
468                 SHARED_CONTENT
469         }
470         [CCode (cprefix = "GSF_ZIP_", has_type_id = "0", cheader_filename = "gsf/gsf-outfile-zip.h")]
471         public enum ZipCompressionMethod {
472                 STORED,
473                 SHRUNK,
474                 REDUCEDx1,
475                 REDUCEDx2,
476                 REDUCEDx3,
477                 REDUCEDx4,
478                 IMPLODED,
479                 TOKENIZED,
480                 DEFLATED,
481                 DEFLATED_BETTER,
482                 IMPLODED_BETTER
483         }
484         [CCode (cprefix = "GSF_ERROR_", cheader_filename = "gsf/gsf-utils.h")]
485         public errordomain Error {
486                 OUT_OF_MEMORY,
487                 INVALID_DATA,
488         }
489         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
490         public static delegate void XMLInExtDtor (Gsf.XMLIn xin, void* old_state);
491         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
492         public static delegate bool XMLInUnknownFunc (Gsf.XMLIn xin, string elem, out weak string attrs);
493         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
494         public const string META_NAME_BYTE_COUNT;
495         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
496         public const string META_NAME_CASE_SENSITIVE;
497         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
498         public const string META_NAME_CATEGORY;
499         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
500         public const string META_NAME_CELL_COUNT;
501         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
502         public const string META_NAME_CHARACTER_COUNT;
503         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
504         public const string META_NAME_CODEPAGE;
505         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
506         public const string META_NAME_COMPANY;
507         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
508         public const string META_NAME_CREATOR;
509         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
510         public const string META_NAME_DATE_CREATED;
511         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
512         public const string META_NAME_DATE_MODIFIED;
513         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
514         public const string META_NAME_DESCRIPTION;
515         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
516         public const string META_NAME_DICTIONARY;
517         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
518         public const string META_NAME_DOCUMENT_PARTS;
519         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
520         public const string META_NAME_EDITING_DURATION;
521         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
522         public const string META_NAME_GENERATOR;
523         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
524         public const string META_NAME_HEADING_PAIRS;
525         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
526         public const string META_NAME_HIDDEN_SLIDE_COUNT;
527         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
528         public const string META_NAME_IMAGE_COUNT;
529         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
530         public const string META_NAME_INITIAL_CREATOR;
531         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
532         public const string META_NAME_KEYWORD;
533         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
534         public const string META_NAME_KEYWORDS;
535         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
536         public const string META_NAME_LANGUAGE;
537         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
538         public const string META_NAME_LAST_PRINTED;
539         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
540         public const string META_NAME_LAST_SAVED_BY;
541         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
542         public const string META_NAME_LINE_COUNT;
543         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
544         public const string META_NAME_LINKS_DIRTY;
545         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
546         public const string META_NAME_LOCALE_SYSTEM_DEFAULT;
547         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
548         public const string META_NAME_MANAGER;
549         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
550         public const string META_NAME_MM_CLIP_COUNT;
551         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
552         public const string META_NAME_MSOLE_UNKNOWN_17;
553         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
554         public const string META_NAME_MSOLE_UNKNOWN_18;
555         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
556         public const string META_NAME_MSOLE_UNKNOWN_19;
557         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
558         public const string META_NAME_MSOLE_UNKNOWN_20;
559         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
560         public const string META_NAME_MSOLE_UNKNOWN_21;
561         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
562         public const string META_NAME_MSOLE_UNKNOWN_22;
563         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
564         public const string META_NAME_MSOLE_UNKNOWN_23;
565         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
566         public const string META_NAME_NOTE_COUNT;
567         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
568         public const string META_NAME_OBJECT_COUNT;
569         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
570         public const string META_NAME_PAGE_COUNT;
571         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
572         public const string META_NAME_PARAGRAPH_COUNT;
573         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
574         public const string META_NAME_PRESENTATION_FORMAT;
575         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
576         public const string META_NAME_PRINTED_BY;
577         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
578         public const string META_NAME_PRINT_DATE;
579         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
580         public const string META_NAME_REVISION_COUNT;
581         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
582         public const string META_NAME_SCALE;
583         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
584         public const string META_NAME_SECURITY;
585         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
586         public const string META_NAME_SLIDE_COUNT;
587         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
588         public const string META_NAME_SPREADSHEET_COUNT;
589         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
590         public const string META_NAME_SUBJECT;
591         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
592         public const string META_NAME_TABLE_COUNT;
593         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
594         public const string META_NAME_TEMPLATE;
595         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
596         public const string META_NAME_THUMBNAIL;
597         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
598         public const string META_NAME_TITLE;
599         [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
600         public const string META_NAME_WORD_COUNT;
601         [CCode (cheader_filename = "gsf/gsf-outfile-ole.h")]
602         public const int OLE_DEFAULT_BB_SHIFT;
603         [CCode (cheader_filename = "gsf/gsf-outfile-ole.h")]
604         public const int OLE_DEFAULT_SB_SHIFT;
605         [CCode (cheader_filename = "gsf/gsf-utils.h")]
606         public static ulong base64_decode_simple (uchar[] data, ulong len);
607         [CCode (cheader_filename = "gsf/gsf-utils.h")]
608         public static ulong base64_decode_step (uchar[] @in, ulong len, uchar[] @out, out int state, out uint save);
609         [CCode (cheader_filename = "gsf/gsf-utils.h")]
610         public static ulong base64_encode_close (uchar[] @in, ulong inlen, bool break_lines, uchar[] @out, out int state, out uint save);
611         [NoArrayLength]
612         [CCode (cheader_filename = "gsf/gsf-utils.h")]
613         public static weak uchar[] base64_encode_simple (uchar[] data, ulong len);
614         [CCode (cheader_filename = "gsf/gsf-utils.h")]
615         public static ulong base64_encode_step (uchar[] @in, ulong len, bool break_lines, uchar[] @out, out int state, out uint save);
616         [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
617         public static void doc_meta_dump (Gsf.DocMetaData meta);
618         [CCode (cheader_filename = "gsf/gsf-utils.h")]
619         public static GLib.Quark error_quark ();
620         [CCode (cheader_filename = "gsf/gsf-utils.h")]
621         public static weak string extension_pointer (string path);
622         [CCode (cheader_filename = "gsf/gsf-utils.h")]
623         public static string filename_to_utf8 (string filename, bool quoted);
624         [CCode (cheader_filename = "gsf/gsf-utils.h")]
625         public static void iconv_close (GLib.IConv handle);
626         [CCode (cheader_filename = "gsf/gsf-utils.h")]
627         public static void init ();
628         [CCode (cheader_filename = "gsf/gsf-utils.h")]
629         public static void init_dynamic (GLib.TypeModule module);
630         [CCode (cheader_filename = "gsf/gsf-utils.h")]
631         public static double le_get_double (void* p);
632         [CCode (cheader_filename = "gsf/gsf-utils.h")]
633         public static float le_get_float (void* p);
634         [CCode (cheader_filename = "gsf/gsf-utils.h")]
635         public static uint64 le_get_guint64 (void* p);
636         [CCode (cheader_filename = "gsf/gsf-utils.h")]
637         public static void le_set_double (void* p, double d);
638         [CCode (cheader_filename = "gsf/gsf-utils.h")]
639         public static void le_set_float (void* p, float f);
640         [CCode (cheader_filename = "gsf/gsf-utils.h")]
641         public static void mem_dump (uchar[] ptr, ulong len);
642         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
643         public static uint msole_codepage_to_lid (int codepage);
644         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
645         public static GLib.IConv msole_iconv_open_codepage_for_export (int codepage_to);
646         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
647         public static GLib.IConv msole_iconv_open_codepage_for_import (string to, int codepage);
648         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
649         public static GLib.IConv msole_iconv_open_codepages_for_export (int codepage_to, string from);
650         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
651         public static GLib.IConv msole_iconv_open_for_export ();
652         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
653         public static GLib.IConv msole_iconv_open_for_import (int codepage);
654         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
655         public static int msole_iconv_win_codepage ();
656         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
657         public static weak GLib.ByteArray msole_inflate (Gsf.Input input, Gsf.off_t offset);
658         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
659         public static weak string msole_language_for_lid (uint lid);
660         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
661         public static uint msole_lid_for_language (string lang);
662         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
663         public static int msole_lid_to_codepage (uint lid);
664         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
665         public static weak string msole_lid_to_codepage_str (uint lid);
666         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
667         public static weak GLib.Error msole_metadata_read (Gsf.Input @in, Gsf.DocMetaData accum);
668         [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
669         public static bool msole_metadata_write (Gsf.Output @out, Gsf.DocMetaData meta_data, bool doc_not_component);
670         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
671         public static int open_pkg_error_id ();
672         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
673         public static Gsf.Input open_pkg_get_rel_by_id (Gsf.Input @in, string id);
674         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
675         public static Gsf.Input open_pkg_get_rel_by_type (Gsf.Input @in, string type);
676         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
677         public static weak Gsf.OpenPkgRel open_pkg_lookup_rel_by_id (Gsf.Input @in, string id);
678         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
679         public static weak Gsf.OpenPkgRel open_pkg_lookup_rel_by_type (Gsf.Input @in, string type);
680         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
681         public static Gsf.Input open_pkg_open_rel_by_id (Gsf.Input @in, string id) throws GLib.Error;
682         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
683         public static Gsf.Input open_pkg_open_rel_by_type (Gsf.Input @in, string type) throws GLib.Error;
684         [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
685         public static weak GLib.Error open_pkg_parse_rel_by_id (Gsf.XMLIn xin, string id, Gsf.XMLInNode dtd, Gsf.XMLInNS ns);
686         [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
687         public static weak GLib.Error opendoc_metadata_read (Gsf.Input input, Gsf.DocMetaData md);
688         [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
689         public static void opendoc_metadata_subtree (Gsf.XMLIn doc, Gsf.DocMetaData md);
690         [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
691         public static bool opendoc_metadata_write (Gsf.XMLOut output, Gsf.DocMetaData md);
692         [CCode (cheader_filename = "gsf/gsf-utils.h")]
693         public static void property_settings_collect (GLib.Type object_type, GLib.Parameter[] p_params, ref ulong p_n_params, ...);
694         [CCode (cheader_filename = "gsf/gsf-utils.h")]
695         public static void property_settings_free (GLib.Parameter[] params);
696         [CCode (cheader_filename = "gsf/gsf-utils.h")]
697         public static void shutdown ();
698         [CCode (cheader_filename = "gsf/gsf-utils.h")]
699         public static void shutdown_dynamic (GLib.TypeModule module);
700         [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
701         public static weak GLib.ValueArray value_get_docprop_varray (GLib.Value value);
702         [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
703         public static weak Gsf.DocPropVector value_get_docprop_vector (GLib.Value value);
704         [CCode (cheader_filename = "gsf/gsf-timestamp.h")]
705         public static void value_set_timestamp (GLib.Value value, Gsf.Timestamp stamp);
706         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
707         public static int xmlDocFormatDump (Gsf.Output output, Xml.Doc cur, string encoding, bool format);
708         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
709         public static bool xml_gvalue_from_str (GLib.Value res, GLib.Type t, string str);
710         [CCode (cheader_filename = "gsf/gsf-libxml.h")]
711         public static Xml.ParserCtxt xml_parser_context (Gsf.Input input);