diff options
author | Sashi20 | 2020-10-07 12:53:11 +0530 |
---|---|---|
committer | Sashi20 | 2020-10-07 12:53:11 +0530 |
commit | 56f7a3990023caa0052dbb1b9185b03c56c35517 (patch) | |
tree | 34667fbdef99441afd5b7eb569e75a02dab27caf /pdf/fpdf/doc | |
parent | ddfa57ef75f2ff0314f0253461d6bd73525000fd (diff) | |
download | om_pssp-56f7a3990023caa0052dbb1b9185b03c56c35517.tar.gz om_pssp-56f7a3990023caa0052dbb1b9185b03c56c35517.tar.bz2 om_pssp-56f7a3990023caa0052dbb1b9185b03c56c35517.zip |
Update FPDF version
Diffstat (limited to 'pdf/fpdf/doc')
49 files changed, 280 insertions, 165 deletions
diff --git a/pdf/fpdf/doc/__construct.htm b/pdf/fpdf/doc/__construct.htm new file mode 100644 index 0000000..324756f --- /dev/null +++ b/pdf/fpdf/doc/__construct.htm @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>__construct</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>__construct</h1>
+<code>__construct([<b>string</b> orientation [, <b>string</b> unit [, <b>mixed</b> size]]])</code>
+<h2>Description</h2>
+This is the class constructor. It allows to set up the page size, the orientation and the
+unit of measure used in all methods (except for font sizes).
+<h2>Parameters</h2>
+<dl class="param">
+<dt><code>orientation</code></dt>
+<dd>
+Default page orientation. Possible values are (case insensitive):
+<ul>
+<li><code>P</code> or <code>Portrait</code></li>
+<li><code>L</code> or <code>Landscape</code></li>
+</ul>
+Default value is <code>P</code>.
+</dd>
+<dt><code>unit</code></dt>
+<dd>
+User unit. Possible values are:
+<ul>
+<li><code>pt</code>: point</li>
+<li><code>mm</code>: millimeter</li>
+<li><code>cm</code>: centimeter</li>
+<li><code>in</code>: inch</li>
+</ul>
+A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This
+is a very common unit in typography; font sizes are expressed in that unit.
+<br>
+<br>
+Default value is <code>mm</code>.
+</dd>
+<dt><code>size</code></dt>
+<dd>
+The size used for pages. It can be either one of the following values (case insensitive):
+<ul>
+<li><code>A3</code></li>
+<li><code>A4</code></li>
+<li><code>A5</code></li>
+<li><code>Letter</code></li>
+<li><code>Legal</code></li>
+</ul>
+or an array containing the width and the height (expressed in the unit given by <code>unit</code>).<br>
+<br>
+Default value is <code>A4</code>.
+</dd>
+</dl>
+<h2>Example</h2>
+Example with a custom 100x150 mm page size:
+<div class="doc-source">
+<pre><code>$pdf = new FPDF('P','mm',array(100,150));</code></pre>
+</div>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>
diff --git a/pdf/fpdf/doc/acceptpagebreak.htm b/pdf/fpdf/doc/acceptpagebreak.htm index 810aabd..1b2d3ea 100755..100644 --- a/pdf/fpdf/doc/acceptpagebreak.htm +++ b/pdf/fpdf/doc/acceptpagebreak.htm @@ -52,11 +52,11 @@ $pdf = new PDF(); $pdf->AddPage();
$pdf->SetFont('Arial','',12);
for($i=1;$i<=300;$i++)
- $pdf->Cell(0,5,"Line $i",0,1);
+ $pdf->Cell(0,5,"Line $i",0,1);
$pdf->Output();</code></pre>
</div>
<h2>See also</h2>
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/addfont.htm b/pdf/fpdf/doc/addfont.htm index 90dc361..b743191 100755..100644 --- a/pdf/fpdf/doc/addfont.htm +++ b/pdf/fpdf/doc/addfont.htm @@ -48,7 +48,7 @@ is equivalent to: <pre><code>$pdf->AddFont('Comic','I','comici.php');</code></pre>
</div>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>.
+<a href="setfont.htm">SetFont</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/addlink.htm b/pdf/fpdf/doc/addlink.htm index 5681d58..6260664 100755..100644 --- a/pdf/fpdf/doc/addlink.htm +++ b/pdf/fpdf/doc/addlink.htm @@ -15,11 +15,11 @@ which directs to another place within the document. The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is
defined with SetLink().
<h2>See also</h2>
-<a href="cell.htm">Cell()</a>,
-<a href="write.htm">Write()</a>,
-<a href="image.htm">Image()</a>,
-<a href="link.htm">Link()</a>,
-<a href="setlink.htm">SetLink()</a>.
+<a href="cell.htm">Cell</a>,
+<a href="write.htm">Write</a>,
+<a href="image.htm">Image</a>,
+<a href="link.htm">Link</a>,
+<a href="setlink.htm">SetLink</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/addpage.htm b/pdf/fpdf/doc/addpage.htm index fde79aa..fb014f5 100755..100644 --- a/pdf/fpdf/doc/addpage.htm +++ b/pdf/fpdf/doc/addpage.htm @@ -7,7 +7,7 @@ </head>
<body>
<h1>AddPage</h1>
-<code>AddPage([<b>string</b> orientation [, <b>mixed</b> size]])</code>
+<code>AddPage([<b>string</b> orientation [, <b>mixed</b> size [, <b>int</b> rotation]]])</code>
<h2>Description</h2>
Adds a new page to the document. If a page is already present, the Footer() method is called
first to output the footer. Then the page is added, the current position set to the top-left
@@ -44,12 +44,17 @@ or an array containing the width and the height (expressed in user unit).<br> <br>
The default value is the one passed to the constructor.
</dd>
+<dt><code>rotation</code></dt>
+<dd>
+Angle by which to rotate the page. It must be a multiple of 90; positive values
+mean clockwise rotation. The default value is <code>0</code>.
+</dd>
</dl>
<h2>See also</h2>
-<a href="fpdf.htm">FPDF()</a>,
-<a href="header.htm">Header()</a>,
-<a href="footer.htm">Footer()</a>,
-<a href="setmargins.htm">SetMargins()</a>.
+<a href="__construct.htm">__construct</a>,
+<a href="header.htm">Header</a>,
+<a href="footer.htm">Footer</a>,
+<a href="setmargins.htm">SetMargins</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/aliasnbpages.htm b/pdf/fpdf/doc/aliasnbpages.htm index 53fdf68..26e02c5 100755..100644 --- a/pdf/fpdf/doc/aliasnbpages.htm +++ b/pdf/fpdf/doc/aliasnbpages.htm @@ -37,8 +37,8 @@ $pdf = new PDF(); $pdf->AliasNbPages();</code></pre>
</div>
<h2>See also</h2>
-<a href="pageno.htm">PageNo()</a>,
-<a href="footer.htm">Footer()</a>.
+<a href="pageno.htm">PageNo</a>,
+<a href="footer.htm">Footer</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/cell.htm b/pdf/fpdf/doc/cell.htm index 7480266..f96effb 100755..100644 --- a/pdf/fpdf/doc/cell.htm +++ b/pdf/fpdf/doc/cell.htm @@ -88,16 +88,16 @@ $pdf->Cell(80); $pdf->Cell(20,10,'Title',1,1,'C');</code></pre>
</div>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>,
-<a href="setdrawcolor.htm">SetDrawColor()</a>,
-<a href="setfillcolor.htm">SetFillColor()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="setlinewidth.htm">SetLineWidth()</a>,
-<a href="addlink.htm">AddLink()</a>,
-<a href="ln.htm">Ln()</a>,
-<a href="multicell.htm">MultiCell()</a>,
-<a href="write.htm">Write()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
+<a href="setfont.htm">SetFont</a>,
+<a href="setdrawcolor.htm">SetDrawColor</a>,
+<a href="setfillcolor.htm">SetFillColor</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="setlinewidth.htm">SetLineWidth</a>,
+<a href="addlink.htm">AddLink</a>,
+<a href="ln.htm">Ln</a>,
+<a href="multicell.htm">MultiCell</a>,
+<a href="write.htm">Write</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/close.htm b/pdf/fpdf/doc/close.htm index 6d8c192..a4055ac 100755..100644 --- a/pdf/fpdf/doc/close.htm +++ b/pdf/fpdf/doc/close.htm @@ -14,7 +14,7 @@ does it automatically. <br>
If the document contains no page, AddPage() is called to prevent from getting an invalid document.
<h2>See also</h2>
-<a href="output.htm">Output()</a>.
+<a href="output.htm">Output</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/error.htm b/pdf/fpdf/doc/error.htm index 49b6083..fbbc263 100755..100644 --- a/pdf/fpdf/doc/error.htm +++ b/pdf/fpdf/doc/error.htm @@ -9,9 +9,10 @@ <h1>Error</h1>
<code>Error(<b>string</b> msg)</code>
<h2>Description</h2>
-This method is automatically called in case of fatal error; it simply outputs the message
-and halts the execution. An inherited class may override it to customize the error handling
-but should always halt the script, or the resulting document would probably be invalid.
+This method is automatically called in case of a fatal error; it simply throws an exception
+with the provided message.<br>
+An inherited class may override it to customize the error handling but the method should
+never return, otherwise the resulting document would probably be invalid.
<h2>Parameters</h2>
<dl class="param">
<dt><code>msg</code></dt>
diff --git a/pdf/fpdf/doc/footer.htm b/pdf/fpdf/doc/footer.htm index 1e4b3ad..bee81cf 100755..100644 --- a/pdf/fpdf/doc/footer.htm +++ b/pdf/fpdf/doc/footer.htm @@ -28,7 +28,7 @@ function Footer() }</code></pre>
</div>
<h2>See also</h2>
-<a href="header.htm">Header()</a>.
+<a href="header.htm">Header</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/getpageheight.htm b/pdf/fpdf/doc/getpageheight.htm new file mode 100644 index 0000000..8cd89ff --- /dev/null +++ b/pdf/fpdf/doc/getpageheight.htm @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>GetPageHeight</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>GetPageHeight</h1>
+<code><b>float</b> GetPageHeight()</code>
+<h2>Description</h2>
+Returns the current page height.
+<h2>See also</h2>
+<a href="getpagewidth.htm">GetPageWidth</a>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>
diff --git a/pdf/fpdf/doc/getpagewidth.htm b/pdf/fpdf/doc/getpagewidth.htm new file mode 100644 index 0000000..3e898e3 --- /dev/null +++ b/pdf/fpdf/doc/getpagewidth.htm @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>GetPageWidth</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>GetPageWidth</h1>
+<code><b>float</b> GetPageWidth()</code>
+<h2>Description</h2>
+Returns the current page width.
+<h2>See also</h2>
+<a href="getpageheight.htm">GetPageHeight</a>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>
diff --git a/pdf/fpdf/doc/getstringwidth.htm b/pdf/fpdf/doc/getstringwidth.htm index 7cb1119..7cb1119 100755..100644 --- a/pdf/fpdf/doc/getstringwidth.htm +++ b/pdf/fpdf/doc/getstringwidth.htm diff --git a/pdf/fpdf/doc/getx.htm b/pdf/fpdf/doc/getx.htm index 1d1310c..4272502 100755..100644 --- a/pdf/fpdf/doc/getx.htm +++ b/pdf/fpdf/doc/getx.htm @@ -11,9 +11,9 @@ <h2>Description</h2>
Returns the abscissa of the current position.
<h2>See also</h2>
-<a href="setx.htm">SetX()</a>,
-<a href="gety.htm">GetY()</a>,
-<a href="sety.htm">SetY()</a>.
+<a href="setx.htm">SetX</a>,
+<a href="gety.htm">GetY</a>,
+<a href="sety.htm">SetY</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/gety.htm b/pdf/fpdf/doc/gety.htm index e8ce6cf..fb84f5d 100755..100644 --- a/pdf/fpdf/doc/gety.htm +++ b/pdf/fpdf/doc/gety.htm @@ -11,9 +11,9 @@ <h2>Description</h2>
Returns the ordinate of the current position.
<h2>See also</h2>
-<a href="sety.htm">SetY()</a>,
-<a href="getx.htm">GetX()</a>,
-<a href="setx.htm">SetX()</a>.
+<a href="sety.htm">SetY</a>,
+<a href="getx.htm">GetX</a>,
+<a href="setx.htm">SetX</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/header.htm b/pdf/fpdf/doc/header.htm index b7cd1f8..0228159 100755..100644 --- a/pdf/fpdf/doc/header.htm +++ b/pdf/fpdf/doc/header.htm @@ -30,7 +30,7 @@ function Header() }</code></pre>
</div>
<h2>See also</h2>
-<a href="footer.htm">Footer()</a>.
+<a href="footer.htm">Footer</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/image.htm b/pdf/fpdf/doc/image.htm index 66a35ee..53a4ec1 100755..100644 --- a/pdf/fpdf/doc/image.htm +++ b/pdf/fpdf/doc/image.htm @@ -92,7 +92,7 @@ $pdf->Image('logo.png',10,10,-300); $pdf->Image('http://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World',60,30,90,0,'PNG');</code></pre>
</div>
<h2>See also</h2>
-<a href="addlink.htm">AddLink()</a>.
+<a href="addlink.htm">AddLink</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/index.htm b/pdf/fpdf/doc/index.htm index 6c27066..32ded00 100755..100644 --- a/pdf/fpdf/doc/index.htm +++ b/pdf/fpdf/doc/index.htm @@ -2,11 +2,12 @@ <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>FPDF 1.7 Reference Manual</title>
+<title>FPDF 1.82 Reference Manual</title>
<link type="text/css" rel="stylesheet" href="../fpdf.css">
</head>
<body>
-<h1>FPDF 1.7 Reference Manual</h1>
+<h1>FPDF 1.82 Reference Manual</h1>
+<a href="__construct.htm">__construct</a> - constructor<br>
<a href="acceptpagebreak.htm">AcceptPageBreak</a> - accept or not automatic page break<br>
<a href="addfont.htm">AddFont</a> - add a new font<br>
<a href="addlink.htm">AddLink</a> - create an internal link<br>
@@ -16,7 +17,8 @@ <a href="close.htm">Close</a> - terminate the document<br>
<a href="error.htm">Error</a> - fatal error<br>
<a href="footer.htm">Footer</a> - page footer<br>
-<a href="fpdf.htm">FPDF</a> - constructor<br>
+<a href="getpageheight.htm">GetPageHeight</a> - get current page height<br>
+<a href="getpagewidth.htm">GetPageWidth</a> - get current page width<br>
<a href="getstringwidth.htm">GetStringWidth</a> - compute string length<br>
<a href="getx.htm">GetX</a> - get current x position<br>
<a href="gety.htm">GetY</a> - get current y position<br>
@@ -50,7 +52,7 @@ <a href="settopmargin.htm">SetTopMargin</a> - set top margin<br>
<a href="setx.htm">SetX</a> - set current x position<br>
<a href="setxy.htm">SetXY</a> - set current x and y positions<br>
-<a href="sety.htm">SetY</a> - set current y position<br>
+<a href="sety.htm">SetY</a> - set current y position and optionally reset x<br>
<a href="text.htm">Text</a> - print a string<br>
<a href="write.htm">Write</a> - print flowing text<br>
</body>
diff --git a/pdf/fpdf/doc/line.htm b/pdf/fpdf/doc/line.htm index a9c5194..f6b70f0 100755..100644 --- a/pdf/fpdf/doc/line.htm +++ b/pdf/fpdf/doc/line.htm @@ -30,8 +30,8 @@ Ordinate of second point. </dd>
</dl>
<h2>See also</h2>
-<a href="setlinewidth.htm">SetLineWidth()</a>,
-<a href="setdrawcolor.htm">SetDrawColor()</a>.
+<a href="setlinewidth.htm">SetLineWidth</a>,
+<a href="setdrawcolor.htm">SetDrawColor</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/link.htm b/pdf/fpdf/doc/link.htm index d6c728c..c8fd1cb 100755..100644 --- a/pdf/fpdf/doc/link.htm +++ b/pdf/fpdf/doc/link.htm @@ -36,10 +36,10 @@ URL or identifier returned by AddLink(). </dd>
</dl>
<h2>See also</h2>
-<a href="addlink.htm">AddLink()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="write.htm">Write()</a>,
-<a href="image.htm">Image()</a>.
+<a href="addlink.htm">AddLink</a>,
+<a href="cell.htm">Cell</a>,
+<a href="write.htm">Write</a>,
+<a href="image.htm">Image</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/ln.htm b/pdf/fpdf/doc/ln.htm index 0b91b00..0183738 100755..100644 --- a/pdf/fpdf/doc/ln.htm +++ b/pdf/fpdf/doc/ln.htm @@ -21,7 +21,7 @@ By default, the value equals the height of the last printed cell. </dd>
</dl>
<h2>See also</h2>
-<a href="cell.htm">Cell()</a>.
+<a href="cell.htm">Cell</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/multicell.htm b/pdf/fpdf/doc/multicell.htm index c41bbd7..ce1e4e6 100755..100644 --- a/pdf/fpdf/doc/multicell.htm +++ b/pdf/fpdf/doc/multicell.htm @@ -62,14 +62,14 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>,
-<a href="setdrawcolor.htm">SetDrawColor()</a>,
-<a href="setfillcolor.htm">SetFillColor()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="setlinewidth.htm">SetLineWidth()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="write.htm">Write()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
+<a href="setfont.htm">SetFont</a>,
+<a href="setdrawcolor.htm">SetDrawColor</a>,
+<a href="setfillcolor.htm">SetFillColor</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="setlinewidth.htm">SetLineWidth</a>,
+<a href="cell.htm">Cell</a>,
+<a href="write.htm">Write</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/output.htm b/pdf/fpdf/doc/output.htm index b62291c..9a905a8 100755..100644 --- a/pdf/fpdf/doc/output.htm +++ b/pdf/fpdf/doc/output.htm @@ -7,35 +7,39 @@ </head>
<body>
<h1>Output</h1>
-<code><b>string</b> Output([<b>string</b> name, <b>string</b> dest])</code>
+<code><b>string</b> Output([<b>string</b> dest [, <b>string</b> name [, <b>boolean</b> isUTF8]]])</code>
<h2>Description</h2>
-Send the document to a given destination: browser, file or string. In the case of browser, the
-plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
+Send the document to a given destination: browser, file or string. In the case of a browser, the
+PDF viewer may be used or a download may be forced.
<br>
The method first calls Close() if necessary to terminate the document.
<h2>Parameters</h2>
<dl class="param">
-<dt><code>name</code></dt>
-<dd>
-The name of the file. If not specified, the document will be sent to the browser
-(destination <code>I</code>) with the name <code>doc.pdf</code>.
-</dd>
<dt><code>dest</code></dt>
<dd>
-Destination where to send the document. It can take one of the following values:
+Destination where to send the document. It can be one of the following:
<ul>
-<li><code>I</code>: send the file inline to the browser. The plug-in is used if available.
-The name given by <code>name</code> is used when one selects the "Save as" option on the
-link generating the PDF.</li>
-<li><code>D</code>: send to the browser and force a file download with the name given by
-<code>name</code>.</li>
+<li><code>I</code>: send the file inline to the browser. The PDF viewer is used if available.</li>
+<li><code>D</code>: send to the browser and force a file download with the name given by <code>name</code>.</li>
<li><code>F</code>: save to a local file with the name given by <code>name</code> (may include a path).</li>
-<li><code>S</code>: return the document as a string. <code>name</code> is ignored.</li>
+<li><code>S</code>: return the document as a string.</li>
</ul>
+The default value is <code>I</code>.
+</dd>
+<dt><code>name</code></dt>
+<dd>
+The name of the file. It is ignored in case of destination <code>S</code>.<br>
+The default value is <code>doc.pdf</code>.
+</dd>
+<dt><code>isUTF8</code></dt>
+<dd>
+Indicates if <code>name</code> is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).
+Only used for destinations <code>I</code> and <code>D</code>.<br>
+The default value is <code>false</code>.
</dd>
</dl>
<h2>See also</h2>
-<a href="close.htm">Close()</a>.
+<a href="close.htm">Close</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/pageno.htm b/pdf/fpdf/doc/pageno.htm index 84e0f22..42063c7 100755..100644 --- a/pdf/fpdf/doc/pageno.htm +++ b/pdf/fpdf/doc/pageno.htm @@ -11,7 +11,7 @@ <h2>Description</h2>
Returns the current page number.
<h2>See also</h2>
-<a href="aliasnbpages.htm">AliasNbPages()</a>.
+<a href="aliasnbpages.htm">AliasNbPages</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/rect.htm b/pdf/fpdf/doc/rect.htm index fa71375..0b73acc 100755..100644 --- a/pdf/fpdf/doc/rect.htm +++ b/pdf/fpdf/doc/rect.htm @@ -39,9 +39,9 @@ Style of rendering. Possible values are: </dd>
</dl>
<h2>See also</h2>
-<a href="setlinewidth.htm">SetLineWidth()</a>,
-<a href="setdrawcolor.htm">SetDrawColor()</a>,
-<a href="setfillcolor.htm">SetFillColor()</a>.
+<a href="setlinewidth.htm">SetLineWidth</a>,
+<a href="setdrawcolor.htm">SetDrawColor</a>,
+<a href="setfillcolor.htm">SetFillColor</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setauthor.htm b/pdf/fpdf/doc/setauthor.htm index 60d3b7c..31a0458 100755..100644 --- a/pdf/fpdf/doc/setauthor.htm +++ b/pdf/fpdf/doc/setauthor.htm @@ -23,10 +23,10 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setcreator.htm">SetCreator()</a>,
-<a href="setkeywords.htm">SetKeywords()</a>,
-<a href="setsubject.htm">SetSubject()</a>,
-<a href="settitle.htm">SetTitle()</a>.
+<a href="setcreator.htm">SetCreator</a>,
+<a href="setkeywords.htm">SetKeywords</a>,
+<a href="setsubject.htm">SetSubject</a>,
+<a href="settitle.htm">SetTitle</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setautopagebreak.htm b/pdf/fpdf/doc/setautopagebreak.htm index 71dec89..c8881bf 100755..100644 --- a/pdf/fpdf/doc/setautopagebreak.htm +++ b/pdf/fpdf/doc/setautopagebreak.htm @@ -24,9 +24,9 @@ Distance from the bottom of the page. </dd>
</dl>
<h2>See also</h2>
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>,
-<a href="acceptpagebreak.htm">AcceptPageBreak()</a>.
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>,
+<a href="acceptpagebreak.htm">AcceptPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setcompression.htm b/pdf/fpdf/doc/setcompression.htm index 3f81ab0..3f81ab0 100755..100644 --- a/pdf/fpdf/doc/setcompression.htm +++ b/pdf/fpdf/doc/setcompression.htm diff --git a/pdf/fpdf/doc/setcreator.htm b/pdf/fpdf/doc/setcreator.htm index 2c0db3c..ce3bcad 100755..100644 --- a/pdf/fpdf/doc/setcreator.htm +++ b/pdf/fpdf/doc/setcreator.htm @@ -24,10 +24,10 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setauthor.htm">SetAuthor()</a>,
-<a href="setkeywords.htm">SetKeywords()</a>,
-<a href="setsubject.htm">SetSubject()</a>,
-<a href="settitle.htm">SetTitle()</a>.
+<a href="setauthor.htm">SetAuthor</a>,
+<a href="setkeywords.htm">SetKeywords</a>,
+<a href="setsubject.htm">SetSubject</a>,
+<a href="settitle.htm">SetTitle</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setdisplaymode.htm b/pdf/fpdf/doc/setdisplaymode.htm index b8da44f..b8da44f 100755..100644 --- a/pdf/fpdf/doc/setdisplaymode.htm +++ b/pdf/fpdf/doc/setdisplaymode.htm diff --git a/pdf/fpdf/doc/setdrawcolor.htm b/pdf/fpdf/doc/setdrawcolor.htm index 6be79c5..f77af0b 100755..100644 --- a/pdf/fpdf/doc/setdrawcolor.htm +++ b/pdf/fpdf/doc/setdrawcolor.htm @@ -29,12 +29,12 @@ Blue component (between 0 and 255). </dd>
</dl>
<h2>See also</h2>
-<a href="setfillcolor.htm">SetFillColor()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="line.htm">Line()</a>,
-<a href="rect.htm">Rect()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>.
+<a href="setfillcolor.htm">SetFillColor</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="line.htm">Line</a>,
+<a href="rect.htm">Rect</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setfillcolor.htm b/pdf/fpdf/doc/setfillcolor.htm index 64f66d3..243a432 100755..100644 --- a/pdf/fpdf/doc/setfillcolor.htm +++ b/pdf/fpdf/doc/setfillcolor.htm @@ -29,11 +29,11 @@ Blue component (between 0 and 255). </dd>
</dl>
<h2>See also</h2>
-<a href="setdrawcolor.htm">SetDrawColor()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="rect.htm">Rect()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>.
+<a href="setdrawcolor.htm">SetDrawColor</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="rect.htm">Rect</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setfont.htm b/pdf/fpdf/doc/setfont.htm index 1cbae91..cd5a3b8 100755..100644 --- a/pdf/fpdf/doc/setfont.htm +++ b/pdf/fpdf/doc/setfont.htm @@ -81,11 +81,11 @@ $pdf->SetFont(''); $pdf->SetFont('Times','BIU');</code></pre>
</div>
<h2>See also</h2>
-<a href="addfont.htm">AddFont()</a>,
-<a href="setfontsize.htm">SetFontSize()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>,
-<a href="write.htm">Write()</a>.
+<a href="addfont.htm">AddFont</a>,
+<a href="setfontsize.htm">SetFontSize</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>,
+<a href="write.htm">Write</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setfontsize.htm b/pdf/fpdf/doc/setfontsize.htm index 20b35cd..5bb9c39 100755..100644 --- a/pdf/fpdf/doc/setfontsize.htm +++ b/pdf/fpdf/doc/setfontsize.htm @@ -18,7 +18,7 @@ The size (in points). </dd>
</dl>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>.
+<a href="setfont.htm">SetFont</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setkeywords.htm b/pdf/fpdf/doc/setkeywords.htm index 8b8897e..2b095fb 100755..100644 --- a/pdf/fpdf/doc/setkeywords.htm +++ b/pdf/fpdf/doc/setkeywords.htm @@ -23,10 +23,10 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setauthor.htm">SetAuthor()</a>,
-<a href="setcreator.htm">SetCreator()</a>,
-<a href="setsubject.htm">SetSubject()</a>,
-<a href="settitle.htm">SetTitle()</a>.
+<a href="setauthor.htm">SetAuthor</a>,
+<a href="setcreator.htm">SetCreator</a>,
+<a href="setsubject.htm">SetSubject</a>,
+<a href="settitle.htm">SetTitle</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setleftmargin.htm b/pdf/fpdf/doc/setleftmargin.htm index dde7a7c..f071372 100755..100644 --- a/pdf/fpdf/doc/setleftmargin.htm +++ b/pdf/fpdf/doc/setleftmargin.htm @@ -20,10 +20,10 @@ The margin. </dd>
</dl>
<h2>See also</h2>
-<a href="settopmargin.htm">SetTopMargin()</a>,
-<a href="setrightmargin.htm">SetRightMargin()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>,
-<a href="setmargins.htm">SetMargins()</a>.
+<a href="settopmargin.htm">SetTopMargin</a>,
+<a href="setrightmargin.htm">SetRightMargin</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>,
+<a href="setmargins.htm">SetMargins</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setlinewidth.htm b/pdf/fpdf/doc/setlinewidth.htm index 11e417c..6267230 100755..100644 --- a/pdf/fpdf/doc/setlinewidth.htm +++ b/pdf/fpdf/doc/setlinewidth.htm @@ -19,10 +19,10 @@ The width. </dd>
</dl>
<h2>See also</h2>
-<a href="line.htm">Line()</a>,
-<a href="rect.htm">Rect()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>.
+<a href="line.htm">Line</a>,
+<a href="rect.htm">Rect</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setlink.htm b/pdf/fpdf/doc/setlink.htm index b524525..6767948 100755..100644 --- a/pdf/fpdf/doc/setlink.htm +++ b/pdf/fpdf/doc/setlink.htm @@ -27,7 +27,7 @@ Number of target page; <code>-1</code> indicates the current page. This is the d </dd>
</dl>
<h2>See also</h2>
-<a href="addlink.htm">AddLink()</a>.
+<a href="addlink.htm">AddLink</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setmargins.htm b/pdf/fpdf/doc/setmargins.htm index 7cc8c6d..7dff53b 100755..100644 --- a/pdf/fpdf/doc/setmargins.htm +++ b/pdf/fpdf/doc/setmargins.htm @@ -27,10 +27,10 @@ Right margin. Default value is the left one. </dd>
</dl>
<h2>See also</h2>
-<a href="setleftmargin.htm">SetLeftMargin()</a>,
-<a href="settopmargin.htm">SetTopMargin()</a>,
-<a href="setrightmargin.htm">SetRightMargin()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
+<a href="setleftmargin.htm">SetLeftMargin</a>,
+<a href="settopmargin.htm">SetTopMargin</a>,
+<a href="setrightmargin.htm">SetRightMargin</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setrightmargin.htm b/pdf/fpdf/doc/setrightmargin.htm index 7915647..e362caa 100755..100644 --- a/pdf/fpdf/doc/setrightmargin.htm +++ b/pdf/fpdf/doc/setrightmargin.htm @@ -18,10 +18,10 @@ The margin. </dd>
</dl>
<h2>See also</h2>
-<a href="setleftmargin.htm">SetLeftMargin()</a>,
-<a href="settopmargin.htm">SetTopMargin()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>,
-<a href="setmargins.htm">SetMargins()</a>.
+<a href="setleftmargin.htm">SetLeftMargin</a>,
+<a href="settopmargin.htm">SetTopMargin</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>,
+<a href="setmargins.htm">SetMargins</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setsubject.htm b/pdf/fpdf/doc/setsubject.htm index e8c628c..a0e5be5 100755..100644 --- a/pdf/fpdf/doc/setsubject.htm +++ b/pdf/fpdf/doc/setsubject.htm @@ -23,10 +23,10 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setauthor.htm">SetAuthor()</a>,
-<a href="setcreator.htm">SetCreator()</a>,
-<a href="setkeywords.htm">SetKeywords()</a>,
-<a href="settitle.htm">SetTitle()</a>.
+<a href="setauthor.htm">SetAuthor</a>,
+<a href="setcreator.htm">SetCreator</a>,
+<a href="setkeywords.htm">SetKeywords</a>,
+<a href="settitle.htm">SetTitle</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/settextcolor.htm b/pdf/fpdf/doc/settextcolor.htm index cb12fec..88dc0d3 100755..100644 --- a/pdf/fpdf/doc/settextcolor.htm +++ b/pdf/fpdf/doc/settextcolor.htm @@ -29,11 +29,11 @@ Blue component (between 0 and 255). </dd>
</dl>
<h2>See also</h2>
-<a href="setdrawcolor.htm">SetDrawColor()</a>,
-<a href="setfillcolor.htm">SetFillColor()</a>,
-<a href="text.htm">Text()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>.
+<a href="setdrawcolor.htm">SetDrawColor</a>,
+<a href="setfillcolor.htm">SetFillColor</a>,
+<a href="text.htm">Text</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/settitle.htm b/pdf/fpdf/doc/settitle.htm index 3bc0fe8..977646b 100755..100644 --- a/pdf/fpdf/doc/settitle.htm +++ b/pdf/fpdf/doc/settitle.htm @@ -23,10 +23,10 @@ Default value: <code>false</code>. </dd>
</dl>
<h2>See also</h2>
-<a href="setauthor.htm">SetAuthor()</a>,
-<a href="setcreator.htm">SetCreator()</a>,
-<a href="setkeywords.htm">SetKeywords()</a>,
-<a href="setsubject.htm">SetSubject()</a>.
+<a href="setauthor.htm">SetAuthor</a>,
+<a href="setcreator.htm">SetCreator</a>,
+<a href="setkeywords.htm">SetKeywords</a>,
+<a href="setsubject.htm">SetSubject</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/settopmargin.htm b/pdf/fpdf/doc/settopmargin.htm index 65a4b7d..4d94e76 100755..100644 --- a/pdf/fpdf/doc/settopmargin.htm +++ b/pdf/fpdf/doc/settopmargin.htm @@ -18,10 +18,10 @@ The margin. </dd>
</dl>
<h2>See also</h2>
-<a href="setleftmargin.htm">SetLeftMargin()</a>,
-<a href="setrightmargin.htm">SetRightMargin()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>,
-<a href="setmargins.htm">SetMargins()</a>.
+<a href="setleftmargin.htm">SetLeftMargin</a>,
+<a href="setrightmargin.htm">SetRightMargin</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>,
+<a href="setmargins.htm">SetMargins</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setx.htm b/pdf/fpdf/doc/setx.htm index 7c92465..76eec7c 100755..100644 --- a/pdf/fpdf/doc/setx.htm +++ b/pdf/fpdf/doc/setx.htm @@ -19,10 +19,10 @@ The value of the abscissa. </dd>
</dl>
<h2>See also</h2>
-<a href="getx.htm">GetX()</a>,
-<a href="gety.htm">GetY()</a>,
-<a href="sety.htm">SetY()</a>,
-<a href="setxy.htm">SetXY()</a>.
+<a href="getx.htm">GetX</a>,
+<a href="gety.htm">GetY</a>,
+<a href="sety.htm">SetY</a>,
+<a href="setxy.htm">SetXY</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/setxy.htm b/pdf/fpdf/doc/setxy.htm index c0602e5..57b83c2 100755..100644 --- a/pdf/fpdf/doc/setxy.htm +++ b/pdf/fpdf/doc/setxy.htm @@ -23,8 +23,8 @@ The value of the ordinate. </dd>
</dl>
<h2>See also</h2>
-<a href="setx.htm">SetX()</a>,
-<a href="sety.htm">SetY()</a>.
+<a href="setx.htm">SetX</a>,
+<a href="sety.htm">SetY</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/sety.htm b/pdf/fpdf/doc/sety.htm index e9afe11..f970685 100755..100644 --- a/pdf/fpdf/doc/sety.htm +++ b/pdf/fpdf/doc/sety.htm @@ -7,9 +7,9 @@ </head>
<body>
<h1>SetY</h1>
-<code>SetY(<b>float</b> y)</code>
+<code>SetY(<b>float</b> y [, <b>boolean</b> resetX])</code>
<h2>Description</h2>
-Moves the current abscissa back to the left margin and sets the ordinate. If the passed value
+Sets the ordinate and optionally moves the current abscissa back to the left margin. If the value
is negative, it is relative to the bottom of the page.
<h2>Parameters</h2>
<dl class="param">
@@ -17,12 +17,16 @@ is negative, it is relative to the bottom of the page. <dd>
The value of the ordinate.
</dd>
+<dt><code>resetX</code></dt>
+<dd>
+Whether to reset the abscissa. Default value: <code>true</code>.
+</dd>
</dl>
<h2>See also</h2>
-<a href="getx.htm">GetX()</a>,
-<a href="gety.htm">GetY()</a>,
-<a href="setx.htm">SetX()</a>,
-<a href="setxy.htm">SetXY()</a>.
+<a href="getx.htm">GetX</a>,
+<a href="gety.htm">GetY</a>,
+<a href="setx.htm">SetX</a>,
+<a href="setxy.htm">SetXY</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/text.htm b/pdf/fpdf/doc/text.htm index ccd86eb..25f69b3 100755..100644 --- a/pdf/fpdf/doc/text.htm +++ b/pdf/fpdf/doc/text.htm @@ -28,11 +28,11 @@ String to print. </dd>
</dl>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="cell.htm">Cell()</a>,
-<a href="multicell.htm">MultiCell()</a>,
-<a href="write.htm">Write()</a>.
+<a href="setfont.htm">SetFont</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="cell.htm">Cell</a>,
+<a href="multicell.htm">MultiCell</a>,
+<a href="write.htm">Write</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
diff --git a/pdf/fpdf/doc/write.htm b/pdf/fpdf/doc/write.htm index 162476b..bd85401 100755..100644 --- a/pdf/fpdf/doc/write.htm +++ b/pdf/fpdf/doc/write.htm @@ -40,11 +40,11 @@ $pdf->SetFont('','U'); $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');</code></pre>
</div>
<h2>See also</h2>
-<a href="setfont.htm">SetFont()</a>,
-<a href="settextcolor.htm">SetTextColor()</a>,
-<a href="addlink.htm">AddLink()</a>,
-<a href="multicell.htm">MultiCell()</a>,
-<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
+<a href="setfont.htm">SetFont</a>,
+<a href="settextcolor.htm">SetTextColor</a>,
+<a href="addlink.htm">AddLink</a>,
+<a href="multicell.htm">MultiCell</a>,
+<a href="setautopagebreak.htm">SetAutoPageBreak</a>
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>
</body>
|