1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Ipelib: IpePdfDict class Reference</title>
3
<title>Ipelib: IpePdfDict Class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.6 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
6
<!-- Generated by Doxygen 1.4.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
8
<h1>IpePdfDict Class Reference<br>
10
10
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
11
</h1>The PDF dictionary and stream objects.
11
</h1><!-- doxytag: class="IpePdfDict" --><!-- doxytag: inherits="IpePdfObj" -->The PDF dictionary and stream objects.
12
12
<a href="#_details">More...</a>
14
14
Inherits <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a>.
16
16
<a href="class_ipe_pdf_dict-members.html">List of all members.</a><h2>Public Member Functions</h2>
18
18
<li>virtual const <a class="el" href="class_ipe_pdf_dict.html">IpePdfDict</a> * <a class="el" href="class_ipe_pdf_dict.html#a2">Dict</a> () const
19
<li><a class="anchor" name="a3" doxytag="IpePdfDict::Write" ></a>
19
<li><a class="anchor" name="a3"></a><!-- doxytag: member="IpePdfDict::Write" ref="a3" args="(IpeStream &stream) const " -->
20
20
virtual void <b>Write</b> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &stream) const
21
21
<li>void <a class="el" href="class_ipe_pdf_dict.html#a4">SetStream</a> (const <a class="el" href="class_ipe_buffer.html">IpeBuffer</a> &stream)
22
22
<li>void <a class="el" href="class_ipe_pdf_dict.html#a5">Add</a> (<a class="el" href="class_ipe_string.html">IpeString</a> key, const <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> *obj)
23
23
<li>const <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * <a class="el" href="class_ipe_pdf_dict.html#a6">Get</a> (<a class="el" href="class_ipe_string.html">IpeString</a> key, const <a class="el" href="class_ipe_pdf_file.html">IpePdfFile</a> *file) const
24
<li><a class="anchor" name="a7" doxytag="IpePdfDict::Count" ></a>
24
<li><a class="anchor" name="a7"></a><!-- doxytag: member="IpePdfDict::Count" ref="a7" args="() const " -->
25
25
int <b>Count</b> () const
26
<li><a class="anchor" name="a8" doxytag="IpePdfDict::Key" ></a>
26
<li><a class="anchor" name="a8"></a><!-- doxytag: member="IpePdfDict::Key" ref="a8" args="(int index) const " -->
27
27
<a class="el" href="class_ipe_string.html">IpeString</a> <b>Key</b> (int index) const
28
<li><a class="anchor" name="a9" doxytag="IpePdfDict::Stream" ></a>
28
<li><a class="anchor" name="a9"></a><!-- doxytag: member="IpePdfDict::Stream" ref="a9" args="() const " -->
29
29
<a class="el" href="class_ipe_buffer.html">IpeBuffer</a> <b>Stream</b> () const
30
30
<li>bool <a class="el" href="class_ipe_pdf_dict.html#a10">Deflated</a> () const
32
32
<hr><a name="_details"></a><h2>Detailed Description</h2>
33
33
The PDF dictionary and stream objects.
35
A dictionary may or may not have attached stream data.
35
A dictionary may or may not have attached stream data.
37
37
<hr><h2>Member Function Documentation</h2>
38
<a class="anchor" name="a2" doxytag="IpePdfDict::Dict" ></a><p>
39
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
38
<a class="anchor" name="a2"></a><!-- doxytag: member="IpePdfDict::Dict" ref="a2" args="() const " --><p>
39
<table class="mdTable" cellpadding="2" cellspacing="0">
42
42
<table cellpadding="0" cellspacing="0" border="0">
44
<td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_pdf_dict.html">IpePdfDict</a> * IpePdfDict::Dict </td>
44
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_pdf_dict.html">IpePdfDict</a> * IpePdfDict::Dict </td>
45
45
<td class="md" valign="top">( </td>
46
46
<td class="mdname1" valign="top" nowrap> </td>
47
47
<td class="md" valign="top"> ) </td>
48
48
<td class="md" nowrap> const<code> [virtual]</code></td>
55
<table cellspacing=5 cellpadding=0 border=0>
54
<table cellspacing="5" cellpadding="0" border="0">
67
66
Reimplemented from <a class="el" href="class_ipe_pdf_obj.html#a8">IpePdfObj</a>. </td>
70
<a class="anchor" name="a4" doxytag="IpePdfDict::SetStream" ></a><p>
71
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
69
<a class="anchor" name="a4"></a><!-- doxytag: member="IpePdfDict::SetStream" ref="a4" args="(const IpeBuffer &stream)" --><p>
70
<table class="mdTable" cellpadding="2" cellspacing="0">
74
73
<table cellpadding="0" cellspacing="0" border="0">
76
<td class="md" nowrap valign="top"> void IpePdfDict::SetStream </td>
75
<td class="md" nowrap valign="top">void IpePdfDict::SetStream </td>
77
76
<td class="md" valign="top">( </td>
78
77
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_buffer.html">IpeBuffer</a> & </td>
79
78
<td class="mdname1" valign="top" nowrap> <em>stream</em> </td>
80
79
<td class="md" valign="top"> ) </td>
81
80
<td class="md" nowrap></td>
88
<table cellspacing=5 cellpadding=0 border=0>
86
<table cellspacing="5" cellpadding="0" border="0">
101
<a class="anchor" name="a5" doxytag="IpePdfDict::Add" ></a><p>
102
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
99
<a class="anchor" name="a5"></a><!-- doxytag: member="IpePdfDict::Add" ref="a5" args="(IpeString key, const IpePdfObj *obj)" --><p>
100
<table class="mdTable" cellpadding="2" cellspacing="0">
104
102
<td class="mdRow">
105
103
<table cellpadding="0" cellspacing="0" border="0">
107
<td class="md" nowrap valign="top"> void IpePdfDict::Add </td>
105
<td class="md" nowrap valign="top">void IpePdfDict::Add </td>
108
106
<td class="md" valign="top">( </td>
109
107
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_string.html">IpeString</a> </td>
110
108
<td class="mdname" nowrap> <em>key</em>, </td>
113
111
<td class="md" nowrap align="right"></td>
115
113
<td class="md" nowrap>const <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * </td>
116
114
<td class="mdname" nowrap> <em>obj</em></td>
120
118
<td class="md">) </td>
121
119
<td class="md" colspan="2"></td>
128
<table cellspacing=5 cellpadding=0 border=0>
125
<table cellspacing="5" cellpadding="0" border="0">
138
135
Dictionary takes ownership of <em>obj</em>. </td>
141
<a class="anchor" name="a6" doxytag="IpePdfDict::Get" ></a><p>
142
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
138
<a class="anchor" name="a6"></a><!-- doxytag: member="IpePdfDict::Get" ref="a6" args="(IpeString key, const IpePdfFile *file) const " --><p>
139
<table class="mdTable" cellpadding="2" cellspacing="0">
144
141
<td class="mdRow">
145
142
<table cellpadding="0" cellspacing="0" border="0">
147
<td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * IpePdfDict::Get </td>
144
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_pdf_obj.html">IpePdfObj</a> * IpePdfDict::Get </td>
148
145
<td class="md" valign="top">( </td>
149
146
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_string.html">IpeString</a> </td>
150
147
<td class="mdname" nowrap> <em>key</em>, </td>
153
150
<td class="md" nowrap align="right"></td>
155
152
<td class="md" nowrap>const <a class="el" href="class_ipe_pdf_file.html">IpePdfFile</a> * </td>
156
153
<td class="mdname" nowrap> <em>file</em></td>
160
157
<td class="md">) </td>
161
158
<td class="md" colspan="2"> const</td>
168
<table cellspacing=5 cellpadding=0 border=0>
164
<table cellspacing="5" cellpadding="0" border="0">
176
172
Look up key in dictionary.
178
Indirect objects (references) are looked up if <em>file</em> is not zero, and the object referred to is returned. Returns 0 if key is not in dictionary. </td>
174
Indirect objects (references) are looked up if <em>file</em> is not zero, and the object referred to is returned. Returns 0 if key is not in dictionary. </td>
181
<a class="anchor" name="a10" doxytag="IpePdfDict::Deflated" ></a><p>
182
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
177
<a class="anchor" name="a10"></a><!-- doxytag: member="IpePdfDict::Deflated" ref="a10" args="() const " --><p>
178
<table class="mdTable" cellpadding="2" cellspacing="0">
184
180
<td class="mdRow">
185
181
<table cellpadding="0" cellspacing="0" border="0">
187
<td class="md" nowrap valign="top"> bool IpePdfDict::Deflated </td>
183
<td class="md" nowrap valign="top">bool IpePdfDict::Deflated </td>
188
184
<td class="md" valign="top">( </td>
189
185
<td class="mdname1" valign="top" nowrap> </td>
190
186
<td class="md" valign="top"> ) </td>
191
187
<td class="md" nowrap> const</td>
198
<table cellspacing=5 cellpadding=0 border=0>
193
<table cellspacing="5" cellpadding="0" border="0">