gsf 3.0.9-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +55 -0
  3. data/lib/gsf/input.rb +26 -0
  4. data/lib/gsf/loader.rb +57 -0
  5. data/lib/gsf.rb +53 -0
  6. data/test/gsf-test-utils.rb +22 -0
  7. data/test/run-test.rb +46 -0
  8. data/test/test-input-stdio.rb +25 -0
  9. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  10. data/vendor/local/bin/gsf-vba-dump.exe +0 -0
  11. data/vendor/local/bin/gsf.exe +0 -0
  12. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  13. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  14. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +39 -0
  15. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +72 -0
  16. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +66 -0
  17. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +47 -0
  18. data/vendor/local/include/libgsf-1/gsf/gsf-fwd.h +121 -0
  19. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  20. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  21. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  22. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +49 -0
  23. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  24. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  25. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  26. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +46 -0
  27. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  28. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +44 -0
  29. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +43 -0
  30. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +45 -0
  31. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +68 -0
  32. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  33. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +46 -0
  34. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +46 -0
  35. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +48 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +46 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +69 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +225 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +70 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +95 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +162 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +46 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +47 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +49 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +49 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +43 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +84 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +44 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +43 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +47 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +37 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +43 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +44 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +52 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +99 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +51 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +45 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +70 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +340 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf.h +98 -0
  63. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  64. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  65. data/vendor/local/lib/libgsf-1.a +0 -0
  66. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  67. data/vendor/local/lib/libgsf-1.la +41 -0
  68. data/vendor/local/lib/libgsf-win32-1.a +0 -0
  69. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  70. data/vendor/local/lib/libgsf-win32-1.la +41 -0
  71. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  72. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  73. data/vendor/local/share/gtk-doc/html/gsf/annotation-glossary.html +56 -0
  74. data/vendor/local/share/gtk-doc/html/gsf/api.html +107 -0
  75. data/vendor/local/share/gtk-doc/html/gsf/dependencies.html +109 -0
  76. data/vendor/local/share/gtk-doc/html/gsf/gsf-Compression.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIO.html +307 -0
  78. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIOChannel.html +119 -0
  79. data/vendor/local/share/gtk-doc/html/gsf/gsf-Infile-reading-structed-files.html +397 -0
  80. data/vendor/local/share/gtk-doc/html/gsf/gsf-Input-from-unstructured-files.html +887 -0
  81. data/vendor/local/share/gtk-doc/html/gsf/gsf-MS-OLE2.html +894 -0
  82. data/vendor/local/share/gtk-doc/html/gsf/gsf-OASIS-Open-Document.html +398 -0
  83. data/vendor/local/share/gtk-doc/html/gsf/gsf-Outfile-writing-structed-files.html +237 -0
  84. data/vendor/local/share/gtk-doc/html/gsf/gsf-Output-to-unstructured-files.html +830 -0
  85. data/vendor/local/share/gtk-doc/html/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html +593 -0
  86. data/vendor/local/share/gtk-doc/html/gsf/gsf-Text.html +523 -0
  87. data/vendor/local/share/gtk-doc/html/gsf/gsf-XML-and-libxml.html +2032 -0
  88. data/vendor/local/share/gtk-doc/html/gsf/gsf-Zip.html +338 -0
  89. data/vendor/local/share/gtk-doc/html/gsf/gsf-blobs.html +56 -0
  90. data/vendor/local/share/gtk-doc/html/gsf/gsf-clip-data.html +444 -0
  91. data/vendor/local/share/gtk-doc/html/gsf/gsf-index.html +875 -0
  92. data/vendor/local/share/gtk-doc/html/gsf/gsf-memory.html +332 -0
  93. data/vendor/local/share/gtk-doc/html/gsf/gsf-metadata.html +1762 -0
  94. data/vendor/local/share/gtk-doc/html/gsf/gsf-users.html +73 -0
  95. data/vendor/local/share/gtk-doc/html/gsf/gsf-utils.html +2503 -0
  96. data/vendor/local/share/gtk-doc/html/gsf/gsf.devhelp2 +440 -0
  97. data/vendor/local/share/gtk-doc/html/gsf/history.html +45 -0
  98. data/vendor/local/share/gtk-doc/html/gsf/home.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gsf/index.html +98 -0
  100. data/vendor/local/share/gtk-doc/html/gsf/index.sgml +572 -0
  101. data/vendor/local/share/gtk-doc/html/gsf/intro.html +39 -0
  102. data/vendor/local/share/gtk-doc/html/gsf/io.html +38 -0
  103. data/vendor/local/share/gtk-doc/html/gsf/left-insensitive.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/gsf/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/gsf/misc.html +33 -0
  106. data/vendor/local/share/gtk-doc/html/gsf/parsers.html +59 -0
  107. data/vendor/local/share/gtk-doc/html/gsf/right-insensitive.png +0 -0
  108. data/vendor/local/share/gtk-doc/html/gsf/right.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/gsf/sources.html +50 -0
  110. data/vendor/local/share/gtk-doc/html/gsf/style.css +461 -0
  111. data/vendor/local/share/gtk-doc/html/gsf/up-insensitive.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/gsf/up.png +0 -0
  113. data/vendor/local/share/license/libgsf/AUTHORS +3 -0
  114. data/vendor/local/share/license/libgsf/COPYING +340 -0
  115. data/vendor/local/share/license/libgsf/COPYING.LIB +504 -0
  116. data/vendor/local/share/locale/as/LC_MESSAGES/libgsf.mo +0 -0
  117. data/vendor/local/share/locale/bs/LC_MESSAGES/libgsf.mo +0 -0
  118. data/vendor/local/share/locale/ca/LC_MESSAGES/libgsf.mo +0 -0
  119. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/libgsf.mo +0 -0
  120. data/vendor/local/share/locale/cs/LC_MESSAGES/libgsf.mo +0 -0
  121. data/vendor/local/share/locale/da/LC_MESSAGES/libgsf.mo +0 -0
  122. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  123. data/vendor/local/share/locale/el/LC_MESSAGES/libgsf.mo +0 -0
  124. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  125. data/vendor/local/share/locale/eo/LC_MESSAGES/libgsf.mo +0 -0
  126. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  127. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  128. data/vendor/local/share/locale/fi/LC_MESSAGES/libgsf.mo +0 -0
  129. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  130. data/vendor/local/share/locale/gl/LC_MESSAGES/libgsf.mo +0 -0
  131. data/vendor/local/share/locale/he/LC_MESSAGES/libgsf.mo +0 -0
  132. data/vendor/local/share/locale/hu/LC_MESSAGES/libgsf.mo +0 -0
  133. data/vendor/local/share/locale/id/LC_MESSAGES/libgsf.mo +0 -0
  134. data/vendor/local/share/locale/it/LC_MESSAGES/libgsf.mo +0 -0
  135. data/vendor/local/share/locale/ja/LC_MESSAGES/libgsf.mo +0 -0
  136. data/vendor/local/share/locale/ko/LC_MESSAGES/libgsf.mo +0 -0
  137. data/vendor/local/share/locale/lt/LC_MESSAGES/libgsf.mo +0 -0
  138. data/vendor/local/share/locale/lv/LC_MESSAGES/libgsf.mo +0 -0
  139. data/vendor/local/share/locale/ml/LC_MESSAGES/libgsf.mo +0 -0
  140. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/libgsf.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  143. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  144. data/vendor/local/share/locale/pl/LC_MESSAGES/libgsf.mo +0 -0
  145. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  146. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  147. data/vendor/local/share/locale/ro/LC_MESSAGES/libgsf.mo +0 -0
  148. data/vendor/local/share/locale/ru/LC_MESSAGES/libgsf.mo +0 -0
  149. data/vendor/local/share/locale/sk/LC_MESSAGES/libgsf.mo +0 -0
  150. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  151. data/vendor/local/share/locale/sr/LC_MESSAGES/libgsf.mo +0 -0
  152. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/libgsf.mo +0 -0
  153. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  154. data/vendor/local/share/locale/ta/LC_MESSAGES/libgsf.mo +0 -0
  155. data/vendor/local/share/locale/tg/LC_MESSAGES/libgsf.mo +0 -0
  156. data/vendor/local/share/locale/th/LC_MESSAGES/libgsf.mo +0 -0
  157. data/vendor/local/share/locale/tr/LC_MESSAGES/libgsf.mo +0 -0
  158. data/vendor/local/share/locale/uk/LC_MESSAGES/libgsf.mo +0 -0
  159. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  160. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  161. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  162. data/vendor/local/share/man/man1/gsf-office-thumbnailer.1 +71 -0
  163. data/vendor/local/share/man/man1/gsf-vba-dump.1 +61 -0
  164. data/vendor/local/share/man/man1/gsf.1 +91 -0
  165. data/vendor/local/share/thumbnailers/gsf-office.thumbnailer +4 -0
  166. metadata +235 -0
