~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to doc/class_ipe_document.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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: IpeDocument Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.1 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;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>
13
 
  </ul></div>
14
 
<div class="tabs">
15
 
  <ul>
16
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
17
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
18
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
19
 
  </ul></div>
20
 
<h1>IpeDocument Class Reference<br>
21
 
<small>
22
 
[<a class="el" href="group__doc.html">Ipe Document</a>]</small>
23
 
</h1><!-- doxytag: class="IpeDocument" -->The model for an Ipe document.  
24
 
<a href="#_details">More...</a>
25
 
<p>
26
 
<a href="class_ipe_document-members.html">List of all members.</a><h2>Public Types</h2>
27
 
<ul>
28
 
<li>enum <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a> { <br>
29
 
&nbsp;&nbsp;<a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c8026578ffb27aaf1d7acd67741c93d6a92908">EXml</a>, 
30
 
<a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c802654c1afc2a1ea944935dbc0302580be5a8">EPdf</a>, 
31
 
<a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265bcedc5c66fd2f19687a81c1803203a63">EEps</a>, 
32
 
<a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c802653a6ff3144bc14dc5067aa0cf5ea9f7ab">EIpe5</a>, 
33
 
<br>
34
 
&nbsp;&nbsp;<a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265ebba01cb1d3ffe1aebdeb1515c0b7bc4">EUnknown</a>
35
 
<br>
36
 
 }
37
 
<li>enum { <br>
38
 
&nbsp;&nbsp;<a class="el" href="class_ipe_document.html#ab233af348efb730014b86e17b39908e640d7817fcd58e6665503643c76d7702">ESaveNormal</a> =  0, 
39
 
<a class="el" href="class_ipe_document.html#ab233af348efb730014b86e17b39908e6bd8a42d686472a6269b5e9f1a1107b4">EExport</a> =  1, 
40
 
<a class="el" href="class_ipe_document.html#ab233af348efb730014b86e17b39908e37ccaaaf91e67832072a9ca10c35117f">ENoShading</a> =  2, 
41
 
<a class="el" href="class_ipe_document.html#ab233af348efb730014b86e17b39908e9b20184ed619763b0efbfb1639d1cd95">ELastView</a> =  4, 
42
 
<br>
43
 
&nbsp;&nbsp;<a class="el" href="class_ipe_document.html#ab233af348efb730014b86e17b39908ef38034d8f86d13e0caf5ab3421a92dbb">ENoColor</a> =  8
44
 
<br>
45
 
 }
46
 
</ul>
47
 
<h2>Public Member Functions</h2>
48
 
<ul>
49
 
<li><a class="el" href="class_ipe_document.html#269995933a1bdc3ad228e88fb3ed0f8e">IpeDocument</a> ()
50
 
<li><a class="el" href="class_ipe_document.html#668009a14ce574cc3f8f905ace8f8e59">~IpeDocument</a> ()
51
 
<li>bool <a class="el" href="class_ipe_document.html#cb74e27a632d84fb4572ef3858f8b0d7">Save</a> (<a class="el" href="class_ipe_tell_stream.html">IpeTellStream</a> &amp;stream, <a class="el" href="class_ipe_string.html">IpeString</a> creator, <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a> format, uint flags, int fromPage, int toPage, int compressLevel=9) const
52
 
<li><a class="anchor" name="abaa13c8a5f7807c823778748e2b2900"></a><!-- doxytag: member="IpeDocument::Save" ref="abaa13c8a5f7807c823778748e2b2900" args="(const char *fname, IpeString creator, TFormat format, uint flags, int fromPage=-1, int toPage=-1, int compressLevel=9) const" -->
53
 
bool <b>Save</b> (const char *fname, <a class="el" href="class_ipe_string.html">IpeString</a> creator, <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a> format, uint flags, int fromPage=-1, int toPage=-1, int compressLevel=9) const
54
 
<li>void <a class="el" href="class_ipe_document.html#dd5584945e0a5867f6104469d53b78a4">SaveAsXml</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;stream, <a class="el" href="class_ipe_string.html">IpeString</a> creator, bool usePdfBitmaps=false) const
55
 
<li>bool <a class="el" href="class_ipe_document.html#e1d1b6c99ee2c34692c6c934072cad52">AddStyleSheet</a> (<a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;source)
56
 
<li><a class="anchor" name="7db7d69fa0962bc55963925beef95f31"></a><!-- doxytag: member="IpeDocument::pages" ref="7db7d69fa0962bc55963925beef95f31" args="() const" -->
57
 
int <b>pages</b> () const
58
 
<li>int <a class="el" href="class_ipe_document.html#eab73384bbd0a9542472feea3d779ff2">totalViews</a> () const
59
 
<li>const <a class="el" href="class_ipe_page.html">IpePage</a> * <a class="el" href="class_ipe_document.html#e843928e9cbe703161a6645bdaf6a468">page</a> (int no) const
60
 
<li><a class="el" href="class_ipe_page.html">IpePage</a> * <a class="el" href="class_ipe_document.html#b931ad13393c93f6d5b1f8bf84e417d1">page</a> (int no)
61
 
<li><a class="el" href="class_ipe_page.html">IpePage</a> * <a class="el" href="class_ipe_document.html#decb87dee7920327f35219cffcba5724">setPage</a> (int no, <a class="el" href="class_ipe_page.html">IpePage</a> *page)
62
 
<li><a class="el" href="class_ipe_page.html">IpePage</a> * <a class="el" href="class_ipe_document.html#be0efe38a4f942f8c3bcfc61b48f817a">newPage</a> (int gridSize)
63
 
<li>void <a class="el" href="class_ipe_document.html#535057349f9f802becbf6cf2889acb94">addPage</a> (int no, <a class="el" href="class_ipe_page.html">IpePage</a> *page)
64
 
<li><a class="el" href="class_ipe_page.html">IpePage</a> * <a class="el" href="class_ipe_document.html#c4893c9948788af11fbbe7d8711c9b8a">removePage</a> (int no)
65
 
<li><a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a> <a class="el" href="class_ipe_document.html#e85affb9834ba35e527b1c17e40621ae">Properties</a> () const
66
 
<li>void <a class="el" href="class_ipe_document.html#e532feb0293e0edec8435e15e10fdd0b">SetProperties</a> (const <a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a> &amp;info)
67
 
<li><a class="el" href="struct_ipe_layout.html">IpeLayout</a> <a class="el" href="class_ipe_document.html#62e8d124b652e52a5d4dcc1a0ff38303">layout</a> () const
68
 
