~ubuntu-branches/ubuntu/precise/poppler/precise-security

« back to all changes in this revision

Viewing changes to glib/reference/html/PopplerAttachment.html

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2011-03-08 10:46:40 UTC
  • mfrom: (1.5.5) (4.3.2 experimental)
  • Revision ID: package-import@ubuntu.com-20110308104640-de1rwygu2cx2t0yt
Tags: 0.16.3-1ubuntu1
* Merge with Debian experimental. Remaining Ubuntu changes:
  - debian/control: Lower poppler-data to Suggests: (handled by
    language-selector).
  - Add 10_fix-a4-page-shift-on-brother-ps-printers.patch: Fix page shifts
    when printing on A4 paper with Brother PostScript printers.
    (LP #293832)
  - debian/control, debian/rules: Disable OpenJPEG, it's in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch01.html" title="Poppler">
9
9
<link rel="prev" href="poppler-PopplerAction.html" title="PopplerAction">
10
10
<link rel="next" href="PopplerFormField.html" title="PoppplerFormField">
11
 
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
28
28
                  <a href="#PopplerAttachment.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
29
</td></tr>
30
30
</table>
31
 
<div class="refentry" title="PopplerAttachment">
 
31
<div class="refentry">
32
32
<a name="PopplerAttachment"></a><div class="titlepage"></div>
33
33
<div class="refnamediv"><table width="100%"><tr>
34
34
<td valign="top">
37
37
</td>
38
38
<td valign="top" align="right"></td>
39
39
</tr></table></div>
40
 
<div class="refsynopsisdiv" title="Synopsis">
 
40
<div class="refsynopsisdiv">
41
41
<a name="PopplerAttachment.synopsis"></a><h2>Synopsis</h2>
42
42
<pre class="synopsis">
43
43
#include &lt;poppler.h&gt;
56
56
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
57
57
</pre>
58
58
</div>
59
 
<div class="refsect1" title="Object Hierarchy">
 
59
<div class="refsect1">
60
60
<a name="PopplerAttachment.object-hierarchy"></a><h2>Object Hierarchy</h2>
61
61
<pre class="synopsis">
62
62
  GObject
63
63
   +----PopplerAttachment
64
64
</pre>
65
65
</div>
66
 
<div class="refsect1" title="Description">
 
66
<div class="refsect1">
67
67
<a name="PopplerAttachment.description"></a><h2>Description</h2>
68
68
</div>
69
 
<div class="refsect1" title="Details">
 
69
<div class="refsect1">
70
70
<a name="PopplerAttachment.details"></a><h2>Details</h2>
71
 
<div class="refsect2" title="PopplerAttachment">
 
71
<div class="refsect2">
72
72
<a name="PopplerAttachment-struct"></a><h3>PopplerAttachment</h3>
73
73
<pre class="programlisting">typedef struct _PopplerAttachment PopplerAttachment;</pre>
74
74
</div>
75
75
<hr>
76
 
<div class="refsect2" title="PopplerAttachmentSaveFunc ()">
 
76
<div class="refsect2">
77
77
<a name="PopplerAttachmentSaveFunc"></a><h3>PopplerAttachmentSaveFunc ()</h3>
78
78
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*PopplerAttachmentSaveFunc)        (<em class="parameter"><code>const <span class="type">gchar</span> *buf</code></em>,
79
79
                                                         <em class="parameter"><code><span class="type">gsize</span> count</code></em>,
95
95
<tbody>
96
96
<tr>
97
97
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
98
 
<td>buffer containing bytes to be written.
99
 
</td>
 
98
<td>buffer containing bytes to be written.</td>
100
99
</tr>
101
100
<tr>
102
101
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
103
 
<td>number of bytes in <em class="parameter"><code>buf</code></em>.
104
 
</td>
 
102
<td>number of bytes in <em class="parameter"><code>buf</code></em>.</td>
105
103
</tr>
106
104
<tr>
107
105
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
110
108
</tr>
111
109
<tr>
112
110
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
113
 
<td>GError to set on error, or NULL
114
 
</td>
 
111
<td>GError to set on error, or NULL</td>
115
112
</tr>
116
113
</tbody>
117
114
</table></div>
118
115
</div>
119
116
<hr>
120
 
<div class="refsect2" title="poppler_attachment_save ()">
 
117
<div class="refsect2">
121
118
<a name="poppler-attachment-save"></a><h3>poppler_attachment_save ()</h3>
122
119
<pre class="programlisting"><span class="returnvalue">gboolean</span>            poppler_attachment_save             (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
123
120
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
132
129
<tbody>
133
130
<tr>
134
131
<td><p><span class="term"><em class="parameter"><code>attachment</code></em> :</span></p></td>
135
 
<td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.
136
 
</td>
 
132
<td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.</td>
137
133
</tr>
138
134
<tr>
139
135
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
140
 
<td>name of file to save
141
 
</td>
 
136
<td>name of file to save</td>
142
137
</tr>
143
138
<tr>
144
139
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
145
 
<td> return location for error, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
140
<td>return location for error, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
146
141
</td>
147
142
</tr>
148
143
<tr>
149
144
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
150
 
<td> <code class="literal">TRUE</code>, if the file successfully saved
151
 
</td>
 
145
<td>
 
146
<code class="literal">TRUE</code>, if the file successfully saved</td>
152
147
</tr>
153
148
</tbody>
154
149
</table></div>
155
150
</div>
156
151
<hr>
157
 
<div class="refsect2" title="poppler_attachment_save_to_callback ()">
 
152
<div class="refsect2">
158
153
<a name="poppler-attachment-save-to-callback"></a><h3>poppler_attachment_save_to_callback ()</h3>
159
154
<pre class="programlisting"><span class="returnvalue">gboolean</span>            poppler_attachment_save_to_callback (<em class="parameter"><code><a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a> *attachment</code></em>,
160
155
                                                         <em class="parameter"><code><a class="link" href="PopplerAttachment.html#PopplerAttachmentSaveFunc" title="PopplerAttachmentSaveFunc ()"><span class="type">PopplerAttachmentSaveFunc</span></a> save_func</code></em>,
172
167
<tbody>
173
168
<tr>
174
169
<td><p><span class="term"><em class="parameter"><code>attachment</code></em> :</span></p></td>
175
 
<td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.
176
 
</td>
 
170
<td>A <a class="link" href="PopplerAttachment.html" title="PopplerAttachment"><span class="type">PopplerAttachment</span></a>.</td>
177
171
</tr>
178
172
<tr>
179
173
<td><p><span class="term"><em class="parameter"><code>save_func</code></em> :</span></p></td>
180
 
<td>a function that is called to save each block of data that the save routine generates.
 
174
<td>a function that is called to save each block of data that the save routine generates. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
181
175
</td>
182
176
</tr>
183
177
<tr>
184
178
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
185
 
<td>user data to pass to the save function.
186
 
</td>
 
179
<td>user data to pass to the save function.</td>
187
180
</tr>
188
181
<tr>
189
182
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
190
 
<td> return location for error, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
183
<td>return location for error, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
191
184
</td>
192
185
</tr>
193
186
<tr>
194
187
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
195
 
<td> <code class="literal">TRUE</code>, if the save successfully completed
196
 
</td>
 
188
<td>
 
189
<code class="literal">TRUE</code>, if the save successfully completed</td>
197
190
</tr>
198
191
</tbody>
199
192
</table></div>
202
195
</div>
203
196
<div class="footer">
204
197
<hr>
205
 
          Generated by GTK-Doc V1.15</div>
 
198
          Generated by GTK-Doc V1.17</div>
206
199
</body>
207
200
</html>
 
 
b'\\ No newline at end of file'