1 /* libgsf-1.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gsf", lower_case_cprefix = "gsf_")]
5 [CCode (cheader_filename = "gsf/gsf-blob.h")]
6 public class Blob : GLib.Object {
7 [CCode (has_construct_function = false)]
8 public Blob (size_t size, void* data_to_copy) throws GLib.Error;
9 public size_t get_size ();
10 public void* peek_data ();
12 [CCode (cheader_filename = "gsf/gsf-clip-data.h")]
13 public class ClipData : GLib.Object {
14 [CCode (has_construct_function = false)]
15 public ClipData (Gsf.ClipFormat format, Gsf.Blob data_blob);
16 public unowned Gsf.Blob get_data_blob ();
17 public Gsf.ClipFormat get_format ();
18 public Gsf.ClipFormatWindows get_windows_clipboard_format () throws GLib.Error;
19 public void* peek_real_data (size_t ret_size) throws GLib.Error;
21 [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
22 public class DocMetaData : GLib.Object {
23 [CCode (has_construct_function = false)]
24 public DocMetaData ();
25 public void @foreach (GLib.HFunc func);
26 public void insert (string name, GLib.Value value);
27 public unowned Gsf.DocProp? lookup (string name);
28 public void remove (string name);
29 public size_t size ();
30 public unowned Gsf.DocProp? steal (string name);
31 public void store (Gsf.DocProp prop);
34 [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
35 public class DocProp {
36 [CCode (has_construct_function = false)]
37 public DocProp (owned string name);
39 public unowned string? get_link ();
40 public unowned string get_name ();
41 public unowned GLib.Value? get_val ();
42 public void set_link (owned string link);
43 public void set_val (owned GLib.Value val);
44 public GLib.Value swap_val (GLib.Value val);
46 [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
47 public class DocPropVector : GLib.Object {
48 [CCode (cname = "gsf_docprop_vector_new", has_construct_function = false)]
49 public DocPropVector ();
50 [CCode (cname = "gsf_docprop_vector_append")]
51 public void append (GLib.Value value);
52 [CCode (cname = "gsf_docprop_vector_as_string")]
53 public string as_string ();
55 [CCode (cheader_filename = "gsf/gsf-infile-impl.h")]
56 public class Infile : Gsf.Input {
57 [CCode (has_construct_function = false)]
59 public unowned Gsf.Input child_by_aname (string[] names);
60 public virtual unowned Gsf.Input? child_by_index (int i);
61 public virtual unowned Gsf.Input? child_by_name (string name);
62 public unowned Gsf.Input child_by_vaname (void* names);
63 public unowned Gsf.Input? child_by_vname ();
64 public virtual unowned string? name_by_index (int i);
65 public virtual int num_children ();
67 [CCode (cheader_filename = "gsf/gsf-infile-msole.h")]
68 public class InfileMSOle : Gsf.Infile {
69 [CCode (cname = "gsf_infile_msole_new", type = "GsfInfile*", has_construct_function = false)]
70 public InfileMSOle (Gsf.Input source) throws GLib.Error;
71 [CCode (cname = "gsf_infile_msole_get_class_id")]
72 public bool get_class_id (uchar res);
74 [CCode (cheader_filename = "gsf/gsf-infile-msvba.h")]
75 public class InfileMSVBA : Gsf.Infile {
76 [CCode (type = "GsfInfile*", has_construct_function = false)]
77 public InfileMSVBA (Gsf.Infile source) throws GLib.Error;
78 public unowned GLib.HashTable get_modules ();
79 public unowned GLib.HashTable steal_modules ();
81 [CCode (cheader_filename = "gsf/gsf-infile-stdio.h")]
82 public class InfileStdio : Gsf.Infile {
83 [CCode (type = "GsfInfile*", has_construct_function = false)]
84 public InfileStdio (string root) throws GLib.Error;
86 [CCode (cheader_filename = "gsf/gsf.h")]
87 public class InfileTar : Gsf.Infile {
88 [CCode (type = "GsfInfile*", has_construct_function = false)]
89 public InfileTar (Gsf.Input source) throws GLib.Error;
91 public Gsf.Input source { owned get; construct; }
93 [CCode (cheader_filename = "gsf/gsf-infile-zip.h")]
94 public class InfileZip : Gsf.Infile {
95 [CCode (type = "GsfInfile*", has_construct_function = false)]
96 public InfileZip (Gsf.Input source) throws GLib.Error;
98 public int compression_level { get; }
99 public Gsf.InfileZip internal_parent { construct; }
101 public Gsf.Input source { owned get; construct; }
103 [CCode (cheader_filename = "gsf/gsf-input-impl.h")]
104 public class Input : GLib.Object {
105 public Gsf.off_t cur_offset;
106 [CCode (has_construct_function = false)]
109 public virtual Gsf.Input Dup () throws GLib.Error;
111 public virtual Gsf.Input OpenSibling (string path) throws GLib.Error;
113 [CCode (array_length = false)]
114 public virtual unowned uchar[]? Read (size_t num_bytes, [CCode (array_length = false)] uchar[]? optional_buffer);
116 public virtual bool Seek (Gsf.off_t offset, GLib.SeekType whence);
117 public unowned Gsf.Infile? container ();
118 public bool copy (Gsf.Output output);
119 public void dump (bool dump_as_hex);
120 public Gsf.Input dup () throws GLib.Error;
122 public static GLib.Quark error ();
123 public static GLib.Quark error_id ();
124 public unowned Gsf.InfileMSVBA find_vba () throws GLib.Error;
125 public static Gsf.Input mmap_new (string filename) throws GLib.Error;
126 public unowned string? name ();
127 [CCode (array_length = false)]
128 public unowned uchar[]? read (size_t num_bytes, [CCode (array_length = false)] uchar[]? optional_buffer);
129 public Gsf.off_t remaining ();
130 public bool seek (Gsf.off_t offset, GLib.SeekType whence);
131 public bool seek_emulate (Gsf.off_t pos);
132 public bool set_container (Gsf.Infile? container);
133 public bool set_name (string? name);
134 public bool set_name_from_filename (string filename);
135 public bool set_size (Gsf.off_t size);
136 public unowned Gsf.Input? sibling (string name) throws GLib.Error;
137 public Gsf.off_t size ();
138 public Gsf.off_t tell ();
139 public unowned Gsf.Input uncompress ();
141 public int64 position { get; }
143 [CCode (cheader_filename = "gsf/gsf-input-gzip.h")]
144 public class InputGZip : Gsf.Input {
145 [CCode (type = "GsfInput*", has_construct_function = false)]
146 public InputGZip (Gsf.Input source) throws GLib.Error;
148 public bool raw { get; construct; }
150 public Gsf.Input source { owned get; construct; }
152 public int64 uncompressed_size { get; construct; }
154 [CCode (cheader_filename = "gsf/gsf.h")]
155 public class InputGio : Gsf.Input {
156 [CCode (type = "GsfInput*", has_construct_function = false)]
157 public InputGio (GLib.File file) throws GLib.Error;
158 [CCode (type = "GsfInput*", has_construct_function = false)]
159 public InputGio.for_path (string path) throws GLib.Error;
160 [CCode (type = "GsfInput*", has_construct_function = false)]
161 public InputGio.for_uri (string uri) throws GLib.Error;
163 [CCode (cheader_filename = "gsf/gsf-input-http.h")]
164 public class InputHTTP : Gsf.Input {
165 [CCode (type = "GsfInput*", has_construct_function = false)]
166 public InputHTTP (string url) throws GLib.Error;
167 public unowned string get_content_type ();
168 public unowned string get_url ();
169 public string content_type { get; construct; }
170 public string url { get; construct; }
172 [CCode (cheader_filename = "gsf/gsf-input-memory.h")]
173 public class InputMemory : Gsf.Input {
174 [CCode (type = "GsfInput*", has_construct_function = false)]
175 public InputMemory (uchar buf, Gsf.off_t length, bool needs_free);
176 [CCode (type = "GsfInput*", has_construct_function = false)]
177 public InputMemory.clone (uchar buf, Gsf.off_t length);
178 [CCode (type = "GsfInput*", has_construct_function = false)]
179 public InputMemory.from_bzip (Gsf.Input source) throws GLib.Error;
180 [CCode (type = "GsfInput*", has_construct_function = false)]
181 public InputMemory.from_iochannel (GLib.IOChannel channel) throws GLib.Error;
183 [CCode (cheader_filename = "gsf/gsf-input-proxy.h")]
184 public class InputProxy : Gsf.Input {
185 [CCode (type = "GsfInput*", has_construct_function = false)]
186 public InputProxy (Gsf.Input source);
187 [CCode (type = "GsfInput*", has_construct_function = false)]
188 public InputProxy.section (Gsf.Input source, Gsf.off_t offset, Gsf.off_t size);
190 [CCode (cheader_filename = "gsf/gsf-input-stdio.h")]
191 public class InputStdio : Gsf.Input {
192 [CCode (type = "GsfInput*", has_construct_function = false)]
193 public InputStdio (string filename) throws GLib.Error;
195 [CCode (cheader_filename = "gsf/gsf-input-textline.h")]
196 public class InputTextline : Gsf.Input {
197 [CCode (type = "GsfInput*", has_construct_function = false)]
198 public InputTextline (Gsf.Input source);
199 [CCode (array_length = false)]
200 public unowned uint[]? ascii_gets ();
201 [CCode (array_length = false)]
202 public unowned uchar[]? utf8_gets ();
205 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
206 public class OpenPkgRel {
207 public unowned string get_target ();
208 public bool is_extern ();
211 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
212 public class OpenPkgRels {
214 [CCode (cheader_filename = "gsf/gsf-outfile-impl.h")]
215 public class Outfile : Gsf.Output {
216 [CCode (has_construct_function = false)]
217 protected Outfile ();
218 public Gsf.Output new_child (string name, bool is_dir);
219 public Gsf.Output new_child_full (string name, bool is_dir, ...);
221 [CCode (cheader_filename = "gsf/gsf-outfile-msole.h")]
222 public class OutfileMSOle : Gsf.Outfile {
223 [CCode (cname = "gsf_outfile_msole_new", type = "GsfOutfile*", has_construct_function = false)]
224 public OutfileMSOle (Gsf.Output sink);
225 [CCode (cname = "gsf_outfile_msole_new_full", type = "GsfOutfile*", has_construct_function = false)]
226 public OutfileMSOle.full (Gsf.Output sink, uint bb_size, uint sb_size);
227 [CCode (cname = "gsf_outfile_msole_set_class_id")]
228 public bool set_class_id (uchar clsid);
230 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
231 public class OutfileOpenPkg : Gsf.Outfile {
232 [CCode (type = "GsfOutfile*", has_construct_function = false)]
233 public OutfileOpenPkg (Gsf.Outfile sink);
234 public unowned string add_extern_rel (string target, string content_type);
235 public static Gsf.Output add_rel (Gsf.Outfile dir, string name, string content_type, Gsf.Outfile parent, string type);
236 public unowned string relate (Gsf.OutfileOpenPkg parent, string type);
237 public void set_content_type (string content_type);
238 public void set_sink (Gsf.Output sink);
240 public string content_type { owned get; construct; }
242 public bool is_dir { get; construct; }
244 public Gsf.Outfile sink { owned get; construct; }
246 [CCode (cheader_filename = "gsf/gsf-outfile-stdio.h")]
247 public class OutfileStdio : Gsf.Outfile {
248 [CCode (type = "GsfOutfile*", has_construct_function = false)]
249 public OutfileStdio (string root) throws GLib.Error;
250 [CCode (type = "GsfOutfile*", has_construct_function = false)]
251 public OutfileStdio.full (string root, ...) throws GLib.Error;
253 [CCode (cheader_filename = "gsf/gsf-outfile-zip.h")]
254 public class OutfileZip : Gsf.Outfile {
255 [CCode (type = "GsfOutfile*", has_construct_function = false)]
256 public OutfileZip (Gsf.Output sink) throws GLib.Error;
257 public bool set_compression_method (Gsf.ZipCompressionMethod method);
259 public int compression_level { get; construct; }
261 public string entry_name { owned get; construct; }
263 public Gsf.Output sink { owned get; construct; }
265 [CCode (cheader_filename = "gsf/gsf-output-impl.h")]
266 public class Output : GLib.Object {
267 public Gsf.off_t cur_offset;
268 public Gsf.off_t cur_size;
269 public weak GLib.Error err;
270 public weak string printf_buf;
271 public int printf_buf_size;
272 public weak GLib.Object wrapped_by;
273 [CCode (has_construct_function = false)]
276 public virtual bool Close ();
278 public virtual bool Seek (Gsf.off_t offset, GLib.SeekType whence);
280 public virtual bool Write (size_t num_bytes, [CCode (array_length = false)] uchar[] data);
281 public bool close ();
282 public unowned Gsf.Outfile? container ();
283 public unowned GLib.Error error ();
284 public static GLib.Quark error_id ();
285 public bool is_closed ();
286 public unowned string? name ();
287 public bool printf (string format, ...);
288 public bool puts (string line);
289 public bool seek (Gsf.off_t offset, GLib.SeekType whence);
290 public bool set_container (Gsf.Outfile? container);
291 public bool set_error (int code, string format);
292 public bool set_name (string? name);
293 public bool set_name_from_filename (string filename);
294 public Gsf.off_t size ();
295 public Gsf.off_t tell ();
296 public static bool unwrap (GLib.Object wrapper, Gsf.Output wrapee);
297 public static bool wrap (GLib.Object wrapper, Gsf.Output wrapee);
298 public bool write (size_t num_bytes, [CCode (array_length = false)] uchar[] data);
300 public int64 position { get; }
302 [CCode (cheader_filename = "gsf/gsf-output-bzip.h")]
303 public class OutputBzip : Gsf.Output {
304 [CCode (type = "GsfOutput*", has_construct_function = false)]
305 public OutputBzip (Gsf.Output sink) throws GLib.Error;
307 [CCode (cheader_filename = "gsf/gsf-output-csv.h")]
308 public class OutputCsv : Gsf.Output {
309 public weak GLib.StringBuilder buf;
310 public size_t eol_len;
311 public bool fields_on_line;
312 public size_t quote_len;
313 public size_t separator_len;
314 [CCode (has_construct_function = false)]
315 protected OutputCsv ();
316 public bool write_eol ();
317 public bool write_field (string field, size_t len);
319 public string eol { owned get; set construct; }
321 public string quote { owned get; set construct; }
323 public Gsf.OutputCsvQuotingMode quoting_mode { get; set construct; }
325 public bool quoting_on_whitespace { get; set; }
327 public string quoting_triggers { owned get; set; }
329 public string separator { owned get; set construct; }
331 public Gsf.Output sink { owned get; set; }
333 [CCode (cheader_filename = "gsf/gsf-output-gzip.h")]
334 public class OutputGZip : Gsf.Output {
335 [CCode (type = "GsfOutput*", has_construct_function = false)]
336 public OutputGZip (Gsf.Output sink) throws GLib.Error;
338 public bool raw { get; construct; }
340 public Gsf.Output sink { owned get; construct; }
342 [CCode (cheader_filename = "gsf/gsf.h")]
343 public class OutputGio : Gsf.Output {
344 [CCode (type = "GsfOutput*", has_construct_function = false)]
345 public OutputGio (GLib.File file);
346 [CCode (type = "GsfOutput*", has_construct_function = false)]
347 public OutputGio.for_path (string path) throws GLib.Error;
348 [CCode (type = "GsfOutput*", has_construct_function = false)]
349 public OutputGio.for_uri (string uri) throws GLib.Error;
351 [CCode (cheader_filename = "gsf/gsf-output-iochannel.h")]
352 public class OutputIOChannel : Gsf.Output {
353 [CCode (cname = "gsf_output_iochannel_new", type = "GsfOutput*", has_construct_function = false)]
354 public OutputIOChannel (GLib.IOChannel channel);
356 [CCode (cheader_filename = "gsf/gsf-output-iconv.h")]
357 public class OutputIconv : Gsf.Output {
358 [CCode (type = "GsfOutput*", has_construct_function = false)]
359 public OutputIconv (Gsf.Output sink, string dst, string src);
361 public string fallback { owned get; set; }
363 public string input_charset { owned get; construct; }
365 public string output_charset { owned get; construct; }
367 public Gsf.Output sink { owned get; construct; }
369 [CCode (cheader_filename = "gsf/gsf-output-memory.h")]
370 public class OutputMemory : Gsf.Output {
371 [CCode (type = "GsfOutput*", has_construct_function = false)]
372 public OutputMemory ();
373 [CCode (array_length = false)]
374 public unowned uchar[] get_bytes ();
376 [CCode (cheader_filename = "gsf/gsf-output-stdio.h")]
377 public class OutputStdio : Gsf.Output {
378 [CCode (type = "GsfOutput*", has_construct_function = false)]
379 public OutputStdio (string filename) throws GLib.Error;
380 [CCode (type = "GsfOutput*", has_construct_function = false)]
381 public OutputStdio.full (string filename, ...) throws GLib.Error;
383 [CCode (cheader_filename = "gsf/gsf-infile-msvba.h")]
384 public class SharedMemory : GLib.Object {
386 public bool needs_free;
387 public bool needs_unmap;
388 public Gsf.off_t size;
389 [CCode (has_construct_function = false)]
390 public SharedMemory (void* buf, Gsf.off_t size, bool needs_free);
391 public static unowned Gsf.SharedMemory mmapped_new (void* buf, Gsf.off_t size);
393 [CCode (cheader_filename = "gsf/gsf-structured-blob.h")]
394 public class StructuredBlob : Gsf.Infile {
395 [CCode (has_construct_function = false)]
396 protected StructuredBlob ();
397 public static Gsf.StructuredBlob read (Gsf.Input input);
398 public bool write (Gsf.Outfile container);
401 [CCode (copy_function = "gsf_timestamp_copy", type_id = "GSF_TYPE_TIMESTAMP", cheader_filename = "gsf/gsf-timestamp.h")]
402 public class Timestamp {
403 public GLib.Date date;
405 public weak GLib.StringBuilder time_zone;
407 [CCode (has_construct_function = false)]
409 public string as_string ();
410 public Gsf.Timestamp copy ();
411 public bool equal (Gsf.Timestamp b);
412 public static int from_string (string spec, Gsf.Timestamp stamp);
414 public static int parse (string spec, Gsf.Timestamp stamp);
415 public void set_time (uint64 t);
418 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
419 public class XMLBlob {
422 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
424 public weak GLib.StringBuilder content;
425 public weak Gsf.XMLInDoc doc;
426 public weak Gsf.XMLInNode node;
427 public weak GLib.SList node_stack;
428 public void* user_state;
429 public unowned string check_ns (string str, uint ns_id);
430 public unowned Gsf.Input get_input ();
431 public bool namecmp (string str, uint ns_id, string name);
432 public void push_state (Gsf.XMLInDoc doc, void* new_state, Gsf.XMLInExtDtor dtor, [CCode (array_length = false)] string[] attrs);
435 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
436 public class XMLInDoc {
437 [CCode (has_construct_function = false)]
438 public XMLInDoc ([CCode (array_length = false)] Gsf.XMLInNode[] nodes, Gsf.XMLInNS ns);
439 public void add_nodes (Gsf.XMLInNode nodes);
440 public bool parse (Gsf.Input input, void* user_state);
441 public void set_unknown_handler (Gsf.XMLInUnknownFunc handler);
444 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
445 public class XMLInNS {
447 public weak string uri;
450 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
451 public class XMLInNode {
452 public uint check_children_for_ns;
453 public weak GLib.Callback end;
454 public Gsf.XMLContent has_content;
455 public weak string id;
456 public weak string name;
458 public weak string parent_id;
459 public uint share_children_with_parent;
460 public weak GLib.Callback start;
461 public void* user_data;
463 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
464 public class XMLOut : GLib.Object {
465 [CCode (has_construct_function = false)]
466 public XMLOut (Gsf.Output output);
467 public void add_base64 (string id, uchar data, uint len);
468 public void add_bool (string id, bool val);
469 public void add_color (string id, uint r, uint g, uint b);
470 public void add_cstr (string id, string val_utf8);
471 public void add_cstr_unchecked (string id, string val_utf8);
472 public void add_enum (string id, GLib.Type etype, int val);
473 public void add_float (string id, double val, int precision);
474 public void add_gvalue (string id, GLib.Value val);
475 public void add_int (string id, int val);
476 public void add_uint (string id, uint val);
477 public unowned string end_element ();
478 public unowned Gsf.Output get_output ();
479 public void set_doc_type (string type);
480 public void simple_element (string id, string content);
481 public void simple_float_element (string id, double val, int precision);
482 public void simple_int_element (string id, int val);
483 public void start_element (string id);
485 public bool pretty_print { get; set; }
487 [CCode (cname = "gint64", cheader_filename = "glib.h")]
489 [IntegerType (rank = 10)]
490 public struct off_t : int64 {
492 [CCode (cprefix = "GSF_CLIP_FORMAT_", has_type_id = false, cheader_filename = "gsf/gsf-clip-data.h")]
493 public enum ClipFormat {
498 CLIPBOARD_FORMAT_NAME,
501 [CCode (cprefix = "GSF_CLIP_FORMAT_WINDOWS_", has_type_id = false, cheader_filename = "gsf/gsf-clip-data.h")]
502 public enum ClipFormatWindows {
509 [CCode (cprefix = "GSF_OUTPUT_CSV_QUOTING_MODE_", cheader_filename = "gsf/gsf-output-csv.h")]
510 public enum OutputCsvQuotingMode {
515 [CCode (cprefix = "GSF_XML_", has_type_id = false, cheader_filename = "gsf/gsf-libxml.h")]
516 public enum XMLContent {
521 [CCode (cprefix = "GSF_ZIP_", has_type_id = false, cheader_filename = "gsf/gsf-outfile-zip.h")]
522 public enum ZipCompressionMethod {
535 [CCode (cprefix = "GSF_ERROR_", cheader_filename = "gsf/gsf-utils.h")]
536 public errordomain Error {
540 [CCode (cheader_filename = "gsf/gsf.h")]
541 public delegate void OpenPkgIter (Gsf.Input opkg, Gsf.OpenPkgRel rel);
542 [CCode (cheader_filename = "gsf/gsf-libxml.h", has_target = false)]
543 public delegate void XMLInExtDtor (Gsf.XMLIn xin, void* old_state);
544 [CCode (cheader_filename = "gsf/gsf-libxml.h", has_target = false)]
545 public delegate bool XMLInUnknownFunc (Gsf.XMLIn xin, string elem, out unowned string attrs);
546 [CCode (cheader_filename = "gsf/gsf.h", has_target = false)]
547 public delegate bool XMLProbeFunc (string name, string prefix, string URI, int nb_namespaces, out unowned string namespaces, int nb_attributes, int nb_defaulted, out unowned string attributes);
548 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
549 public const string META_NAME_BYTE_COUNT;
550 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
551 public const string META_NAME_CASE_SENSITIVE;
552 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
553 public const string META_NAME_CATEGORY;
554 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
555 public const string META_NAME_CELL_COUNT;
556 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
557 public const string META_NAME_CHARACTER_COUNT;
558 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
559 public const string META_NAME_CODEPAGE;
560 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
561 public const string META_NAME_COMPANY;
562 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
563 public const string META_NAME_CREATOR;
564 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
565 public const string META_NAME_DATE_CREATED;
566 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
567 public const string META_NAME_DATE_MODIFIED;
568 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
569 public const string META_NAME_DESCRIPTION;
570 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
571 public const string META_NAME_DICTIONARY;
572 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
573 public const string META_NAME_DOCUMENT_PARTS;
574 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
575 public const string META_NAME_EDITING_DURATION;
576 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
577 public const string META_NAME_GENERATOR;
578 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
579 public const string META_NAME_HEADING_PAIRS;
580 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
581 public const string META_NAME_HIDDEN_SLIDE_COUNT;
582 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
583 public const string META_NAME_IMAGE_COUNT;
584 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
585 public const string META_NAME_INITIAL_CREATOR;
586 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
587 public const string META_NAME_KEYWORD;
588 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
589 public const string META_NAME_KEYWORDS;
590 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
591 public const string META_NAME_LANGUAGE;
592 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
593 public const string META_NAME_LAST_PRINTED;
594 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
595 public const string META_NAME_LAST_SAVED_BY;
596 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
597 public const string META_NAME_LINE_COUNT;
598 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
599 public const string META_NAME_LINKS_DIRTY;
600 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
601 public const string META_NAME_LOCALE_SYSTEM_DEFAULT;
602 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
603 public const string META_NAME_MANAGER;
604 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
605 public const string META_NAME_MM_CLIP_COUNT;
606 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
607 public const string META_NAME_MSOLE_UNKNOWN_17;
608 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
609 public const string META_NAME_MSOLE_UNKNOWN_18;
610 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
611 public const string META_NAME_MSOLE_UNKNOWN_19;
612 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
613 public const string META_NAME_MSOLE_UNKNOWN_20;
614 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
615 public const string META_NAME_MSOLE_UNKNOWN_21;
616 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
617 public const string META_NAME_MSOLE_UNKNOWN_22;
618 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
619 public const string META_NAME_MSOLE_UNKNOWN_23;
620 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
621 public const string META_NAME_NOTE_COUNT;
622 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
623 public const string META_NAME_OBJECT_COUNT;
624 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
625 public const string META_NAME_PAGE_COUNT;
626 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
627 public const string META_NAME_PARAGRAPH_COUNT;
628 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
629 public const string META_NAME_PRESENTATION_FORMAT;
630 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
631 public const string META_NAME_PRINTED_BY;
632 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
633 public const string META_NAME_PRINT_DATE;
634 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
635 public const string META_NAME_REVISION_COUNT;
636 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
637 public const string META_NAME_SCALE;
638 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
639 public const string META_NAME_SECURITY;
640 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
641 public const string META_NAME_SLIDE_COUNT;
642 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
643 public const string META_NAME_SPREADSHEET_COUNT;
644 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
645 public const string META_NAME_SUBJECT;
646 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
647 public const string META_NAME_TABLE_COUNT;
648 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
649 public const string META_NAME_TEMPLATE;
650 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
651 public const string META_NAME_THUMBNAIL;
652 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
653 public const string META_NAME_TITLE;
654 [CCode (cheader_filename = "gsf/gsf-meta-names.h")]
655 public const string META_NAME_WORD_COUNT;
656 [CCode (cheader_filename = "gsf/gsf-outfile-ole.h")]
657 public const int OLE_DEFAULT_BB_SHIFT;
658 [CCode (cheader_filename = "gsf/gsf-outfile-ole.h")]
659 public const int OLE_DEFAULT_SB_SHIFT;
660 [CCode (cheader_filename = "gsf/gsf-utils.h")]
661 public static size_t base64_decode_simple ([CCode (array_length = false)] uchar[] data, size_t len);
662 [CCode (cheader_filename = "gsf/gsf-utils.h")]
663 public static size_t base64_decode_step ([CCode (array_length = false)] uchar[] @in, size_t len, [CCode (array_length = false)] uchar[] @out, out int state, out uint save);
664 [CCode (cheader_filename = "gsf/gsf-utils.h")]
665 public static size_t base64_encode_close ([CCode (array_length = false)] uchar[] @in, size_t inlen, bool break_lines, [CCode (array_length = false)] uchar[] @out, out int state, out uint save);
666 [CCode (cheader_filename = "gsf/gsf-utils.h", array_length = false)]
667 public static unowned uchar[] base64_encode_simple ([CCode (array_length = false)] uchar[] data, size_t len);
668 [CCode (cheader_filename = "gsf/gsf-utils.h")]
669 public static size_t base64_encode_step ([CCode (array_length = false)] uchar[] @in, size_t len, bool break_lines, [CCode (array_length = false)] uchar[] @out, out int state, out uint save);
670 [CCode (cheader_filename = "gsf/gsf-doc-meta-data.h")]
671 public static void doc_meta_dump (Gsf.DocMetaData meta);
672 [CCode (cheader_filename = "gsf/gsf-utils.h")]
673 public static GLib.Quark error_quark ();
674 [CCode (cheader_filename = "gsf/gsf-utils.h")]
675 public static unowned string extension_pointer (string path);
676 [CCode (cheader_filename = "gsf/gsf-utils.h")]
677 public static string filename_to_utf8 (string filename, bool quoted);
678 [CCode (cname = "get_gsf_odf_version", cheader_filename = "gsf/gsf.h")]
679 public static short get_gsf_odf_version ();
680 [CCode (cname = "get_gsf_odf_version_string", cheader_filename = "gsf/gsf.h")]
681 public static unowned string get_gsf_odf_version_string ();
682 [CCode (cname = "get_gsf_ooo_ns", cheader_filename = "gsf/gsf.h")]
683 public static unowned Gsf.XMLInNS get_gsf_ooo_ns ();
684 [CCode (cheader_filename = "gsf/gsf-utils.h")]
685 public static void iconv_close (GLib.IConv handle);
686 [CCode (cheader_filename = "gsf/gsf-utils.h")]
687 public static void init ();
688 [CCode (cheader_filename = "gsf/gsf-utils.h")]
689 public static void init_dynamic (GLib.TypeModule module);
690 [CCode (cheader_filename = "gsf/gsf-utils.h")]
691 public static double le_get_double (void* p);
692 [CCode (cheader_filename = "gsf/gsf-utils.h")]
693 public static float le_get_float (void* p);
694 [CCode (cheader_filename = "gsf/gsf-utils.h")]
695 public static uint64 le_get_guint64 (void* p);
696 [CCode (cheader_filename = "gsf/gsf-utils.h")]
697 public static void le_set_double (void* p, double d);
698 [CCode (cheader_filename = "gsf/gsf-utils.h")]
699 public static void le_set_float (void* p, float f);
700 [CCode (cheader_filename = "gsf/gsf-utils.h")]
701 public static void mem_dump ([CCode (array_length = false)] uchar[] ptr, size_t len);
702 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
703 public static uint msole_codepage_to_lid (int codepage);
704 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
705 public static GLib.IConv msole_iconv_open_codepage_for_export (int codepage_to);
706 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
707 public static GLib.IConv msole_iconv_open_codepage_for_import (string to, int codepage);
708 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
709 public static GLib.IConv msole_iconv_open_codepages_for_export (int codepage_to, string from);
710 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
711 public static GLib.IConv msole_iconv_open_for_export ();
712 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
713 public static GLib.IConv msole_iconv_open_for_import (int codepage);
714 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
715 public static int msole_iconv_win_codepage ();
716 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
717 public static unowned GLib.ByteArray msole_inflate (Gsf.Input input, Gsf.off_t offset);
718 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
719 public static unowned string msole_language_for_lid (uint lid);
720 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
721 public static uint msole_lid_for_language (string lang);
722 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
723 public static int msole_lid_to_codepage (uint lid);
724 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
725 public static unowned string msole_lid_to_codepage_str (uint lid);
726 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
727 public static unowned GLib.Error msole_metadata_read (Gsf.Input @in, Gsf.DocMetaData accum);
728 [CCode (cheader_filename = "gsf/gsf-msole-utils.h")]
729 public static bool msole_metadata_write (Gsf.Output @out, Gsf.DocMetaData meta_data, bool doc_not_component);
730 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
731 public static int open_pkg_error_id ();
732 [CCode (cheader_filename = "gsf/gsf.h")]
733 public static void open_pkg_foreach_rel (Gsf.Input opkg, Gsf.OpenPkgIter func);
734 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
735 public static Gsf.Input open_pkg_get_rel_by_id (Gsf.Input opkg, string id);
736 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
737 public static Gsf.Input open_pkg_get_rel_by_type (Gsf.Input opkg, string type);
738 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
739 public static unowned Gsf.OpenPkgRel open_pkg_lookup_rel_by_id (Gsf.Input opkg, string id);
740 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
741 public static unowned Gsf.OpenPkgRel open_pkg_lookup_rel_by_type (Gsf.Input opkg, string type);
742 [CCode (cheader_filename = "gsf/gsf.h")]
743 public static unowned Gsf.Input open_pkg_open_rel (Gsf.Input opkg, Gsf.OpenPkgRel rel) throws GLib.Error;
744 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
745 public static Gsf.Input open_pkg_open_rel_by_id (Gsf.Input opkg, string id) throws GLib.Error;
746 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
747 public static Gsf.Input open_pkg_open_rel_by_type (Gsf.Input opkg, string type) throws GLib.Error;
748 [CCode (cheader_filename = "gsf/gsf-open-pkg-utils.h")]
749 public static unowned GLib.Error open_pkg_parse_rel_by_id (Gsf.XMLIn xin, string id, Gsf.XMLInNode dtd, Gsf.XMLInNS ns);
750 [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
751 public static unowned GLib.Error opendoc_metadata_read (Gsf.Input input, Gsf.DocMetaData md);
752 [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
753 public static void opendoc_metadata_subtree (Gsf.XMLIn doc, Gsf.DocMetaData md);
754 [CCode (cheader_filename = "gsf/gsf-opendoc-utils.h")]
755 public static bool opendoc_metadata_write (Gsf.XMLOut output, Gsf.DocMetaData md);
756 [CCode (cheader_filename = "gsf/gsf-utils.h")]
757 public static void property_settings_collect (GLib.Type object_type, [CCode (array_length = false)] GLib.Parameter[] p_params, ref size_t p_n_params, ...);
758 [CCode (cheader_filename = "gsf/gsf-utils.h")]
759 public static void property_settings_free (GLib.Parameter[] @params);
760 [CCode (cheader_filename = "gsf/gsf-utils.h")]
761 public static void shutdown ();
762 [CCode (cheader_filename = "gsf/gsf-utils.h")]
763 public static void shutdown_dynamic (GLib.TypeModule module);
764 [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
765 public static unowned GLib.ValueArray value_get_docprop_varray (GLib.Value value);
766 [CCode (cheader_filename = "gsf/gsf-docprop-vector.h")]
767 public static unowned Gsf.DocPropVector value_get_docprop_vector (GLib.Value value);
768 [CCode (cheader_filename = "gsf/gsf-timestamp.h")]
769 public static void value_set_timestamp (GLib.Value value, Gsf.Timestamp stamp);
770 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
771 public static int xmlDocFormatDump (Gsf.Output output, Xml.Doc cur, string encoding, bool format);
772 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
773 public static bool xml_gvalue_from_str (GLib.Value res, GLib.Type t, string str);
774 [CCode (cheader_filename = "gsf/gsf-libxml.h")]
775 public static Xml.ParserCtxt xml_parser_context (Gsf.Input input);
776 [CCode (cheader_filename = "gsf/gsf.h")]
777 public static bool xml_probe (Gsf.Input input, Gsf.XMLProbeFunc startElement);