<li>void <a class="el" href="class_ipe_document.html#caf3d0be351976b8c2355cc11d7d01a1">SetStyleSheet</a> (<a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet)
69
 
<li>const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_document.html#627711e1c7d603b4f824ad521a691a32">StyleSheet</a> () const
70
 
<li><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_document.html#4b5f1b6e45785158554a282c4c42cc16">GetStyleSheet</a> ()
71
 
<li>bool <a class="el" href="class_ipe_document.html#84111dd8e4c0f37d09cb6c5aaf026f9c">IsEdited</a> () const
72
 
<li>void <a class="el" href="class_ipe_document.html#8ca0937154fdcd9b5cdd60bcca9d90ba">SetEdited</a> (bool edited)
73
 
<li>void <a class="el" href="class_ipe_document.html#c431bf35c371269cc3ad5492bf22d5ab">SetFontPool</a> (<a class="el" href="class_ipe_font_pool.html">IpeFontPool</a> *fontPool)
74
 
<li>const <a class="el" href="class_ipe_font_pool.html">IpeFontPool</a> * <a class="el" href="class_ipe_document.html#7e30fd9b2cfa125ec43f802ffaf4249e">FontPool</a> () const
75
 
<li><a class="anchor" name="78264a81169e0b68924b495d61981176"></a><!-- doxytag: member="IpeDocument::HasTrueTypeFonts" ref="78264a81169e0b68924b495d61981176" args="() const" -->
76
 
bool <b>HasTrueTypeFonts</b> () const
77
 
<li>void <a class="el" href="class_ipe_document.html#4faf10dea94c9fce934eb67433b904d2">FindBitmaps</a> (<a class="el" href="class_ipe_bitmap_finder.html">IpeBitmapFinder</a> &amp;bm) const 
78
 
<li>bool <a class="el" href="class_ipe_document.html#bb63e107aec1c7a4a87d7cf0ca84b96d">CheckStyle</a> (<a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;seq) const 
79
 
<li><a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_document.html#b7a4de5167bce088441df5629b71e6be">Repository</a> ()
80
 
<li>const <a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_document.html#463f023687c21c741326441f98a399ec">Repository</a> () const
81
 
</ul>
82
 
<h2>Static Public Member Functions</h2>
83
 
<ul>
84
 
<li>static <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a> <a class="el" href="class_ipe_document.html#3bfb6843b8945d0a4fd0d077c190fa3c">FileFormat</a> (<a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;source)
85
 
<li>static <a class="el" href="class_ipe_document.html">IpeDocument</a> * <a class="el" href="class_ipe_document.html#ddf24d97cc59e975d7dc8261fce396e4">New</a> (<a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;source, <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a> format, int &amp;reason)
86
 
<li><a class="anchor" name="956e23b3e0715699e378f7ba90415f42"></a><!-- doxytag: member="IpeDocument::New" ref="956e23b3e0715699e378f7ba90415f42" args="(const char *fname, int &amp;reason)" -->
87
 
static <a class="el" href="class_ipe_document.html">IpeDocument</a> * <b>New</b> (const char *fname, int &amp;reason)
88
 
</ul>
89
 
<h2>Protected Attributes</h2>
90
 
<ul>
91
 
<li><a class="anchor" name="13c6220a8f1e75747019aef2cf0cdce4"></a><!-- doxytag: member="IpeDocument::iPages" ref="13c6220a8f1e75747019aef2cf0cdce4" args="" -->
92
 
std::vector&lt; <a class="el" href="class_ipe_page.html">IpePage</a> * &gt; <b>iPages</b>
93
 
<li><a class="anchor" name="e91e3c125dfcb52dd9c0536b8f89cf58"></a><!-- doxytag: member="IpeDocument::iStyleSheet" ref="e91e3c125dfcb52dd9c0536b8f89cf58" args="" -->
94
 
<a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <b>iStyleSheet</b>
95
 
<li><a class="anchor" name="f77aaf45f0321efa06bbbc09ee01528b"></a><!-- doxytag: member="IpeDocument::iProperties" ref="f77aaf45f0321efa06bbbc09ee01528b" args="" -->
96
 
<a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a> <b>iProperties</b>
97
 
<li><a class="anchor" name="5d0dbbecf98a5c7549fd585c96f51ee6"></a><!-- doxytag: member="IpeDocument::iEdited" ref="5d0dbbecf98a5c7549fd585c96f51ee6" args="" -->
98
 
bool <b>iEdited</b>
99
 
<li><a class="anchor" name="306b7491cefcf0b6f31d9e6366e1564a"></a><!-- doxytag: member="IpeDocument::iRepository" ref="306b7491cefcf0b6f31d9e6366e1564a" args="" -->
100
 
<a class="el" href="class_ipe_repository.html">IpeRepository</a> <b>iRepository</b>
101
 
<li><a class="anchor" name="2a3ce3c1ff32ace31d0b2c50d4ac1db6"></a><!-- doxytag: member="IpeDocument::iFontPool" ref="2a3ce3c1ff32ace31d0b2c50d4ac1db6" args="" -->
102
 
<a class="el" href="class_ipe_font_pool.html">IpeFontPool</a> * <b>iFontPool</b>
103
 
</ul>
104
 
<h2>Classes</h2>
105
 
<ul>
106
 
<li>struct <a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a>
107
 
<dl class="el"><dd class="mdescRight">Properties of a document.  <a href="struct_ipe_document_1_1_s_properties.html#_details">More...</a><br></dl></ul>
108
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
109
 
The model for an Ipe document. 
110
 
<p>
111
 
The <a class="el" href="class_ipe_document.html">IpeDocument</a> class is the engine behind the Ipe program. It represents the contents of an Ipe document, and all the methods necessary to load, save, and edit it. It is independent of a specific user interface.<p>
112
 
IpeDocument's cannot be copied or assigned.<p>
113
 
Note that the <a class="el" href="class_ipe_document.html">IpeDocument</a> owns the <a class="el" href="class_ipe_repository.html">IpeRepository</a> that defines the meaning of all object's attributes. Therefore, the document is the largest extent where IpeObject's make sense. You can have several documents at once, but you cannot move IpeObject's (or IpeStyleSheet's) from one to the other. If you need to do so, you'll have to externalize them to XML and internalize them into the other document. 
114
 
<p>
115
 
<hr><h2>Member Enumeration Documentation</h2>
116
 
<a class="anchor" name="303e66ca1922104f8ea07fa683c80265"></a><!-- doxytag: member="IpeDocument::TFormat" ref="303e66ca1922104f8ea07fa683c80265" args="" -->
117
 
