1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Ipelib: IpePdfParser Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>IpePdfParser Class Reference<br>
<small>
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
</h1><!-- doxytag: class="IpePdfParser" -->PDF parser.
<a href="#_details">More...</a>
<p>
<a href="class_ipe_pdf_parser-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="class_ipe_pdf_parser.html#f9cce3c350bc59b69a2fe931f2fb3ba1">IpePdfParser</a> (<a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &source)
<li><a class="anchor" name="bb45bcbf4bbd87e263d4a699a6376aa2"></a><!-- doxytag: member="IpePdfParser::GetChar" ref="bb45bcbf4bbd87e263d4a699a6376aa2" args="()" -->
void <b>GetChar</b> ()
<li><a class="anchor" name="1c320c6041e6a45e7cdbec00c416bf03"></a><!-- doxytag: member="IpePdfParser::Eos" ref="1c320c6041e6a45e7cdbec00c416bf03" args="() const" -->
bool <b>Eos</b> () const
<li><a class="anchor" name="d916c9a15edbe637fdb4da6560fb5adf"></a><!-- doxytag: member="IpePdfParser::Token" ref="d916c9a15edbe637fdb4da6560fb5adf" args="() const" -->
<a class="el" href="struct_ipe_pdf_token.html">IpePdfToken</a> <b>Token</b> () const
<li>void <a class="el" href="class_ipe_pdf_parser.html#0c2c9654dc72244a52de7a5e654392c2">GetToken</a> ()
<li><a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * <a class="el" href="class_ipe_pdf_parser.html#161f29a6f215b08872d74099f2a9cf60">GetObject</a> ()
<li><a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * <a class="el" href="class_ipe_pdf_parser.html#4c49023ac6eaedd360656bb0be509c19">GetObjectDef</a> ()
<li><a class="el" href="class_ipe_pdf_dict.html">IpePdfDict</a> * <a class="el" href="class_ipe_pdf_parser.html#74945b8d61c7299f87e100eea6fbbfe4">GetTrailer</a> ()
<li>void <a class="el" href="class_ipe_pdf_parser.html#d0f245f047d04e1c29af733f3d99448d">SkipXRef</a> ()
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
PDF parser.
<p>
The parser understands the syntax of PDF files, but very little of its semantics. It is meant to be able to parse PDF documents created by Ipe for loading, and to extract information from PDF files created by Pdflatex.<p>
The parser reads a PDF file sequentially from front to back, ignores the contents of 'xref' sections, stores only generation 0 objects, and stops after reading the first 'trailer' section (so it cannot deal with files with incremental updates). It cannot handle stream objects whose /Length entry has been deferred (using an indirect object).
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="f9cce3c350bc59b69a2fe931f2fb3ba1"></a><!-- doxytag: member="IpePdfParser::IpePdfParser" ref="f9cce3c350bc59b69a2fe931f2fb3ba1" args="(IpeDataSource &source)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpePdfParser::IpePdfParser </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_data_source.html">IpeDataSource</a> & </td>
<td class="paramname"> <em>source</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Construct with a data source.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0c2c9654dc72244a52de7a5e654392c2"></a><!-- doxytag: member="IpePdfParser::GetToken" ref="0c2c9654dc72244a52de7a5e654392c2" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpePdfParser::GetToken </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Read the next token from the input stream.
<p>
</div>
</div><p>
<a class="anchor" name="161f29a6f215b08872d74099f2a9cf60"></a><!-- doxytag: member="IpePdfParser::GetObject" ref="161f29a6f215b08872d74099f2a9cf60" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * IpePdfParser::GetObject </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Read one object from input stream.
<p>
</div>
</div><p>
<a class="anchor" name="4c49023ac6eaedd360656bb0be509c19"></a><!-- doxytag: member="IpePdfParser::GetObjectDef" ref="4c49023ac6eaedd360656bb0be509c19" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * IpePdfParser::GetObjectDef </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parse an object definition (current token is object number).
<p>
</div>
</div><p>
<a class="anchor" name="74945b8d61c7299f87e100eea6fbbfe4"></a><!-- doxytag: member="IpePdfParser::GetTrailer" ref="74945b8d61c7299f87e100eea6fbbfe4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_pdf_dict.html">IpePdfDict</a> * IpePdfParser::GetTrailer </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parse trailer dictionary (current token is 'trailer').
<p>
</div>
</div><p>
<a class="anchor" name="d0f245f047d04e1c29af733f3d99448d"></a><!-- doxytag: member="IpePdfParser::SkipXRef" ref="d0f245f047d04e1c29af733f3d99448d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpePdfParser::SkipXRef </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Skip xref table (current token is 'xref').
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipepdfparser.h<li>ipepdfparser.cpp</ul>
<hr>
</body></html>
|