Documentation/Source/eric5.QScintilla.Exporters.ExporterPDF.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.QScintilla.Exporters.ExporterPDF.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.QScintilla.Exporters.ExporterPDF.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.QScintilla.Exporters.ExporterPDF</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#112;&#111;&#114;&#116;&#101;&#114; &#102;&#111;&#114; &#80;&#68;&#70;.
+Module implementing an exporter for PDF.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,16 +32,16 @@
 <table>
 <tr>
 <td><a href="#ExporterPDF">ExporterPDF</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#112;&#111;&#114;&#116;&#101;&#114; &#102;&#111;&#114; &#80;&#68;&#70;.</td>
+<td>Class implementing an exporter for PDF.</td>
 </tr><tr>
 <td><a href="#PDFObjectTracker">PDFObjectTracker</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#116;&#111; &#99;&#111;&#110;v&#101;&#110;&#105;&#101;&#110;&#116;&#108;y &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#111;&#102; &#80;&#68;&#70; &#111;&#98;&#106;&#101;&#99;&#116;&#115; &#115;&#111; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#99;&#114;&#111;&#115;&#115;-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#97;&#98;&#108;&#101; &#99;&#97;&#110; &#98;&#101; &#98;&#117;&#105;&#108;&#116; (&#80;&#68;&#70;&#49;.&#52;&#82;&#101;&#102;(&#112;&#51;&#57;)) &#65;&#108;&#108; w&#114;&#105;&#116;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#97;&#114;&#101; &#112;&#97;&#115;&#115;&#101;&#100; &#116;&#104;&#114;&#111;&#117;&#103;&#104; &#97; &#80;&#68;&#70;&#79;&#98;&#106;&#101;&#99;&#116;&#84;&#114;&#97;&#99;&#107;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116;.</td>
+<td>Class to conveniently handle the tracking of PDF objects so that the cross-reference table can be built (PDF1.4Ref(p39)) All writes to the file are passed through a PDFObjectTracker object.</td>
 </tr><tr>
 <td><a href="#PDFRender">PDFRender</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#108;&#105;&#110;&#101; &#97;&#110;&#100; &#112;&#97;&#103;&#101; &#114;&#101;&#110;&#100;&#101;&#114;&#105;&#110;&#103;.</td>
+<td>Class to manage line and page rendering.</td>
 </tr><tr>
 <td><a href="#PDFStyle">PDFStyle</a></td>
-<td>&#83;&#105;&#109;&#112;&#108;&#101; &#99;&#108;&#97;&#115;&#115; &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#97; &#80;&#68;&#70; &#115;&#116;y&#108;&#101;.</td>
+<td>Simple class to store the values of a PDF style.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -52,7 +52,7 @@
 <a NAME="ExporterPDF" ID="ExporterPDF"></a>
 <h2>ExporterPDF</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#112;&#111;&#114;&#116;&#101;&#114; &#102;&#111;&#114; &#80;&#68;&#70;.
+    Class implementing an exporter for PDF.
 </p>
 <h3>Derived from</h3>
 ExporterBase
@@ -64,57 +64,57 @@
 <table>
 <tr>
 <td><a href="#ExporterPDF.__init__">ExporterPDF</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#ExporterPDF.__getPDFRGB">__getPDFRGB</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#99;&#111;&#108;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#114;&#114;&#101;&#99;&#116; &#80;&#68;&#70; &#99;&#111;&#108;&#111;&#114;.</td>
+<td>Private method to convert a color object to the correct PDF color.</td>
 </tr><tr>
 <td><a href="#ExporterPDF.exportSource">exportSource</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#112;&#101;&#114;&#102;&#111;&#114;&#109;&#105;&#110;&#103; &#116;&#104;&#101; &#101;x&#112;&#111;&#114;&#116;.</td>