<div class="memitem">
118
 
<div class="memproto">
119
 
      <table class="memname">
120
 
        <tr>
121
 
          <td class="memname">enum <a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">IpeDocument::TFormat</a>          </td>
122
 
        </tr>
123
 
      </table>
124
 
</div>
125
 
<div class="memdoc">
126
 
 
127
 
<p>
128
 
There are several Ipe document save formats. 
129
 
<p>
130
 
<dl compact><dt><b>Enumerator: </b></dt><dd>
131
 
<table border="0" cellspacing="2" cellpadding="0">
132
 
<tr><td valign="top"><em><a class="anchor" name="303e66ca1922104f8ea07fa683c8026578ffb27aaf1d7acd67741c93d6a92908"></a><!-- doxytag: member="EXml" ref="303e66ca1922104f8ea07fa683c8026578ffb27aaf1d7acd67741c93d6a92908" args="" -->EXml</em>&nbsp;</td><td>
133
 
Save as XML. </td></tr>
134
 
<tr><td valign="top"><em><a class="anchor" name="303e66ca1922104f8ea07fa683c802654c1afc2a1ea944935dbc0302580be5a8"></a><!-- doxytag: member="EPdf" ref="303e66ca1922104f8ea07fa683c802654c1afc2a1ea944935dbc0302580be5a8" args="" -->EPdf</em>&nbsp;</td><td>
135
 
Save as PDF. </td></tr>
136
 
<tr><td valign="top"><em><a class="anchor" name="303e66ca1922104f8ea07fa683c80265bcedc5c66fd2f19687a81c1803203a63"></a><!-- doxytag: member="EEps" ref="303e66ca1922104f8ea07fa683c80265bcedc5c66fd2f19687a81c1803203a63" args="" -->EEps</em>&nbsp;</td><td>
137
 
Save as Encapsulated Postscript. </td></tr>
138
 
<tr><td valign="top"><em><a class="anchor" name="303e66ca1922104f8ea07fa683c802653a6ff3144bc14dc5067aa0cf5ea9f7ab"></a><!-- doxytag: member="EIpe5" ref="303e66ca1922104f8ea07fa683c802653a6ff3144bc14dc5067aa0cf5ea9f7ab" args="" -->EIpe5</em>&nbsp;</td><td>
139
 
Old Ipe format. </td></tr>
140
 
<tr><td valign="top"><em><a class="anchor" name="303e66ca1922104f8ea07fa683c80265ebba01cb1d3ffe1aebdeb1515c0b7bc4"></a><!-- doxytag: member="EUnknown" ref="303e66ca1922104f8ea07fa683c80265ebba01cb1d3ffe1aebdeb1515c0b7bc4" args="" -->EUnknown</em>&nbsp;</td><td>
141
 
Unknown file format. </td></tr>
142
 
</table>
143
 
</dl>
144
 
 
145
 
</div>
146
 
</div><p>
147
 
<a class="anchor" name="ab233af348efb730014b86e17b39908e"></a><!-- doxytag: member="IpeDocument::@3" ref="ab233af348efb730014b86e17b39908e" args="" -->
148
 
<div class="memitem">
149
 
<div class="memproto">
150
 
      <table class="memname">
151
 
        <tr>
152
 
          <td class="memname">anonymous enum          </td>
153
 
        </tr>
154
 
      </table>
155
 
</div>
156
 
<div class="memdoc">
157
 
 
158
 
<p>
159
 
Options for saving Ipe documents (to PDF and Postscript). 
160
 
<p>
161
 
<dl compact><dt><b>Enumerator: </b></dt><dd>
162
 
<table border="0" cellspacing="2" cellpadding="0">
163
 
<tr><td valign="top"><em><a class="anchor" name="ab233af348efb730014b86e17b39908e640d7817fcd58e6665503643c76d7702"></a><!-- doxytag: member="ESaveNormal" ref="ab233af348efb730014b86e17b39908e640d7817fcd58e6665503643c76d7702" args="" -->ESaveNormal</em>&nbsp;</td><td>
164
 
Nothing special. </td></tr>
165
 
<tr><td valign="top"><em><a class="anchor" name="ab233af348efb730014b86e17b39908e6bd8a42d686472a6269b5e9f1a1107b4"></a><!-- doxytag: member="EExport" ref="ab233af348efb730014b86e17b39908e6bd8a42d686472a6269b5e9f1a1107b4" args="" -->EExport</em>&nbsp;</td><td>
166
 
Don't include Ipe markup. </td></tr>
167
 
<tr><td valign="top"><em><a class="anchor" name="ab233af348efb730014b86e17b39908e37ccaaaf91e67832072a9ca10c35117f"></a><!-- doxytag: member="ENoShading" ref="ab233af348efb730014b86e17b39908e37ccaaaf91e67832072a9ca10c35117f" args="" -->ENoShading</em>&nbsp;</td><td>
168
 
Don't shade background in PDF documents. </td></tr>
169
 
<tr><td valign="top"><em><a class="anchor" name="ab233af348efb730014b86e17b39908e9b20184ed619763b0efbfb1639d1cd95"></a><!-- doxytag: member="ELastView" ref="ab233af348efb730014b86e17b39908e9b20184ed619763b0efbfb1639d1cd95" args="" -->ELastView</em>&nbsp;</td><td>
170
 
Create last view of each page only. </td></tr>
171
 
<tr><td valign="top"><em><a class="anchor" name="ab233af348efb730014b86e17b39908ef38034d8f86d13e0caf5ab3421a92dbb"></a><!-- doxytag: member="ENoColor" ref="ab233af348efb730014b86e17b39908ef38034d8f86d13e0caf5ab3421a92dbb" args="" -->ENoColor</em>&nbsp;</td><td>
172
 
No color commands in EPS output. </td></tr>
173
 
</table>
174
 
</dl>
175
 
 
176
 
</div>
177
 
</div><p>
178
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
179
 
<a class="anchor" name="269995933a1bdc3ad228e88fb3ed0f8e"></a><!-- doxytag: member="IpeDocument::IpeDocument" ref="269995933a1bdc3ad228e88fb3ed0f8e" args="()" -->
180
 
<div class="memitem">
181
 
<div class="memproto">
182
 
      <table class="memname">
183
 
        <tr>
184
 
          <td class="memname">IpeDocument::IpeDocument           </td>
185
 
          <td>(</td>
186
 
          <td class="paramname">          </td>
187
 
          <td>&nbsp;)&nbsp;</td>
188
 
          <td width="100%"></td>
189
 
        </tr>
190
 
      </table>
191
 