@@ -0,0 +1,162 @@
1
+ /*
2
+ * gsf-opendoc-utils.h: Handle the application neutral portions of OpenDocument
3
+ *
4
+ * Author: Luciano Wolf (luciano.wolf@indt.org.br)
5
+ *
6
+ * Copyright (C) 2005-2006 INdT - Instituto Nokia de Tecnologia
7
+ * http://www.indt.org.br
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public License
19
+ * along with this program; if not, write to the Free Software
20
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
21
+ * USA
22
+ */
23
+
24
+ #ifndef GSF_OPENDOC_UTILS_H
25
+ #define GSF_OPENDOC_UTILS_H
26
+
27
+ #include <gsf/gsf-fwd.h>
28
+ #include <gsf/gsf-libxml.h>
29
+
30
+ G_BEGIN_DECLS
31
+
32
+ /****************************************************************************/
33
+
34
+ typedef struct {
35
+ GsfXMLOutClass base;
36
+
37
+ /*< private >*/
38
+ /* Padding for future expansion */
39
+ void (*_gsf_reserved1) (void);
40
+ void (*_gsf_reserved2) (void);
41
+ void (*_gsf_reserved3) (void);
42
+ void (*_gsf_reserved4) (void);
43
+ } GsfODFOutClass;
44
+
45
+ typedef struct _GsfODFOut GsfODFOut;
46
+ struct _GsfODFOut {
47
+ GsfXMLOut base;
48
+ /*< private >*/
49
+ struct _GsfODFOutPrivate *priv;
50
+ };
51
+
52
+ #define GSF_ODF_OUT_TYPE (gsf_odf_out_get_type ())
53
+ #define GSF_ODF_OUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_ODF_OUT_TYPE, GsfODFOut))
54
+ #define GSF_IS_ODF_OUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_ODF_OUT_TYPE))
55
+
56
+ GType gsf_odf_out_get_type (void) G_GNUC_CONST;
57
+
58
+ int gsf_odf_out_get_version (GsfODFOut *oout);
59
+ char *gsf_odf_out_get_version_string (GsfODFOut *oout);
60
+
61
+ /****************************************************************************/
62
+
63
+ enum {
64
+ OO_NS_OFFICE,
65
+ OO_NS_STYLE,
66
+ OO_NS_TEXT,
67
+ OO_NS_TABLE,
68
+ OO_NS_DRAW,
69
+ OO_NS_NUMBER,
70
+ OO_NS_CHART,
71
+ OO_NS_DR3D,
72
+ OO_NS_FORM,
73
+ OO_NS_SCRIPT,
74
+ OO_NS_CONFIG,
75
+ OO_NS_MATH,
76
+ OO_NS_FO,
77
+ OO_NS_DC,
78
+ OO_NS_META,
79
+ OO_NS_XLINK,
80
+ OO_NS_SVG,
81
+
82
+ /* new in 2.0 */
83
+ OO_NS_OOO,
84
+ OO_NS_OOOW,
85
+ OO_NS_OOOC,
86
+ OO_NS_DOM,
87
+ OO_NS_XFORMS,
88
+ OO_NS_XSD,
89
+ OO_NS_XSI,
90
+
91
+ OO_NS_PRESENT, /* added in gsf-1.14.8 */
92
+
93
+ /* new in 3.0 */
94
+ OO_NS_RPT,
95
+ OO_NS_OF,
96
+ OO_NS_RDFA,
97
+ OO_NS_FIELD,
98
+ OO_NS_FORMX,
99
+
100
+ /* Other OpenDocument 1.1 */
101
+ OO_NS_ANIM,
102
+ OO_NS_DATASTYLE,
103
+ OO_NS_MANIFEST,
104
+ OO_NS_SMIL,
105
+
106
+ /* Symphony 1.3 */
107
+ OO_LOTUS_NS_PRODTOOLS,
108
+
109
+ /* KOffice 1.6.3 */
110
+ OO_KDE_NS_KOFFICE,
111
+
112
+ /*CleverAge ODF Add-in for Microsoft Office 3.0.5224.0 (11.0.8302)*/
113
+ OO_CLEVERAGE_NS_DC,
114
+
115
+ /* Microsoft Excel Formulas */
116
+ OO_MS_NS_MSOXL,
117
+
118
+ /* Gnumeric ODF extensions */
119
+ OO_GNUM_NS_EXT,
120
+
121
+ /* New in ODF 3.2 */
122
+ OO_NS_GRDDL,
123
+ OO_NS_XHTML,
124
+ OO_NS_TABLE_OOO,
125
+
126
+ /* New in ODF 3.3 */
127
+ OO_NS_CHART_OOO,
128
+
129
+ /* New in LOCALC */
130
+ OO_NS_LOCALC_EXT,
131
+ OO_NS_LOCALC_EXT2
132
+ };
133
+
134
+ GsfXMLInNS const *gsf_odf_get_ns (void);
135
+ char const *gsf_odf_get_version_string (void);
136
+ short gsf_odf_get_version (void);
137
+
138
+ GError *gsf_doc_meta_data_read_from_odf (GsfDocMetaData *md, GsfInput *input);
139
+ void gsf_doc_meta_data_odf_subtree (GsfDocMetaData *md, GsfXMLIn *doc);
140
+ gboolean gsf_doc_meta_data_write_to_odf (GsfDocMetaData const *md, gpointer output);
141
+
142
+
143
+ /* For 1.15.x s/opendoc/odf/ and s/ooo/odf/ */
144
+ #ifndef GSF_DISABLE_DEPRECATED
145
+ extern GsfXMLInNS gsf_ooo_ns[]; /* use get_gsf_ooo_ns instead */
146
+ GSF_DEPRECATED_FOR (gsf_odf_get_ns)
147
+ GsfXMLInNS *get_gsf_ooo_ns (void);
148
+ GSF_DEPRECATED_FOR (gsf_odf_get_version_string)
149
+ char const *get_gsf_odf_version_string (void);
150
+ GSF_DEPRECATED_FOR (gsf_odf_get_version)
151
+ short get_gsf_odf_version (void);
152
+ GSF_DEPRECATED_FOR (gsf_doc_meta_data_read_from_odf)
153
+ GError *gsf_opendoc_metadata_read (GsfInput *input, GsfDocMetaData *md);
154
+ GSF_DEPRECATED_FOR (gsf_doc_meta_data_odf_subtree)
155
+ void gsf_opendoc_metadata_subtree (GsfXMLIn *doc, GsfDocMetaData *md);
156
+ GSF_DEPRECATED_FOR (gsf_doc_meta_data_write_to_odf)
157
+ gboolean gsf_opendoc_metadata_write (gpointer output, GsfDocMetaData const *md);
158
+ #endif
159
+
160
+ G_END_DECLS
161
+
162
+ #endif /* GSF_OPENDOC_UTILS_H */
@@ -0,0 +1,46 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-outfile-impl.h:
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTFILE_IMPL_H
23
+ #define GSF_OUTFILE_IMPL_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ struct _GsfOutfile {
30
+ GsfOutput parent;
31
+ };
32
+
33
+ typedef struct {
34
+ GsfOutputClass output_class;
35
+ GsfOutput *(*new_child) (GsfOutfile *outfile,
36
+ char const *name, gboolean is_dir,
37
+ char const *first_property_name,
38
+ va_list args);
39
+ } GsfOutfileClass;
40
+
41
+ #define GSF_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_OUTFILE_TYPE, GsfOutfileClass))
42
+ #define GSF_IS_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_OUTFILE_TYPE))
43
+
44
+ G_END_DECLS
45
+
46
+ #endif /* GSF_OUTFILE_IMPL_H */
@@ -0,0 +1,47 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-outfile-msole.h: interface for creating OLE files
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTFILE_MSOLE_H
23
+ #define GSF_OUTFILE_MSOLE_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-outfile.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct _GsfOutfileMSOle GsfOutfileMSOle;
31
+
32
+ #define GSF_OUTFILE_MSOLE_TYPE (gsf_outfile_msole_get_type ())
33
+ #define GSF_OUTFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_MSOLE_TYPE, GsfOutfileMSOle))
34
+ #define GSF_IS_OUTFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_MSOLE_TYPE))
35
+
36
+ GType gsf_outfile_msole_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_outfile_msole_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfOutfile *gsf_outfile_msole_new (GsfOutput *sink);
40
+ GsfOutfile *gsf_outfile_msole_new_full (GsfOutput *sink,
41
+ guint bb_size, guint sb_size);
42
+ gboolean gsf_outfile_msole_set_class_id (GsfOutfileMSOle *ole,
43
+ guint8 const *clsid);
44
+
45
+ G_END_DECLS
46
+
47
+ #endif /* GSF_OUTFILE_H */
@@ -0,0 +1,49 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-outfile-stdio.h: write a directory tree
4
+ *
5
+ * Copyright (C) 2004-2006 Novell, Inc.
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTFILE_STDIO_H
23
+ #define GSF_OUTFILE_STDIO_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-outfile.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct _GsfOutfileStdio GsfOutfileStdio;
31
+
32
+ #define GSF_OUTFILE_STDIO_TYPE (gsf_outfile_stdio_get_type ())
33
+ #define GSF_OUTFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_STDIO_TYPE, GsfOutfileStdio))
34
+ #define GSF_IS_OUTFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_STDIO_TYPE))
35
+
36
+ GType gsf_outfile_stdio_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_outfile_stdio_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfOutfile *gsf_outfile_stdio_new (char const *root, GError **err);
40
+ GsfOutfile *gsf_outfile_stdio_new_full (char const *root, GError **err,
41
+ char const *first_property_name,
42
+ ...); /* G_GNUC_NULL_TERMINATED */
43
+ GsfOutfile *gsf_outfile_stdio_new_valist (char const *root, GError **err,
44
+ char const *first_property_name,
45
+ va_list var_args);
46
+
47
+ G_END_DECLS
48
+
49
+ #endif /* GSF_OUTFILE_H */
@@ -0,0 +1,61 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-outfile-zip.h: interface for zip archive output.
4
+ *
5
+ * Copyright (C) 2002-2006 Jon K Hellan (hellan@acm.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTFILE_ZIP_H
23
+ #define GSF_OUTFILE_ZIP_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-outfile.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef enum {
31
+ GSF_ZIP_STORED = 0, /* supported for export */
32
+ GSF_ZIP_SHRUNK = 1,
33
+ GSF_ZIP_REDUCEDx1 = 2,
34
+ GSF_ZIP_REDUCEDx2 = 3,
35
+ GSF_ZIP_REDUCEDx3 = 4,
36
+ GSF_ZIP_REDUCEDx4 = 5,
37
+ GSF_ZIP_IMPLODED = 6,
38
+ GSF_ZIP_TOKENIZED = 7,
39
+ GSF_ZIP_DEFLATED = 8, /* supported for export */
40
+ GSF_ZIP_DEFLATED_BETTER = 9,
41
+ GSF_ZIP_IMPLODED_BETTER = 10
42
+ } GsfZipCompressionMethod;
43
+
44
+ typedef struct _GsfOutfileZip GsfOutfileZip;
45
+
46
+ #define GSF_OUTFILE_ZIP_TYPE (gsf_outfile_zip_get_type ())
47
+ #define GSF_OUTFILE_ZIP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_ZIP_TYPE, GsfOutfileZip))
48
+ #define GSF_IS_OUTFILE_ZIP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_ZIP_TYPE))
49
+
50
+ GType gsf_outfile_zip_get_type (void) G_GNUC_CONST;
51
+ /* void gsf_outfile_zip_register_type (GTypeModule *module); glib dynamic types are not thread safe */
52
+
53
+ GsfOutfile *gsf_outfile_zip_new (GsfOutput *sink, GError **err);
54
+
55
+ /* Deprecated. Has no effect. */
56
+ gboolean gsf_outfile_zip_set_compression_method (GsfOutfileZip *zip,
57
+ GsfZipCompressionMethod method);
58
+
59
+ G_END_DECLS
60
+
61
+ #endif /* GSF_OUTFILE_H */
@@ -0,0 +1,49 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-outfile.h: interface for creating structured files
4
+ *
5
+ * Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTFILE_H
23
+ #define GSF_OUTFILE_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ #define GSF_OUTFILE_TYPE (gsf_outfile_get_type ())
30
+ #define GSF_OUTFILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_TYPE, GsfOutfile))
31
+ #define GSF_IS_OUTFILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_TYPE))
32
+
33
+ GType gsf_outfile_get_type (void) G_GNUC_CONST;
34
+ /* void gsf_outfile_register_type (GTypeModule *module); glib dynamic types are not thread safe */
35
+
36
+ GsfOutput *gsf_outfile_new_child (GsfOutfile *outfile,
37
+ char const *name, gboolean is_dir);
38
+ GsfOutput *gsf_outfile_new_child_full (GsfOutfile *outfile,
39
+ char const *name, gboolean is_dir,
40
+ char const *first_property_name,
41
+ ...);
42
+ GsfOutput *gsf_outfile_new_child_varg (GsfOutfile *outfile,
43
+ char const *name, gboolean is_dir,
44
+ char const *first_property_name,
45
+ va_list args);
46
+
47
+ G_END_DECLS
48
+
49
+ #endif /* GSF_OUTFILE_H */
@@ -0,0 +1,43 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-output-bzip.h: wrapper to compress to bzipped output
4
+ *
5
+ * Copyright (C) 2003-2006 Dom Lachowicz (cinamod@hotmail.com)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTPUT_BZIP_H
23
+ #define GSF_OUTPUT_BZIP_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-output.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_OUTPUT_BZIP_TYPE (gsf_output_bzip_get_type ())
31
+ #define GSF_OUTPUT_BZIP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_BZIP_TYPE, GsfOutputBzip))
32
+ #define GSF_IS_OUTPUT_BZIP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_BZIP_TYPE))
33
+
34
+ typedef struct _GsfOutputBzip GsfOutputBzip;
35
+
36
+ GType gsf_output_bzip_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_output_bzip_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfOutput *gsf_output_bzip_new (GsfOutput *sink, GError **err);
40
+
41
+ G_END_DECLS
42
+
43
+ #endif /* GSF_OUTPUT_BZIP_H */
@@ -0,0 +1,84 @@
1
+ /*
2
+ * gsf-output-csv.h: a GsfOutput to write .csv style files.
3
+ *
4
+ * Copyright (C) 2005-2006 Morten Welinder (terra@gnome.org)
5
+ *
6
+ * This program is free software; you can redistribute it and/or
7
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public License
16
+ * along with this program; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
18
+ * USA
19
+ */
20
+
21
+ #ifndef GSF_OUTPUT_CSV_H
22
+ #define GSF_OUTPUT_CSV_H
23
+
24
+ #include <gsf/gsf-fwd.h>
25
+ #include <gsf/gsf-output.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ /**
30
+ * GsfOutputCsvQuotingMode:
31
+ * @GSF_OUTPUT_CSV_QUOTING_MODE_NEVER: never add quotes around fields
32
+ * @GSF_OUTPUT_CSV_QUOTING_MODE_AUTO: add quotes around fields when needed
33
+ * @GSF_OUTPUT_CSV_QUOTING_MODE_ALWAYS: always add quotes around fields
34
+ *
35
+ * Controls when to add quotes around fields.
36
+ */
37
+ typedef enum {
38
+ GSF_OUTPUT_CSV_QUOTING_MODE_NEVER,
39
+ GSF_OUTPUT_CSV_QUOTING_MODE_AUTO,
40
+ GSF_OUTPUT_CSV_QUOTING_MODE_ALWAYS
41
+ } GsfOutputCsvQuotingMode;
42
+
43
+ GType gsf_output_csv_quoting_mode_get_type (void) G_GNUC_CONST;
44
+ /* void gsf_output_csv_quoting_mode_register_type (GTypeModule *module); glib dynamic types are not thread safe */
45
+
46
+ #define GSF_OUTPUT_CSV_QUOTING_MODE_TYPE (gsf_output_csv_quoting_mode_get_type ())
47
+
48
+ typedef struct {
49
+ GsfOutput output;
50
+
51
+ GsfOutput *sink;
52
+
53
+ char *quote;
54
+ size_t quote_len;
55
+ GsfOutputCsvQuotingMode quoting_mode;
56
+ char *quoting_triggers;
57
+
58
+ char *eol;
59
+ size_t eol_len;
60
+ char *separator;
61
+ size_t separator_len;
62
+ gboolean fields_on_line;
63
+
64
+ GString *buf;
65
+ } GsfOutputCsv;
66
+
67
+ #define GSF_OUTPUT_CSV_TYPE (gsf_output_csv_get_type ())
68
+ #define GSF_OUTPUT_CSV(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_CSV_TYPE, GsfOutputCsv))
69
+ #define GSF_IS_OUTPUT_CSV(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_CSV_TYPE))
70
+ GType gsf_output_csv_get_type (void) G_GNUC_CONST;
71
+ /* void gsf_output_csv_register_type (GTypeModule *module); glib dynamic types are not thread safe */
72
+
73
+ gboolean gsf_output_csv_write_field (GsfOutputCsv *csv,
74
+ char const *field,
75
+ size_t len);
76
+ gboolean gsf_output_csv_write_eol (GsfOutputCsv *csv);
77
+
78
+ typedef struct {
79
+ GsfOutputClass output_class;
80
+ } GsfOutputCsvClass;
81
+
82
+ G_END_DECLS
83
+
84
+ #endif /* GSF_OUTPUT_CSV_H */
@@ -0,0 +1,44 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-output-gio.h:
4
+ *
5
+ * Copyright (C) 2007 Dom Lachowicz <cinamod@hotmail.com>
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTPUT_GIO_H
23
+ #define GSF_OUTPUT_GIO_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gio/gio.h>
27
+ #include <gsf/gsf-output.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ #define GSF_OUTPUT_GIO_TYPE (gsf_output_gio_get_type ())
32
+ #define GSF_OUTPUT_GIO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_GIO_TYPE, GsfOutputGio))
33
+ #define GSF_IS_OUTPUT_GIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_GIO_TYPE))
34
+
35
+ typedef struct _GsfOutputGio GsfOutputGio;
36
+
37
+ GType gsf_output_gio_get_type (void);
38
+ GsfOutput *gsf_output_gio_new (GFile *file);
39
+ GsfOutput *gsf_output_gio_new_for_path (char const *path, GError **err);
40
+ GsfOutput *gsf_output_gio_new_for_uri (char const *uri, GError **err);
41
+
42
+ G_END_DECLS
43
+
44
+ #endif /* GSF_OUTPUT_GIO_H */
@@ -0,0 +1,43 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-output-gzip.h: wrapper to compress to gzipped output
4
+ *
5
+ * Copyright (C) 2002-2006 Jon K Hellan (hellan@acm.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTPUT_GZIP_H
23
+ #define GSF_OUTPUT_GZIP_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-output.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_OUTPUT_GZIP_TYPE (gsf_output_gzip_get_type ())
31
+ #define GSF_OUTPUT_GZIP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_GZIP_TYPE, GsfOutputGZip))
32
+ #define GSF_IS_OUTPUT_GZIP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_GZIP_TYPE))
33
+
34
+ typedef struct _GsfOutputGZip GsfOutputGZip;
35
+
36
+ GType gsf_output_gzip_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_output_gzip_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfOutput *gsf_output_gzip_new (GsfOutput *sink, GError **err);
40
+
41
+ G_END_DECLS
42
+
43
+ #endif /* GSF_OUTPUT_GZIP_H */
@@ -0,0 +1,47 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-output-iconv.h: wrapper to convert character sets.
4
+ *
5
+ * Copyright (C) 2005-2006 Morten Welinder (terra@gnome.org)
6
+ *
7
+ * This program is free software; you can redistribute it and/or
8
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General Public License
17
+ * along with this program; if not, write to the Free Software
18
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
+ * USA
20
+ */
21
+
22
+ #ifndef GSF_OUTPUT_ICONV_H
23
+ #define GSF_OUTPUT_ICONV_H
24
+
25
+ #include <gsf/gsf-fwd.h>
26
+ #include <gsf/gsf-output.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct {
31
+ GsfOutputClass output_class;
32
+ } GsfOutputIconvClass;
33
+
34
+ #define GSF_OUTPUT_ICONV_TYPE (gsf_output_iconv_get_type ())
35
+ #define GSF_OUTPUT_ICONV(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTPUT_ICONV_TYPE, GsfOutputIconv))
36
+ #define GSF_IS_OUTPUT_ICONV(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTPUT_ICONV_TYPE))
37
+
38
+ typedef struct _GsfOutputIconv GsfOutputIconv;
39
+
40
+ GType gsf_output_iconv_get_type (void) G_GNUC_CONST;
41
+ /* void gsf_output_iconv_register_type (GTypeModule *module); glib dynamic types are not thread safe */
42
+
43
+ GsfOutput *gsf_output_iconv_new (GsfOutput *sink, char const *dst, char const *src);
44
+
45
+ G_END_DECLS
46
+
47
+ #endif /* GSF_OUTPUT_ICONV_H */