Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > e3918135d52936bad0ecc8654eedea12 > files > 377

Falcon-doc-0.9.6.8-1.fc15.noarch.rpm

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
<head><meta content="text/html;charset=&amp;quot;utf-8&amp;quot;" http-equiv="Content-type"/><link href="faldoc.css" rel="stylesheet" type="text/css"/><title> - Class Doc</title></head><body class="faldoc"><ul class="navi_top"><li class="top"><a href="index.html">Top: Table of contents</a></li>
         <li class="up"><a href="hpdf.html">Up: Binding for libHaru, a pdf creatio...</a></li>
         <li class="prev"><a href="hpdf_hpdf_tutorial.html">Previous: Tutorial</a></li>
         <li class="next"><a href="hpdf_Font.html">Next: Class Font</a></li>
         <li class="clear"></li>
         </ul><div id="page_body"><h1><span class="toc_number">11.2</span>Class Doc</h1><p class="brief">Used to operate on a document object. </p>
         <pre class="prototype">Class Doc</pre>
         <table class="members">
         <tbody><tr class="member_type"><td class="member_type" colspan="2">Methods</td></tr>
               <tr><td><a href="#addPage">addPage</a></td><td>Creates a new page and adds it after the last page of a document. </td></tr>
               <tr><td><a href="#getFont">getFont</a></td><td>Gets a font object for the specified font name. </td></tr>
               <tr><td><a href="#insertPage">insertPage</a></td><td>Creates a new page and inserts it just before the specified page. </td></tr>
               </tbody>
            </table>
         <h2>Methods</h2><h3><a name="addPage">addPage</a></h3><p class="brief">Creates a new page and adds it after the last page of a document. </p>
         <pre class="prototype">Doc.addPage()</pre>
         <table class="prototype">
         <tbody><tr class="return"><td class="name">Return</td><td class="content">A new <a href="hpdf_Page.html">Page</a> instance. </td></tr>
               </tbody>
            </table>
         <h3><a name="getFont">getFont</a></h3><p class="brief">Gets a font object for the specified font name. </p>
         <pre class="prototype">Doc.getFont( fontName, [encodingName] )</pre>
         <table class="prototype">
         <tbody><tr class="param"><td class="name">fontName</td><td class="content"> A <a href="http://libharu.org/wiki/Documentation/Fonts#Base14_Fonts" target="_blank">valid font name</a>. </td></tr>
               <tr class="optparam"><td class="name">encodingName</td><td class="content"> A <a href="http://libharu.org/wiki/Documentation/Encodings" target="_blank">valid encoding name</a>. </td></tr>
               <tr class="return"><td class="name">Return</td><td class="content">A <a href="hpdf_Font.html">Font</a> instance. </td></tr>
               </tbody>
            </table>
         <h3><a name="insertPage">insertPage</a></h3><p class="brief">Creates a new page and inserts it just before the specified page. </p>
         <pre class="prototype">Doc.insertPage( page )</pre>
         <table class="prototype">
         <tbody><tr class="param"><td class="name">page</td><td class="content"> The page in front of which the new page will be inserted. </td></tr>
               <tr class="return"><td class="name">Return</td><td class="content">A new <a href="hpdf_Page.html">Page</a> instance. </td></tr>
               </tbody>
            </table>
         </div><ul class="navi_bottom"><li class="top"><a href="index.html">Top: Table of contents</a></li>
         <li class="up"><a href="hpdf.html">Up: Binding for libHaru, a pdf creatio...</a></li>
         <li class="prev"><a href="hpdf_hpdf_tutorial.html">Previous: Tutorial</a></li>
         <li class="next"><a href="hpdf_Font.html">Next: Class Font</a></li>
         <li class="clear"></li>
         </ul><div class="signature">Made with <a href="faldoc 3.0">http://www.falconpl.org</a></div></body></html>