</div>
192
 
<div class="memdoc">
193
 
 
194
 
<p>
195
 
Construct an empty document for filling by a client. 
196
 
<p>
197
 
As constructed, it has no pages, A4 media, and only the standard style sheet. 
198
 
</div>
199
 
</div><p>
200
 
<a class="anchor" name="668009a14ce574cc3f8f905ace8f8e59"></a><!-- doxytag: member="IpeDocument::~IpeDocument" ref="668009a14ce574cc3f8f905ace8f8e59" args="()" -->
201
 
<div class="memitem">
202
 
<div class="memproto">
203
 
      <table class="memname">
204
 
        <tr>
205
 
          <td class="memname">IpeDocument::~IpeDocument           </td>
206
 
          <td>(</td>
207
 
          <td class="paramname">          </td>
208
 
          <td>&nbsp;)&nbsp;</td>
209
 
          <td width="100%"></td>
210
 
        </tr>
211
 
      </table>
212
 
</div>
213
 
<div class="memdoc">
214
 
 
215
 
<p>
216
 
Destructor. 
217
 
<p>
218
 
 
219
 
</div>
220
 
</div><p>
221
 
<hr><h2>Member Function Documentation</h2>
222
 
<a class="anchor" name="3bfb6843b8945d0a4fd0d077c190fa3c"></a><!-- doxytag: member="IpeDocument::FileFormat" ref="3bfb6843b8945d0a4fd0d077c190fa3c" args="(IpeDataSource &amp;source)" -->
223
 
<div class="memitem">
224
 
<div class="memproto">
225
 
      <table class="memname">
226
 
        <tr>
227
 
          <td class="memname"><a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">IpeDocument::TFormat</a> IpeDocument::FileFormat           </td>
228
 
          <td>(</td>
229
 
          <td class="paramtype"><a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;&nbsp;</td>
230
 
          <td class="paramname"> <em>source</em>          </td>
231
 
          <td>&nbsp;)&nbsp;</td>
232
 
          <td width="100%"><code> [static]</code></td>
233
 
        </tr>
234
 
      </table>
235
 
</div>
236
 
<div class="memdoc">
237
 
 
238
 
<p>
239
 
Determine format of file in <em>source</em>. 
240
 
<p>
241
 
 
242
 
</div>
243
 
</div><p>
244
 
<a class="anchor" name="ddf24d97cc59e975d7dc8261fce396e4"></a><!-- doxytag: member="IpeDocument::New" ref="ddf24d97cc59e975d7dc8261fce396e4" args="(IpeDataSource &amp;source, TFormat format, int &amp;reason)" -->
245
 
<div class="memitem">
246
 
<div class="memproto">
247
 
      <table class="memname">
248
 
        <tr>
249
 
          <td class="memname"><a class="el" href="class_ipe_document.html">IpeDocument</a> * IpeDocument::New           </td>
250
 
          <td>(</td>
251
 
          <td class="paramtype"><a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;&nbsp;</td>
252
 
          <td class="paramname"> <em>source</em>, </td>
253
 
        </tr>
254
 
        <tr>
255
 
          <td class="paramkey"></td>
256
 
          <td></td>
257
 
          <td class="paramtype"><a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a>&nbsp;</td>
258
 
          <td class="paramname"> <em>format</em>, </td>
259
 
        </tr>
260
 
        <tr>
261
 
          <td class="paramkey"></td>
262
 
          <td></td>
263
 
          <td class="paramtype">int &amp;&nbsp;</td>
264
 
          <td class="paramname"> <em>reason</em></td><td>&nbsp;</td>
265
 
        </tr>
266
 
        <tr>
267
 
          <td></td>
268
 
          <td>)</td>
269
 
          <td></td><td></td><td width="100%"><code> [static]</code></td>
270
 
        </tr>
271
 
      </table>
272
 
</div>
273
 
<div class="memdoc">
274
 
 
275
 
<p>
276
 
Construct a document from an input stream. 
277
 
<p>
278
 
Returns 0 if the stream couldn't be parsed, and a reason explaining that in <em>reason</em>. If <em>reason</em> is positive, it is a file (stream) offset where parsing failed. If <em>reason</em> is negative, it is an error code. If it is smaller than -60000, then it is the negative value of the Ipe version that created that file (and which exceeds the version of this Ipe). 
279
 
</div>
280
 
</div><p>
281
 
<a class="anchor" name="cb74e27a632d84fb4572ef3858f8b0d7"></a><!-- doxytag: member="IpeDocument::Save" ref="cb74e27a632d84fb4572ef3858f8b0d7" args="(IpeTellStream &amp;stream, IpeString creator, TFormat format, uint flags, int fromPage, int toPage, int compressLevel=9) const" -->
282
 
<div class="memitem">
283
 
<div class="memproto">
284
 
      <table class="memname">
285
 
        <tr>
286
 
          <td class="memname">bool IpeDocument::Save           </td>
287
 
          <td>(</td>
288
 
          <td class="paramtype"><a class="el" href="class_ipe_tell_stream.html">IpeTellStream</a> &amp;&nbsp;</td>
289
 
          <td class="paramname"> <em>stream</em>, </td>
290
 
        </tr>
291
 
        <tr>
292
 
          <td class="paramkey"></td>
293
 
          <td></td>
294
 
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
295
 
          <td class="paramname"> <em>creator</em>, </td>
296
 
        </tr>
297
 
        <tr>
298
 
          <td class="paramkey"></td>
299
 
          <td></td>
300
 
          <td class="paramtype"><a class="el" href="class_ipe_document.html#303e66ca1922104f8ea07fa683c80265">TFormat</a>&nbsp;</td>
301
 
          <td class="paramname"> <em>format</em>, </td>
302
 
        </tr>
303
 
        <tr>
304
 
          <td class="paramkey"></td>
305
 
          <td></td>
306
 
          <td class="paramtype">uint&nbsp;</td>
307
 
          <td class="paramname"> <em>flags</em>, </td>
308
 
        </tr>
309
 
        <tr>
310
 
          <td class="paramkey"></td>
311
 
          <td></td>
312
 
          <td class="paramtype">int&nbsp;</td>
313
 
          <td class="paramname"> <em>fromPage</em>, </td>
314
 
        </tr>
315
 
        <tr>
316
 
          <td class="paramkey"></td>
317
 
          <td></td>
318
 
          <td class="paramtype">int&nbsp;</td>
319
 
          <td class="paramname"> <em>toPage</em>, </td>
320
 
        </tr>
321
 
        <tr>
322
 
          <td class="paramkey"></td>
323
 
          <td></td>
324
 
          <td class="paramtype">int&nbsp;</td>
325
 
          <td class="paramname"> <em>compressLevel</em> = <code>9</code></td><td>&nbsp;</td>
326
 
        </tr>
327
 
        <tr>
328
 
          <td></td>
329
 
          <td>)</td>
