1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Ipelib: IpePsWriter Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.1 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="modules.html"><span>Modules</span></a></li>
12
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
16
<li><a href="annotated.html"><span>Class List</span></a></li>
17
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
18
<li><a href="functions.html"><span>Class Members</span></a></li>
20
<h1>IpePsWriter Class Reference</h1><!-- doxytag: class="IpePsWriter" -->Create Postscript file.
21
<a href="#_details">More...</a>
23
<a href="class_ipe_ps_writer-members.html">List of all members.</a><h2>Public Member Functions</h2>
25
<li><a class="el" href="class_ipe_ps_writer.html#5dfce0158d9bb0dd5b335719cef8645c">IpePsWriter</a> (<a class="el" href="class_ipe_tell_stream.html">IpeTellStream</a> &stream, const <a class="el" href="class_ipe_document.html">IpeDocument</a> *doc, bool noColor)
26
<li><a class="el" href="class_ipe_ps_writer.html#e47f6d9b7e54834b3eea4a032cf71b00">~IpePsWriter</a> ()
27
<li>bool <a class="el" href="class_ipe_ps_writer.html#7d8d869b9b1918b2002d6d4453f88e84">CreateHeader</a> (<a class="el" href="class_ipe_string.html">IpeString</a> creator, int pno=0, int vno=0)
28
<li>void <a class="el" href="class_ipe_ps_writer.html#1d6a31c999cc1c75c6e555aceb5010b3">CreatePageView</a> (int pno=0, int vno=0)
29
<li>void <a class="el" href="class_ipe_ps_writer.html#820a94a02cc697dd7ce2dd95df75759c">CreateXml</a> (<a class="el" href="class_ipe_string.html">IpeString</a> creator, int compressLevel)
30
<li>void <a class="el" href="class_ipe_ps_writer.html#7ade4892aa58fa0fdd178a522389ec9c">CreateTrailer</a> ()
32
<hr><a name="_details"></a><h2>Detailed Description</h2>
33
Create Postscript file.
35
This class is responsible for the creation of a Postscript file from the Ipe data. You have to create an <a class="el" href="class_ipe_ps_writer.html">IpePsWriter</a> first, providing a stream that has been opened for (binary) writing and is empty.
37
<hr><h2>Constructor & Destructor Documentation</h2>
38
<a class="anchor" name="5dfce0158d9bb0dd5b335719cef8645c"></a><!-- doxytag: member="IpePsWriter::IpePsWriter" ref="5dfce0158d9bb0dd5b335719cef8645c" args="(IpeTellStream &stream, const IpeDocument *doc, bool noColor)" -->
40
<div class="memproto">
41
<table class="memname">
43
<td class="memname">IpePsWriter::IpePsWriter </td>
45
<td class="paramtype"><a class="el" href="class_ipe_tell_stream.html">IpeTellStream</a> & </td>
46
<td class="paramname"> <em>stream</em>, </td>
49
<td class="paramkey"></td>
51
<td class="paramtype">const <a class="el" href="class_ipe_document.html">IpeDocument</a> * </td>
52
<td class="paramname"> <em>doc</em>, </td>
55
<td class="paramkey"></td>
57
<td class="paramtype">bool </td>
58
<td class="paramname"> <em>noColor</em></td><td> </td>
63
<td></td><td></td><td width="100%"></td>
70
Create Postscript writer operating on this (open and empty) file.
75
<a class="anchor" name="e47f6d9b7e54834b3eea4a032cf71b00"></a><!-- doxytag: member="IpePsWriter::~IpePsWriter" ref="e47f6d9b7e54834b3eea4a032cf71b00" args="()" -->
77
<div class="memproto">
78
<table class="memname">
80
<td class="memname">IpePsWriter::~IpePsWriter </td>
82
<td class="paramname"> </td>
83
<td> ) </td>
84
<td width="100%"></td>
96
<hr><h2>Member Function Documentation</h2>
97
<a class="anchor" name="7d8d869b9b1918b2002d6d4453f88e84"></a><!-- doxytag: member="IpePsWriter::CreateHeader" ref="7d8d869b9b1918b2002d6d4453f88e84" args="(IpeString creator, int pno=0, int vno=0)" -->
99
<div class="memproto">
100
<table class="memname">
102
<td class="memname">bool IpePsWriter::CreateHeader </td>
104
<td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a> </td>
105
<td class="paramname"> <em>creator</em>, </td>
108
<td class="paramkey"></td>
110
<td class="paramtype">int </td>
111
<td class="paramname"> <em>pno</em> = <code>0</code>, </td>
114
<td class="paramkey"></td>
116
<td class="paramtype">int </td>
117
<td class="paramname"> <em>view</em> = <code>0</code></td><td> </td>
122
<td></td><td></td><td width="100%"></td>
129
Create the document header and prolog (the resources).
131
Embeds no fonts if <code>pool</code> is 0. Returns false if a TrueType font is present.
134
<a class="anchor" name="1d6a31c999cc1c75c6e555aceb5010b3"></a><!-- doxytag: member="IpePsWriter::CreatePageView" ref="1d6a31c999cc1c75c6e555aceb5010b3" args="(int pno=0, int vno=0)" -->
135
<div class="memitem">
136
<div class="memproto">
137
<table class="memname">
139
<td class="memname">void IpePsWriter::CreatePageView </td>
141
<td class="paramtype">int </td>
142
<td class="paramname"> <em>pno</em> = <code>0</code>, </td>
145
<td class="paramkey"></td>
147
<td class="paramtype">int </td>
148
<td class="paramname"> <em>vno</em> = <code>0</code></td><td> </td>
153
<td></td><td></td><td width="100%"></td>
160
Create contents and page stream for this page view.
165
<a class="anchor" name="820a94a02cc697dd7ce2dd95df75759c"></a><!-- doxytag: member="IpePsWriter::CreateXml" ref="820a94a02cc697dd7ce2dd95df75759c" args="(IpeString creator, int compressLevel)" -->
166
<div class="memitem">
167
<div class="memproto">
168
<table class="memname">
170
<td class="memname">void IpePsWriter::CreateXml </td>
172
<td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a> </td>
173
<td class="paramname"> <em>creator</em>, </td>
176
<td class="paramkey"></td>
178
<td class="paramtype">int </td>
179
<td class="paramname"> <em>compressLevel</em></td><td> </td>
184
<td></td><td></td><td width="100%"></td>
191
Save Ipe information in XML format.
196
<a class="anchor" name="7ade4892aa58fa0fdd178a522389ec9c"></a><!-- doxytag: member="IpePsWriter::CreateTrailer" ref="7ade4892aa58fa0fdd178a522389ec9c" args="()" -->
197
<div class="memitem">
198
<div class="memproto">
199
<table class="memname">
201
<td class="memname">void IpePsWriter::CreateTrailer </td>
203
<td class="paramname"> </td>
204
<td> ) </td>
205
<td width="100%"></td>
212
Create the trailer of the Postscsript file.
217
<hr>The documentation for this class was generated from the following files:<ul>
218
<li>ipepswriter.h<li>ipepswriter.cpp</ul>