gsf 3.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +55 -0
  3. data/lib/gsf.rb +53 -0
  4. data/lib/gsf/input.rb +26 -0
  5. data/lib/gsf/loader.rb +57 -0
  6. data/test/gsf-test-utils.rb +22 -0
  7. data/test/run-test.rb +46 -0
  8. data/test/test-input-stdio.rb +25 -0
  9. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  10. data/vendor/local/bin/gsf-vba-dump.exe +0 -0
  11. data/vendor/local/bin/gsf.exe +0 -0
  12. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  13. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  14. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  15. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  16. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +39 -0
  17. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +72 -0
  18. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +66 -0
  19. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +47 -0
  20. data/vendor/local/include/libgsf-1/gsf/gsf-fwd.h +121 -0
  21. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  22. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  23. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  24. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +49 -0
  25. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  26. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  27. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  28. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +46 -0
  29. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  30. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +44 -0
  31. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +43 -0
  32. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +45 -0
  33. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +68 -0
  34. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  35. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +46 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +46 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +48 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +46 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +69 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +225 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +70 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +95 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +162 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +46 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +47 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +49 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +49 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +43 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +84 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +44 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +43 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +47 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +37 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +43 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +44 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +52 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +99 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +51 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +45 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +70 -0
  63. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +340 -0
  64. data/vendor/local/include/libgsf-1/gsf/gsf.h +98 -0
  65. data/vendor/local/lib/libgsf-1.a +0 -0
  66. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  67. data/vendor/local/lib/libgsf-1.la +41 -0
  68. data/vendor/local/lib/libgsf-win32-1.a +0 -0
  69. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  70. data/vendor/local/lib/libgsf-win32-1.la +41 -0
  71. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  72. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  73. data/vendor/local/share/gtk-doc/html/gsf/annotation-glossary.html +56 -0
  74. data/vendor/local/share/gtk-doc/html/gsf/api.html +107 -0
  75. data/vendor/local/share/gtk-doc/html/gsf/dependencies.html +109 -0
  76. data/vendor/local/share/gtk-doc/html/gsf/gsf-Compression.html +369 -0
  77. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIO.html +307 -0
  78. data/vendor/local/share/gtk-doc/html/gsf/gsf-GIOChannel.html +119 -0
  79. data/vendor/local/share/gtk-doc/html/gsf/gsf-Infile-reading-structed-files.html +397 -0
  80. data/vendor/local/share/gtk-doc/html/gsf/gsf-Input-from-unstructured-files.html +887 -0
  81. data/vendor/local/share/gtk-doc/html/gsf/gsf-MS-OLE2.html +894 -0
  82. data/vendor/local/share/gtk-doc/html/gsf/gsf-OASIS-Open-Document.html +398 -0
  83. data/vendor/local/share/gtk-doc/html/gsf/gsf-Outfile-writing-structed-files.html +237 -0
  84. data/vendor/local/share/gtk-doc/html/gsf/gsf-Output-to-unstructured-files.html +830 -0
  85. data/vendor/local/share/gtk-doc/html/gsf/gsf-Reading-and-Writing-from-local-files-and-directories.html +593 -0
  86. data/vendor/local/share/gtk-doc/html/gsf/gsf-Text.html +523 -0
  87. data/vendor/local/share/gtk-doc/html/gsf/gsf-XML-and-libxml.html +2032 -0
  88. data/vendor/local/share/gtk-doc/html/gsf/gsf-Zip.html +338 -0
  89. data/vendor/local/share/gtk-doc/html/gsf/gsf-blobs.html +56 -0
  90. data/vendor/local/share/gtk-doc/html/gsf/gsf-clip-data.html +444 -0
  91. data/vendor/local/share/gtk-doc/html/gsf/gsf-index.html +875 -0
  92. data/vendor/local/share/gtk-doc/html/gsf/gsf-memory.html +332 -0
  93. data/vendor/local/share/gtk-doc/html/gsf/gsf-metadata.html +1762 -0
  94. data/vendor/local/share/gtk-doc/html/gsf/gsf-users.html +73 -0
  95. data/vendor/local/share/gtk-doc/html/gsf/gsf-utils.html +2503 -0
  96. data/vendor/local/share/gtk-doc/html/gsf/gsf.devhelp2 +440 -0
  97. data/vendor/local/share/gtk-doc/html/gsf/history.html +45 -0
  98. data/vendor/local/share/gtk-doc/html/gsf/home.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gsf/index.html +98 -0
  100. data/vendor/local/share/gtk-doc/html/gsf/index.sgml +572 -0
  101. data/vendor/local/share/gtk-doc/html/gsf/intro.html +39 -0
  102. data/vendor/local/share/gtk-doc/html/gsf/io.html +38 -0
  103. data/vendor/local/share/gtk-doc/html/gsf/left-insensitive.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/gsf/left.png +0 -0
  105. data/vendor/local/share/gtk-doc/html/gsf/misc.html +33 -0
  106. data/vendor/local/share/gtk-doc/html/gsf/parsers.html +59 -0
  107. data/vendor/local/share/gtk-doc/html/gsf/right-insensitive.png +0 -0
  108. data/vendor/local/share/gtk-doc/html/gsf/right.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/gsf/sources.html +50 -0
  110. data/vendor/local/share/gtk-doc/html/gsf/style.css +461 -0
  111. data/vendor/local/share/gtk-doc/html/gsf/up-insensitive.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/gsf/up.png +0 -0
  113. data/vendor/local/share/license/libgsf/AUTHORS +3 -0
  114. data/vendor/local/share/license/libgsf/COPYING +340 -0
  115. data/vendor/local/share/license/libgsf/COPYING.LIB +504 -0
  116. data/vendor/local/share/locale/as/LC_MESSAGES/libgsf.mo +0 -0
  117. data/vendor/local/share/locale/bs/LC_MESSAGES/libgsf.mo +0 -0
  118. data/vendor/local/share/locale/ca/LC_MESSAGES/libgsf.mo +0 -0
  119. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/libgsf.mo +0 -0
  120. data/vendor/local/share/locale/cs/LC_MESSAGES/libgsf.mo +0 -0
  121. data/vendor/local/share/locale/da/LC_MESSAGES/libgsf.mo +0 -0
  122. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  123. data/vendor/local/share/locale/el/LC_MESSAGES/libgsf.mo +0 -0
  124. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  125. data/vendor/local/share/locale/eo/LC_MESSAGES/libgsf.mo +0 -0
  126. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  127. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  128. data/vendor/local/share/locale/fi/LC_MESSAGES/libgsf.mo +0 -0
  129. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  130. data/vendor/local/share/locale/gl/LC_MESSAGES/libgsf.mo +0 -0
  131. data/vendor/local/share/locale/he/LC_MESSAGES/libgsf.mo +0 -0
  132. data/vendor/local/share/locale/hu/LC_MESSAGES/libgsf.mo +0 -0
  133. data/vendor/local/share/locale/id/LC_MESSAGES/libgsf.mo +0 -0
  134. data/vendor/local/share/locale/it/LC_MESSAGES/libgsf.mo +0 -0
  135. data/vendor/local/share/locale/ja/LC_MESSAGES/libgsf.mo +0 -0
  136. data/vendor/local/share/locale/ko/LC_MESSAGES/libgsf.mo +0 -0
  137. data/vendor/local/share/locale/lt/LC_MESSAGES/libgsf.mo +0 -0
  138. data/vendor/local/share/locale/lv/LC_MESSAGES/libgsf.mo +0 -0
  139. data/vendor/local/share/locale/ml/LC_MESSAGES/libgsf.mo +0 -0
  140. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/libgsf.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  143. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  144. data/vendor/local/share/locale/pl/LC_MESSAGES/libgsf.mo +0 -0
  145. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  146. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  147. data/vendor/local/share/locale/ro/LC_MESSAGES/libgsf.mo +0 -0
  148. data/vendor/local/share/locale/ru/LC_MESSAGES/libgsf.mo +0 -0
  149. data/vendor/local/share/locale/sk/LC_MESSAGES/libgsf.mo +0 -0
  150. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  151. data/vendor/local/share/locale/sr/LC_MESSAGES/libgsf.mo +0 -0
  152. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/libgsf.mo +0 -0
  153. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  154. data/vendor/local/share/locale/ta/LC_MESSAGES/libgsf.mo +0 -0
  155. data/vendor/local/share/locale/tg/LC_MESSAGES/libgsf.mo +0 -0
  156. data/vendor/local/share/locale/th/LC_MESSAGES/libgsf.mo +0 -0
  157. data/vendor/local/share/locale/tr/LC_MESSAGES/libgsf.mo +0 -0
  158. data/vendor/local/share/locale/uk/LC_MESSAGES/libgsf.mo +0 -0
  159. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  160. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  161. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  162. data/vendor/local/share/man/man1/gsf-office-thumbnailer.1 +71 -0
  163. data/vendor/local/share/man/man1/gsf-vba-dump.1 +61 -0
  164. data/vendor/local/share/man/man1/gsf.1 +91 -0
  165. data/vendor/local/share/thumbnailers/gsf-office.thumbnailer +4 -0
  166. metadata +235 -0