330
 
          <td></td><td></td><td width="100%"> const</td>
331
 
        </tr>
332
 
      </table>
333
 
</div>
334
 
<div class="memdoc">
335
 
 
336
 
<p>
337
 
Save in a stream. 
338
 
<p>
339
 
Returns true if sucessful.<p>
340
 
Does not reset <a class="el" href="class_ipe_document.html#84111dd8e4c0f37d09cb6c5aaf026f9c">IsEdited()</a>. 
341
 
</div>
342
 
</div><p>
343
 
<a class="anchor" name="dd5584945e0a5867f6104469d53b78a4"></a><!-- doxytag: member="IpeDocument::SaveAsXml" ref="dd5584945e0a5867f6104469d53b78a4" args="(IpeStream &amp;stream, IpeString creator, bool usePdfBitmaps=false) const" -->
344
 
<div class="memitem">
345
 
<div class="memproto">
346
 
      <table class="memname">
347
 
        <tr>
348
 
          <td class="memname">void IpeDocument::SaveAsXml           </td>
349
 
          <td>(</td>
350
 
          <td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;&nbsp;</td>
351
 
          <td class="paramname"> <em>stream</em>, </td>
352
 
        </tr>
353
 
        <tr>
354
 
          <td class="paramkey"></td>
355
 
          <td></td>
356
 
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
357
 
          <td class="paramname"> <em>creator</em>, </td>
358
 
        </tr>
359
 
        <tr>
360
 
          <td class="paramkey"></td>
361
 
          <td></td>
362
 
          <td class="paramtype">bool&nbsp;</td>
363
 
          <td class="paramname"> <em>usePdfBitmaps</em> = <code>false</code></td><td>&nbsp;</td>
364
 
        </tr>
365
 
        <tr>
366
 
          <td></td>
367
 
          <td>)</td>
368
 
          <td></td><td></td><td width="100%"> const</td>
369
 
        </tr>
370
 
      </table>
371
 
</div>
372
 
<div class="memdoc">
373
 
 
374
 
<p>
375
 
Save in XML format into an <a class="el" href="class_ipe_stream.html">IpeStream</a>. 
376
 
<p>
377
 
You can set <em>creator</em> to set the <code>creator</code> attribute in the <code></code> &lt;ipe&gt; tag. 
378
 
</div>
379
 
</div><p>
380
 
<a class="anchor" name="e1d1b6c99ee2c34692c6c934072cad52"></a><!-- doxytag: member="IpeDocument::AddStyleSheet" ref="e1d1b6c99ee2c34692c6c934072cad52" args="(IpeDataSource &amp;source)" -->
381
 
<div class="memitem">
382
 
<div class="memproto">
383
 
      <table class="memname">
384
 
        <tr>
385
 
          <td class="memname">bool IpeDocument::AddStyleSheet           </td>
386
 
          <td>(</td>
387
 
          <td class="paramtype"><a class="el" href="class_ipe_data_source.html">IpeDataSource</a> &amp;&nbsp;</td>
388
 
          <td class="paramname"> <em>source</em>          </td>
389
 
          <td>&nbsp;)&nbsp;</td>
390
 
          <td width="100%"></td>
391
 
        </tr>
392
 
      </table>
393
 
</div>
394
 
<div class="memdoc">
395
 
 
396
 
<p>
397
 
Load a style sheet and add at top of cascade. 
398
 
<p>
399
 
 
400
 
</div>
401
 
</div><p>
402
 
<a class="anchor" name="eab73384bbd0a9542472feea3d779ff2"></a><!-- doxytag: member="IpeDocument::totalViews" ref="eab73384bbd0a9542472feea3d779ff2" args="() const" -->
403
 
<div class="memitem">
404
 
<div class="memproto">
405
 
      <table class="memname">
406
 
        <tr>
407
 
          <td class="memname">int IpeDocument::totalViews           </td>
408
 
          <td>(</td>
409
 
          <td class="paramname">          </td>
410
 
          <td>&nbsp;)&nbsp;</td>
411
 
          <td width="100%"> const</td>
412
 
        </tr>
413
 
      </table>
414
 
</div>
415
 
<div class="memdoc">
416
 
 
417
 
<p>
418
 
Return total number of views in all pages. 
419
 
<p>
420
 
 
421
 
</div>
422
 
</div><p>
423
 
<a class="anchor" name="e843928e9cbe703161a6645bdaf6a468"></a><!-- doxytag: member="IpeDocument::page" ref="e843928e9cbe703161a6645bdaf6a468" args="(int no) const" -->
424
 
<div class="memitem">
425
 
<div class="memproto">
426
 
      <table class="memname">
427
 
        <tr>
428
 
          <td class="memname">const <a class="el" href="class_ipe_page.html">IpePage</a>* IpeDocument::page           </td>
429
 
          <td>(</td>
430
 
          <td class="paramtype">int&nbsp;</td>
431
 
          <td class="paramname"> <em>no</em>          </td>
432
 
          <td>&nbsp;)&nbsp;</td>
433
 
          <td width="100%"> const<code> [inline]</code></td>
434
 
        </tr>
435
 
      </table>
436
 
</div>
437
 
<div class="memdoc">
438
 
 
439
 
<p>
440
 
Return page (const version). 
441
 
<p>
442
 
The first page is no 0. 
443
 
</div>
444
 
</div><p>
445
 
<a class="anchor" name="b931ad13393c93f6d5b1f8bf84e417d1"></a><!-- doxytag: member="IpeDocument::page" ref="b931ad13393c93f6d5b1f8bf84e417d1" args="(int no)" -->
446
 
<div class="memitem">
447
 
<div class="memproto">
448
 
      <table class="memname">
449
 
        <tr>
450
 
          <td class="memname"><a class="el" href="class_ipe_page.html">IpePage</a>* IpeDocument::page           </td>
451
 
          <td>(</td>
452
 
          <td class="paramtype">int&nbsp;</td>
453
 
          <td class="paramname"> <em>no</em>          </td>
454
 
          <td>&nbsp;)&nbsp;</td>
455
 
          <td width="100%"><code> [inline]</code></td>
456
 
        </tr>
457
 
      </table>
458
 
</div>
459
 
<div class="memdoc">
460
 
 
461
 
<p>
462
 
