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,67 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-doc-meta-data.h: get, set, remove custom meta properties associated with documents
4
+ *
5
+ * Copyright (C) 2002-2006 Dom Lachowicz (cinamod@hotmail.com)
6
+ * 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_DOC_META_DATA_H
24
+ #define GSF_DOC_META_DATA_H
25
+
26
+ #include <gsf/gsf.h>
27
+ #include <glib-object.h>
28
+ #include <sys/types.h>
29
+
30
+ G_BEGIN_DECLS
31
+
32
+ #define GSF_DOC_META_DATA_TYPE (gsf_doc_meta_data_get_type ())
33
+ #define GSF_DOC_META_DATA(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_DOC_META_DATA_TYPE, GsfDocMetaData))
34
+ #define IS_GSF_DOC_META_DATA(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_DOC_META_DATA_TYPE))
35
+
36
+ GType gsf_doc_meta_data_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_doc_meta_data_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfDocMetaData *gsf_doc_meta_data_new (void);
40
+ GsfDocProp *gsf_doc_meta_data_lookup (GsfDocMetaData const *meta,
41
+ char const *name);
42
+ void gsf_doc_meta_data_insert (GsfDocMetaData *meta,
43
+ char *name, GValue *value);
44
+ void gsf_doc_meta_data_remove (GsfDocMetaData *meta,
45
+ char const *name);
46
+ GsfDocProp *gsf_doc_meta_data_steal (GsfDocMetaData *meta,
47
+ char const *name);
48
+ void gsf_doc_meta_data_store (GsfDocMetaData *meta,
49
+ GsfDocProp *prop);
50
+ void gsf_doc_meta_data_foreach (GsfDocMetaData const *meta,
51
+ GHFunc func, gpointer user_data);
52
+ gsize gsf_doc_meta_data_size (GsfDocMetaData const *meta);
53
+ void gsf_doc_meta_dump (GsfDocMetaData const *meta);
54
+
55
+ GsfDocProp *gsf_doc_prop_new (char *name);
56
+ void gsf_doc_prop_free (GsfDocProp *prop);
57
+ char const *gsf_doc_prop_get_name (GsfDocProp const *prop);
58
+ GValue const *gsf_doc_prop_get_val (GsfDocProp const *prop);
59
+ void gsf_doc_prop_set_val (GsfDocProp *prop, GValue *val);
60
+ GValue *gsf_doc_prop_swap_val (GsfDocProp *prop, GValue *val);
61
+ char const *gsf_doc_prop_get_link (GsfDocProp const *prop);
62
+ void gsf_doc_prop_set_link (GsfDocProp *prop, char *link);
63
+ void gsf_doc_prop_dump (GsfDocProp const *prop);
64
+
65
+ G_END_DECLS
66
+
67
+ #endif /* GSF_DOC_META_DATA_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-docprop-vectors.h: A type implementing OLE Document Property vectors
4
+ *
5
+ * Copyright (C) 2004-2006 Frank Chiulli (fc-linux@cox.net)
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_DOCPROP_VECTOR_H
23
+ #define GSF_DOCPROP_VECTOR_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_DOCPROP_VECTOR_TYPE (gsf_docprop_vector_get_type ())
31
+ #define GSF_DOCPROP_VECTOR(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GSF_DOCPROP_VECTOR, GsfDocPropVector))
32
+ #define IS_GSF_DOCPROP_VECTOR(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GSF_DOCPROP_VECTOR_TYPE))
33
+
34
+ typedef struct _GsfDocPropVector GsfDocPropVector;
35
+ GType gsf_docprop_vector_get_type (void) G_GNUC_CONST;
36
+ /* void gsf_docprop_vector_register_type (GTypeModule *module); glib dynamic types are not thread safe */
37
+
38
+ GsfDocPropVector *gsf_docprop_vector_new (void);
39
+ void gsf_docprop_vector_append (GsfDocPropVector *vector, GValue *value);
40
+ gchar *gsf_docprop_vector_as_string (GsfDocPropVector const *vector);
41
+
42
+ #define VAL_IS_GSF_DOCPROP_VECTOR(v) (G_TYPE_CHECK_VALUE_TYPE((v), GSF_DOCPROP_VECTOR_TYPE))
43
+ GsfDocPropVector *gsf_value_get_docprop_vector (GValue const *value);
44
+ GValueArray *gsf_value_get_docprop_varray (GValue const *value);
45
+
46
+ G_END_DECLS
47
+
48
+ #endif /* GSF_DOCPROP_VECTOR_H */
@@ -0,0 +1,156 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-impl-utils.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_IMPL_UTILS_H
23
+ #define GSF_IMPL_UTILS_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ /* We need to do this with a version check as this header gets installed.
31
+ *
32
+ * DEPRECATED in favour of G_PARAM_STATIC_STRINGS
33
+ **/
34
+ #if GLIB_CHECK_VERSION(2,7,0)
35
+ #define GSF_PARAM_STATIC (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
36
+ #else
37
+ #define GSF_PARAM_STATIC 0
38
+ #endif
39
+
40
+ /*************************************************************************/
41
+
42
+ #define GSF_CLASS_FULL(name, prefix, base_init, base_finalize, \
43
+ class_init, class_finalize, instance_init, parent_type, \
44
+ abstract, interface_decl) \
45
+ GType \
46
+ prefix ## _get_type (void) \
47
+ { \
48
+ static GType type = 0; \
49
+ if (G_UNLIKELY (type == 0)) { \
50
+ static GTypeInfo const object_info = { \
51
+ sizeof (name ## Class), \
52
+ (GBaseInitFunc) base_init, \
53
+ (GBaseFinalizeFunc) base_finalize, \
54
+ (GClassInitFunc) class_init, \
55
+ (GClassFinalizeFunc) class_finalize, \
56
+ NULL, /* class_data */ \
57
+ sizeof (name), \
58
+ 0, /* n_preallocs */ \
59
+ (GInstanceInitFunc) instance_init, \
60
+ NULL \
61
+ }; \
62
+ type = g_type_register_static (parent_type, #name, \
63
+ &object_info, (GTypeFlags) abstract); \
64
+ interface_decl \
65
+ } \
66
+ return type; \
67
+ }
68
+
69
+ /**
70
+ * GSF_CLASS:
71
+ * @name: (string) Name of the class.
72
+ * @prefix: (string) Prefix designating the namespace to be used for
73
+ * implementing the class.
74
+ * @class_init: (#GClassInitFunc) Initialisation function for the class.
75
+ * @instance_init: (#GInstanceInitFunc) Initialisation (constructor) function
76
+ * for an instance of the class.
77
+ * @parent: Parent class to this class.
78
+ *
79
+ * Set up a GSF class.
80
+ *
81
+ */
82
+ #define GSF_CLASS(name, prefix, class_init, instance_init, parent) \
83
+ GSF_CLASS_FULL(name, prefix, NULL, NULL, class_init, NULL, \
84
+ instance_init, parent, 0, {})
85
+ #define GSF_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent) \
86
+ GSF_CLASS_FULL(name, prefix, NULL, NULL, class_init, NULL, \
87
+ instance_init, parent, G_TYPE_FLAG_ABSTRACT, {})
88
+
89
+ #define GSF_INTERFACE_FULL(type, init_func, iface_type) { \
90
+ static GInterfaceInfo const iface = { \
91
+ (GInterfaceInitFunc) init_func, NULL, NULL }; \
92
+ g_type_add_interface_static (type, iface_type, &iface); \
93
+ }
94
+
95
+ #define GSF_INTERFACE(init_func, iface_type) \
96
+ GSF_INTERFACE_FULL(type, init_func, iface_type)
97
+
98
+ /*************************************************************************/
99
+
100
+ #define GSF_DYNAMIC_CLASS_FULL(name, prefix, base_init, base_finalize, \
101
+ class_init, class_finalize, instance_init, parent_type, \
102
+ abstract, interface_decl) \
103
+ static GType prefix ## _type; \
104
+ \
105
+ GType prefix ## _get_type (void); \
106
+ void prefix ## _register_type (GTypeModule *module); \
107
+ \
108
+ GType \
109
+ prefix ## _get_type () \
110
+ { \
111
+ g_return_val_if_fail (prefix ## _type != 0, 0); \
112
+ return prefix ## _type; \
113
+ } \
114
+ void \
115
+ prefix ## _register_type (GTypeModule *module) \
116
+ { \
117
+ GTypeInfo const type_info = { \
118
+ sizeof (name ## Class), \
119
+ (GBaseInitFunc) base_init, \
120
+ (GBaseFinalizeFunc) base_finalize, \
121
+ (GClassInitFunc) class_init, \
122
+ (GClassFinalizeFunc) class_finalize, \
123
+ NULL, /* class_data */ \
124
+ sizeof (name), \
125
+ 0, /* n_preallocs */ \
126
+ (GInstanceInitFunc) instance_init, \
127
+ NULL \
128
+ }; \
129
+ GType type; \
130
+ \
131
+ g_return_if_fail (prefix ## _type == 0); \
132
+ \
133
+ type = prefix ## _type = g_type_module_register_type (module, \
134
+ parent_type, #name, &type_info, (GTypeFlags) abstract); \
135
+ interface_decl \
136
+ }
137
+
138
+ #define GSF_DYNAMIC_CLASS(name, prefix, class_init, instance_init, parent) \
139
+ GSF_DYNAMIC_CLASS_FULL(name, prefix, NULL, NULL, class_init, NULL, \
140
+ instance_init, parent, 0, {})
141
+ #define GSF_DYNAMIC_CLASS_ABSTRACT(name, prefix, class_init, instance_init, parent) \
142
+ GSF_DYNAMIC_CLASS_FULL(name, prefix, NULL, NULL, class_init, NULL, \
143
+ instance_init, parent, G_TYPE_FLAG_ABSTRACT, {})
144
+
145
+ #define GSF_DYNAMIC_INTERFACE_FULL(type, init_func, iface_type, module) { \
146
+ GInterfaceInfo const iface = { \
147
+ (GInterfaceInitFunc) init_func, NULL, NULL }; \
148
+ g_type_module_add_interface (module, type, iface_type, &iface); \
149
+ }
150
+
151
+ #define GSF_DYNAMIC_INTERFACE(init_func, iface_type, module) \
152
+ GSF_DYNAMIC_INTERFACE_FULL(type, init_func, iface_type, module)
153
+
154
+ G_END_DECLS
155
+
156
+ #endif /* GSF_IMPL_UTILS_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-infile-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_INFILE_IMPL_H
23
+ #define GSF_INFILE_IMPL_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <gsf/gsf-input-impl.h>
27
+ #include <gsf/gsf-infile.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ struct _GsfInfile {
32
+ GsfInput parent;
33
+ };
34
+
35
+ typedef struct {
36
+ GsfInputClass input_class;
37
+ int (*num_children) (GsfInfile *infile);
38
+ char const *(*name_by_index) (GsfInfile *infile, int i);
39
+ GsfInput *(*child_by_index) (GsfInfile *infile,
40
+ int i, GError **err);
41
+ GsfInput *(*child_by_name) (GsfInfile *infile,
42
+ char const *name, GError **err);
43
+ } GsfInfileClass;
44
+
45
+ #define GSF_INFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSF_INFILE_TYPE, GsfInfileClass))
46
+ #define GSF_IS_INFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSF_INFILE_TYPE))
47
+
48
+ G_END_DECLS
49
+
50
+ #endif /* GSF_INFILE_IMPL_H */
@@ -0,0 +1,45 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-infile-msole.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_INFILE_MSOLE_H
23
+ #define GSF_INFILE_MSOLE_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct _GsfInfileMSOle GsfInfileMSOle;
31
+
32
+ #define GSF_INFILE_MSOLE_TYPE (gsf_infile_msole_get_type ())
33
+ #define GSF_INFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INFILE_MSOLE_TYPE, GsfInfileMSOle))
34
+ #define GSF_IS_INFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INFILE_MSOLE_TYPE))
35
+
36
+ GType gsf_infile_msole_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_infile_msole_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfInfile *gsf_infile_msole_new (GsfInput *source, GError **err);
40
+ gboolean gsf_infile_msole_get_class_id (GsfInfileMSOle const *ole,
41
+ guint8 *res);
42
+
43
+ G_END_DECLS
44
+
45
+ #endif /* GSF_INFILE_MSOLE_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-infile-msvba.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_INFILE_MSVBA_H
23
+ #define GSF_INFILE_MSVBA_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct _GsfInfileMSVBA GsfInfileMSVBA;
31
+
32
+ #define GSF_INFILE_MSVBA_TYPE (gsf_infile_msvba_get_type ())
33
+ #define GSF_INFILE_MSVBA(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INFILE_MSVBA_TYPE, GsfInfileMSVBA))
34
+ #define GSF_IS_INFILE_MSVBA(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INFILE_MSVBA_TYPE))
35
+
36
+ GType gsf_infile_msvba_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_infile_msvba_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfInfile *gsf_infile_msvba_new (GsfInfile *source, GError **err);
40
+ GHashTable *gsf_infile_msvba_get_modules (GsfInfileMSVBA const *vba_stream);
41
+ GHashTable *gsf_infile_msvba_steal_modules (GsfInfileMSVBA *vba_stream);
42
+
43
+ /* Utility */
44
+ GsfInfileMSVBA *gsf_input_find_vba (GsfInput *input, GError **err);
45
+
46
+ G_END_DECLS
47
+
48
+ #endif /* GSF_INFILE_MSVBA_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-infile-stdio.h:
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_INFILE_STDIO_H
23
+ #define GSF_INFILE_STDIO_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ typedef struct _GsfInfileStdio GsfInfileStdio;
31
+
32
+ #define GSF_INFILE_STDIO_TYPE (gsf_infile_stdio_get_type ())
33
+ #define GSF_INFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INFILE_STDIO_TYPE, GsfInfileStdio))
34
+ #define GSF_IS_INFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INFILE_STDIO_TYPE))
35
+
36
+ GType gsf_infile_stdio_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_infile_stdio_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfInfile *gsf_infile_stdio_new (char const *root, GError **err);
40
+
41
+ G_END_DECLS
42
+
43
+ #endif /* GSF_INFILE_STDIO_H */