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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,45 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-input-proxy.h: proxy object (with its own current position)
4
+ *
5
+ * Copyright (C) 2004-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_INPUT_PROXY_H
23
+ #define GSF_INPUT_PROXY_H
24
+
25
+ #include <gsf/gsf-input.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ #define GSF_INPUT_PROXY_TYPE (gsf_input_proxy_get_type ())
30
+ #define GSF_INPUT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_PROXY_TYPE, GsfInputProxy))
31
+ #define GSF_IS_INPUT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_PROXY_TYPE))
32
+
33
+ typedef struct _GsfInputProxy GsfInputProxy;
34
+
35
+ GType gsf_input_proxy_get_type (void) G_GNUC_CONST;
36
+ /* void gsf_input_proxy_register_type (GTypeModule *module); glib dynamic types are not thread safe */
37
+
38
+ GsfInput *gsf_input_proxy_new (GsfInput *source);
39
+ GsfInput *gsf_input_proxy_new_section (GsfInput *source,
40
+ gsf_off_t offset,
41
+ gsf_off_t size);
42
+
43
+ G_END_DECLS
44
+
45
+ #endif /* GSF_INPUT_PROXY_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-input-stdio.h: interface for use by the structured file layer to read raw data
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_INPUT_STDIO_H
23
+ #define GSF_INPUT_STDIO_H
24
+
25
+ #include <gsf/gsf-input.h>
26
+ #include <stdio.h>
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define GSF_INPUT_STDIO_TYPE (gsf_input_stdio_get_type ())
31
+ #define GSF_INPUT_STDIO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_STDIO_TYPE, GsfInputStdio))
32
+ #define GSF_IS_INPUT_STDIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_STDIO_TYPE))
33
+
34
+ typedef struct _GsfInputStdio GsfInputStdio;
35
+
36
+ GType gsf_input_stdio_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_input_stdio_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ GsfInput *gsf_input_stdio_new (char const *filename, GError **err);
40
+
41
+ GsfInput *gsf_input_stdio_new_FILE (char const *filename, FILE *file,
42
+ gboolean keep_open);
43
+
44
+ G_END_DECLS
45
+
46
+ #endif /* GSF_INPUT_STDIO_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-input-textline.h: a utility wrapper to pull in text, line by line.
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_INPUT_TEXTLINE_H
23
+ #define GSF_INPUT_TEXTLINE_H
24
+
25
+ #include <gsf/gsf-input.h>
26
+
27
+ G_BEGIN_DECLS
28
+
29
+ #define GSF_INPUT_TEXTLINE_TYPE (gsf_input_textline_get_type ())
30
+ #define GSF_INPUT_TEXTLINE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_TEXTLINE_TYPE, GsfInputTextline))
31
+ #define GSF_IS_INPUT_TEXTLINE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_TEXTLINE_TYPE))
32
+
33
+ typedef struct _GsfInputTextline GsfInputTextline;
34
+
35
+ GType gsf_input_textline_get_type (void) G_GNUC_CONST;
36
+ /* void gsf_input_textline_register_type (GTypeModule *module); glib dynamic types are not thread safe */
37
+
38
+
39
+ GsfInput *gsf_input_textline_new (GsfInput *source);
40
+ unsigned char *gsf_input_textline_ascii_gets (GsfInputTextline *textline);
41
+ guint8 *gsf_input_textline_utf8_gets (GsfInputTextline *textline);
42
+
43
+ G_END_DECLS
44
+
45
+ #endif /* GSF_INPUT_TEXTLINE_H */
@@ -0,0 +1,65 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-input.h: abstract interface for reading data
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_INPUT_H
23
+ #define GSF_INPUT_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+ #include <sys/types.h>
28
+ #include <gsf/gsf-output.h>
29
+
30
+ G_BEGIN_DECLS
31
+
32
+ #define GSF_INPUT_TYPE (gsf_input_get_type ())
33
+ #define GSF_INPUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_TYPE, GsfInput))
34
+ #define GSF_IS_INPUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_TYPE))
35
+
36
+ GType gsf_input_get_type (void) G_GNUC_CONST;
37
+ /* void gsf_input_register_type (GTypeModule *module); glib dynamic types are not thread safe */
38
+
39
+ char const *gsf_input_name (GsfInput *input);
40
+ GsfInfile *gsf_input_container (GsfInput *input);
41
+
42
+ GsfInput *gsf_input_dup (GsfInput *input, GError **err);
43
+ GsfInput *gsf_input_sibling (GsfInput const *input, char const *name, GError **err);
44
+ gsf_off_t gsf_input_size (GsfInput *input);
45
+ gboolean gsf_input_eof (GsfInput *input);
46
+ guint8 const *gsf_input_read (GsfInput *input, size_t num_bytes,
47
+ guint8 *optional_buffer);
48
+ gsf_off_t gsf_input_remaining (GsfInput *input);
49
+ gsf_off_t gsf_input_tell (GsfInput *input);
50
+ gboolean gsf_input_seek (GsfInput *input,
51
+ gsf_off_t offset, GSeekType whence);
52
+
53
+ /* Utilities */
54
+ gboolean gsf_input_copy (GsfInput *input, GsfOutput *output);
55
+ GsfInput *gsf_input_uncompress (GsfInput *src);
56
+
57
+ GQuark gsf_input_error_id (void);
58
+ #ifndef GSF_DISABLE_DEPRECATED
59
+ /* deprecated in 1.12.0, use gsf_input_error_id */
60
+ GQuark gsf_input_error (void);
61
+ #endif /* GSF_DISABLE_DEPRECATED */
62
+
63
+ G_END_DECLS
64
+
65
+ #endif /* GSF_INPUT_H */
@@ -0,0 +1,194 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-libxml.h: Utility wrappers for using gsf with libxml
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_LIBXML_H
23
+ #define GSF_LIBXML_H
24
+
25
+ #include <gsf/gsf.h>
26
+ #include <glib-object.h>
27
+ #include <libxml/tree.h>
28
+
29
+ G_BEGIN_DECLS
30
+
31
+ /****************************************************************************/
32
+ /* GSF wrappers for libxml2 */
33
+ xmlParserCtxt *gsf_xml_parser_context (GsfInput *input);
34
+ #if 0
35
+ /* this is cleaner, tack it on for 2.0 */
36
+ xmlSAXHandlerPtr sax, gpointer user);
37
+ #endif
38
+ int gsf_xmlDocFormatDump (GsfOutput *output,
39
+ xmlDoc *cur,
40
+ char const *encoding,
41
+ gboolean format);
42
+
43
+ typedef gboolean (*GsfXMLProbeFunc) (const xmlChar *name,
44
+ const xmlChar *prefix,
45
+ const xmlChar *URI,
46
+ int nb_namespaces,
47
+ const xmlChar **namespaces,
48
+ int nb_attributes,
49
+ int nb_defaulted,
50
+ const xmlChar **attributes);
51
+ gboolean gsf_xml_probe (GsfInput *input,
52
+ GsfXMLProbeFunc startElement);
53
+
54
+ /****************************************************************************/
55
+ /* Simplified wrapper to SAX based xml import */
56
+ typedef struct _GsfXMLIn GsfXMLIn;
57
+ typedef struct _GsfXMLInDoc GsfXMLInDoc;
58
+ typedef struct _GsfXMLInNode GsfXMLInNode;
59
+ typedef struct _GsfXMLInNS GsfXMLInNS;
60
+ typedef struct _GsfXMLBlob GsfXMLBlob;
61
+ typedef enum {
62
+ GSF_XML_NO_CONTENT = FALSE,
63
+ GSF_XML_CONTENT,
64
+ GSF_XML_SHARED_CONTENT
65
+ } GsfXMLContent;
66
+ typedef gboolean (*GsfXMLInUnknownFunc) (GsfXMLIn *xin,
67
+ xmlChar const *elem, xmlChar const **attrs);
68
+ typedef void (*GsfXMLInExtDtor) (GsfXMLIn *xin, gpointer old_state);
69
+
70
+ struct _GsfXMLIn {
71
+ /* public state : read only */
72
+ gpointer user_state;
73
+ GString *content;
74
+ GsfXMLInDoc const *doc;
75
+ GsfXMLInNode const *node; /* current node (not on the stack) */
76
+ GSList *node_stack; /* stack of GsfXMLInNode */
77
+ };
78
+
79
+ struct _GsfXMLInNode {
80
+ char const *id; /* unique in the entire tree */
81
+ int ns_id;
82
+ char const *name;
83
+ char const *parent_id;
84
+ void (*start) (GsfXMLIn *xin, xmlChar const **attrs);
85
+ void (*end) (GsfXMLIn *xin, GsfXMLBlob *unknown);
86
+
87
+ union {
88
+ int v_int;
89
+ gboolean v_bool;
90
+ gpointer v_blob;
91
+ char const *v_str;
92
+ } user_data;
93
+ GsfXMLContent has_content;
94
+
95
+ unsigned int check_children_for_ns : 1;
96
+ unsigned int share_children_with_parent : 1;
97
+ };
98
+
99
+ struct _GsfXMLInNS {
100
+ char const *uri;
101
+ unsigned ns_id;
102
+ };
103
+
104
+ #define GSF_XML_IN_NS(id, uri) \
105
+ { uri, id }
106
+ #define GSF_XML_IN_NS_END \
107
+ { NULL, 0 }
108
+
109
+ #define GSF_XML_IN_NODE_FULL(parent_id, id, ns, name, has_content, \
110
+ share_children_with_parent, check_ns, start, end, user) \
111
+ { \
112
+ #id, ns, name, #parent_id, start, end, { user }, has_content, \
113
+ check_ns, share_children_with_parent, \
114
+ }
115
+
116
+ #define GSF_XML_IN_NODE(parent_id, id, ns, name, has_content, start, end) \
117
+ GSF_XML_IN_NODE_FULL(parent_id, id, ns, name, has_content, \
118
+ FALSE, FALSE, start, end, 0)
119
+ #define GSF_XML_IN_NODE_END \
120
+ { NULL, 0, NULL, NULL, NULL, NULL, { 0 }, GSF_XML_NO_CONTENT, FALSE, FALSE }
121
+
122
+ GsfXMLInDoc *gsf_xml_in_doc_new (GsfXMLInNode const *nodes, GsfXMLInNS const *ns);
123
+ void gsf_xml_in_doc_free (GsfXMLInDoc *doc);
124
+ gboolean gsf_xml_in_doc_parse (GsfXMLInDoc *doc, GsfInput *input,
125
+ gpointer user_state);
126
+ void gsf_xml_in_doc_add_nodes (GsfXMLInDoc *doc,
127
+ GsfXMLInNode const *nodes);
128
+ void gsf_xml_in_doc_set_unknown_handler (GsfXMLInDoc *doc,
129
+ GsfXMLInUnknownFunc handler);
130
+
131
+ void gsf_xml_in_push_state (GsfXMLIn *xin, GsfXMLInDoc const *doc,
132
+ gpointer new_state, GsfXMLInExtDtor dtor,
133
+ xmlChar const **attrs);
134
+
135
+ GsfInput *gsf_xml_in_get_input (GsfXMLIn const *xin);
136
+ char const *gsf_xml_in_check_ns (GsfXMLIn const *xin, char const *str,
137
+ unsigned int ns_id);
138
+ gboolean gsf_xml_in_namecmp (GsfXMLIn const *xin, char const *str,
139
+ unsigned int ns_id, char const *name);
140
+
141
+ /****************************************************************************/
142
+ /* Simplified GSF based xml export (does not use libxml) */
143
+
144
+ typedef struct _GsfXMLOut GsfXMLOut;
145
+
146
+ #define GSF_XML_OUT_TYPE (gsf_xml_out_get_type ())
147
+ #define GSF_XML_OUT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_XML_OUT_TYPE, GsfXMLOut))
148
+ #define GSF_IS_XML_OUT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_XML_OUT_TYPE))
149
+
150
+ GType gsf_xml_out_get_type (void) G_GNUC_CONST;
151
+ /* void gsf_xml_out_register_type (GTypeModule *module); glib dynamic types are not thread safe */
152
+
153
+ GsfXMLOut *gsf_xml_out_new (GsfOutput *output);
154
+
155
+ void gsf_xml_out_set_doc_type (GsfXMLOut *xout, char const *type);
156
+ void gsf_xml_out_start_element (GsfXMLOut *xout, char const *id);
157
+ char const *gsf_xml_out_end_element (GsfXMLOut *xout);
158
+
159
+ void gsf_xml_out_simple_element (GsfXMLOut *xout, char const *id,
160
+ char const *content);
161
+ void gsf_xml_out_simple_int_element (GsfXMLOut *xout, char const *id,
162
+ int val);
163
+ void gsf_xml_out_simple_float_element (GsfXMLOut *xout, char const *id,
164
+ double val, int precision);
165
+
166
+ void gsf_xml_out_add_cstr_unchecked (GsfXMLOut *xout, char const *id,
167
+ char const *val_utf8);
168
+ void gsf_xml_out_add_cstr (GsfXMLOut *xout, char const *id,
169
+ char const *val_utf8);
170
+ void gsf_xml_out_add_bool (GsfXMLOut *xout, char const *id,
171
+ gboolean val);
172
+ void gsf_xml_out_add_int (GsfXMLOut *xout, char const *id,
173
+ int val);
174
+ void gsf_xml_out_add_uint (GsfXMLOut *xout, char const *id,
175
+ unsigned int val);
176
+ void gsf_xml_out_add_float (GsfXMLOut *xout, char const *id,
177
+ double val, int precision);
178
+ void gsf_xml_out_add_color (GsfXMLOut *xout, char const *id,
179
+ unsigned int r, unsigned int g, unsigned int b);
180
+ void gsf_xml_out_add_base64 (GsfXMLOut *xout, char const *id,
181
+ guint8 const *data, unsigned int len);
182
+ void gsf_xml_out_add_enum (GsfXMLOut *xout, char const *id,
183
+ GType etype, gint val);
184
+ void gsf_xml_out_add_gvalue (GsfXMLOut *xout, char const *id,
185
+ GValue const *val);
186
+
187
+ /****************************************************************************/
188
+ /* Some general utilities */
189
+ gboolean gsf_xml_gvalue_from_str (GValue *res, GType t, char const *str);
190
+ GsfOutput *gsf_xml_out_get_output (GsfXMLOut const *xout);
191
+
192
+ G_END_DECLS
193
+
194
+ #endif /* GSF_LIBXML_H */
@@ -0,0 +1,482 @@
1
+ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
+ /*
3
+ * gsf-meta-names.h: a list of gsf-meta-names to "generically" represent
4
+ * all diversly available implementation-specific
5
+ * meta-names.
6
+ *
7
+ * Author: Veerapuram Varadhan (vvaradhan@novell.com)
8
+ * Jody Goldberg (jody@gnome.org)
9
+ *
10
+ * Copyright (C) 2004-2006 Novell, Inc
11
+ *
12
+ * This program is free software; you can redistribute it and/or
13
+ * modify it under the terms of version 2.1 of the GNU Lesser General Public
14
+ * License as published by the Free Software Foundation.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Lesser General Public License
22
+ * along with this program; if not, write to the Free Software
23
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
24
+ * USA
25
+ */
26
+ #ifndef GSF_META_NAMES_H
27
+ #define GSF_META_NAMES_H
28
+
29
+ /* The namespace follow this classification:
30
+ * "dc:" - Dublin Core tags
31
+ * "gsf:" - Gnumeric only tags
32
+ * "meta:" - OpenDocument tags shared with Gnumeric
33
+ * "msole:" - OLE tags
34
+ */
35
+
36
+ /****** Namespace - dc: ******/
37
+
38
+ /**
39
+ * GSF_META_NAME_CREATOR:
40
+ *
41
+ * (String) An entity primarily responsible for making the content of the
42
+ * resource typically a person, organization, or service.
43
+ *
44
+ * 1.14.0 Moved from "gsf" to "dc".
45
+ */
46
+ #define GSF_META_NAME_CREATOR "dc:creator"
47
+
48
+ /**
49
+ * GSF_META_NAME_DATE_MODIFIED:
50
+ *
51
+ * (GsfTimestamp) The last time this document was saved.
52
+ *
53
+ * 1.14.0 Moved from dc:date-modified to dc:date.
54
+ */
55
+ #define GSF_META_NAME_DATE_MODIFIED "dc:date"
56
+
57
+ /**
58
+ * GSF_META_NAME_DESCRIPTION:
59
+ *
60
+ * (String) An account of the content of the resource.
61
+ */
62
+ #define GSF_META_NAME_DESCRIPTION "dc:description"
63
+
64
+ /**
65
+ * GSF_META_NAME_KEYWORDS:
66
+ *
67
+ * (GsfDocPropVector of String) Searchable, indexable keywords. Similar to PDF
68
+ * keywords or HTML's meta block.
69
+ */
70
+ #define GSF_META_NAME_KEYWORDS "dc:keywords"
71
+
72
+ /**
73
+ * GSF_META_NAME_LANGUAGE:
74
+ *
75
+ * (String) The locale language of the intellectual content of the resource
76
+ * (basically xx_YY form for us).
77
+ * 1.14.0 Clarified that this is unique from _NAME_CODEPAGE in msole
78
+ */
79
+ #define GSF_META_NAME_LANGUAGE "dc:language"
80
+
81
+ /**
82
+ * GSF_META_NAME_CODEPAGE:
83
+ *
84
+ * (UnsignedShort) The MS codepage to encode strings for metadata
85
+ * 1.14.0 Clarified that this is unique from _NAME_CODEPAGE in msole
86
+ */
87
+ #define GSF_META_NAME_CODEPAGE "msole:codepage"
88
+
89
+ /**
90
+ * GSF_META_NAME_SUBJECT:
91
+ *
92
+ * (String) The topic of the content of the resource,
93
+ * <emphasis>typically</emphasis> including keywords.
94
+ */
95
+ #define GSF_META_NAME_SUBJECT "dc:subject"
96
+
97
+ /**
98
+ * GSF_META_NAME_TITLE:
99
+ *
100
+ * (String) A formal name given to the resource.
101
+ */
102
+ #define GSF_META_NAME_TITLE "dc:title"
103
+
104
+
105
+ /****** Namespace - gsf: ******/
106
+
107
+ /**
108
+ * GSF_META_NAME_BYTE_COUNT:
109
+ *
110
+ * (Integer) Count of bytes in the document.
111
+ */
112
+ #define GSF_META_NAME_BYTE_COUNT "gsf:byte-count"
113
+
114
+ /**
115
+ * GSF_META_NAME_CASE_SENSITIVE
116
+ *
117
+ * (Unsigned Integer) Identifier representing the case-sensitiveness.
118
+ * <note>of what ?? why is it an integer ??</note>
119
+ */
120
+ #define GSF_META_NAME_CASE_SENSITIVE "gsf:case-sensitivity"
121
+
122
+ /**
123
+ * GSF_META_NAME_CATEGORY
124
+ *
125
+ * (String) Category of the document. <note>example???</note>
126
+ */
127
+ #define GSF_META_NAME_CATEGORY "gsf:category"
128
+
129
+ /**
130
+ * GSF_META_NAME_CELL_COUNT:
131
+ *
132
+ * (Integer) Count of cells in the spread-sheet document, if appropriate.
133
+ */
134
+ #define GSF_META_NAME_CELL_COUNT "gsf:cell-count"
135
+
136
+ /**
137
+ * GSF_META_NAME_CHARACTER_COUNT:
138
+ *
139
+ * (Integer) Count of characters in the document.
140
+ *
141
+ * TODO See how to sync this with ODF's document-statistic
142
+ */
143
+ #define GSF_META_NAME_CHARACTER_COUNT "gsf:character-count"
144
+
145
+ /**
146
+ * GSF_META_NAME_DICTIONARY:
147
+ *
148
+ * (None) Reserved name (PID) for Dictionary
149
+ */
150
+ #define GSF_META_NAME_DICTIONARY "gsf:dictionary"
151
+
152
+ /**
153
+ * GSF_META_NAME_DOCUMENT_PARTS:
154
+ *
155
+ * (Vector of strings) Names of the 'interesting' parts of the document. In
156
+ * spreadsheets this is a list of the sheet names, and the named expressions.
157
+ * From MSOLE
158
+ */
159
+ #define GSF_META_NAME_DOCUMENT_PARTS "gsf:document-parts"
160
+
161
+ /**
162
+ * GSF_META_NAME_HEADING_PAIRS:
163
+ *
164
+ * (Vector of string value pairs stored in alternating elements) Store the
165
+ * counts of objects in the document as names 'worksheet' and count '4'
166
+ * From MSOLE
167
+ */
168
+ #define GSF_META_NAME_HEADING_PAIRS "gsf:heading-pairs"
169
+
170
+ /**
171
+ * GSF_META_NAME_HIDDEN_SLIDE_COUNT:
172
+ *
173
+ * (Integer) Count of hidden-slides in the presentation document.
174
+ */
175
+ #define GSF_META_NAME_HIDDEN_SLIDE_COUNT "gsf:hidden-slide-count"
176
+
177
+ /**
178
+ * GSF_META_NAME_IMAGE_COUNT:
179
+ *
180
+ * (Integer) Count of images in the document, if appropriate.
181
+ */
182
+ #define GSF_META_NAME_IMAGE_COUNT "gsf:image-count"
183
+
184
+ /**
185
+ * GSF_META_NAME_LAST_SAVED_BY:
186
+ *
187
+ * (String) The entity that made the last change to the document, typically a
188
+ * person, organization, or service.
189
+ */
190
+ #define GSF_META_NAME_LAST_SAVED_BY "gsf:last-saved-by"
191
+
192
+ /**
193
+ * GSF_META_NAME_LINKS_DIRTY:
194
+ *
195
+ * (Boolean) ???????
196
+ */
197
+ #define GSF_META_NAME_LINKS_DIRTY "gsf:links-dirty"
198
+
199
+ /**
200
+ * GSF_META_NAME_LOCALE_SYSTEM_DEFAULT:
201
+ *
202
+ * (Unsigned Integer) Identifier representing the default system locale.
203
+ */
204
+ #define GSF_META_NAME_LOCALE_SYSTEM_DEFAULT "gsf:default-locale"
205
+
206
+ /**
207
+ * GSF_META_NAME_MANAGER:
208
+ *
209
+ * (String) Name of the manager of "CREATOR" entity.
210
+ */
211
+ #define GSF_META_NAME_MANAGER "gsf:manager"
212
+
213
+ /**
214
+ * GSF_META_NAME_PRESENTATION_FORMAT:
215
+ *
216
+ * (String) Type of presentation, like "On-screen Show", "SlideView" etc.
217
+ */
218
+ #define GSF_META_NAME_PRESENTATION_FORMAT "gsf:presentation-format"
219
+
220
+ /**
221
+ * GSF_META_NAME_SCALE:
222
+ *
223
+ * (Boolean) ?????
224
+ */
225
+ #define GSF_META_NAME_SCALE "gsf:scale"
226
+
227
+ /**
228
+ * GSF_META_NAME_SECURITY:
229
+ *
230
+ * (Integer) Level of security.
231
+ *
232
+ * <informaltable frame="none" role="params">
233
+ * <tgroup cols="2">
234
+ * <thead>
235
+ * <row><entry align="left">Level</entry><entry>Value</entry></row>
236
+ * </thead>
237
+ * <tbody>
238
+ * <row><entry>None</entry><entry>0</entry></row>
239
+ * <row><entry>Password protected</entry><entry>1</entry></row>
240
+ * <row><entry>Read-only recommended</entry><entry>2</entry></row>
241
+ * <row><entry>Read-only enforced</entry><entry>3</entry></row>
242
+ * <row><entry>Locked for annotations</entry><entry>4</entry></row>
243
+ * </tbody></tgroup></informaltable>
244
+ */
245
+ #define GSF_META_NAME_SECURITY "gsf:security"
246
+
247
+ /**
248
+ * GSF_META_NAME_THUMBNAIL:
249
+ *
250
+ * (GsfClipData) Thumbnail data of the document, typically a
251
+ * preview image of the document.
252
+ */
253
+ #define GSF_META_NAME_THUMBNAIL "gsf:thumbnail"
254
+
255
+ /**
256
+ * GSF_META_NAME_LINE_COUNT:
257
+ *
258
+ * (Integer) Count of liness in the document.
259
+ */
260
+ #define GSF_META_NAME_LINE_COUNT "gsf:line-count"
261
+
262
+ /**
263
+ * GSF_META_NAME_MM_CLIP_COUNT:
264
+ *
265
+ * (Integer) Count of "multi-media" clips in the document.
266
+ */
267
+ #define GSF_META_NAME_MM_CLIP_COUNT "gsf:MM-clip-count"
268
+
269
+ /**
270
+ * GSF_META_NAME_NOTE_COUNT:
271
+ *
272
+ * (Integer) Count of "notes" in the document.
273
+ */
274
+ #define GSF_META_NAME_NOTE_COUNT "gsf:note-count"
275
+
276
+ /**
277
+ * GSF_META_NAME_OBJECT_COUNT:
278
+ *
279
+ * (Integer) Count of objects (OLE and other graphics) in the document, if
280
+ * appropriate.
281
+ */
282
+ #define GSF_META_NAME_OBJECT_COUNT "gsf:object-count"
283
+
284
+ /**
285
+ * GSF_META_NAME_PAGE_COUNT:
286
+ *
287
+ * (Integer) Count of pages in the document, if appropriate.
288
+ */
289
+ #define GSF_META_NAME_PAGE_COUNT "gsf:page-count"
290
+
291
+ /**
292
+ * GSF_META_NAME_PARAGRAPH_COUNT:
293
+ *
294
+ * (Integer) Count of paragraphs in the document, if appropriate.
295
+ */
296
+ #define GSF_META_NAME_PARAGRAPH_COUNT "gsf:paragraph-count"
297
+
298
+ /**
299
+ * GSF_META_NAME_SLIDE_COUNT:
300
+ *
301
+ * (Integer) Count of slides in the presentation document.
302
+ */
303
+ #define GSF_META_NAME_SLIDE_COUNT "gsf:slide-count"
304
+
305
+ /**
306
+ * GSF_META_NAME_SPREADSHEET_COUNT:
307
+ *
308
+ * (Integer) Count of pages in the document, if appropriate.
309
+ */
310
+ #define GSF_META_NAME_SPREADSHEET_COUNT "gsf:spreadsheet-count"
311
+
312
+ /**
313
+ * GSF_META_NAME_TABLE_COUNT:
314
+ *
315
+ * (Integer) Count of tables in the document, if appropriate.
316
+ */
317
+ #define GSF_META_NAME_TABLE_COUNT "gsf:table-count"
318
+
319
+ /**
320
+ * GSF_META_NAME_WORD_COUNT:
321
+ *
322
+ * (Integer) Count of words in the document.
323
+ */
324
+ #define GSF_META_NAME_WORD_COUNT "gsf:word-count"
325
+
326
+
327
+ /****** Namespace - msole: ******/
328
+
329
+ /**
330
+ * GSF_META_NAME_MSOLE_UNKNOWN_17:
331
+ *
332
+ * (Unknown) User-defined name
333
+ */
334
+ #define GSF_META_NAME_MSOLE_UNKNOWN_17 "msole:unknown-doc-17"
335
+
336
+ /**
337
+ * GSF_META_NAME_MSOLE_UNKNOWN_18:
338
+ *
339
+ * (Unknown) User-defined name
340
+ */
341
+ #define GSF_META_NAME_MSOLE_UNKNOWN_18 "msole:unknown-doc-18"
342
+
343
+ /**
344
+ * GSF_META_NAME_MSOLE_UNKNOWN_19:
345
+ *
346
+ * (Boolean) User-defined name
347
+ */
348
+ #define GSF_META_NAME_MSOLE_UNKNOWN_19 "msole:unknown-doc-19"
349
+
350
+ /**
351
+ * GSF_META_NAME_MSOLE_UNKNOWN_20:
352
+ *
353
+ * (Unknown) User-defined name
354
+ */
355
+ #define GSF_META_NAME_MSOLE_UNKNOWN_20 "msole:unknown-doc-20"
356
+
357
+ /**
358
+ * GSF_META_NAME_MSOLE_UNKNOWN_21:
359
+ *
360
+ * (Unknown) User-defined name
361
+ */
362
+ #define GSF_META_NAME_MSOLE_UNKNOWN_21 "msole:unknown-doc-21"
363
+
364
+ /**
365
+ * GSF_META_NAME_MSOLE_UNKNOWN_22:
366
+ *
367
+ * (Boolean) User-defined name
368
+ */
369
+ #define GSF_META_NAME_MSOLE_UNKNOWN_22 "msole:unknown-doc-22"
370
+
371
+ /**
372
+ * GSF_META_NAME_MSOLE_UNKNOWN_23:
373
+ *
374
+ * (i4) User-defined name
375
+ */
376
+ #define GSF_META_NAME_MSOLE_UNKNOWN_23 "msole:unknown-doc-23"
377
+
378
+
379
+ /****** Namespace - meta: ******/
380
+
381
+ /**
382
+ * GSF_META_NAME_DATE_CREATED:
383
+ *
384
+ * (Date as ISO String) A date associated with an event in the life cycle of
385
+ * the resource (creation/publication date).
386
+ * Moved from gsf:date-created to meta:creation-date. This way can be used correctly
387
+ * by OpenDocument and Gnumeric.
388
+ */
389
+ #define GSF_META_NAME_DATE_CREATED "meta:creation-date"
390
+
391
+ /**
392
+ * GSF_META_NAME_EDITING_DURATION:
393
+ *
394
+ * (Date as ISO String) The total-time taken until the last modification.
395
+ * Moved from "gsf" to "meta". This way can be used correctly by OpenDocument
396
+ * and Gnumeric.
397
+ */
398
+ #define GSF_META_NAME_EDITING_DURATION "meta:editing-duration"
399
+
400
+ /**
401
+ * GSF_META_NAME_GENERATOR:
402
+ *
403
+ * (String) The application that generated this document. AbiWord, Gnumeric,
404
+ * etc...
405
+ *
406
+ * 1.14.0 Moved from "gsf" to "meta".
407
+ */
408
+ #define GSF_META_NAME_GENERATOR "meta:generator"
409
+
410
+ /**
411
+ * GSF_META_NAME_KEYWORD:
412
+ *
413
+ * (String) Searchable, indexable keywords. Similar to PDF keywords or HTML's
414
+ * meta block.
415
+ */
416
+ #define GSF_META_NAME_KEYWORD "meta:keyword"
417
+
418
+ /**
419
+ * GSF_META_NAME_INITIAL_CREATOR:
420
+ *
421
+ * (String) Specifies the name of the person who created the document
422
+ * initially.
423
+ * 1.14.0 Moved from "gsf" to "meta".
424
+ */
425
+ #define GSF_META_NAME_INITIAL_CREATOR "meta:initial-creator"
426
+
427
+ /**
428
+ * GSF_META_NAME_COMPANY:
429
+ *
430
+ * (String) Name of the company/organization that the "CREATOR" entity is
431
+ * associated with.
432
+ *
433
+ * 1.14.1 Moved from "gsf:company" to "dc:publisher".
434
+ */
435
+ #define GSF_META_NAME_COMPANY "dc:publisher"
436
+
437
+ /**
438
+ * GSF_META_NAME_PRINT_DATE:
439
+ *
440
+ * (GsfTimestamp) Specifies the date and time when the document was last
441
+ * printed.
442
+ */
443
+ #define GSF_META_NAME_PRINT_DATE "meta:print-date"
444
+
445
+ /**
446
+ * GSF_META_NAME_LAST_PRINTED:
447
+ *
448
+ * (GSF_META_NAME_HEADING_PAIRS) The last time this document was printed.
449
+ *
450
+ * 1.14.0 Moved from "gsf" to "dc".
451
+ * 1.14.1 Moved back to "gsf" from "dc".
452
+ */
453
+ #define GSF_META_NAME_LAST_PRINTED "gsf:last-printed"
454
+
455
+ /**
456
+ * GSF_META_NAME_PRINTED_BY:
457
+ *
458
+ * (String) Specifies the name of the last person who printed the document.
459
+ *
460
+ * 1.14.0 Moved from "gsf" to "meta".
461
+ */
462
+ #define GSF_META_NAME_PRINTED_BY "meta:printed-by"
463
+
464
+ /**
465
+ * GSF_META_NAME_REVISION_COUNT:
466
+ *
467
+ * (Integer) Count of revision on the document, if appropriate.
468
+ * Moved from gsf:revision-count to meta:editing-cycles. This way can be used
469
+ * correctly by OpenDocument and Gnumeric.
470
+ */
471
+ #define GSF_META_NAME_REVISION_COUNT "meta:editing-cycles"
472
+
473
+ /**
474
+ * GSF_META_NAME_TEMPLATE:
475
+ *
476
+ * (String) The template file that is been used to generate this document.
477
+ *
478
+ * 1.14.0 Moved from "gsf" to "meta"
479
+ */
480
+ #define GSF_META_NAME_TEMPLATE "meta:template"
481
+
482
+ #endif /* GSF_META_NAMES_H */