Return page. 
463
 
<p>
464
 
The first page is no 0. 
465
 
</div>
466
 
</div><p>
467
 
<a class="anchor" name="decb87dee7920327f35219cffcba5724"></a><!-- doxytag: member="IpeDocument::setPage" ref="decb87dee7920327f35219cffcba5724" args="(int no, IpePage *page)" -->
468
 
<div class="memitem">
469
 
<div class="memproto">
470
 
      <table class="memname">
471
 
        <tr>
472
 
          <td class="memname"><a class="el" href="class_ipe_page.html">IpePage</a> * IpeDocument::setPage           </td>
473
 
          <td>(</td>
474
 
          <td class="paramtype">int&nbsp;</td>
475
 
          <td class="paramname"> <em>no</em>, </td>
476
 
        </tr>
477
 
        <tr>
478
 
          <td class="paramkey"></td>
479
 
          <td></td>
480
 
          <td class="paramtype"><a class="el" href="class_ipe_page.html">IpePage</a> *&nbsp;</td>
481
 
          <td class="paramname"> <em>page</em></td><td>&nbsp;</td>
482
 
        </tr>
483
 
        <tr>
484
 
          <td></td>
485
 
          <td>)</td>
486
 
          <td></td><td></td><td width="100%"></td>
487
 
        </tr>
488
 
      </table>
489
 
</div>
490
 
<div class="memdoc">
491
 
 
492
 
<p>
493
 
Replace page. 
494
 
<p>
495
 
Returns the old page. 
496
 
</div>
497
 
</div><p>
498
 
<a class="anchor" name="be0efe38a4f942f8c3bcfc61b48f817a"></a><!-- doxytag: member="IpeDocument::newPage" ref="be0efe38a4f942f8c3bcfc61b48f817a" args="(int gridSize)" -->
499
 
<div class="memitem">
500
 
<div class="memproto">
501
 
      <table class="memname">
502
 
        <tr>
503
 
          <td class="memname"><a class="el" href="class_ipe_page.html">IpePage</a> * IpeDocument::newPage           </td>
504
 
          <td>(</td>
505
 
          <td class="paramtype">int&nbsp;</td>
506
 
          <td class="paramname"> <em>gridSize</em>          </td>
507
 
          <td>&nbsp;)&nbsp;</td>
508
 
          <td width="100%"></td>
509
 
        </tr>
510
 
      </table>
511
 
</div>
512
 
<div class="memdoc">
513
 
 
514
 
<p>
515
 
Create a new empty page with standard settings. 
516
 
<p>
517
 
The page is not added to the document, use addPage to do that. 
518
 
</div>
519
 
</div><p>
520
 
<a class="anchor" name="535057349f9f802becbf6cf2889acb94"></a><!-- doxytag: member="IpeDocument::addPage" ref="535057349f9f802becbf6cf2889acb94" args="(int no, IpePage *page)" -->
521
 
<div class="memitem">
522
 
<div class="memproto">
523
 
      <table class="memname">
524
 
        <tr>
525
 
          <td class="memname">void IpeDocument::addPage           </td>
526
 
          <td>(</td>
527
 
          <td class="paramtype">int&nbsp;</td>
528
 
          <td class="paramname"> <em>no</em>, </td>
529
 
        </tr>
530
 
        <tr>
531
 
          <td class="paramkey"></td>
532
 
          <td></td>
533
 
          <td class="paramtype"><a class="el" href="class_ipe_page.html">IpePage</a> *&nbsp;</td>
534
 
          <td class="paramname"> <em>page</em></td><td>&nbsp;</td>
535
 
        </tr>
536
 
        <tr>
537
 
          <td></td>
538
 
          <td>)</td>
539
 
          <td></td><td></td><td width="100%"></td>
540
 
        </tr>
541
 
      </table>
542
 
</div>
543
 
<div class="memdoc">
544
 
 
545
 
<p>
546
 
Insert a new page. 
547
 
<p>
548
 
 
549
 
</div>
550
 
</div><p>
551
 
<a class="anchor" name="c4893c9948788af11fbbe7d8711c9b8a"></a><!-- doxytag: member="IpeDocument::removePage" ref="c4893c9948788af11fbbe7d8711c9b8a" args="(int no)" -->
552
 
<div class="memitem">
553
 
<div class="memproto">
554
 
      <table class="memname">
555
 
        <tr>
556
 
          <td class="memname"><a class="el" href="class_ipe_page.html">IpePage</a> * IpeDocument::removePage           </td>
557
 
          <td>(</td>
558
 
          <td class="paramtype">int&nbsp;</td>
559
 
          <td class="paramname"> <em>no</em>          </td>
560
 
          <td>&nbsp;)&nbsp;</td>
561
 
          <td width="100%"></td>
562
 
        </tr>
563
 
      </table>
564
 
</div>
565
 
<div class="memdoc">
566
 
 
567
 
<p>
568
 
Remove a page. 
569
 
<p>
570
 
Returns the page that has been removed. 
571
 
</div>
572
 
</div><p>
573
 
<a class="anchor" name="e85affb9834ba35e527b1c17e40621ae"></a><!-- doxytag: member="IpeDocument::Properties" ref="e85affb9834ba35e527b1c17e40621ae" args="() const" -->
574
 
<div class="memitem">
575
 
<div class="memproto">
576
 
      <table class="memname">
577
 
        <tr>
578
 
          <td class="memname"><a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a> IpeDocument::Properties           </td>
579
 
          <td>(</td>
580
 
          <td class="paramname">          </td>
581
 
          <td>&nbsp;)&nbsp;</td>
582
 
          <td width="100%"> const<code> [inline]</code></td>
583
 
        </tr>
584
 
      </table>
585
 
</div>
586
 
<div class="memdoc">
587
 
 
588
 
<p>
589
 
Return document properties. 
590
 
<p>
591
 
 
592
 
</div>
593
 
</div><p>
594
 
<a class="anchor" name="e532feb0293e0edec8435e15e10fdd0b"></a><!-- doxytag: member="IpeDocument::SetProperties" ref="e532feb0293e0edec8435e15e10fdd0b" args="(const SProperties &amp;info)" -->
595
 
<div class="memitem">
596
 
<div class="memproto">
597
 
      <table class="memname">
598
 
        <tr>
599
 
          <td class="memname">void IpeDocument::SetProperties           </td>
600
 
          <td>(</td>
601
 
          <td class="paramtype">const <a class="el" href="struct_ipe_document_1_1_s_properties.html">SProperties</a> &amp;&nbsp;</td>
602
 
          <td class="paramname"> <em>info</em>          </td>
603
 
          <td>&nbsp;)&nbsp;</td>
