rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. data/Rakefile +13 -2
  2. data/ext/rsvg2/extconf.rb +8 -0
  3. data/lib/1.8/rsvg2.so +0 -0
  4. data/lib/1.9/rsvg2.so +0 -0
  5. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  6. data/vendor/local/bin/gtk-demo.exe +0 -0
  7. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  8. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  9. data/vendor/local/bin/libcairo-2.dll +0 -0
  10. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  11. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  12. data/vendor/local/bin/libgailutil-18.dll +0 -0
  13. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  14. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  15. data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
  16. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  17. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  18. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  19. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  20. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  21. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  22. data/vendor/local/bin/pango-querymodules.exe +0 -0
  23. data/vendor/local/bin/pango-view.exe +0 -0
  24. data/vendor/local/bin/pkg-config.exe +0 -0
  25. data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
  26. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  27. data/vendor/local/etc/pango/pango.modules +1 -1
  28. data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
  29. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
  30. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
  31. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
  32. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
  33. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
  34. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  35. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
  63. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
  64. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
  65. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
  66. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
  67. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  68. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
  69. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
  70. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
  71. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
  72. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
  73. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
  74. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
  75. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
  76. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
  77. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
  78. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
  79. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
  80. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
  81. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
  82. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
  83. data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
  84. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
  85. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  86. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  87. data/vendor/local/include/pixman-1/pixman.h +936 -0
  88. data/vendor/local/lib/cairo.lib +0 -0
  89. data/vendor/local/lib/gailutil.lib +0 -0
  90. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  91. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  92. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  93. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  94. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  95. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  96. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  97. data/vendor/local/lib/libcairo.dll.a +0 -0
  98. data/vendor/local/lib/libgailutil.dll.a +0 -0
  99. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  100. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  101. data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
  102. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  103. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  104. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  105. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  106. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  107. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  108. data/vendor/local/lib/libpixman-1.a +0 -0
  109. data/vendor/local/lib/pango-1.0.lib +0 -0
  110. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  111. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  112. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  113. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  115. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  116. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  117. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  118. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  119. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  120. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  121. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  122. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  124. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  125. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  126. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  127. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  128. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  129. data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
  130. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  131. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  132. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  133. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  134. data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
  135. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  136. data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
  137. data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
  138. data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
  139. data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
  140. data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
  141. data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
  142. data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
  143. data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
  144. data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
  145. data/vendor/local/share/aclocal/pkg.m4 +155 -0
  146. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
  147. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
  148. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
  149. data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
  150. data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
  151. data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
  152. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
  153. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
  154. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
  155. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
  156. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
  157. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
  158. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
  159. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
  160. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
  161. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
  162. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
  163. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
  164. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
  165. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
  166. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
  167. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
  168. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
  169. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
  170. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
  171. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
  172. data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
  173. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
  174. data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
  175. data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
  176. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
  177. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
  178. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
  179. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
  180. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
  181. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
  182. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
  183. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
  184. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
  185. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
  186. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
  187. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
  188. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
  189. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
  190. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
  191. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
  192. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
  193. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
  194. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
  195. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
  196. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
  197. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
  198. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
  199. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
  200. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
  201. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
  202. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
  203. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
  204. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
  205. data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
  206. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
  207. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  208. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  209. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  210. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  211. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  212. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  213. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  214. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  215. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  216. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  217. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  218. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  219. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  220. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  221. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  222. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  223. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  224. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
  225. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
  226. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
  227. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
  228. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
  229. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
  230. data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
  231. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
  232. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
  233. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
  234. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
  235. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
  236. metadata +3053 -2947
  237. data/ext/rsvg2/Makefile +0 -155
  238. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
  239. data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
  240. data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
  241. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
  242. data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -0,0 +1,54 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-msole-utils.h: various tools for handling MS 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_MSOLE_UTILS_H