@@ -0,0 +1,894 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GSF Reference Manual: MS OLE2</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GSF Reference Manual">
8
+ <link rel="up" href="parsers.html" title="Stream Parsers">
9
+ <link rel="prev" href="gsf-Compression.html" title="Compression">
10
+ <link rel="next" href="gsf-metadata.html" title="metadata">
11
+ <meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
+ <a href="#gsf-MS-OLE2.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
+ <a href="#gsf-MS-OLE2.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 
20
+ <a href="#gsf-MS-OLE2.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="gsf-Compression.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="gsf-metadata.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="gsf-MS-OLE2"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="gsf-MS-OLE2.top_of_page"></a>MS OLE2</span></h2>
32
+ <p>MS OLE2</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="gsf-MS-OLE2.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="returnvalue">GsfInfile</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="gsf-MS-OLE2.html#gsf-infile-msole-new" title="gsf_infile_msole_new ()">gsf_infile_msole_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <span class="returnvalue">gboolean</span>
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="gsf-MS-OLE2.html#gsf-infile-msole-get-class-id" title="gsf_infile_msole_get_class_id ()">gsf_infile_msole_get_class_id</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="gsf-MS-OLE2.html#gsf-outfile-msole-new" title="gsf_outfile_msole_new ()">gsf_outfile_msole_new</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="gsf-MS-OLE2.html#gsf-outfile-msole-new-full" title="gsf_outfile_msole_new_full ()">gsf_outfile_msole_new_full</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <span class="returnvalue">gboolean</span>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="gsf-MS-OLE2.html#gsf-outfile-msole-set-class-id" title="gsf_outfile_msole_set_class_id ()">gsf_outfile_msole_set_class_id</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <span class="returnvalue">GError</span> *
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-metadata-read" title="gsf_msole_metadata_read ()">gsf_msole_metadata_read</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <span class="returnvalue">gboolean</span>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-metadata-write" title="gsf_msole_metadata_write ()">gsf_msole_metadata_write</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <span class="returnvalue">GIConv</span>
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-open-codepages-for-export" title="gsf_msole_iconv_open_codepages_for_export ()">gsf_msole_iconv_open_codepages_for_export</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <span class="returnvalue">GIConv</span>
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-open-codepage-for-import" title="gsf_msole_iconv_open_codepage_for_import ()">gsf_msole_iconv_open_codepage_for_import</a> <span class="c_punctuation">()</span>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td class="function_type">
118
+ <span class="returnvalue">GIConv</span>
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-open-for-export" title="gsf_msole_iconv_open_for_export ()">gsf_msole_iconv_open_for_export</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">
126
+ <span class="returnvalue">GIConv</span>
127
+ </td>
128
+ <td class="function_name">
129
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-open-codepage-for-export" title="gsf_msole_iconv_open_codepage_for_export ()">gsf_msole_iconv_open_codepage_for_export</a> <span class="c_punctuation">()</span>
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td class="function_type">
134
+ <span class="returnvalue">GIConv</span>
135
+ </td>
136
+ <td class="function_name">
137
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-open-for-import" title="gsf_msole_iconv_open_for_import ()">gsf_msole_iconv_open_for_import</a> <span class="c_punctuation">()</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="function_type">
142
+ <span class="returnvalue">int</span>
143
+ </td>
144
+ <td class="function_name">
145
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-iconv-win-codepage" title="gsf_msole_iconv_win_codepage ()">gsf_msole_iconv_win_codepage</a> <span class="c_punctuation">()</span>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td class="function_type">
150
+ <span class="returnvalue">guint</span>
151
+ </td>
152
+ <td class="function_name">
153
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-codepage-to-lid" title="gsf_msole_codepage_to_lid ()">gsf_msole_codepage_to_lid</a> <span class="c_punctuation">()</span>
154
+ </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="function_type">
158
+ <span class="returnvalue">int</span>
159
+ </td>
160
+ <td class="function_name">
161
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-lid-to-codepage" title="gsf_msole_lid_to_codepage ()">gsf_msole_lid_to_codepage</a> <span class="c_punctuation">()</span>
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td class="function_type">
166
+ <span class="returnvalue">gchar</span> *
167
+ </td>
168
+ <td class="function_name">
169
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-lid-to-codepage-str" title="gsf_msole_lid_to_codepage_str ()">gsf_msole_lid_to_codepage_str</a> <span class="c_punctuation">()</span>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td class="function_type">
174
+ <span class="returnvalue">guint</span>
175
+ </td>
176
+ <td class="function_name">
177
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-lid-for-language" title="gsf_msole_lid_for_language ()">gsf_msole_lid_for_language</a> <span class="c_punctuation">()</span>
178
+ </td>
179
+ </tr>
180
+ <tr>
181
+ <td class="function_type">
182
+ <span class="returnvalue">char</span> const *
183
+ </td>
184
+ <td class="function_name">
185
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-language-for-lid" title="gsf_msole_language_for_lid ()">gsf_msole_language_for_lid</a> <span class="c_punctuation">()</span>
186
+ </td>
187
+ </tr>
188
+ <tr>
189
+ <td class="function_type">
190
+ <span class="returnvalue">GByteArray</span> *
191
+ </td>
192
+ <td class="function_name">
193
+ <a class="link" href="gsf-MS-OLE2.html#gsf-msole-inflate" title="gsf_msole_inflate ()">gsf_msole_inflate</a> <span class="c_punctuation">()</span>
194
+ </td>
195
+ </tr>
196
+ </tbody>
197
+ </table></div>
198
+ </div>
199
+ <div class="refsect1">
200
+ <a name="gsf-MS-OLE2.properties"></a><h2>Properties</h2>
201
+ <div class="informaltable"><table border="0">
202
+ <colgroup>
203
+ <col width="150px" class="properties_type">
204
+ <col width="300px" class="properties_name">
205
+ <col width="200px" class="properties_flags">
206
+ </colgroup>
207
+ <tbody>
208
+ <tr>
209
+ <td class="property_type"><span class="type">guint</span></td>
210
+ <td class="property_name"><a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle--big-block-size" title="The “big-block-size” property">big-block-size</a></td>
211
+ <td class="property_flags">Read / Write / Construct Only</td>
212
+ </tr>
213
+ <tr>
214
+ <td class="property_type">
215
+ <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *</td>
216
+ <td class="property_name"><a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle--sink" title="The “sink” property">sink</a></td>
217
+ <td class="property_flags">Read / Write / Construct Only</td>
218
+ </tr>
219
+ <tr>
220
+ <td class="property_type"><span class="type">guint</span></td>
221
+ <td class="property_name"><a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle--small-block-size" title="The “small-block-size” property">small-block-size</a></td>
222
+ <td class="property_flags">Read / Write / Construct Only</td>
223
+ </tr>
224
+ </tbody>
225
+ </table></div>
226
+ </div>
227
+ <a name="GsfInfileMSOle"></a><a name="GsfOutfileMSOle"></a><div class="refsect1">
228
+ <a name="gsf-MS-OLE2.other"></a><h2>Types and Values</h2>
229
+ <div class="informaltable"><table width="100%" border="0">
230
+ <colgroup>
231
+ <col width="150px" class="name">
232
+ <col class="description">
233
+ </colgroup>
234
+ <tbody>
235
+ <tr>
236
+ <td class="datatype_keyword"> </td>
237
+ <td class="function_name"><a class="link" href="gsf-MS-OLE2.html#GsfInfileMSOle-struct" title="GsfInfileMSOle">GsfInfileMSOle</a></td>
238
+ </tr>
239
+ <tr>
240
+ <td class="datatype_keyword"> </td>
241
+ <td class="function_name"><a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle-struct" title="GsfOutfileMSOle">GsfOutfileMSOle</a></td>
242
+ </tr>
243
+ </tbody>
244
+ </table></div>
245
+ </div>
246
+ <div class="refsect1">
247
+ <a name="gsf-MS-OLE2.object-hierarchy"></a><h2>Object Hierarchy</h2>
248
+ <pre class="screen"> GObject
249
+ <span class="lineart">├──</span> <a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>
250
+ <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile">GsfInfile</a>
251
+ <span class="lineart">│</span> <span class="lineart">╰──</span> GsfInfileMSOle
252
+ <span class="lineart">╰──</span> <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>
253
+ <span class="lineart">╰──</span> <a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a>
254
+ <span class="lineart">╰──</span> GsfOutfileMSOle
255
+ </pre>
256
+ </div>
257
+ <div class="refsect1">
258
+ <a name="gsf-MS-OLE2.description"></a><h2>Description</h2>
259
+ <p>
260
+ </p>
261
+ </div>
262
+ <div class="refsect1">
263
+ <a name="gsf-MS-OLE2.functions_details"></a><h2>Functions</h2>
264
+ <div class="refsect2">
265
+ <a name="gsf-infile-msole-new"></a><h3>gsf_infile_msole_new ()</h3>
266
+ <pre class="programlisting"><a class="link" href="gsf-Infile-reading-structed-files.html#GsfInfile"><span class="returnvalue">GsfInfile</span></a> *
267
+ gsf_infile_msole_new (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *source</code></em>,
268
+ <em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
269
+ <p>Opens the root directory of an MS OLE file.</p>
270
+ <div class="note">This adds a reference to <em class="parameter"><code>source</code></em>.</div>
271
+ <div class="refsect3">
272
+ <a name="id-1.6.5.6.10.2.6"></a><h4>Parameters</h4>
273
+ <div class="informaltable"><table width="100%" border="0">
274
+ <colgroup>
275
+ <col width="150px" class="parameters_name">
276
+ <col class="parameters_description">
277
+ <col width="200px" class="parameters_annotations">
278
+ </colgroup>
279
+ <tbody>
280
+ <tr>
281
+ <td class="parameter_name"><p>source</p></td>
282
+ <td class="parameter_description"><p><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td>
283
+ <td class="parameter_annotations"> </td>
284
+ </tr>
285
+ <tr>
286
+ <td class="parameter_name"><p>err</p></td>
287
+ <td class="parameter_description"><p>optional place to store an error</p></td>
288
+ <td class="parameter_annotations"> </td>
289
+ </tr>
290
+ </tbody>
291
+ </table></div>
292
+ </div>
293
+ <div class="refsect3">
294
+ <a name="id-1.6.5.6.10.2.7"></a><h4>Returns</h4>
295
+ <p> the new ole file handler</p>
296
+ <p></p>
297
+ </div>
298
+ </div>
299
+ <hr>
300
+ <div class="refsect2">
301
+ <a name="gsf-infile-msole-get-class-id"></a><h3>gsf_infile_msole_get_class_id ()</h3>
302
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
303
+ gsf_infile_msole_get_class_id (<em class="parameter"><code><a class="link" href="gsf-MS-OLE2.html#GsfInfileMSOle"><span class="type">GsfInfileMSOle</span></a> const *ole</code></em>,
304
+ <em class="parameter"><code><span class="type">guint8</span> *res</code></em>);</pre>
305
+ <p>Retrieves the 16 byte indentifier (often a GUID in MS Windows apps)
306
+ stored within the directory associated with <em class="parameter"><code>ole</code></em>
307
+ and stores it in <em class="parameter"><code>res</code></em>
308
+ .</p>
309
+ <div class="refsect3">
310
+ <a name="id-1.6.5.6.10.3.5"></a><h4>Parameters</h4>
311
+ <div class="informaltable"><table width="100%" border="0">
312
+ <colgroup>
313
+ <col width="150px" class="parameters_name">
314
+ <col class="parameters_description">
315
+ <col width="200px" class="parameters_annotations">
316
+ </colgroup>
317
+ <tbody>
318
+ <tr>
319
+ <td class="parameter_name"><p>ole</p></td>
320
+ <td class="parameter_description"><p>a <a class="link" href="gsf-MS-OLE2.html#GsfInfileMSOle"><span class="type">GsfInfileMSOle</span></a></p></td>
321
+ <td class="parameter_annotations"> </td>
322
+ </tr>
323
+ <tr>
324
+ <td class="parameter_name"><p>res</p></td>
325
+ <td class="parameter_description"><p>16 byte identifier (often a GUID in MS Windows apps)</p></td>
326
+ <td class="parameter_annotations"> </td>
327
+ </tr>
328
+ </tbody>
329
+ </table></div>
330
+ </div>
331
+ <div class="refsect3">
332
+ <a name="id-1.6.5.6.10.3.6"></a><h4>Returns</h4>
333
+ <p> TRUE on success</p>
334
+ <p></p>
335
+ </div>
336
+ </div>
337
+ <hr>
338
+ <div class="refsect2">
339
+ <a name="gsf-outfile-msole-new"></a><h3>gsf_outfile_msole_new ()</h3>
340
+ <pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
341
+ gsf_outfile_msole_new (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *sink</code></em>);</pre>
342
+ <p>Creates the root directory of an MS OLE file and manages the addition of
343
+ children.</p>
344
+ <div class="note">This adds a reference to <em class="parameter"><code>sink</code></em>.</div>
345
+ <div class="refsect3">
346
+ <a name="id-1.6.5.6.10.4.6"></a><h4>Parameters</h4>
347
+ <div class="informaltable"><table width="100%" border="0">
348
+ <colgroup>
349
+ <col width="150px" class="parameters_name">
350
+ <col class="parameters_description">
351
+ <col width="200px" class="parameters_annotations">
352
+ </colgroup>
353
+ <tbody><tr>
354
+ <td class="parameter_name"><p>sink</p></td>
355
+ <td class="parameter_description"><p>a <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> to hold the OLE2 file</p></td>
356
+ <td class="parameter_annotations"> </td>
357
+ </tr></tbody>
358
+ </table></div>
359
+ </div>
360
+ <div class="refsect3">
361
+ <a name="id-1.6.5.6.10.4.7"></a><h4>Returns</h4>
362
+ <p> the new ole file handler.</p>
363
+ <p></p>
364
+ </div>
365
+ </div>
366
+ <hr>
367
+ <div class="refsect2">
368
+ <a name="gsf-outfile-msole-new-full"></a><h3>gsf_outfile_msole_new_full ()</h3>
369
+ <pre class="programlisting"><a class="link" href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="returnvalue">GsfOutfile</span></a> *
370
+ gsf_outfile_msole_new_full (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *sink</code></em>,
371
+ <em class="parameter"><code><span class="type">guint</span> bb_size</code></em>,
372
+ <em class="parameter"><code><span class="type">guint</span> sb_size</code></em>);</pre>
373
+ <p>Creates the root directory of an MS OLE file and manages the addition of
374
+ children.</p>
375
+ <div class="note">This adds a reference to <em class="parameter"><code>sink</code></em>.</div>
376
+ <div class="refsect3">
377
+ <a name="id-1.6.5.6.10.5.6"></a><h4>Parameters</h4>
378
+ <div class="informaltable"><table width="100%" border="0">
379
+ <colgroup>
380
+ <col width="150px" class="parameters_name">
381
+ <col class="parameters_description">
382
+ <col width="200px" class="parameters_annotations">
383
+ </colgroup>
384
+ <tbody>
385
+ <tr>
386
+ <td class="parameter_name"><p>sink</p></td>
387
+ <td class="parameter_description"><p>a <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> to hold the OLE2 file.</p></td>
388
+ <td class="parameter_annotations"> </td>
389
+ </tr>
390
+ <tr>
391
+ <td class="parameter_name"><p>bb_size</p></td>
392
+ <td class="parameter_description"><p>size of large blocks.</p></td>
393
+ <td class="parameter_annotations"> </td>
394
+ </tr>
395
+ <tr>
396
+ <td class="parameter_name"><p>sb_size</p></td>
397
+ <td class="parameter_description"><p>size of small blocks.</p></td>
398
+ <td class="parameter_annotations"> </td>
399
+ </tr>
400
+ </tbody>
401
+ </table></div>
402
+ </div>
403
+ <div class="refsect3">
404
+ <a name="id-1.6.5.6.10.5.7"></a><h4>Returns</h4>
405
+ <p> the new ole file handler.</p>
406
+ <p></p>
407
+ </div>
408
+ </div>
409
+ <hr>
410
+ <div class="refsect2">
411
+ <a name="gsf-outfile-msole-set-class-id"></a><h3>gsf_outfile_msole_set_class_id ()</h3>
412
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
413
+ gsf_outfile_msole_set_class_id (<em class="parameter"><code><a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle"><span class="type">GsfOutfileMSOle</span></a> *ole</code></em>,
414
+ <em class="parameter"><code><span class="type">guint8</span> const *clsid</code></em>);</pre>
415
+ <p>Write <em class="parameter"><code>clsid</code></em>
416
+ to the directory associated with <em class="parameter"><code>ole</code></em>
417
+ .</p>
418
+ <div class="refsect3">
419
+ <a name="id-1.6.5.6.10.6.5"></a><h4>Parameters</h4>
420
+ <div class="informaltable"><table width="100%" border="0">
421
+ <colgroup>
422
+ <col width="150px" class="parameters_name">
423
+ <col class="parameters_description">
424
+ <col width="200px" class="parameters_annotations">
425
+ </colgroup>
426
+ <tbody>
427
+ <tr>
428
+ <td class="parameter_name"><p>ole</p></td>
429
+ <td class="parameter_description"><p>a <a class="link" href="gsf-MS-OLE2.html#GsfOutfileMSOle"><span class="type">GsfOutfileMSOle</span></a></p></td>
430
+ <td class="parameter_annotations"> </td>
431
+ </tr>
432
+ <tr>
433
+ <td class="parameter_name"><p>clsid</p></td>
434
+ <td class="parameter_description"><p> Identifier (often a GUID in MS Windows apps). </p></td>
435
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=16]</span></td>
436
+ </tr>
437
+ </tbody>
438
+ </table></div>
439
+ </div>
440
+ <div class="refsect3">
441
+ <a name="id-1.6.5.6.10.6.6"></a><h4>Returns</h4>
442
+ <p> <code class="literal">TRUE</code> on success.</p>
443
+ <p></p>
444
+ </div>
445
+ </div>
446
+ <hr>
447
+ <div class="refsect2">
448
+ <a name="gsf-msole-metadata-read"></a><h3>gsf_msole_metadata_read ()</h3>
449
+ <pre class="programlisting"><span class="returnvalue">GError</span> *
450
+ gsf_msole_metadata_read (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *in</code></em>,
451
+ <em class="parameter"><code><a class="link" href="gsf-metadata.html#GsfDocMetaData"><span class="type">GsfDocMetaData</span></a> *accum</code></em>);</pre>
452
+ <div class="warning">
453
+ <p><code class="literal">gsf_msole_metadata_read</code> has been deprecated since version 1.14.24 and should not be used in newly-written code.</p>
454
+ <p>, use gsf_doc_meta_data_read_from_msole</p>
455
+ </div>
456
+ <p>Read a stream formated as a set of MS OLE properties from <em class="parameter"><code>in</code></em>
457
+ and store the
458
+ results in <em class="parameter"><code>accum</code></em>
459
+ .</p>
460
+ <div class="refsect3">
461
+ <a name="id-1.6.5.6.10.7.6"></a><h4>Parameters</h4>
462
+ <div class="informaltable"><table width="100%" border="0">
463
+ <colgroup>
464
+ <col width="150px" class="parameters_name">
465
+ <col class="parameters_description">
466
+ <col width="200px" class="parameters_annotations">
467
+ </colgroup>
468
+ <tbody>
469
+ <tr>
470
+ <td class="parameter_name"><p>in</p></td>
471
+ <td class="parameter_description"><p><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a></p></td>
472
+ <td class="parameter_annotations"> </td>
473
+ </tr>
474
+ <tr>
475
+ <td class="parameter_name"><p>accum</p></td>
476
+ <td class="parameter_description"><p><a class="link" href="gsf-metadata.html#GsfDocMetaData"><span class="type">GsfDocMetaData</span></a></p></td>
477
+ <td class="parameter_annotations"> </td>
478
+ </tr>
479
+ </tbody>
480
+ </table></div>
481
+ </div>
482
+ <div class="refsect3">
483
+ <a name="id-1.6.5.6.10.7.7"></a><h4>Returns</h4>
484
+ <p> A <span class="type">GError</span> if there was an error. </p>
485
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
486
+ </div>
487
+ </div>
488
+ <hr>
489
+ <div class="refsect2">
490
+ <a name="gsf-msole-metadata-write"></a><h3>gsf_msole_metadata_write ()</h3>
491
+ <pre class="programlisting"><span class="returnvalue">gboolean</span>
492
+ gsf_msole_metadata_write (<em class="parameter"><code><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *out</code></em>,
493
+ <em class="parameter"><code><a class="link" href="gsf-metadata.html#GsfDocMetaData"><span class="type">GsfDocMetaData</span></a> const *meta_data</code></em>,
494
+ <em class="parameter"><code><span class="type">gboolean</span> doc_not_component</code></em>);</pre>
495
+ <div class="warning">
496
+ <p><code class="literal">gsf_msole_metadata_write</code> has been deprecated since version 1.14.24 and should not be used in newly-written code.</p>
497
+ <p>, use gsf_doc_meta_data_write_to_msole</p>
498
+ </div>
499
+ <div class="refsect3">
500
+ <a name="id-1.6.5.6.10.8.5"></a><h4>Parameters</h4>
501
+ <div class="informaltable"><table width="100%" border="0">
502
+ <colgroup>
503
+ <col width="150px" class="parameters_name">
504
+ <col class="parameters_description">
505
+ <col width="200px" class="parameters_annotations">
506
+ </colgroup>
507
+ <tbody>
508
+ <tr>
509
+ <td class="parameter_name"><p>out</p></td>
510
+ <td class="parameter_description"><p><a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a></p></td>
511
+ <td class="parameter_annotations"> </td>
512
+ </tr>
513
+ <tr>
514
+ <td class="parameter_name"><p>meta_data</p></td>
515
+ <td class="parameter_description"><p><a class="link" href="gsf-metadata.html#GsfDocMetaData"><span class="type">GsfDocMetaData</span></a></p></td>
516
+ <td class="parameter_annotations"> </td>
517
+ </tr>
518
+ <tr>
519
+ <td class="parameter_name"><p>doc_not_component</p></td>
520
+ <td class="parameter_description"><p>a kludge to differentiate DocumentSummary from Summary</p></td>
521
+ <td class="parameter_annotations"> </td>
522
+ </tr>
523
+ </tbody>
524
+ </table></div>
525
+ </div>
526
+ <div class="refsect3">
527
+ <a name="id-1.6.5.6.10.8.6"></a><h4>Returns</h4>
528
+ <p> <code class="literal">TRUE</code> on success;</p>
529
+ <p></p>
530
+ </div>
531
+ </div>
532
+ <hr>
533
+ <div class="refsect2">
534
+ <a name="gsf-msole-iconv-open-codepages-for-export"></a><h3>gsf_msole_iconv_open_codepages_for_export ()</h3>
535
+ <pre class="programlisting"><span class="returnvalue">GIConv</span>
536
+ gsf_msole_iconv_open_codepages_for_export
537
+ (<em class="parameter"><code><span class="type">int</span> codepage_to</code></em>,
538
+ <em class="parameter"><code><span class="type">char</span> const *from</code></em>);</pre>
539
+ <p>NOTE: skipped since GIConv is not exported to introspection.</p>
540
+ <div class="refsect3">
541
+ <a name="id-1.6.5.6.10.9.5"></a><h4>Parameters</h4>
542
+ <div class="informaltable"><table width="100%" border="0">
543
+ <colgroup>
544
+ <col width="150px" class="parameters_name">
545
+ <col class="parameters_description">
546
+ <col width="200px" class="parameters_annotations">
547
+ </colgroup>
548
+ <tbody>
549
+ <tr>
550
+ <td class="parameter_name"><p>codepage_to</p></td>
551
+ <td class="parameter_description"><p>the target code page.</p></td>
552
+ <td class="parameter_annotations"> </td>
553
+ </tr>
554
+ <tr>
555
+ <td class="parameter_name"><p>from</p></td>
556
+ <td class="parameter_description"><p>the source encoding.</p></td>
557
+ <td class="parameter_annotations"> </td>
558
+ </tr>
559
+ </tbody>
560
+ </table></div>
561
+ </div>
562
+ <div class="refsect3">
563
+ <a name="id-1.6.5.6.10.9.6"></a><h4>Returns</h4>
564
+ <p> an iconv converter to go from utf8 -&gt; to our best guess at a useful
565
+ windows codepage.</p>
566
+ <p></p>
567
+ </div>
568
+ </div>
569
+ <hr>
570
+ <div class="refsect2">
571
+ <a name="gsf-msole-iconv-open-codepage-for-import"></a><h3>gsf_msole_iconv_open_codepage_for_import ()</h3>
572
+ <pre class="programlisting"><span class="returnvalue">GIConv</span>
573
+ gsf_msole_iconv_open_codepage_for_import
574
+ (<em class="parameter"><code><span class="type">char</span> const *to</code></em>,
575
+ <em class="parameter"><code><span class="type">int</span> codepage</code></em>);</pre>
576
+ <p>NOTE: skipped since GIConv is not exported to introspection.</p>
577
+ <div class="refsect3">
578
+ <a name="id-1.6.5.6.10.10.5"></a><h4>Parameters</h4>
579
+ <div class="informaltable"><table width="100%" border="0">
580
+ <colgroup>
581
+ <col width="150px" class="parameters_name">
582
+ <col class="parameters_description">
583
+ <col width="200px" class="parameters_annotations">
584
+ </colgroup>
585
+ <tbody>
586
+ <tr>
587
+ <td class="parameter_name"><p>to</p></td>
588
+ <td class="parameter_description"><p>the target encoding.</p></td>
589
+ <td class="parameter_annotations"> </td>
590
+ </tr>
591
+ <tr>
592
+ <td class="parameter_name"><p>codepage</p></td>
593
+ <td class="parameter_description"><p>the source code page.</p></td>
594
+ <td class="parameter_annotations"> </td>
595
+ </tr>
596
+ </tbody>
597
+ </table></div>
598
+ </div>
599
+ <div class="refsect3">
600
+ <a name="id-1.6.5.6.10.10.6"></a><h4>Returns</h4>
601
+ <p> an iconv converter for <em class="parameter"><code>codepage</code></em>
602
+ -&gt; utf8.</p>
603
+ <p></p>
604
+ </div>
605
+ </div>
606
+ <hr>
607
+ <div class="refsect2">
608
+ <a name="gsf-msole-iconv-open-for-export"></a><h3>gsf_msole_iconv_open_for_export ()</h3>
609
+ <pre class="programlisting"><span class="returnvalue">GIConv</span>
610
+ gsf_msole_iconv_open_for_export (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
611
+ <p>NOTE: skipped since GIConv is not exported to introspection.</p>
612
+ <div class="refsect3">
613
+ <a name="id-1.6.5.6.10.11.5"></a><h4>Returns</h4>
614
+ <p> an iconv convert to go from utf8 -&gt; to our best guess at a useful
615
+ windows codepage.</p>
616
+ <p></p>
617
+ </div>
618
+ </div>
619
+ <hr>
620
+ <div class="refsect2">
621
+ <a name="gsf-msole-iconv-open-codepage-for-export"></a><h3>gsf_msole_iconv_open_codepage_for_export ()</h3>
622
+ <pre class="programlisting"><span class="returnvalue">GIConv</span>
623
+ gsf_msole_iconv_open_codepage_for_export
624
+ (<em class="parameter"><code><span class="type">int</span> codepage_to</code></em>);</pre>
625
+ <p>NOTE: skipped since GIConv is not exported to introspection.</p>
626
+ <div class="refsect3">
627
+ <a name="id-1.6.5.6.10.12.5"></a><h4>Parameters</h4>
628
+ <div class="informaltable"><table width="100%" border="0">
629
+ <colgroup>
630
+ <col width="150px" class="parameters_name">
631
+ <col class="parameters_description">
632
+ <col width="200px" class="parameters_annotations">
633
+ </colgroup>
634
+ <tbody><tr>
635
+ <td class="parameter_name"><p>codepage_to</p></td>
636
+ <td class="parameter_description"><p>the target code page.</p></td>
637
+ <td class="parameter_annotations"> </td>
638
+ </tr></tbody>
639
+ </table></div>
640
+ </div>
641
+ <div class="refsect3">
642
+ <a name="id-1.6.5.6.10.12.6"></a><h4>Returns</h4>
643
+ <p> an iconv converter to go from utf8 -&gt; to our best guess at a useful
644
+ windows codepage.</p>
645
+ <p></p>
646
+ </div>
647
+ </div>
648
+ <hr>
649
+ <div class="refsect2">
650
+ <a name="gsf-msole-iconv-open-for-import"></a><h3>gsf_msole_iconv_open_for_import ()</h3>
651
+ <pre class="programlisting"><span class="returnvalue">GIConv</span>
652
+ gsf_msole_iconv_open_for_import (<em class="parameter"><code><span class="type">int</span> codepage</code></em>);</pre>
653
+ <p>NOTE: skipped since GIConv is not exported to introspection.</p>
654
+ <div class="refsect3">
655
+ <a name="id-1.6.5.6.10.13.5"></a><h4>Parameters</h4>
656
+ <div class="informaltable"><table width="100%" border="0">
657
+ <colgroup>
658
+ <col width="150px" class="parameters_name">
659
+ <col class="parameters_description">
660
+ <col width="200px" class="parameters_annotations">
661
+ </colgroup>
662
+ <tbody><tr>
663
+ <td class="parameter_name"><p>codepage</p></td>
664
+ <td class="parameter_description"><p>the source code page.</p></td>
665
+ <td class="parameter_annotations"> </td>
666
+ </tr></tbody>
667
+ </table></div>
668
+ </div>
669
+ <div class="refsect3">
670
+ <a name="id-1.6.5.6.10.13.6"></a><h4>Returns</h4>
671
+ <p> an iconv converter for single byte encodings <em class="parameter"><code>codepage</code></em>
672
+ -&gt; utf8.
673
+ Attempt to handle the semantics of a specification for multibyte encodings
674
+ since this is only supposed to be used for single bytes.</p>
675
+ <p></p>
676
+ </div>
677
+ </div>
678
+ <hr>
679
+ <div class="refsect2">
680
+ <a name="gsf-msole-iconv-win-codepage"></a><h3>gsf_msole_iconv_win_codepage ()</h3>
681
+ <pre class="programlisting"><span class="returnvalue">int</span>
682
+ gsf_msole_iconv_win_codepage (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
683
+ <div class="refsect3">
684
+ <a name="id-1.6.5.6.10.14.4"></a><h4>Returns</h4>
685
+ <p> our best guess at the applicable windows code page based on an
686
+ environment variable or the current locale.</p>
687
+ <p></p>
688
+ </div>
689
+ </div>
690
+ <hr>
691
+ <div class="refsect2">
692
+ <a name="gsf-msole-codepage-to-lid"></a><h3>gsf_msole_codepage_to_lid ()</h3>
693
+ <pre class="programlisting"><span class="returnvalue">guint</span>
694
+ gsf_msole_codepage_to_lid (<em class="parameter"><code><span class="type">int</span> codepage</code></em>);</pre>
695
+ <p>
696
+ </p>
697
+ <div class="refsect3">
698
+ <a name="id-1.6.5.6.10.15.5"></a><h4>Returns</h4>
699
+ <p></p>
700
+ </div>
701
+ </div>
702
+ <hr>
703
+ <div class="refsect2">
704
+ <a name="gsf-msole-lid-to-codepage"></a><h3>gsf_msole_lid_to_codepage ()</h3>
705
+ <pre class="programlisting"><span class="returnvalue">int</span>
706
+ gsf_msole_lid_to_codepage (<em class="parameter"><code><span class="type">guint</span> lid</code></em>);</pre>
707
+ <div class="refsect3">
708
+ <a name="id-1.6.5.6.10.16.4"></a><h4>Parameters</h4>
709
+ <div class="informaltable"><table width="100%" border="0">
710
+ <colgroup>
711
+ <col width="150px" class="parameters_name">
712
+ <col class="parameters_description">
713
+ <col width="200px" class="parameters_annotations">
714
+ </colgroup>
715
+ <tbody><tr>
716
+ <td class="parameter_name"><p>lid</p></td>
717
+ <td class="parameter_description"><p>numerical language id</p></td>
718
+ <td class="parameter_annotations"> </td>
719
+ </tr></tbody>
720
+ </table></div>
721
+ </div>
722
+ <div class="refsect3">
723
+ <a name="id-1.6.5.6.10.16.5"></a><h4>Returns</h4>
724
+ <p> our best guess at the codepage for the given language id</p>
725
+ <p></p>
726
+ </div>
727
+ </div>
728
+ <hr>
729
+ <div class="refsect2">
730
+ <a name="gsf-msole-lid-to-codepage-str"></a><h3>gsf_msole_lid_to_codepage_str ()</h3>
731
+ <pre class="programlisting"><span class="returnvalue">gchar</span> *
732
+ gsf_msole_lid_to_codepage_str (<em class="parameter"><code><span class="type">guint</span> lid</code></em>);</pre>
733
+ <div class="refsect3">
734
+ <a name="id-1.6.5.6.10.17.4"></a><h4>Parameters</h4>
735
+ <div class="informaltable"><table width="100%" border="0">
736
+ <colgroup>
737
+ <col width="150px" class="parameters_name">
738
+ <col class="parameters_description">
739
+ <col width="200px" class="parameters_annotations">
740
+ </colgroup>
741
+ <tbody><tr>
742
+ <td class="parameter_name"><p>lid</p></td>
743
+ <td class="parameter_description"><p>numerical language id</p></td>
744
+ <td class="parameter_annotations"> </td>
745
+ </tr></tbody>
746
+ </table></div>
747
+ </div>
748
+ <div class="refsect3">
749
+ <a name="id-1.6.5.6.10.17.5"></a><h4>Returns</h4>
750
+ <p> the Iconv codepage string for the given
751
+ LID. </p>
752
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
753
+ </div>
754
+ </div>
755
+ <hr>
756
+ <div class="refsect2">
757
+ <a name="gsf-msole-lid-for-language"></a><h3>gsf_msole_lid_for_language ()</h3>
758
+ <pre class="programlisting"><span class="returnvalue">guint</span>
759
+ gsf_msole_lid_for_language (<em class="parameter"><code><span class="type">char</span> const *lang</code></em>);</pre>
760
+ <div class="refsect3">
761
+ <a name="id-1.6.5.6.10.18.4"></a><h4>Parameters</h4>
762
+ <div class="informaltable"><table width="100%" border="0">
763
+ <colgroup>
764
+ <col width="150px" class="parameters_name">
765
+ <col class="parameters_description">
766
+ <col width="200px" class="parameters_annotations">
767
+ </colgroup>
768
+ <tbody><tr>
769
+ <td class="parameter_name"><p>lang</p></td>
770
+ <td class="parameter_description"><p> Language id, i.e., locale name. </p></td>
771
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
772
+ </tr></tbody>
773
+ </table></div>
774
+ </div>
775
+ <div class="refsect3">
776
+ <a name="id-1.6.5.6.10.18.5"></a><h4>Returns</h4>
777
+ <p> the LID (Language Identifier) for the input language.
778
+ If lang is <code class="literal">NULL</code>, return 0x0400 ("-none-"), and not 0x0000 ("no proofing")</p>
779
+ <p></p>
780
+ </div>
781
+ </div>
782
+ <hr>
783
+ <div class="refsect2">
784
+ <a name="gsf-msole-language-for-lid"></a><h3>gsf_msole_language_for_lid ()</h3>
785
+ <pre class="programlisting"><span class="returnvalue">char</span> const *
786
+ gsf_msole_language_for_lid (<em class="parameter"><code><span class="type">guint</span> lid</code></em>);</pre>
787
+ <div class="refsect3">
788
+ <a name="id-1.6.5.6.10.19.4"></a><h4>Parameters</h4>
789
+ <div class="informaltable"><table width="100%" border="0">
790
+ <colgroup>
791
+ <col width="150px" class="parameters_name">
792
+ <col class="parameters_description">
793
+ <col width="200px" class="parameters_annotations">
794
+ </colgroup>
795
+ <tbody><tr>
796
+ <td class="parameter_name"><p>lid</p></td>
797
+ <td class="parameter_description"><p>numerical language id</p></td>
798
+ <td class="parameter_annotations"> </td>
799
+ </tr></tbody>
800
+ </table></div>
801
+ </div>
802
+ <div class="refsect3">
803
+ <a name="id-1.6.5.6.10.19.5"></a><h4>Returns</h4>
804
+ <p> the xx_YY style string (can be just xx or
805
+ xxx) for the given LID. If the LID is not found, is set to 0x0400,
806
+ or is set to 0x0000, will return "-none-". </p>
807
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
808
+ </div>
809
+ </div>
810
+ <hr>
811
+ <div class="refsect2">
812
+ <a name="gsf-msole-inflate"></a><h3>gsf_msole_inflate ()</h3>
813
+ <pre class="programlisting"><span class="returnvalue">GByteArray</span> *
814
+ gsf_msole_inflate (<em class="parameter"><code><a class="link" href="gsf-Input-from-unstructured-files.html#GsfInput"><span class="type">GsfInput</span></a> *input</code></em>,
815
+ <em class="parameter"><code><a class="link" href="gsf-utils.html#gsf-off-t" title="gsf_off_t"><span class="type">gsf_off_t</span></a> offset</code></em>);</pre>
816
+ <p>Decompresses an LZ compressed stream.</p>
817
+ <div class="refsect3">
818
+ <a name="id-1.6.5.6.10.20.5"></a><h4>Parameters</h4>
819
+ <div class="informaltable"><table width="100%" border="0">
820
+ <colgroup>
821
+ <col width="150px" class="parameters_name">
822
+ <col class="parameters_description">
823
+ <col width="200px" class="parameters_annotations">
824
+ </colgroup>
825
+ <tbody>
826
+ <tr>
827
+ <td class="parameter_name"><p>input</p></td>
828
+ <td class="parameter_description"><p>stream to read from</p></td>
829
+ <td class="parameter_annotations"> </td>
830
+ </tr>
831
+ <tr>
832
+ <td class="parameter_name"><p>offset</p></td>
833
+ <td class="parameter_description"><p>offset into it for start byte of compresse stream</p></td>
834
+ <td class="parameter_annotations"> </td>
835
+ </tr>
836
+ </tbody>
837
+ </table></div>
838
+ </div>
839
+ <div class="refsect3">
840
+ <a name="id-1.6.5.6.10.20.6"></a><h4>Returns</h4>
841
+ <p> A GByteArray that the caller is responsible for freeing. </p>
842
+ <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
843
+ </div>
844
+ </div>
845
+ </div>
846
+ <div class="refsect1">
847
+ <a name="gsf-MS-OLE2.other_details"></a><h2>Types and Values</h2>
848
+ <div class="refsect2">
849
+ <a name="GsfInfileMSOle-struct"></a><h3>GsfInfileMSOle</h3>
850
+ <pre class="programlisting">typedef struct _GsfInfileMSOle GsfInfileMSOle;</pre>
851
+ <p>
852
+ </p>
853
+ </div>
854
+ <hr>
855
+ <div class="refsect2">
856
+ <a name="GsfOutfileMSOle-struct"></a><h3>GsfOutfileMSOle</h3>
857
+ <pre class="programlisting">typedef struct _GsfOutfileMSOle GsfOutfileMSOle;</pre>
858
+ <p>
859
+ </p>
860
+ </div>
861
+ </div>
862
+ <div class="refsect1">
863
+ <a name="gsf-MS-OLE2.property-details"></a><h2>Property Details</h2>
864
+ <div class="refsect2">
865
+ <a name="GsfOutfileMSOle--big-block-size"></a><h3>The <code class="literal">“big-block-size”</code> property</h3>
866
+ <pre class="programlisting"> “big-block-size” <span class="type">guint</span></pre>
867
+ <p>The size of the OLE's big blocks.</p>
868
+ <p>Flags: Read / Write / Construct Only</p>
869
+ <p>Allowed values: [128,4096]</p>
870
+ <p>Default value: 512</p>
871
+ </div>
872
+ <hr>
873
+ <div class="refsect2">
874
+ <a name="GsfOutfileMSOle--sink"></a><h3>The <code class="literal">“sink”</code> property</h3>
875
+ <pre class="programlisting"> “sink” <a class="link" href="gsf-Output-to-unstructured-files.html#GsfOutput"><span class="type">GsfOutput</span></a> *</pre>
876
+ <p>The destination for writes.</p>
877
+ <p>Flags: Read / Write / Construct Only</p>
878
+ </div>
879
+ <hr>
880
+ <div class="refsect2">
881
+ <a name="GsfOutfileMSOle--small-block-size"></a><h3>The <code class="literal">“small-block-size”</code> property</h3>
882
+ <pre class="programlisting"> “small-block-size” <span class="type">guint</span></pre>
883
+ <p>The size of the OLE's small blocks.</p>
884
+ <p>Flags: Read / Write / Construct Only</p>
885
+ <p>Allowed values: [8,4096]</p>
886
+ <p>Default value: 64</p>
887
+ </div>
888
+ </div>
889
+ </div>
890
+ <div class="footer">
891
+ <hr>
892
+ Generated by GTK-Doc V1.20</div>
893
+ </body>
894
+ </html>