604
 
          <td width="100%"></td>
605
 
        </tr>
606
 
      </table>
607
 
</div>
608
 
<div class="memdoc">
609
 
 
610
 
<p>
611
 
Set document properties. 
612
 
<p>
613
 
 
614
 
</div>
615
 
</div><p>
616
 
<a class="anchor" name="62e8d124b652e52a5d4dcc1a0ff38303"></a><!-- doxytag: member="IpeDocument::layout" ref="62e8d124b652e52a5d4dcc1a0ff38303" args="() const" -->
617
 
<div class="memitem">
618
 
<div class="memproto">
619
 
      <table class="memname">
620
 
        <tr>
621
 
          <td class="memname"><a class="el" href="struct_ipe_layout.html">IpeLayout</a> IpeDocument::layout           </td>
622
 
          <td>(</td>
623
 
          <td class="paramname">          </td>
624
 
          <td>&nbsp;)&nbsp;</td>
625
 
          <td width="100%"> const</td>
626
 
        </tr>
627
 
      </table>
628
 
</div>
629
 
<div class="memdoc">
630
 
 
631
 
<p>
632
 
Return document page layout. 
633
 
<p>
634
 
 
635
 
</div>
636
 
</div><p>
637
 
<a class="anchor" name="caf3d0be351976b8c2355cc11d7d01a1"></a><!-- doxytag: member="IpeDocument::SetStyleSheet" ref="caf3d0be351976b8c2355cc11d7d01a1" args="(IpeStyleSheet *sheet)" -->
638
 
<div class="memitem">
639
 
<div class="memproto">
640
 
      <table class="memname">
641
 
        <tr>
642
 
          <td class="memname">void IpeDocument::SetStyleSheet           </td>
643
 
          <td>(</td>
644
 
          <td class="paramtype"><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
645
 
          <td class="paramname"> <em>sheet</em>          </td>
646
 
          <td>&nbsp;)&nbsp;</td>
647
 
          <td width="100%"></td>
648
 
        </tr>
649
 
      </table>
650
 
</div>
651
 
<div class="memdoc">
652
 
 
653
 
<p>
654
 
Replace the style sheet cascade. 
655
 
<p>
656
 
The previous contents is not deleted (because this function is often used to insert style sheets into the cascade).<p>
657
 
Sets the edited flag. 
658
 
</div>
659
 
</div><p>
660
 
<a class="anchor" name="627711e1c7d603b4f824ad521a691a32"></a><!-- doxytag: member="IpeDocument::StyleSheet" ref="627711e1c7d603b4f824ad521a691a32" args="() const" -->
661
 
<div class="memitem">
662
 
<div class="memproto">
663
 
      <table class="memname">
664
 
        <tr>
665
 
          <td class="memname">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a>* IpeDocument::StyleSheet           </td>
666
 
          <td>(</td>
667
 
          <td class="paramname">          </td>
668
 
          <td>&nbsp;)&nbsp;</td>
669
 
          <td width="100%"> const<code> [inline]</code></td>
670
 
        </tr>
671
 
      </table>
672
 
</div>
673
 
<div class="memdoc">
674
 
 
675
 
<p>
676
 
Return const pointer to topmost stylesheet. 
677
 
<p>
678
 
 
679
 
</div>
680
 
</div><p>
681
 
<a class="anchor" name="4b5f1b6e45785158554a282c4c42cc16"></a><!-- doxytag: member="IpeDocument::GetStyleSheet" ref="4b5f1b6e45785158554a282c4c42cc16" args="()" -->
682
 
<div class="memitem">
683
 
<div class="memproto">
684
 
      <table class="memname">
685
 
        <tr>
686
 
          <td class="memname"><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a>* IpeDocument::GetStyleSheet           </td>
687
 
          <td>(</td>
688
 
          <td class="paramname">          </td>
689
 
          <td>&nbsp;)&nbsp;</td>
690
 
          <td width="100%"><code> [inline]</code></td>
691
 
        </tr>
692
 
      </table>
693
 
</div>
694
 
<div class="memdoc">
695
 
 
696
 
<p>
697
 
Return modifiable stylesheet. 
698
 
<p>
699
 
 
700
 
</div>
701
 
</div><p>
702
 
<a class="anchor" name="84111dd8e4c0f37d09cb6c5aaf026f9c"></a><!-- doxytag: member="IpeDocument::IsEdited" ref="84111dd8e4c0f37d09cb6c5aaf026f9c" args="() const" -->
703
 
<div class="memitem">
704
 
<div class="memproto">
705
 
      <table class="memname">
706
 
        <tr>
707
 
          <td class="memname">bool IpeDocument::IsEdited           </td>
708
 
          <td>(</td>
709
 
          <td class="paramname">          </td>
710
 
          <td>&nbsp;)&nbsp;</td>
711
 
          <td width="100%"> const</td>
712
 
        </tr>
713
 
      </table>
714
 
</div>
715
 
<div class="memdoc">
716
 
 
717
 
<p>
718
 
Return true if document has been edited since last save. 
719
 
<p>
720
 
 
721
 
</div>
722
 
</div><p>
723
 
<a class="anchor" name="8ca0937154fdcd9b5cdd60bcca9d90ba"></a><!-- doxytag: member="IpeDocument::SetEdited" ref="8ca0937154fdcd9b5cdd60bcca9d90ba" args="(bool edited)" -->
724
 
<div class="memitem">
725
 
<div class="memproto">
726
 
      <table class="memname">
727
 
        <tr>
728
 
          <td class="memname">void IpeDocument::SetEdited           </td>
729
 
          <td>(</td>
730
 
          <td class="paramtype">bool&nbsp;</td>
731
 
          <td class="paramname"> <em>edited</em>          </td>
732
 
          <td>&nbsp;)&nbsp;</td>
733
 
          <td width="100%"></td>
734
 
        </tr>
735
 
      </table>
736
 
</div>
737
 
<div class="memdoc">
738
 
 
739
 
<p>
740
 
Set whether document has been edited. 
741
 
<p>
742
 
Methods that can modify the document already set the flag, so you only need to call this when inserting or deleting pages, etc. When modifying an <a class="el" href="class_ipe_page.html">IpePage</a>, rather call IpePage::SetEdited(true).<p>
743
 
Clients need to manually reset the edited flag when they save the document, or after constructing it during loading.<p>
744
 
Calling this with <code>edited</code> == <code>false</code> will call IpePage::SetEdited(false) for all pages. 
745
 
</div>
746
 
</div><p>
747
 
<a class="anchor" name="c431bf35c371269cc3ad5492bf22d5ab"></a><!-- doxytag: member="IpeDocument::SetFontPool" ref="c431bf35c371269cc3ad5492bf22d5ab" args="(IpeFontPool *fontPool)" -->
748
 
<div class="memitem">
749
 
<div class="memproto">
750
 
      <table class="memname">
751
 
        <tr>
752
 
          <td class="memname">void IpeDocument::SetFontPool           </td>
753
 
          <td>(</td>
754
 
          <td class="paramtype"><a class="el" href="class_ipe_font_pool.html">IpeFontPool</a> *&nbsp;</td>
755
 
          <td class="paramname"> <em>fontPool</em>          </td>
756
 
          <td>&nbsp;)&nbsp;</td>
757
 
          <td width="100%"></td>
758
 
        </tr>
759
 
      </table>
760
 
</div>
761
 
<div class="memdoc">
762
 
 
763
 
<p>
764
 
Update the font pool (after running Pdflatex). 
765
 
<p>
766
 
Takes ownership of the font pool. 
767
 
</div>
768
 
</div><p>
769
 
<a class="anchor" name="7e30fd9b2cfa125ec43f802ffaf4249e"></a><!-- doxytag: member="IpeDocument::FontPool" ref="7e30fd9b2cfa125ec43f802ffaf4249e" args="() const" -->
770
 
<div class="memitem">
771
 
<div class="memproto">
772
 
      <table class="memname">
773
 
        <tr>
774
 
          <td class="memname">const <a class="el" href="class_ipe_font_pool.html">IpeFontPool</a>* IpeDocument::FontPool           </td>
775
 
          <td>(</td>
776
 
          <td class="paramname">          </td>
777
 
          <td>&nbsp;)&nbsp;</td>
778
 
          <td width="100%"> const<code> [inline]</code></td>
779
 
        </tr>
780
 
      </table>
781
 
</div>
782
 
<div class="memdoc">
783
 
 
784
 
<p>
785
 
Return the current <a class="el" href="class_ipe_font_pool.html">IpeFontPool</a>. 
786
 
<p>
787
 
 
788
 
</div>
789
 
</div><p>
790
 
<a class="anchor" name="4faf10dea94c9fce934eb67433b904d2"></a><!-- doxytag: member="IpeDocument::FindBitmaps" ref="4faf10dea94c9fce934eb67433b904d2" args="(IpeBitmapFinder &amp;bm) const " -->
791
 
<div class="memitem">
792
 
<div class="memproto">
793
 
      <table class="memname">
794
 
        <tr>
795
 
          <td class="memname">void IpeDocument::FindBitmaps           </td>
796
 
          <td>(</td>
797
 
          <td class="paramtype"><a class="el" href="class_ipe_bitmap_finder.html">IpeBitmapFinder</a> &amp;&nbsp;</td>
798
 
          <td class="paramname"> <em>bm</em>          </td>
799
 
          <td>&nbsp;)&nbsp;</td>
800
 
          <td width="100%"> const</td>
801
 
        </tr>
802
 
      </table>
803
 
</div>
804
 
<div class="memdoc">
805
 
 
806
 
<p>
807
 
Create a list of all bitmaps in the document. 
808
 
<p>
809
 
 
810
 
</div>
811
 
</div><p>
812
 
<a class="anchor" name="bb63e107aec1c7a4a87d7cf0ca84b96d"></a><!-- doxytag: member="IpeDocument::CheckStyle" ref="bb63e107aec1c7a4a87d7cf0ca84b96d" args="(IpeAttributeSeq &amp;seq) const " -->
813
 
<div class="memitem">
814
 
<div class="memproto">
815
 
      <table class="memname">
816
 
        <tr>
817
 
          <td class="memname">bool IpeDocument::CheckStyle           </td>
818
 
          <td>(</td>
819
 
          <td class="paramtype"><a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;&nbsp;</td>
820
 
          <td class="paramname"> <em>seq</em>          </td>
821
 
          <td>&nbsp;)&nbsp;</td>
822
 
          <td width="100%"> const</td>
823
 
        </tr>
824
 
      </table>
825
 
</div>
826
 
<div class="memdoc">
827
 
 
828
 
<p>
829
 
Check all symbolic attributes in the document. 
830
 
<p>
831
 
This function verifies that all symbolic attributes in the document are defined in the style sheet. It appends to <em>seq</em> all symbolic attributes (in no particular order, but without duplicates) that are NOT defined.<p>
832
 
Returns <code>true</code> if there are no undefined symbolic attributes in the document. 
833
 
</div>
834
 
</div><p>
835
 
<a class="anchor" name="b7a4de5167bce088441df5629b71e6be"></a><!-- doxytag: member="IpeDocument::Repository" ref="b7a4de5167bce088441df5629b71e6be" args="()" -->
836
 
<div class="memitem">
837
 
<div class="memproto">
838
 
      <table class="memname">
839
 
        <tr>
840
 
          <td class="memname"><a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpeDocument::Repository           </td>
841
 
          <td>(</td>
842
 
          <td class="paramname">          </td>
843
 
          <td>&nbsp;)&nbsp;</td>
844
 
          <td width="100%"><code> [inline]</code></td>
845
 
        </tr>
846
 
      </table>
847
 
</div>
848
 
<div class="memdoc">
849
 
 
850
 
<p>
851
 
Return attribute repository. 
852
 
<p>
853
 
 
854
 
</div>
855
 
</div><p>
856
 
<a class="anchor" name="463f023687c21c741326441f98a399ec"></a><!-- doxytag: member="IpeDocument::Repository" ref="463f023687c21c741326441f98a399ec" args="() const" -->
857
 
<div class="memitem">
858
 
<div class="memproto">
859
 
      <table class="memname">
860
 
        <tr>
861
 
          <td class="memname">const <a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpeDocument::Repository           </td>
862
 
          <td>(</td>
863
 
          <td class="paramname">          </td>
864
 
          <td>&nbsp;)&nbsp;</td>
865
 
          <td width="100%"> const<code> [inline]</code></td>
866
 
        </tr>
867
 
      </table>
868
 
</div>
869
 
<div class="memdoc">
870
 
 
871
 
<p>
872
 
Return attribute repository (const version). 
873
 
<p>
874
 
 
875
 
</div>
876
 
</div><p>
877
 
<hr>The documentation for this class was generated from the following files:<ul>
878
 
<li>ipedoc.h<li>ipedoc.cpp</ul>
879
 
<hr>
880
 
</body></html>