23
+ #define GSF_MSOLE_UTILS_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <gsf/gsf-doc-meta-data.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ GError *gsf_msole_metadata_read (GsfInput *in,
31
+ GsfDocMetaData *accum);
32
+ gboolean gsf_msole_metadata_write (GsfOutput *out,
33
+ GsfDocMetaData const *meta_data,
34
+ gboolean doc_not_component);
35
+
36
+ guint gsf_msole_lid_for_language (char const *lang);
37
+ guint gsf_msole_codepage_to_lid (int codepage);
38
+ int gsf_msole_lid_to_codepage (guint lid);
39
+ gchar *gsf_msole_lid_to_codepage_str (guint lid);
40
+ char const *gsf_msole_language_for_lid (guint lid);
41
+
42
+ int gsf_msole_iconv_win_codepage (void) ;
43
+ GIConv gsf_msole_iconv_open_for_import (int codepage) ;
44
+ GIConv gsf_msole_iconv_open_for_export (void) ;
45
+
46
+ GIConv gsf_msole_iconv_open_codepage_for_import (char const *to, int codepage);
47
+ GIConv gsf_msole_iconv_open_codepages_for_export (int codepage_to, char const *from);
48
+ GIConv gsf_msole_iconv_open_codepage_for_export (int codepage_to);
49
+
50
+ GByteArray *gsf_msole_inflate (GsfInput *input, gsf_off_t offset);
51
+
52
+ G_END_DECLS
53
+
54
+ #endif /* GSF_MSOLE_UTILS_H */
@@ -0,0 +1,92 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-open-pkg-utils.h: Utilities for handling Open Package zip files
4
+ * from MS Office 2007 or XPS.
5
+ *
6
+ * Copyright (C) 2006-2008 Jody Goldberg (jody@gnome.org)
7
+ *
8
+ * This program is free software; you can redistribute it and/or
9
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20
+ * USA
21
+ */
22
+
23
+ #ifndef GSF_OPEN_PKG_UTILS_H
24
+ #define GSF_OPEN_PKG_UTILS_H
25
+
26
+ #include <gsf/gsf.h>
27
+ #include <gsf/gsf-libxml.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ typedef struct _GsfOpenPkgRel GsfOpenPkgRel;
32
+ typedef struct _GsfOpenPkgRels GsfOpenPkgRels;
33
+ typedef void (*GsfOpenPkgIter)(GsfInput *opkg,
34
+ GsfOpenPkgRel const *rel,
35
+ gpointer user_data);
36
+
37
+ gboolean gsf_open_pkg_rel_is_extern (GsfOpenPkgRel const *rel);
38
+ char const *gsf_open_pkg_rel_get_target (GsfOpenPkgRel const *rel);
39
+ char const *gsf_open_pkg_rel_get_type (GsfOpenPkgRel const *rel);
40
+
41
+ GsfOpenPkgRel *gsf_open_pkg_lookup_rel_by_type (GsfInput *opkg, char const *type);
42
+ GsfOpenPkgRel *gsf_open_pkg_lookup_rel_by_id (GsfInput *opkg, char const *id);
43
+ void gsf_open_pkg_foreach_rel (GsfInput *opkg,
44
+ GsfOpenPkgIter func,
45
+ gpointer user_data);
46
+ GsfInput *gsf_open_pkg_open_rel (GsfInput *opkg, GsfOpenPkgRel const *rel,
47
+ GError **err);
48
+
49
+ GsfInput *gsf_open_pkg_open_rel_by_type (GsfInput *opkg, char const *type,
50
+ GError **err);
51
+ GsfInput *gsf_open_pkg_open_rel_by_id (GsfInput *opkg, char const *id,
52
+ GError **err);
53
+ GError *gsf_open_pkg_parse_rel_by_id (GsfXMLIn *xin, char const *id,
54
+ GsfXMLInNode const *dtd,
55
+ GsfXMLInNS const *ns);
56
+
57
+ /* DEPRECATED in 1.14.6 */
58
+ GsfInput *gsf_open_pkg_get_rel_by_type (GsfInput *opkg, char const *type);
59
+ GsfInput *gsf_open_pkg_get_rel_by_id (GsfInput *opkg, char const *id);
60
+
61
+ typedef struct _GsfOutfileOpenPkg GsfOutfileOpenPkg;
62
+
63
+ #define GSF_OUTFILE_OPEN_PKG_TYPE (gsf_outfile_open_pkg_get_type ())
64
+ #define GSF_OUTFILE_OPEN_PKG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_OPEN_PKG_TYPE, GsfOutfileOpenPkg))
65
+ #define GSF_IS_OUTFILE_OPEN_PKG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_OPEN_PKG_TYPE))
66
+
67
+ GType gsf_outfile_open_pkg_get_type (void) G_GNUC_CONST;
68
+ /* void gsf_outfile_open_pkg_register_type (GTypeModule *module); glib dynamic types are not thread safe */
69
+
70
+ GsfOutfile *gsf_outfile_open_pkg_new (GsfOutfile *sink);
71
+ void gsf_outfile_open_pkg_set_sink (GsfOutfileOpenPkg *open_pkg,
72
+ GsfOutput *sink);
73
+ void gsf_outfile_open_pkg_set_content_type (GsfOutfileOpenPkg *open_pkg,
74
+ char const *content_type);
75
+
76
+ char const *gsf_outfile_open_pkg_relate (GsfOutfileOpenPkg *child,
77
+ GsfOutfileOpenPkg *parent,
78
+ char const *type);
79
+ GsfOutput *gsf_outfile_open_pkg_add_rel (GsfOutfile *dir,
80
+ char const *name,
81
+ char const *content_type,
82
+ GsfOutfile *parent,
83
+ char const *type);
84
+ char const *gsf_outfile_open_pkg_add_extern_rel (GsfOutfileOpenPkg *parent,
85
+ char const *target,
86
+ char const *content_type);
87
+
88
+ gint gsf_open_pkg_error_id (void);
89
+
90
+ G_END_DECLS
91
+
92
+ #endif /* GSF_OPEN_PKG_UTILS_H */
@@ -0,0 +1,106 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-opendoc-utils.h: Handle the application neutral portions of OpenDocument
4
+ *
5
+ * Author: Luciano Wolf (luciano.wolf@indt.org.br)
6
+ *
7
+ * Copyright (C) 2005-2006 INdT - Instituto Nokia de Tecnologia
8
+ * http://www.indt.org.br
9
+ *
10
+ * This program is free software; you can redistribute it and/or
11
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
12
+ * License as published by the Free Software Foundation.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public License
20
+ * along with this program; if not, write to the Free Software
21
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
22
+ * USA
23
+ */
24
+
25
+ #ifndef GSF_OPENDOC_UTILS_H
26
+ #define GSF_OPENDOC_UTILS_H
27
+
28
+ #include <gsf/gsf.h>
29
+ #include <gsf/gsf-libxml.h>
30
+ #include <gmodule.h>
31
+
32
+ G_BEGIN_DECLS
33
+
34
+ enum {
35
+ OO_NS_OFFICE,
36
+ OO_NS_STYLE,
37
+ OO_NS_TEXT,
38
+ OO_NS_TABLE,
39
+ OO_NS_DRAW,
40
+ OO_NS_NUMBER,
41
+ OO_NS_CHART,
42
+ OO_NS_DR3D,
43
+ OO_NS_FORM,
44
+ OO_NS_SCRIPT,
45
+ OO_NS_CONFIG,
46
+ OO_NS_MATH,
47
+ OO_NS_FO,
48
+ OO_NS_DC,
49
+ OO_NS_META,
50
+ OO_NS_XLINK,
51
+ OO_NS_SVG,
52
+
53
+ /* new in 2.0 */
54
+ OO_NS_OOO,
55
+ OO_NS_OOOW,
56
+ OO_NS_OOOC,
57
+ OO_NS_DOM,
58
+ OO_NS_XFORMS,
59
+ OO_NS_XSD,
60
+ OO_NS_XSI,
61
+
62
+ OO_NS_PRESENT, /* added in gsf-1.14.8 */
63
+
64
+ /* new in 3.0 */
65
+ OO_NS_RPT,
66
+ OO_NS_OF,
67
+ OO_NS_RDFA,
68
+ OO_NS_FIELD,
69
+ OO_NS_FORMX,
70
+
71
+ /* Other OpenDocument 1.1 */
72
+ OO_NS_ANIM,
73
+ OO_NS_DATASTYLE,
74
+ OO_NS_MANIFEST,
75
+ OO_NS_SMIL,
76
+
77
+ /* Symphony 1.3 */
78
+ OO_LOTUS_NS_PRODTOOLS,
79
+
80
+ /* KOffice 1.6.3 */
81
+ OO_KDE_NS_KOFFICE,
82
+
83
+ /*CleverAge ODF Add-in for Microsoft Office 3.0.5224.0 (11.0.8302)*/
84
+ OO_CLEVERAGE_NS_DC,
85
+
86
+ /* Microsoft Excel Formulas */
87
+ OO_MS_NS_MSOXL,
88
+
89
+ /* Gnumeric ODF extensions */
90
+ OO_GNUM_NS_EXT
91
+ };
92
+
93
+ G_MODULE_EXPORT GsfXMLInNS *get_gsf_ooo_ns (void);
94
+ G_MODULE_EXPORT char const *get_gsf_odf_version_string (void);
95
+ G_MODULE_EXPORT short get_gsf_odf_version (void);
96
+
97
+ extern GsfXMLInNS gsf_ooo_ns[]; /* use get_gsf_ooo_ns instead */
98
+
99
+ /* For 1.15.x s/opendoc/odf/ and s/ooo/odf/ */
100
+ GError *gsf_opendoc_metadata_read (GsfInput *input, GsfDocMetaData *md);
101
+ void gsf_opendoc_metadata_subtree (GsfXMLIn *doc, GsfDocMetaData *md);
102
+ gboolean gsf_opendoc_metadata_write (GsfXMLOut *output, GsfDocMetaData const *md);
103
+
104
+ G_END_DECLS
105
+
106
+ #endif /* GSF_OPENDOC_UTILS_H */
@@ -0,0 +1,48 @@
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.h>
26
+ #include <gsf/gsf-output-impl.h>
27
+ #include <gsf/gsf-outfile.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ struct _GsfOutfile {
32
+ GsfOutput parent;
33
+ };
34
+
35
+ typedef struct {
36
+ GsfOutputClass output_class;
37
+ GsfOutput *(*new_child) (GsfOutfile *outfile,
38
+ char const *name, gboolean is_dir,
39
+ char const *first_property_name,
40
+ va_list args);
41
+ } GsfOutfileClass;
42
+
43
+ #define GSF_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_OUTFILE_TYPE, GsfOutfileClass))
44
+ #define GSF_IS_OUTFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_OUTFILE_TYPE))
45
+
46
+ G_END_DECLS
47
+
48
+ #endif /* GSF_OUTFILE_IMPL_H */
@@ -0,0 +1,50 @@
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.h>
26
+ #include <glib-object.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
+ #define OLE_DEFAULT_SB_SHIFT 6
37
+ #define OLE_DEFAULT_BB_SHIFT 9
38
+
39
+ GType gsf_outfile_msole_get_type (void) G_GNUC_CONST;
40
+ /* void gsf_outfile_msole_register_type (GTypeModule *module); glib dynamic types are not thread safe */
41
+
42
+ GsfOutfile *gsf_outfile_msole_new (GsfOutput *sink);
43
+ GsfOutfile *gsf_outfile_msole_new_full (GsfOutput *sink,
44
+ guint bb_size, guint sb_size);
45
+ gboolean gsf_outfile_msole_set_class_id (GsfOutfileMSOle *ole,
46
+ guint8 const *clsid);
47
+
48
+ G_END_DECLS
49
+
50
+ #endif /* GSF_OUTFILE_H */
@@ -0,0 +1,48 @@
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.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ typedef struct _GsfOutfileStdio GsfOutfileStdio;
30
+
31
+ #define GSF_OUTFILE_STDIO_TYPE (gsf_outfile_stdio_get_type ())
32
+ #define GSF_OUTFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_STDIO_TYPE, GsfOutfileStdio))
33
+ #define GSF_IS_OUTFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_STDIO_TYPE))
34
+
35
+ GType gsf_outfile_stdio_get_type (void) G_GNUC_CONST;
36
+ /* void gsf_outfile_stdio_register_type (GTypeModule *module); glib dynamic types are not thread safe */
37
+
38
+ GsfOutfile *gsf_outfile_stdio_new (char const *root, GError **err);
39
+ GsfOutfile *gsf_outfile_stdio_new_full (char const *root, GError **err,
40
+ char const *first_property_name,
41
+ ...); /* G_GNUC_NULL_TERMINATED */
42
+ GsfOutfile *gsf_outfile_stdio_new_valist (char const *root, GError **err,
43
+ char const *first_property_name,
44
+ va_list var_args);
45
+
46
+ G_END_DECLS
47
+
48
+ #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.h>
26
+ #include <glib-object.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 */