mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-06-07 22:14:22 +02:00
Update docos.
This commit is contained in:
parent
e6588d3960
commit
25f5e28e56
70
doc/pdfio.3
70
doc/pdfio.3
@ -1,4 +1,4 @@
|
|||||||
.TH pdfio 3 "pdf read/write library" "2025-04-12" "pdf read/write library"
|
.TH pdfio 3 "pdf read/write library" "2025-04-24" "pdf read/write library"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
pdfio \- pdf read/write library
|
pdfio \- pdf read/write library
|
||||||
.SH Introduction
|
.SH Introduction
|
||||||
@ -325,7 +325,7 @@ where the five arguments to the function are the filename ("myinputfile.pdf"), a
|
|||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
The error callback is called for both errors and warnings and accepts the pdfio_file_t pointer, a message string, and the callback pointer value, for example:
|
The error callback is called for both errors and warnings and accepts the pdfio_file_t pointer, a message string, and the callback pointer value. It returns true to continue processing the file or false to stop, for example:
|
||||||
.nf
|
.nf
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -335,12 +335,15 @@ The error callback is called for both errors and warnings and accepts the pdfio_
|
|||||||
|
|
||||||
fprintf(stderr, "%s: %s\\n", pdfioFileGetName(pdf), message);
|
fprintf(stderr, "%s: %s\\n", pdfioFileGetName(pdf), message);
|
||||||
|
|
||||||
// Return false to treat warnings as errors
|
// Return true for warning messages (continue) and false for errors (stop)
|
||||||
return (false);
|
return (!strncmp(message, "WARNING:", 8));
|
||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
The default error callback (NULL) does the equivalent of the above.
|
The default error callback (NULL) does the equivalent of the above.
|
||||||
|
.PP
|
||||||
|
Note: Many errors are unrecoverable, so PDFio ignores the return value from the error callback and always stops processing the PDF file. Warning messages start with the prefix "WARNING:" while errors have no prefix.
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
Each PDF file contains one or more pages. The pdfioFileGetNumPages function returns the number of pages in the file while the pdfioFileGetPage function gets the specified page in the PDF file:
|
Each PDF file contains one or more pages. The pdfioFileGetNumPages function returns the number of pages in the file while the pdfioFileGetPage function gets the specified page in the PDF file:
|
||||||
.nf
|
.nf
|
||||||
@ -2477,7 +2480,7 @@ PDFIO_ENCRYPTION_RC4_128
|
|||||||
.TP 5
|
.TP 5
|
||||||
PDFIO_ENCRYPTION_RC4_40
|
PDFIO_ENCRYPTION_RC4_40
|
||||||
.br
|
.br
|
||||||
40-bit RC4 encryption (PDF 1.3)
|
40-bit RC4 encryption (PDF 1.3, reading only)
|
||||||
.SS pdfio_filter_e
|
.SS pdfio_filter_e
|
||||||
Compression/decompression filters for streams
|
Compression/decompression filters for streams
|
||||||
.TP 5
|
.TP 5
|
||||||
@ -2947,6 +2950,8 @@ bool pdfioArrayRemove (
|
|||||||
size_t n
|
size_t n
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioContentClip
|
.SS pdfioContentClip
|
||||||
Clip output to the current path.
|
Clip output to the current path.
|
||||||
.PP
|
.PP
|
||||||
@ -3083,6 +3088,8 @@ bool pdfioContentPathEnd (
|
|||||||
pdfio_stream_t *st
|
pdfio_stream_t *st
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioContentPathLineTo
|
.SS pdfioContentPathLineTo
|
||||||
Add a straight line to the current path.
|
Add a straight line to the current path.
|
||||||
.PP
|
.PP
|
||||||
@ -3423,6 +3430,8 @@ double pdfioContentTextMeasure (
|
|||||||
This function measures the given text string "s" and returns its width based
|
This function measures the given text string "s" and returns its width based
|
||||||
on "size". The text string must always use the UTF-8 (Unicode) encoding but
|
on "size". The text string must always use the UTF-8 (Unicode) encoding but
|
||||||
any control characters (such as newlines) are ignored.
|
any control characters (such as newlines) are ignored.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioContentTextMoveLine
|
.SS pdfioContentTextMoveLine
|
||||||
Move to the next line and offset.
|
Move to the next line and offset.
|
||||||
.PP
|
.PP
|
||||||
@ -3451,6 +3460,8 @@ bool pdfioContentTextNewLine (
|
|||||||
pdfio_stream_t *st
|
pdfio_stream_t *st
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioContentTextNewLineShow
|
.SS pdfioContentTextNewLineShow
|
||||||
Move to the next line and show text.
|
Move to the next line and show text.
|
||||||
.PP
|
.PP
|
||||||
@ -3468,6 +3479,8 @@ This function moves to the next line and then shows some text with optional
|
|||||||
word and character spacing in a PDF content stream. The "unicode" argument
|
word and character spacing in a PDF content stream. The "unicode" argument
|
||||||
specifies that the current font maps to full Unicode. The "s" argument
|
specifies that the current font maps to full Unicode. The "s" argument
|
||||||
specifies a UTF-8 encoded string.
|
specifies a UTF-8 encoded string.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioContentTextNewLineShowf
|
.SS pdfioContentTextNewLineShowf
|
||||||
Show formatted text.
|
Show formatted text.
|
||||||
.PP
|
.PP
|
||||||
@ -3486,6 +3499,8 @@ This function moves to the next line and shows some formatted text with
|
|||||||
optional word and character spacing in a PDF content stream. The "unicode"
|
optional word and character spacing in a PDF content stream. The "unicode"
|
||||||
argument specifies that the current font maps to full Unicode. The "format"
|
argument specifies that the current font maps to full Unicode. The "format"
|
||||||
argument specifies a UTF-8 encoded \fBprintf\fR-style format string.
|
argument specifies a UTF-8 encoded \fBprintf\fR-style format string.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioContentTextShow
|
.SS pdfioContentTextShow
|
||||||
Show text.
|
Show text.
|
||||||
.PP
|
.PP
|
||||||
@ -3536,6 +3551,8 @@ bool pdfioDictClear (
|
|||||||
const char *key
|
const char *key
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioDictCopy
|
.SS pdfioDictCopy
|
||||||
Copy a dictionary to a PDF file.
|
Copy a dictionary to a PDF file.
|
||||||
.PP
|
.PP
|
||||||
@ -3608,6 +3625,8 @@ const char * pdfioDictGetKey (
|
|||||||
size_t n
|
size_t n
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioDictGetName
|
.SS pdfioDictGetName
|
||||||
Get a key name value from a dictionary.
|
Get a key name value from a dictionary.
|
||||||
.PP
|
.PP
|
||||||
@ -3625,6 +3644,8 @@ size_t pdfioDictGetNumPairs (
|
|||||||
pdfio_dict_t *dict
|
pdfio_dict_t *dict
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioDictGetNumber
|
.SS pdfioDictGetNumber
|
||||||
Get a key number value from a dictionary.
|
Get a key number value from a dictionary.
|
||||||
.PP
|
.PP
|
||||||
@ -3697,6 +3718,8 @@ function "cb":
|
|||||||
|
|
||||||
The iteration continues as long as the callback returns \fBtrue\fR or all keys
|
The iteration continues as long as the callback returns \fBtrue\fR or all keys
|
||||||
have been iterated.
|
have been iterated.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioDictSetArray
|
.SS pdfioDictSetArray
|
||||||
Set a key array in a dictionary.
|
Set a key array in a dictionary.
|
||||||
.PP
|
.PP
|
||||||
@ -3852,8 +3875,9 @@ CropBox for pages in the PDF file - if \fBNULL\fR then a default "Universal" siz
|
|||||||
of 8.27x11in (the intersection of US Letter and ISO A4) is used.
|
of 8.27x11in (the intersection of US Letter and ISO A4) is used.
|
||||||
.PP
|
.PP
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if \fBNULL\fR the default error handler is used that
|
and its data pointer - if \fBNULL\fR then the default error handler is used that
|
||||||
writes error messages to \fBstderr\fR.
|
writes error messages to \fBstderr\fR. The error handler callback should return
|
||||||
|
\fBtrue\fR to continue writing the PDF file or \fBfalse\fR to stop.
|
||||||
.SS pdfioFileCreateArrayObj
|
.SS pdfioFileCreateArrayObj
|
||||||
Create a new object in a PDF file containing an array.
|
Create a new object in a PDF file containing an array.
|
||||||
.PP
|
.PP
|
||||||
@ -4011,6 +4035,8 @@ pdfio_obj_t * pdfioFileCreateNameObj (
|
|||||||
.PP
|
.PP
|
||||||
This function creates a new object with a name value in a PDF file.
|
This function creates a new object with a name value in a PDF file.
|
||||||
You must call \fIpdfioObjClose\fR to write the object to the file.
|
You must call \fIpdfioObjClose\fR to write the object to the file.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioFileCreateNumberObj
|
.SS pdfioFileCreateNumberObj
|
||||||
Create a new object in a PDF file containing a number.
|
Create a new object in a PDF file containing a number.
|
||||||
.PP
|
.PP
|
||||||
@ -4023,6 +4049,8 @@ pdfio_obj_t * pdfioFileCreateNumberObj (
|
|||||||
.PP
|
.PP
|
||||||
This function creates a new object with a number value in a PDF file.
|
This function creates a new object with a number value in a PDF file.
|
||||||
You must call \fIpdfioObjClose\fR to write the object to the file.
|
You must call \fIpdfioObjClose\fR to write the object to the file.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioFileCreateObj
|
.SS pdfioFileCreateObj
|
||||||
Create a new object in a PDF file.
|
Create a new object in a PDF file.
|
||||||
.PP
|
.PP
|
||||||
@ -4071,8 +4099,9 @@ CropBox for pages in the PDF file - if \fBNULL\fR then a default "Universal" siz
|
|||||||
of 8.27x11in (the intersection of US Letter and ISO A4) is used.
|
of 8.27x11in (the intersection of US Letter and ISO A4) is used.
|
||||||
.PP
|
.PP
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if \fBNULL\fR the default error handler is used that
|
and its data pointer - if \fBNULL\fR then the default error handler is used that
|
||||||
writes error messages to \fBstderr\fR.
|
writes error messages to \fBstderr\fR. The error handler callback should return
|
||||||
|
\fBtrue\fR to continue writing the PDF file or \fBfalse\fR to stop.
|
||||||
.PP
|
.PP
|
||||||
.IP 5
|
.IP 5
|
||||||
\fINote\fR: Files created using this API are slightly larger than those
|
\fINote\fR: Files created using this API are slightly larger than those
|
||||||
@ -4101,6 +4130,8 @@ pdfio_obj_t * pdfioFileCreateStringObj (
|
|||||||
.PP
|
.PP
|
||||||
This function creates a new object with a string value in a PDF file.
|
This function creates a new object with a string value in a PDF file.
|
||||||
You must call \fIpdfioObjClose\fR to write the object to the file.
|
You must call \fIpdfioObjClose\fR to write the object to the file.
|
||||||
|
|
||||||
|
|
||||||
.SS pdfioFileCreateTemporary
|
.SS pdfioFileCreateTemporary
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
@ -4294,8 +4325,18 @@ cancel the open. If \fBNULL\fR is specified for the callback function and the
|
|||||||
PDF file requires a password, the open will always fail.
|
PDF file requires a password, the open will always fail.
|
||||||
.PP
|
.PP
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if \fBNULL\fR the default error handler is used that
|
and its data pointer - if \fBNULL\fR then the default error handler is used that
|
||||||
writes error messages to \fBstderr\fR.
|
writes error messages to \fBstderr\fR. The error handler callback should return
|
||||||
|
\fBtrue\fR to continue reading the PDF file or \fBfalse\fR to stop.
|
||||||
|
.PP
|
||||||
|
.IP 5
|
||||||
|
Note: Error messages starting with "WARNING:" are actually warning
|
||||||
|
.IP 5
|
||||||
|
messages - the callback should normally return \fBtrue\fR to allow PDFio to
|
||||||
|
.IP 5
|
||||||
|
try to resolve the issue. In addition, some errors are unrecoverable and
|
||||||
|
.IP 5
|
||||||
|
ignore the return value of the error callback.
|
||||||
.SS pdfioFileSetAuthor
|
.SS pdfioFileSetAuthor
|
||||||
Set the author for a PDF file.
|
Set the author for a PDF file.
|
||||||
.PP
|
.PP
|
||||||
@ -4474,6 +4515,8 @@ const char * pdfioObjGetName (
|
|||||||
pdfio_obj_t *obj
|
pdfio_obj_t *obj
|
||||||
);
|
);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
|
|
||||||
.SS pdfioObjGetNumber
|
.SS pdfioObjGetNumber
|
||||||
Get the object's number.
|
Get the object's number.
|
||||||
.PP
|
.PP
|
||||||
@ -4677,8 +4720,9 @@ bool pdfioStreamPrintf (
|
|||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
This function writes a formatted string to a stream. In addition to the
|
This function writes a formatted string to a stream. In addition to the
|
||||||
standard \fBprintf\fR format characters, you can use "%N" to format a PDF name
|
standard \fBprintf\fR format characters, you can use "%H" to format a HTML/XML
|
||||||
value ("/Name") and "%S" to format a PDF string ("(String)") value.
|
string value, "%N" to format a PDF name value ("/Name"), and "%S" to format
|
||||||
|
a PDF string ("(String)") value.
|
||||||
.SS pdfioStreamPutChar
|
.SS pdfioStreamPutChar
|
||||||
Write a single character to a stream.
|
Write a single character to a stream.
|
||||||
.PP
|
.PP
|
||||||
|
@ -728,7 +728,7 @@ password_cb(<span class="reserved">void</span> *data, <span class="reserved">con
|
|||||||
<span class="reserved">return</span> (<span class="string">"Password42"</span>);
|
<span class="reserved">return</span> (<span class="string">"Password42"</span>);
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>The error callback is called for both errors and warnings and accepts the <code>pdfio_file_t</code> pointer, a message string, and the callback pointer value, for example:</p>
|
<p>The error callback is called for both errors and warnings and accepts the <code>pdfio_file_t</code> pointer, a message string, and the callback pointer value. It returns <code>true</code> to continue processing the file or <code>false</code> to stop, for example:</p>
|
||||||
<pre><code class="language-c"><span class="reserved">bool</span>
|
<pre><code class="language-c"><span class="reserved">bool</span>
|
||||||
error_cb(pdfio_file_t *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *message, <span class="reserved">void</span> *data)
|
error_cb(pdfio_file_t *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *message, <span class="reserved">void</span> *data)
|
||||||
{
|
{
|
||||||
@ -736,11 +736,14 @@ error_cb(pdfio_file_t *pdf, <span class="reserved">const</span> <span class="res
|
|||||||
|
|
||||||
fprintf(stderr, <span class="string">"%s: %s\n"</span>, pdfioFileGetName(pdf), message);
|
fprintf(stderr, <span class="string">"%s: %s\n"</span>, pdfioFileGetName(pdf), message);
|
||||||
|
|
||||||
<span class="comment">// Return false to treat warnings as errors</span>
|
<span class="comment">// Return true for warning messages (continue) and false for errors (stop)</span>
|
||||||
<span class="reserved">return</span> (<span class="reserved">false</span>);
|
<span class="reserved">return</span> (!strncmp(message, <span class="string">"WARNING:"</span>, <span class="number">8</span>));
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>The default error callback (<code>NULL</code>) does the equivalent of the above.</p>
|
<p>The default error callback (<code>NULL</code>) does the equivalent of the above.</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>Note: Many errors are unrecoverable, so PDFio ignores the return value from the error callback and always stops processing the PDF file. Warning messages start with the prefix "WARNING:" while errors have no prefix.</p>
|
||||||
|
</blockquote>
|
||||||
<p>Each PDF file contains one or more pages. The <a href="#pdfioFileGetNumPages"><code>pdfioFileGetNumPages</code></a> function returns the number of pages in the file while the <a href="#pdfioFileGetPage"><code>pdfioFileGetPage</code></a> function gets the specified page in the PDF file:</p>
|
<p>Each PDF file contains one or more pages. The <a href="#pdfioFileGetNumPages"><code>pdfioFileGetNumPages</code></a> function returns the number of pages in the file while the <a href="#pdfioFileGetPage"><code>pdfioFileGetPage</code></a> function gets the specified page in the PDF file:</p>
|
||||||
<pre><code class="language-c">pdfio_file_t *pdf; <span class="comment">// PDF file</span>
|
<pre><code class="language-c">pdfio_file_t *pdf; <span class="comment">// PDF file</span>
|
||||||
size_t i; <span class="comment">// Looping var</span>
|
size_t i; <span class="comment">// Looping var</span>
|
||||||
@ -2746,7 +2749,7 @@ size_t pdfioArrayGetSize(<a href="#pdfio_array_t">pdfio_array_t</a> *a);</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Value type</p>
|
<p class="description">Value type</p>
|
||||||
<h3 class="function"><a id="pdfioArrayRemove">pdfioArrayRemove</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioArrayRemove">pdfioArrayRemove</a></h3>
|
||||||
<p class="description">Remove an array entry.</p>
|
<p class="description">Remove an array entry.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioArrayRemove(<a href="#pdfio_array_t">pdfio_array_t</a> *a, size_t n);</p>
|
<span class="reserved">bool</span> pdfioArrayRemove(<a href="#pdfio_array_t">pdfio_array_t</a> *a, size_t n);</p>
|
||||||
@ -2951,7 +2954,7 @@ using the <a href="#pdfioPageDictAddImage"><code>pdfioPageDictAddImage</code></a
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
||||||
<h3 class="function"><a id="pdfioContentPathEnd">pdfioContentPathEnd</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.1 </span><a id="pdfioContentPathEnd">pdfioContentPathEnd</a></h3>
|
||||||
<p class="description">Clear the current path.</p>
|
<p class="description">Clear the current path.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioContentPathEnd(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st);</p>
|
<span class="reserved">bool</span> pdfioContentPathEnd(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st);</p>
|
||||||
@ -3441,7 +3444,7 @@ are 0, a solid line is drawn.</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
||||||
<h3 class="function"><a id="pdfioContentTextMeasure">pdfioContentTextMeasure</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioContentTextMeasure">pdfioContentTextMeasure</a></h3>
|
||||||
<p class="description">Measure a text string and return its width.</p>
|
<p class="description">Measure a text string and return its width.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">double</span> pdfioContentTextMeasure(<a href="#pdfio_obj_t">pdfio_obj_t</a> *font, <span class="reserved">const</span> <span class="reserved">char</span> *s, <span class="reserved">double</span> size);</p>
|
<span class="reserved">double</span> pdfioContentTextMeasure(<a href="#pdfio_obj_t">pdfio_obj_t</a> *font, <span class="reserved">const</span> <span class="reserved">char</span> *s, <span class="reserved">double</span> size);</p>
|
||||||
@ -3459,7 +3462,9 @@ are 0, a solid line is drawn.</p>
|
|||||||
<h4 class="discussion">Discussion</h4>
|
<h4 class="discussion">Discussion</h4>
|
||||||
<p class="discussion">This function measures the given text string "s" and returns its width based
|
<p class="discussion">This function measures the given text string "s" and returns its width based
|
||||||
on "size". The text string must always use the UTF-8 (Unicode) encoding but
|
on "size". The text string must always use the UTF-8 (Unicode) encoding but
|
||||||
any control characters (such as newlines) are ignored.</p>
|
any control characters (such as newlines) are ignored.
|
||||||
|
|
||||||
|
</p>
|
||||||
<h3 class="function"><a id="pdfioContentTextMoveLine">pdfioContentTextMoveLine</a></h3>
|
<h3 class="function"><a id="pdfioContentTextMoveLine">pdfioContentTextMoveLine</a></h3>
|
||||||
<p class="description">Move to the next line and offset.</p>
|
<p class="description">Move to the next line and offset.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -3490,7 +3495,7 @@ any control characters (such as newlines) are ignored.</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
||||||
<h3 class="function"><a id="pdfioContentTextNewLine">pdfioContentTextNewLine</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioContentTextNewLine">pdfioContentTextNewLine</a></h3>
|
||||||
<p class="description">Move to the next line.</p>
|
<p class="description">Move to the next line.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioContentTextNewLine(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st);</p>
|
<span class="reserved">bool</span> pdfioContentTextNewLine(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st);</p>
|
||||||
@ -3501,7 +3506,7 @@ any control characters (such as newlines) are ignored.</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
||||||
<h3 class="function"><a id="pdfioContentTextNewLineShow">pdfioContentTextNewLineShow</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioContentTextNewLineShow">pdfioContentTextNewLineShow</a></h3>
|
||||||
<p class="description">Move to the next line and show text.</p>
|
<p class="description">Move to the next line and show text.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioContentTextNewLineShow(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, <span class="reserved">double</span> ws, <span class="reserved">double</span> cs, <span class="reserved">bool</span> unicode, <span class="reserved">const</span> <span class="reserved">char</span> *s);</p>
|
<span class="reserved">bool</span> pdfioContentTextNewLineShow(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, <span class="reserved">double</span> ws, <span class="reserved">double</span> cs, <span class="reserved">bool</span> unicode, <span class="reserved">const</span> <span class="reserved">char</span> *s);</p>
|
||||||
@ -3524,8 +3529,10 @@ any control characters (such as newlines) are ignored.</p>
|
|||||||
<p class="discussion">This function moves to the next line and then shows some text with optional
|
<p class="discussion">This function moves to the next line and then shows some text with optional
|
||||||
word and character spacing in a PDF content stream. The "unicode" argument
|
word and character spacing in a PDF content stream. The "unicode" argument
|
||||||
specifies that the current font maps to full Unicode. The "s" argument
|
specifies that the current font maps to full Unicode. The "s" argument
|
||||||
specifies a UTF-8 encoded string.</p>
|
specifies a UTF-8 encoded string.
|
||||||
<h3 class="function"><a id="pdfioContentTextNewLineShowf">pdfioContentTextNewLineShowf</a></h3>
|
|
||||||
|
</p>
|
||||||
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioContentTextNewLineShowf">pdfioContentTextNewLineShowf</a></h3>
|
||||||
<p class="description">Show formatted text.</p>
|
<p class="description">Show formatted text.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioContentTextNewLineShowf(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, <span class="reserved">double</span> ws, <span class="reserved">double</span> cs, <span class="reserved">bool</span> unicode, <span class="reserved">const</span> <span class="reserved">char</span> *format, ...);</p>
|
<span class="reserved">bool</span> pdfioContentTextNewLineShowf(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, <span class="reserved">double</span> ws, <span class="reserved">double</span> cs, <span class="reserved">bool</span> unicode, <span class="reserved">const</span> <span class="reserved">char</span> *format, ...);</p>
|
||||||
@ -3550,7 +3557,9 @@ specifies a UTF-8 encoded string.</p>
|
|||||||
<p class="discussion">This function moves to the next line and shows some formatted text with
|
<p class="discussion">This function moves to the next line and shows some formatted text with
|
||||||
optional word and character spacing in a PDF content stream. The "unicode"
|
optional word and character spacing in a PDF content stream. The "unicode"
|
||||||
argument specifies that the current font maps to full Unicode. The "format"
|
argument specifies that the current font maps to full Unicode. The "format"
|
||||||
argument specifies a UTF-8 encoded <code>printf</code>-style format string.</p>
|
argument specifies a UTF-8 encoded <code>printf</code>-style format string.
|
||||||
|
|
||||||
|
</p>
|
||||||
<h3 class="function"><a id="pdfioContentTextShow">pdfioContentTextShow</a></h3>
|
<h3 class="function"><a id="pdfioContentTextShow">pdfioContentTextShow</a></h3>
|
||||||
<p class="description">Show text.</p>
|
<p class="description">Show text.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -3613,7 +3622,7 @@ argument specifies an array of UTF-8 encoded strings.</p>
|
|||||||
<p class="discussion">This function shows some formatted text in a PDF content stream. The
|
<p class="discussion">This function shows some formatted text in a PDF content stream. The
|
||||||
"unicode" argument specifies that the current font maps to full Unicode.
|
"unicode" argument specifies that the current font maps to full Unicode.
|
||||||
The "format" argument specifies a UTF-8 encoded <code>printf</code>-style format string.</p>
|
The "format" argument specifies a UTF-8 encoded <code>printf</code>-style format string.</p>
|
||||||
<h3 class="function"><a id="pdfioDictClear">pdfioDictClear</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioDictClear">pdfioDictClear</a></h3>
|
||||||
<p class="description">Remove a key/value pair from a dictionary.</p>
|
<p class="description">Remove a key/value pair from a dictionary.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">bool</span> pdfioDictClear(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <span class="reserved">const</span> <span class="reserved">char</span> *key);</p>
|
<span class="reserved">bool</span> pdfioDictClear(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <span class="reserved">const</span> <span class="reserved">char</span> *key);</p>
|
||||||
@ -3717,7 +3726,7 @@ time_t pdfioDictGetDate(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <span cl
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Value</p>
|
<p class="description">Value</p>
|
||||||
<h3 class="function"><a id="pdfioDictGetKey">pdfioDictGetKey</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioDictGetKey">pdfioDictGetKey</a></h3>
|
||||||
<p class="description">Get the key for the specified pair.</p>
|
<p class="description">Get the key for the specified pair.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">const</span> <span class="reserved">char</span> *pdfioDictGetKey(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, size_t n);</p>
|
<span class="reserved">const</span> <span class="reserved">char</span> *pdfioDictGetKey(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, size_t n);</p>
|
||||||
@ -3743,7 +3752,7 @@ time_t pdfioDictGetDate(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <span cl
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Value</p>
|
<p class="description">Value</p>
|
||||||
<h3 class="function"><a id="pdfioDictGetNumPairs">pdfioDictGetNumPairs</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioDictGetNumPairs">pdfioDictGetNumPairs</a></h3>
|
||||||
<p class="description">Get the number of key/value pairs in a dictionary.</p>
|
<p class="description">Get the number of key/value pairs in a dictionary.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
size_t pdfioDictGetNumPairs(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict);</p>
|
size_t pdfioDictGetNumPairs(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict);</p>
|
||||||
@ -3821,7 +3830,7 @@ size_t pdfioDictGetNumPairs(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict);</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Value type</p>
|
<p class="description">Value type</p>
|
||||||
<h3 class="function"><a id="pdfioDictIterateKeys">pdfioDictIterateKeys</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.1 </span><a id="pdfioDictIterateKeys">pdfioDictIterateKeys</a></h3>
|
||||||
<p class="description">Iterate the keys in a dictionary.</p>
|
<p class="description">Iterate the keys in a dictionary.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">void</span> pdfioDictIterateKeys(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <a href="#pdfio_dict_cb_t">pdfio_dict_cb_t</a> cb, <span class="reserved">void</span> *cb_data);</p>
|
<span class="reserved">void</span> pdfioDictIterateKeys(<a href="#pdfio_dict_t">pdfio_dict_t</a> *dict, <a href="#pdfio_dict_cb_t">pdfio_dict_cb_t</a> cb, <span class="reserved">void</span> *cb_data);</p>
|
||||||
@ -3848,7 +3857,9 @@ my_dict_cb(pdfio_dict_t *dict, const char *key, void *cb_data)
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
The iteration continues as long as the callback returns <code>true</code> or all keys
|
The iteration continues as long as the callback returns <code>true</code> or all keys
|
||||||
have been iterated.</p>
|
have been iterated.
|
||||||
|
|
||||||
|
</p>
|
||||||
<h3 class="function"><a id="pdfioDictSetArray">pdfioDictSetArray</a></h3>
|
<h3 class="function"><a id="pdfioDictSetArray">pdfioDictSetArray</a></h3>
|
||||||
<p class="description">Set a key array in a dictionary.</p>
|
<p class="description">Set a key array in a dictionary.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -4076,8 +4087,9 @@ CropBox for pages in the PDF file - if <code>NULL</code> then a default "Un
|
|||||||
of 8.27x11in (the intersection of US Letter and ISO A4) is used.<br>
|
of 8.27x11in (the intersection of US Letter and ISO A4) is used.<br>
|
||||||
<br>
|
<br>
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if <code>NULL</code> the default error handler is used that
|
and its data pointer - if <code>NULL</code> then the default error handler is used that
|
||||||
writes error messages to <code>stderr</code>.</p>
|
writes error messages to <code>stderr</code>. The error handler callback should return
|
||||||
|
<code>true</code> to continue writing the PDF file or <code>false</code> to stop.</p>
|
||||||
<h3 class="function"><a id="pdfioFileCreateArrayObj">pdfioFileCreateArrayObj</a></h3>
|
<h3 class="function"><a id="pdfioFileCreateArrayObj">pdfioFileCreateArrayObj</a></h3>
|
||||||
<p class="description">Create a new object in a PDF file containing an array.</p>
|
<p class="description">Create a new object in a PDF file containing an array.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -4260,7 +4272,7 @@ image on the page.<br>
|
|||||||
Note: Currently PNG support is limited to grayscale, RGB, or indexed files
|
Note: Currently PNG support is limited to grayscale, RGB, or indexed files
|
||||||
without interlacing or alpha. Transparency (masking) based on color/index
|
without interlacing or alpha. Transparency (masking) based on color/index
|
||||||
is supported.</blockquote>
|
is supported.</blockquote>
|
||||||
<h3 class="function"><a id="pdfioFileCreateNameObj">pdfioFileCreateNameObj</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioFileCreateNameObj">pdfioFileCreateNameObj</a></h3>
|
||||||
<p class="description">Create a new object in a PDF file containing a name.</p>
|
<p class="description">Create a new object in a PDF file containing a name.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateNameObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *name);</p>
|
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateNameObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *name);</p>
|
||||||
@ -4275,8 +4287,10 @@ is supported.</blockquote>
|
|||||||
<p class="description">New object</p>
|
<p class="description">New object</p>
|
||||||
<h4 class="discussion">Discussion</h4>
|
<h4 class="discussion">Discussion</h4>
|
||||||
<p class="discussion">This function creates a new object with a name value in a PDF file.
|
<p class="discussion">This function creates a new object with a name value in a PDF file.
|
||||||
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.</p>
|
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.
|
||||||
<h3 class="function"><a id="pdfioFileCreateNumberObj">pdfioFileCreateNumberObj</a></h3>
|
|
||||||
|
</p>
|
||||||
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioFileCreateNumberObj">pdfioFileCreateNumberObj</a></h3>
|
||||||
<p class="description">Create a new object in a PDF file containing a number.</p>
|
<p class="description">Create a new object in a PDF file containing a number.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateNumberObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">double</span> number);</p>
|
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateNumberObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">double</span> number);</p>
|
||||||
@ -4291,7 +4305,9 @@ You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write t
|
|||||||
<p class="description">New object</p>
|
<p class="description">New object</p>
|
||||||
<h4 class="discussion">Discussion</h4>
|
<h4 class="discussion">Discussion</h4>
|
||||||
<p class="discussion">This function creates a new object with a number value in a PDF file.
|
<p class="discussion">This function creates a new object with a number value in a PDF file.
|
||||||
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.</p>
|
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.
|
||||||
|
|
||||||
|
</p>
|
||||||
<h3 class="function"><a id="pdfioFileCreateObj">pdfioFileCreateObj</a></h3>
|
<h3 class="function"><a id="pdfioFileCreateObj">pdfioFileCreateObj</a></h3>
|
||||||
<p class="description">Create a new object in a PDF file.</p>
|
<p class="description">Create a new object in a PDF file.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -4352,8 +4368,9 @@ CropBox for pages in the PDF file - if <code>NULL</code> then a default "Un
|
|||||||
of 8.27x11in (the intersection of US Letter and ISO A4) is used.<br>
|
of 8.27x11in (the intersection of US Letter and ISO A4) is used.<br>
|
||||||
<br>
|
<br>
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if <code>NULL</code> the default error handler is used that
|
and its data pointer - if <code>NULL</code> then the default error handler is used that
|
||||||
writes error messages to <code>stderr</code>.<br>
|
writes error messages to <code>stderr</code>. The error handler callback should return
|
||||||
|
<code>true</code> to continue writing the PDF file or <code>false</code> to stop.<br>
|
||||||
<br>
|
<br>
|
||||||
</p><blockquote>
|
</p><blockquote>
|
||||||
<em>Note</em>: Files created using this API are slightly larger than those
|
<em>Note</em>: Files created using this API are slightly larger than those
|
||||||
@ -4372,7 +4389,7 @@ stored as indirect object references.</blockquote>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Contents stream</p>
|
<p class="description">Contents stream</p>
|
||||||
<h3 class="function"><a id="pdfioFileCreateStringObj">pdfioFileCreateStringObj</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.2 </span><a id="pdfioFileCreateStringObj">pdfioFileCreateStringObj</a></h3>
|
||||||
<p class="description">Create a new object in a PDF file containing a string.</p>
|
<p class="description">Create a new object in a PDF file containing a string.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateStringObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *string);</p>
|
<a href="#pdfio_obj_t">pdfio_obj_t</a> *pdfioFileCreateStringObj(<a href="#pdfio_file_t">pdfio_file_t</a> *pdf, <span class="reserved">const</span> <span class="reserved">char</span> *string);</p>
|
||||||
@ -4387,7 +4404,9 @@ stored as indirect object references.</blockquote>
|
|||||||
<p class="description">New object</p>
|
<p class="description">New object</p>
|
||||||
<h4 class="discussion">Discussion</h4>
|
<h4 class="discussion">Discussion</h4>
|
||||||
<p class="discussion">This function creates a new object with a string value in a PDF file.
|
<p class="discussion">This function creates a new object with a string value in a PDF file.
|
||||||
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.</p>
|
You must call <a href="#pdfioObjClose"><code>pdfioObjClose</code></a> to write the object to the file.
|
||||||
|
|
||||||
|
</p>
|
||||||
<h3 class="function"><a id="pdfioFileCreateTemporary">pdfioFileCreateTemporary</a></h3>
|
<h3 class="function"><a id="pdfioFileCreateTemporary">pdfioFileCreateTemporary</a></h3>
|
||||||
<p class="description"></p>
|
<p class="description"></p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -4670,8 +4689,15 @@ cancel the open. If <code>NULL</code> is specified for the callback function an
|
|||||||
PDF file requires a password, the open will always fail.<br>
|
PDF file requires a password, the open will always fail.<br>
|
||||||
<br>
|
<br>
|
||||||
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
The "error_cb" and "error_cbdata" arguments specify an error handler callback
|
||||||
and its data pointer - if <code>NULL</code> the default error handler is used that
|
and its data pointer - if <code>NULL</code> then the default error handler is used that
|
||||||
writes error messages to <code>stderr</code>.</p>
|
writes error messages to <code>stderr</code>. The error handler callback should return
|
||||||
|
<code>true</code> to continue reading the PDF file or <code>false</code> to stop.<br>
|
||||||
|
<br>
|
||||||
|
</p><blockquote>
|
||||||
|
Note: Error messages starting with "WARNING:" are actually warning
|
||||||
|
messages - the callback should normally return <code>true</code> to allow PDFio to
|
||||||
|
try to resolve the issue. In addition, some errors are unrecoverable and
|
||||||
|
ignore the return value of the error callback.</blockquote>
|
||||||
<h3 class="function"><a id="pdfioFileSetAuthor">pdfioFileSetAuthor</a></h3>
|
<h3 class="function"><a id="pdfioFileSetAuthor">pdfioFileSetAuthor</a></h3>
|
||||||
<p class="description">Set the author for a PDF file.</p>
|
<p class="description">Set the author for a PDF file.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -4892,7 +4918,7 @@ size_t pdfioObjGetLength(<a href="#pdfio_obj_t">pdfio_obj_t</a> *obj);</p>
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h4 class="returnvalue">Return Value</h4>
|
<h4 class="returnvalue">Return Value</h4>
|
||||||
<p class="description">Length in bytes or <code>0</code> for none</p>
|
<p class="description">Length in bytes or <code>0</code> for none</p>
|
||||||
<h3 class="function"><a id="pdfioObjGetName">pdfioObjGetName</a></h3>
|
<h3 class="function"><span class="info"> PDFio v1.4 </span><a id="pdfioObjGetName">pdfioObjGetName</a></h3>
|
||||||
<p class="description">Get the name value associated with an object.</p>
|
<p class="description">Get the name value associated with an object.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<span class="reserved">const</span> <span class="reserved">char</span> *pdfioObjGetName(<a href="#pdfio_obj_t">pdfio_obj_t</a> *obj);</p>
|
<span class="reserved">const</span> <span class="reserved">char</span> *pdfioObjGetName(<a href="#pdfio_obj_t">pdfio_obj_t</a> *obj);</p>
|
||||||
@ -5168,8 +5194,9 @@ ssize_t pdfioStreamPeek(<a href="#pdfio_stream_t">pdfio_stream_t</a> *st, <span
|
|||||||
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
<p class="description"><code>true</code> on success, <code>false</code> on failure</p>
|
||||||
<h4 class="discussion">Discussion</h4>
|
<h4 class="discussion">Discussion</h4>
|
||||||
<p class="discussion">This function writes a formatted string to a stream. In addition to the
|
<p class="discussion">This function writes a formatted string to a stream. In addition to the
|
||||||
standard <code>printf</code> format characters, you can use "%N" to format a PDF name
|
standard <code>printf</code> format characters, you can use "%H" to format a HTML/XML
|
||||||
value ("/Name") and "%S" to format a PDF string ("(String)") value.</p>
|
string value, "%N" to format a PDF name value ("/Name"), and "%S" to format
|
||||||
|
a PDF string ("(String)") value.</p>
|
||||||
<h3 class="function"><a id="pdfioStreamPutChar">pdfioStreamPutChar</a></h3>
|
<h3 class="function"><a id="pdfioStreamPutChar">pdfioStreamPutChar</a></h3>
|
||||||
<p class="description">Write a single character to a stream.</p>
|
<p class="description">Write a single character to a stream.</p>
|
||||||
<p class="code">
|
<p class="code">
|
||||||
@ -5403,7 +5430,7 @@ typedef enum <a href="#pdfio_valtype_e">pdfio_valtype_e</a> pdfio_valtype_t;
|
|||||||
<tr><th>PDFIO_ENCRYPTION_AES_128 </th><td class="description">128-bit AES encryption (PDF 1.6)</td></tr>
|
<tr><th>PDFIO_ENCRYPTION_AES_128 </th><td class="description">128-bit AES encryption (PDF 1.6)</td></tr>
|
||||||
<tr><th>PDFIO_ENCRYPTION_NONE </th><td class="description">No encryption</td></tr>
|
<tr><th>PDFIO_ENCRYPTION_NONE </th><td class="description">No encryption</td></tr>
|
||||||
<tr><th>PDFIO_ENCRYPTION_RC4_128 </th><td class="description">128-bit RC4 encryption (PDF 1.4)</td></tr>
|
<tr><th>PDFIO_ENCRYPTION_RC4_128 </th><td class="description">128-bit RC4 encryption (PDF 1.4)</td></tr>
|
||||||
<tr><th>PDFIO_ENCRYPTION_RC4_40 </th><td class="description">40-bit RC4 encryption (PDF 1.3)</td></tr>
|
<tr><th>PDFIO_ENCRYPTION_RC4_40 </th><td class="description">40-bit RC4 encryption (PDF 1.3, reading only)</td></tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
<h3 class="enumeration"><a id="pdfio_filter_e">pdfio_filter_e</a></h3>
|
<h3 class="enumeration"><a id="pdfio_filter_e">pdfio_filter_e</a></h3>
|
||||||
<p class="description">Compression/decompression filters for streams</p>
|
<p class="description">Compression/decompression filters for streams</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user