+<td>Public method performing the export.</td>
 </tr>
 </table>
 <a NAME="ExporterPDF.__init__" ID="ExporterPDF.__init__"></a>
 <h4>ExporterPDF (Constructor)</h4>
 <b>ExporterPDF</b>(<i>editor, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>editor</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#101;&#100;&#105;&#116;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97;.&#69;&#100;&#105;&#116;&#111;&#114;.&#69;&#100;&#105;&#116;&#111;&#114;)
+reference to the editor object (QScintilla.Editor.Editor)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; &#111;&#102; &#116;&#104;&#101; &#101;x&#112;&#111;&#114;&#116;&#101;&#114; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
+parent object of the exporter (QObject)
 </dd>
 </dl><a NAME="ExporterPDF.__getPDFRGB" ID="ExporterPDF.__getPDFRGB"></a>
 <h4>ExporterPDF.__getPDFRGB</h4>
 <b>__getPDFRGB</b>(<i>color</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#99;&#111;&#108;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#114;&#114;&#101;&#99;&#116; &#80;&#68;&#70; &#99;&#111;&#108;&#111;&#114;.
+        Private method to convert a color object to the correct PDF color.
 </p><dl>
 <dt><i>color</i></dt>
 <dd>
-&#99;&#111;&#108;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; (&#81;&#67;&#111;&#108;&#111;&#114;)
+color object to convert (QColor)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#80;&#68;&#70; &#99;&#111;&#108;&#111;&#114; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
+PDF color description (string)
 </dd>
 </dl><a NAME="ExporterPDF.exportSource" ID="ExporterPDF.exportSource"></a>
 <h4>ExporterPDF.exportSource</h4>
 <b>exportSource</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#112;&#101;&#114;&#102;&#111;&#114;&#109;&#105;&#110;&#103; &#116;&#104;&#101; &#101;x&#112;&#111;&#114;&#116;.
+        Public method performing the export.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
 <a NAME="PDFObjectTracker" ID="PDFObjectTracker"></a>
 <h2>PDFObjectTracker</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#116;&#111; &#99;&#111;&#110;v&#101;&#110;&#105;&#101;&#110;&#116;&#108;y &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#111;&#102; &#80;&#68;&#70; &#111;&#98;&#106;&#101;&#99;&#116;&#115;
-    &#115;&#111; &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#99;&#114;&#111;&#115;&#115;-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#97;&#98;&#108;&#101; &#99;&#97;&#110; &#98;&#101; &#98;&#117;&#105;&#108;&#116; (&#80;&#68;&#70;&#49;.&#52;&#82;&#101;&#102;(&#112;&#51;&#57;))
-    &#65;&#108;&#108; w&#114;&#105;&#116;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#97;&#114;&#101; &#112;&#97;&#115;&#115;&#101;&#100; &#116;&#104;&#114;&#111;&#117;&#103;&#104; &#97; &#80;&#68;&#70;&#79;&#98;&#106;&#101;&#99;&#116;&#84;&#114;&#97;&#99;&#107;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116;.
+    Class to conveniently handle the tracking of PDF objects
+    so that the cross-reference table can be built (PDF1.4Ref(p39))
+    All writes to the file are passed through a PDFObjectTracker object.
 </p>
 <h3>Derived from</h3>
 object
@@ -126,62 +126,62 @@
 <table>
 <tr>
 <td><a href="#PDFObjectTracker.__init__">PDFObjectTracker</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#PDFObjectTracker.add">add</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#110;&#101;w &#111;&#98;&#106;&#101;&#99;&#116;.</td>
+<td>Public method to add a new object.</td>
 </tr><tr>
 <td><a href="#PDFObjectTracker.write">write</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101;.</td>
+<td>Public method to write the data to the file.</td>
 </tr><tr>
 <td><a href="#PDFObjectTracker.xref">xref</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#98;&#117;&#105;&#108;&#100; &#116;&#104;&#101; x&#114;&#101;&#102; &#116;&#97;&#98;&#108;&#101;.</td>
+<td>Public method to build the xref table.</td>
 </tr>
 </table>
 <a NAME="PDFObjectTracker.__init__" ID="PDFObjectTracker.__init__"></a>
 <h4>PDFObjectTracker (Constructor)</h4>
 <b>PDFObjectTracker</b>(<i>file</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>file</i></dt>
 <dd>
-&#102;&#105;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116; &#111;&#112;&#101;&#110; &#102;&#111;&#114; w&#114;&#105;&#116;&#105;&#110;&#103; (&#102;&#105;&#108;&#101;)
+file object open for writing (file)
 </dd>
 </dl><a NAME="PDFObjectTracker.add" ID="PDFObjectTracker.add"></a>
 <h4>PDFObjectTracker.add</h4>
 <b>add</b>(<i>objectData</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#110;&#101;w &#111;&#98;&#106;&#101;&#99;&#116;.
+        Public method to add a new object.
 </p><dl>
 <dt><i>objectData</i></dt>
 <dd>
-&#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; &#97;&#100;&#100;&#101;&#100; (&#105;&#110;&#116;&#101;&#103;&#101;&#114; &#111;&#114; &#115;&#116;&#114;&#105;&#110;&#103;)
+data to be added (integer or string)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#111;&#98;&#106;&#101;&#99;&#116; &#110;&#117;&#109;&#98;&#101;&#114; &#97;&#115;&#115;&#105;&#103;&#110;&#101;&#100; &#116;&#111; &#116;&#104;&#101; &#115;&#117;&#112;&#112;&#108;&#105;&#101;&#100; &#100;&#97;&#116;&#97; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+object number assigned to the supplied data (integer)
 </dd>
 </dl><a NAME="PDFObjectTracker.write" ID="PDFObjectTracker.write"></a>
 <h4>PDFObjectTracker.write</h4>
 <b>write</b>(<i>objectData</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101;.
+        Public method to write the data to the file.
 </p><dl>
 <dt><i>objectData</i></dt>
 <dd>
-&#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; w&#114;&#105;&#116;&#116;&#101;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114; &#111;&#114; &#115;&#116;&#114;&#105;&#110;&#103;)
+data to be written (integer or string)
 </dd>
 </dl><a NAME="PDFObjectTracker.xref" ID="PDFObjectTracker.xref"></a>
 <h4>PDFObjectTracker.xref</h4>
 <b>xref</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#98;&#117;&#105;&#108;&#100; &#116;&#104;&#101; x&#114;&#101;&#102; &#116;&#97;&#98;&#108;&#101;.
+        Public method to build the xref table.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#105;&#108;&#101; &#111;&#102;&#102;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; x&#114;&#101;&#102; &#116;&#97;&#98;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+file offset of the xref table (integer)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -189,10 +189,10 @@
 <a NAME="PDFRender" ID="PDFRender"></a>
 <h2>PDFRender</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#108;&#105;&#110;&#101; &#97;&#110;&#100; &#112;&#97;&#103;&#101; &#114;&#101;&#110;&#100;&#101;&#114;&#105;&#110;&#103;. 
+    Class to manage line and page rendering. 
 </p><p>
-    &#65;&#112;&#97;&#114;&#116; &#102;&#114;&#111;&#109; &#115;&#116;&#97;&#114;&#116;&#80;&#68;&#70;, &#101;&#110;&#100;&#80;&#68;&#70; &#101;v&#101;&#114;y&#116;&#104;&#105;&#110;&#103; &#103;&#111;&#101;&#115; &#105;&#110; v&#105;&#97; &#97;&#100;&#100;() &#97;&#110;&#100; &#110;&#101;x&#116;&#76;&#105;&#110;&#101;()
-    &#115;&#111; &#116;&#104;&#97;&#116; &#108;&#105;&#110;&#101; &#102;&#111;&#114;&#109;&#97;&#116;&#116;&#105;&#110;&#103; &#97;&#110;&#100; &#112;&#97;&#103;&#105;&#110;&#97;&#116;&#105;&#111;&#110; &#99;&#97;&#110; &#98;&#101; &#100;&#111;&#110;&#101; &#112;&#114;&#111;&#112;&#101;&#114;&#108;y.
+    Apart from startPDF, endPDF everything goes in via add() and nextLine()
+    so that line formatting and pagination can be done properly.
 </p>
 <h3>Derived from</h3>
 object
@@ -204,116 +204,116 @@
 <table>
 <tr>
 <td><a href="#PDFRender.__init__">PDFRender</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#PDFRender.add">add</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#99;&#104;&#97;&#114;&#97;&#99;&#116;&#101;&#114; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#103;&#101;.</td>
+<td>Public method to add a character to the page.</td>
 </tr><tr>
 <td><a href="#PDFRender.endPDF">endPDF</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#100; &#116;&#104;&#101; &#80;&#68;&#70; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;.</td>
+<td>Public method to end the PDF document.</td>
 </tr><tr>
 <td><a href="#PDFRender.endPage">endPage</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#100; &#97; &#112;&#97;&#103;&#101;.</td>
+<td>Public method to end a page.</td>
 </tr><tr>
 <td><a href="#PDFRender.flushSegment">flushSegment</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#108;&#117;&#115;&#104; &#97; &#115;&#101;&#103;&#109;&#101;&#110;&#116; &#111;&#102; &#100;&#97;&#116;&#97;.</td>
+<td>Public method to flush a segment of data.</td>
 </tr><tr>
 <td><a href="#PDFRender.fontToPoints">fontToPoints</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#115;&#105;z&#101; &#116;&#111; &#112;&#111;&#105;&#110;&#116;&#115;.</td>
+<td>Public method to convert the font size to points.</td>
 </tr><tr>
 <td><a href="#PDFRender.nextLine">nextLine</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#97; &#110;&#101;w &#108;&#105;&#110;&#101;.</td>
+<td>Public method to start a new line.</td>
 </tr><tr>
 <td><a href="#PDFRender.setStyle">setStyle</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#115;&#116;y&#108;&#101;.</td>
+<td>Public method to set a style.</td>
 </tr><tr>
 <td><a href="#PDFRender.startPDF">startPDF</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#80;&#68;&#70; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;.</td>
+<td>Public method to start the PDF document.</td>
 </tr><tr>
 <td><a href="#PDFRender.startPage">startPage</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#97; &#110;&#101;w &#112;&#97;&#103;&#101;.</td>
+<td>Public method to start a new page.</td>
 </tr>
 </table>
 <a NAME="PDFRender.__init__" ID="PDFRender.__init__"></a>
 <h4>PDFRender (Constructor)</h4>
 <b>PDFRender</b>(<i></i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><a NAME="PDFRender.add" ID="PDFRender.add"></a>
 <h4>PDFRender.add</h4>
 <b>add</b>(<i>ch, style_</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#99;&#104;&#97;&#114;&#97;&#99;&#116;&#101;&#114; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#103;&#101;.
+        Public method to add a character to the page.
 </p><dl>
 <dt><i>ch</i></dt>
 <dd>
-&#99;&#104;&#97;&#114;&#97;&#99;&#116;&#101;&#114; &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
+character to add (string)
 </dd><dt><i>style_</i></dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#115;&#116;y&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#104;&#97;&#114;&#97;&#99;&#116;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of the style of the character (integer)
 </dd>
 </dl><a NAME="PDFRender.endPDF" ID="PDFRender.endPDF"></a>
 <h4>PDFRender.endPDF</h4>
 <b>endPDF</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#100; &#116;&#104;&#101; &#80;&#68;&#70; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;.
+        Public method to end the PDF document.
 </p><a NAME="PDFRender.endPage" ID="PDFRender.endPage"></a>
 <h4>PDFRender.endPage</h4>
 <b>endPage</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#100; &#97; &#112;&#97;&#103;&#101;.
+        Public method to end a page.
 </p><a NAME="PDFRender.flushSegment" ID="PDFRender.flushSegment"></a>
 <h4>PDFRender.flushSegment</h4>
 <b>flushSegment</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#102;&#108;&#117;&#115;&#104; &#97; &#115;&#101;&#103;&#109;&#101;&#110;&#116; &#111;&#102; &#100;&#97;&#116;&#97;.
+        Public method to flush a segment of data.
 </p><a NAME="PDFRender.fontToPoints" ID="PDFRender.fontToPoints"></a>
 <h4>PDFRender.fontToPoints</h4>
 <b>fontToPoints</b>(<i>thousandths</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#116;&#104;&#101; &#102;&#111;&#110;&#116; &#115;&#105;z&#101; &#116;&#111; &#112;&#111;&#105;&#110;&#116;&#115;.
+        Public method to convert the font size to points.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#112;&#111;&#105;&#110;&#116; &#115;&#105;z&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#111;&#110;&#116; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+point size of the font (integer)
 </dd>
 </dl><a NAME="PDFRender.nextLine" ID="PDFRender.nextLine"></a>
 <h4>PDFRender.nextLine</h4>
 <b>nextLine</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#97; &#110;&#101;w &#108;&#105;&#110;&#101;.
+        Public method to start a new line.
 </p><a NAME="PDFRender.setStyle" ID="PDFRender.setStyle"></a>
 <h4>PDFRender.setStyle</h4>
 <b>setStyle</b>(<i>style_</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97; &#115;&#116;y&#108;&#101;.
+        Public method to set a style.
 </p><dl>
 <dt><i>style_</i></dt>
 <dd>
-&#115;&#116;y&#108;&#101; &#116;&#111; &#98;&#101; &#115;&#101;&#116; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+style to be set (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#116;&#104;&#101; &#80;&#68;&#70; &#115;&#116;&#114;&#105;&#110;&#103; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#115;&#116;y&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+the PDF string to set the given style (string)
 </dd>
 </dl><a NAME="PDFRender.startPDF" ID="PDFRender.startPDF"></a>
 <h4>PDFRender.startPDF</h4>
 <b>startPDF</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#80;&#68;&#70; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;.
+        Public method to start the PDF document.
 </p><a NAME="PDFRender.startPage" ID="PDFRender.startPage"></a>
 <h4>PDFRender.startPage</h4>
 <b>startPage</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#97; &#110;&#101;w &#112;&#97;&#103;&#101;.
+        Public method to start a new page.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
 <a NAME="PDFStyle" ID="PDFStyle"></a>
 <h2>PDFStyle</h2>
 <p>
-    &#83;&#105;&#109;&#112;&#108;&#101; &#99;&#108;&#97;&#115;&#115; &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#97; &#80;&#68;&#70; &#115;&#116;y&#108;&#101;.
+    Simple class to store the values of a PDF style.
 </p>
 <h3>Derived from</h3>
 object
@@ -325,14 +325,14 @@
 <table>
 <tr>
 <td><a href="#PDFStyle.__init__">PDFStyle</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr>
 </table>
 <a NAME="PDFStyle.__init__" ID="PDFStyle.__init__"></a>
 <h4>PDFStyle (Constructor)</h4>
 <b>PDFStyle</b>(<i></i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial