Project import generated by Copybara.

GitOrigin-RevId: 63746295f1a5ab5a619056791995793d65529e62
diff --git a/src/lib/fpdf/doc/__construct.htm b/src/lib/fpdf/doc/__construct.htm
new file mode 100644
index 0000000..c79165e
--- /dev/null
+++ b/src/lib/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=UTF-8">

+<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>

+Document 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/src/lib/fpdf/doc/acceptpagebreak.htm b/src/lib/fpdf/doc/acceptpagebreak.htm
new file mode 100644
index 0000000..640d1e0
--- /dev/null
+++ b/src/lib/fpdf/doc/acceptpagebreak.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=UTF-8">

+<title>AcceptPageBreak</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>AcceptPageBreak</h1>

+<code><b>boolean</b> AcceptPageBreak()</code>

+<h2>Description</h2>

+Whenever a page break condition is met, the method is called, and the break is issued or not

+depending on the returned value. The default implementation returns a value according to the

+mode selected by SetAutoPageBreak().

+<br>

+This method is called automatically and should not be called directly by the application.

+<h2>Example</h2>

+The method is overriden in an inherited class in order to obtain a 3 column layout:

+<div class="doc-source">

+<pre><code>class PDF extends FPDF

+{

+    protected $col = 0;

+

+    function SetCol($col)

+    {

+        // Move position to a column

+        $this-&gt;col = $col;

+        $x = 10 + $col*65;

+        $this-&gt;SetLeftMargin($x);

+        $this-&gt;SetX($x);

+    }

+

+    function AcceptPageBreak()

+    {

+        if($this-&gt;col&lt;2)

+        {

+            // Go to next column

+            $this-&gt;SetCol($this-&gt;col+1);

+            $this-&gt;SetY(10);

+            return false;

+        }

+        else

+        {

+            // Go back to first column and issue page break

+            $this-&gt;SetCol(0);

+            return true;

+        }

+    }

+}

+

+$pdf = new PDF();

+$pdf-&gt;AddPage();

+$pdf-&gt;SetFont('Arial', '', 12);

+for($i=1;$i&lt;=300;$i++)

+    $pdf-&gt;Cell(0, 5, "Line $i", 0, 1);

+$pdf-&gt;Output();</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/addfont.htm b/src/lib/fpdf/doc/addfont.htm
new file mode 100644
index 0000000..1ce0505
--- /dev/null
+++ b/src/lib/fpdf/doc/addfont.htm
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>AddFont</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>AddFont</h1>

+<code>AddFont(<b>string</b> family [, <b>string</b> style [, <b>string</b> file [, <b>string</b> dir]]])</code>

+<h2>Description</h2>

+Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font

+definition file first with the MakeFont utility.

+<br>

+<br>

+The definition file (and the font file itself in case of embedding) must be present in:

+<ul>

+<li>The directory indicated by the 4th parameter (if that parameter is set)</li>

+<li>The directory indicated by the <code>FPDF_FONTPATH</code> constant (if that constant is defined)</li>

+<li>The <code>font</code> directory located in the same directory as <code>fpdf.php</code></li>

+</ul>

+If the file is not found, the error "Could not include font definition file" is raised.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>family</code></dt>

+<dd>

+Font family. The name can be chosen arbitrarily. If it is a standard family name, it will

+override the corresponding font.

+</dd>

+<dt><code>style</code></dt>

+<dd>

+Font style. Possible values are (case insensitive):

+<ul>

+<li>empty string: regular</li>

+<li><code>B</code>: bold</li>

+<li><code>I</code>: italic</li>

+<li><code>BI</code> or <code>IB</code>: bold italic</li>

+</ul>

+The default value is regular.

+</dd>

+<dt><code>file</code></dt>

+<dd>

+The name of the font definition file.

+<br>

+By default, it is built from the family and style, in lower case with no space.

+</dd>

+<dt><code>dir</code></dt>

+<dd>

+The directory where to load the definition file.

+<br>

+If not specified, the default directory will be used.

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>$pdf-&gt;AddFont('Comic', 'I');</code></pre>

+</div>

+is equivalent to:

+<div class="doc-source">

+<pre><code>$pdf-&gt;AddFont('Comic', 'I', 'comici.php');</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/addlink.htm b/src/lib/fpdf/doc/addlink.htm
new file mode 100644
index 0000000..0e8586a
--- /dev/null
+++ b/src/lib/fpdf/doc/addlink.htm
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>AddLink</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>AddLink</h1>

+<code><b>int</b> AddLink()</code>

+<h2>Description</h2>

+Creates a new internal link and returns its identifier. An internal link is a clickable area

+which directs to another place within the document.

+<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/addpage.htm b/src/lib/fpdf/doc/addpage.htm
new file mode 100644
index 0000000..f75bc83
--- /dev/null
+++ b/src/lib/fpdf/doc/addpage.htm
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>AddPage</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>AddPage</h1>

+<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

+corner according to the left and top margins, and Header() is called to display the header.

+<br>

+The font which was set before calling is automatically restored. There is no need to call

+SetFont() again if you want to continue with the same font. The same is true for colors and

+line width.

+<br>

+The origin of the coordinate system is at the top-left corner and increasing ordinates go

+downwards.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>orientation</code></dt>

+<dd>

+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>

+The default value is the one passed to the constructor.

+</dd>

+<dt><code>size</code></dt>

+<dd>

+Page size. 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 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="__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>

+</html>

diff --git a/src/lib/fpdf/doc/aliasnbpages.htm b/src/lib/fpdf/doc/aliasnbpages.htm
new file mode 100644
index 0000000..7afa385
--- /dev/null
+++ b/src/lib/fpdf/doc/aliasnbpages.htm
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>AliasNbPages</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>AliasNbPages</h1>

+<code>AliasNbPages([<b>string</b> alias])</code>

+<h2>Description</h2>

+Defines an alias for the total number of pages. It will be substituted as the document is

+closed.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>alias</code></dt>

+<dd>

+The alias. Default value: <code>{nb}</code>.

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>class PDF extends FPDF

+{

+    function Footer()

+    {

+        // Go to 1.5 cm from bottom

+        $this-&gt;SetY(-15);

+        // Select Arial italic 8

+        $this-&gt;SetFont('Arial', 'I', 8);

+        // Print current and total page numbers

+        $this-&gt;Cell(0, 10, 'Page '.$this-&gt;PageNo().'/{nb}', 0, 0, 'C');

+    }

+}

+

+$pdf = new PDF();

+$pdf-&gt;AliasNbPages();</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/cell.htm b/src/lib/fpdf/doc/cell.htm
new file mode 100644
index 0000000..c2d9d1b
--- /dev/null
+++ b/src/lib/fpdf/doc/cell.htm
@@ -0,0 +1,104 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Cell</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Cell</h1>

+<code>Cell(<b>float</b> w [, <b>float</b> h [, <b>string</b> txt [, <b>mixed</b> border [, <b>int</b> ln [, <b>string</b> align [, <b>boolean</b> fill [, <b>mixed</b> link]]]]]]])</code>

+<h2>Description</h2>

+Prints a cell (rectangular area) with optional borders, background color and character string.

+The upper-left corner of the cell corresponds to the current position. The text can be aligned

+or centered. After the call, the current position moves to the right or to the next line. It is

+possible to put a link on the text.

+<br>

+If automatic page breaking is enabled and the cell goes beyond the limit, a page break is

+done before outputting.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>w</code></dt>

+<dd>

+Cell width. If <code>0</code>, the cell extends up to the right margin.

+</dd>

+<dt><code>h</code></dt>

+<dd>

+Cell height.

+Default value: <code>0</code>.

+</dd>

+<dt><code>txt</code></dt>

+<dd>

+String to print.

+Default value: empty string.

+</dd>

+<dt><code>border</code></dt>

+<dd>

+Indicates if borders must be drawn around the cell. The value can be either a number:

+<ul>

+<li><code>0</code>: no border</li>

+<li><code>1</code>: frame</li>

+</ul>

+or a string containing some or all of the following characters (in any order):

+<ul>

+<li><code>L</code>: left</li>

+<li><code>T</code>: top</li>

+<li><code>R</code>: right</li>

+<li><code>B</code>: bottom</li>

+</ul>

+Default value: <code>0</code>.

+</dd>

+<dt><code>ln</code></dt>

+<dd>

+Indicates where the current position should go after the call. Possible values are:

+<ul>

+<li><code>0</code>: to the right</li>

+<li><code>1</code>: to the beginning of the next line</li>

+<li><code>2</code>: below</li>

+</ul>

+Putting <code>1</code> is equivalent to putting <code>0</code> and calling Ln() just after.

+Default value: <code>0</code>.

+</dd>

+<dt><code>align</code></dt>

+<dd>

+Allows to center or align the text. Possible values are:

+<ul>

+<li><code>L</code> or empty string: left align (default value)</li>

+<li><code>C</code>: center</li>

+<li><code>R</code>: right align</li>

+</ul>

+</dd>

+<dt><code>fill</code></dt>

+<dd>

+Indicates if the cell background must be painted (<code>true</code>) or transparent (<code>false</code>).

+Default value: <code>false</code>.

+</dd>

+<dt><code>link</code></dt>

+<dd>

+URL or identifier returned by AddLink().

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>// Set font

+$pdf-&gt;SetFont('Arial', 'B', 16);

+// Move to 8 cm to the right

+$pdf-&gt;Cell(80);

+// Centered text in a framed 20*10 mm cell and line break

+$pdf-&gt;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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/close.htm b/src/lib/fpdf/doc/close.htm
new file mode 100644
index 0000000..596cfe4
--- /dev/null
+++ b/src/lib/fpdf/doc/close.htm
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Close</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Close</h1>

+<code>Close()</code>

+<h2>Description</h2>

+Terminates the PDF document. It is not necessary to call this method explicitly because Output()

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/error.htm b/src/lib/fpdf/doc/error.htm
new file mode 100644
index 0000000..16bcde9
--- /dev/null
+++ b/src/lib/fpdf/doc/error.htm
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Error</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Error</h1>

+<code>Error(<b>string</b> msg)</code>

+<h2>Description</h2>

+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>

+<dd>

+The error message.

+</dd>

+</dl>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/footer.htm b/src/lib/fpdf/doc/footer.htm
new file mode 100644
index 0000000..40bf6b1
--- /dev/null
+++ b/src/lib/fpdf/doc/footer.htm
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Footer</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Footer</h1>

+<code>Footer()</code>

+<h2>Description</h2>

+This method is used to render the page footer. It is automatically called by AddPage() and

+Close() and should not be called directly by the application. The implementation in FPDF is

+empty, so you have to subclass it and override the method if you want a specific processing.

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>class PDF extends FPDF

+{

+    function Footer()

+    {

+        // Go to 1.5 cm from bottom

+        $this-&gt;SetY(-15);

+        // Select Arial italic 8

+        $this-&gt;SetFont('Arial', 'I', 8);

+        // Print centered page number

+        $this-&gt;Cell(0, 10, 'Page '.$this-&gt;PageNo(), 0, 0, 'C');

+    }

+}</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/getpageheight.htm b/src/lib/fpdf/doc/getpageheight.htm
new file mode 100644
index 0000000..2727c0e
--- /dev/null
+++ b/src/lib/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=UTF-8">

+<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/src/lib/fpdf/doc/getpagewidth.htm b/src/lib/fpdf/doc/getpagewidth.htm
new file mode 100644
index 0000000..3343389
--- /dev/null
+++ b/src/lib/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=UTF-8">

+<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/src/lib/fpdf/doc/getstringwidth.htm b/src/lib/fpdf/doc/getstringwidth.htm
new file mode 100644
index 0000000..4aba124
--- /dev/null
+++ b/src/lib/fpdf/doc/getstringwidth.htm
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>GetStringWidth</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>GetStringWidth</h1>

+<code><b>float</b> GetStringWidth(<b>string</b> s)</code>

+<h2>Description</h2>

+Returns the length of a string in user unit. A font must be selected.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>s</code></dt>

+<dd>

+The string whose length is to be computed.

+</dd>

+</dl>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/getx.htm b/src/lib/fpdf/doc/getx.htm
new file mode 100644
index 0000000..91bed5d
--- /dev/null
+++ b/src/lib/fpdf/doc/getx.htm
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>GetX</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>GetX</h1>

+<code><b>float</b> GetX()</code>

+<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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/gety.htm b/src/lib/fpdf/doc/gety.htm
new file mode 100644
index 0000000..4e28883
--- /dev/null
+++ b/src/lib/fpdf/doc/gety.htm
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>GetY</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>GetY</h1>

+<code><b>float</b> GetY()</code>

+<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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/header.htm b/src/lib/fpdf/doc/header.htm
new file mode 100644
index 0000000..851afde
--- /dev/null
+++ b/src/lib/fpdf/doc/header.htm
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Header</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Header</h1>

+<code>Header()</code>

+<h2>Description</h2>

+This method is used to render the page header. It is automatically called by AddPage() and

+should not be called directly by the application. The implementation in FPDF is empty, so

+you have to subclass it and override the method if you want a specific processing.

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>class PDF extends FPDF

+{

+    function Header()

+    {

+        // Select Arial bold 15

+        $this-&gt;SetFont('Arial', 'B', 15);

+        // Move to the right

+        $this-&gt;Cell(80);

+        // Framed title

+        $this-&gt;Cell(30, 10, 'Title', 1, 0, 'C');

+        // Line break

+        $this-&gt;Ln(20);

+    }

+}</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/image.htm b/src/lib/fpdf/doc/image.htm
new file mode 100644
index 0000000..b2296ab
--- /dev/null
+++ b/src/lib/fpdf/doc/image.htm
@@ -0,0 +1,99 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Image</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Image</h1>

+<code>Image(<b>string</b> file [, <b>float</b> x [, <b>float</b> y [, <b>float</b> w [, <b>float</b> h [, <b>string</b> type [, <b>mixed</b> link]]]]]])</code>

+<h2>Description</h2>

+Puts an image. The size it will take on the page can be specified in different ways:

+<ul>

+<li>explicit width and height (expressed in user unit or dpi)</li>

+<li>one explicit dimension, the other being calculated automatically in order to keep the original proportions</li>

+<li>no explicit dimension, in which case the image is put at 96 dpi</li>

+</ul>

+Supported formats are JPEG, PNG and GIF. The GD extension is required for GIF.

+<br>

+<br>

+For JPEGs, all flavors are allowed:

+<ul>

+<li>gray scales</li>

+<li>true colors (24 bits)</li>

+<li>CMYK (32 bits)</li>

+</ul>

+For PNGs, are allowed:

+<ul>

+<li>gray scales on at most 8 bits (256 levels)</li>

+<li>indexed colors</li>

+<li>true colors (24 bits)</li>

+</ul>

+For GIFs: in case of an animated GIF, only the first frame is displayed.<br>

+<br>

+Transparency is supported.<br>

+<br>

+The format can be specified explicitly or inferred from the file extension.<br>

+<br>

+It is possible to put a link on the image.<br>

+<br>

+Remark: if an image is used several times, only one copy is embedded in the file.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>file</code></dt>

+<dd>

+Path or URL of the image.

+</dd>

+<dt><code>x</code></dt>

+<dd>

+Abscissa of the upper-left corner. If not specified or equal to <code>null</code>, the current abscissa

+is used.

+</dd>

+<dt><code>y</code></dt>

+<dd>

+Ordinate of the upper-left corner. If not specified or equal to <code>null</code>, the current ordinate

+is used; moreover, a page break is triggered first if necessary (in case automatic page breaking is enabled)

+and, after the call, the current ordinate is moved to the bottom of the image.

+</dd>

+<dt><code>w</code></dt>

+<dd>

+Width of the image in the page. There are three cases:

+<ul>

+<li>If the value is positive, it represents the width in user unit</li>

+<li>If the value is negative, the absolute value represents the horizontal resolution in dpi</li>

+<li>If the value is not specified or equal to zero, it is automatically calculated</li>

+</ul>

+</dd>

+<dt><code>h</code></dt>

+<dd>

+Height of the image in the page. There are three cases:

+<ul>

+<li>If the value is positive, it represents the height in user unit</li>

+<li>If the value is negative, the absolute value represents the vertical resolution in dpi</li>

+<li>If the value is not specified or equal to zero, it is automatically calculated</li>

+</ul>

+</dd>

+<dt><code>type</code></dt>

+<dd>

+Image format. Possible values are (case insensitive): <code>JPG</code>, <code>JPEG</code>, <code>PNG</code> and <code>GIF</code>.

+If not specified, the type is inferred from the file extension.

+</dd>

+<dt><code>link</code></dt>

+<dd>

+URL or identifier returned by AddLink().

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>// Insert a logo in the top-left corner at 300 dpi

+$pdf-&gt;Image('logo.png', 10, 10, -300);

+// Insert a dynamic image from a URL

+$pdf-&gt;Image('http://chart.googleapis.com/chart?cht=p3&amp;chd=t:60,40&amp;chs=250x100&amp;chl=Hello|World', 60, 30, 90, 0, 'PNG');</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/index.htm b/src/lib/fpdf/doc/index.htm
new file mode 100644
index 0000000..97f4769
--- /dev/null
+++ b/src/lib/fpdf/doc/index.htm
@@ -0,0 +1,59 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Documentation</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Documentation</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>

+<a href="addpage.htm">AddPage</a> - add a new page<br>

+<a href="aliasnbpages.htm">AliasNbPages</a> - define an alias for number of pages<br>

+<a href="cell.htm">Cell</a> - print a cell<br>

+<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="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>

+<a href="header.htm">Header</a> - page header<br>

+<a href="image.htm">Image</a> - output an image<br>

+<a href="line.htm">Line</a> - draw a line<br>

+<a href="link.htm">Link</a> - put a link<br>

+<a href="ln.htm">Ln</a> - line break<br>

+<a href="multicell.htm">MultiCell</a> - print text with line breaks<br>

+<a href="output.htm">Output</a> - save or send the document<br>

+<a href="pageno.htm">PageNo</a> - page number<br>

+<a href="rect.htm">Rect</a> - draw a rectangle<br>

+<a href="setauthor.htm">SetAuthor</a> - set the document author<br>

+<a href="setautopagebreak.htm">SetAutoPageBreak</a> - set the automatic page breaking mode<br>

+<a href="setcompression.htm">SetCompression</a> - turn compression on or off<br>

+<a href="setcreator.htm">SetCreator</a> - set document creator<br>

+<a href="setdisplaymode.htm">SetDisplayMode</a> - set display mode<br>

+<a href="setdrawcolor.htm">SetDrawColor</a> - set drawing color<br>

+<a href="setfillcolor.htm">SetFillColor</a> - set filling color<br>

+<a href="setfont.htm">SetFont</a> - set font<br>

+<a href="setfontsize.htm">SetFontSize</a> - set font size<br>

+<a href="setkeywords.htm">SetKeywords</a> - associate keywords with document<br>

+<a href="setleftmargin.htm">SetLeftMargin</a> - set left margin<br>

+<a href="setlinewidth.htm">SetLineWidth</a> - set line width<br>

+<a href="setlink.htm">SetLink</a> - set internal link destination<br>

+<a href="setmargins.htm">SetMargins</a> - set margins<br>

+<a href="setrightmargin.htm">SetRightMargin</a> - set right margin<br>

+<a href="setsubject.htm">SetSubject</a> - set document subject<br>

+<a href="settextcolor.htm">SetTextColor</a> - set text color<br>

+<a href="settitle.htm">SetTitle</a> - set document title<br>

+<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 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>

+</html>

diff --git a/src/lib/fpdf/doc/line.htm b/src/lib/fpdf/doc/line.htm
new file mode 100644
index 0000000..5cb0607
--- /dev/null
+++ b/src/lib/fpdf/doc/line.htm
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Line</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Line</h1>

+<code>Line(<b>float</b> x1, <b>float</b> y1, <b>float</b> x2, <b>float</b> y2)</code>

+<h2>Description</h2>

+Draws a line between two points.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x1</code></dt>

+<dd>

+Abscissa of first point.

+</dd>

+<dt><code>y1</code></dt>

+<dd>

+Ordinate of first point.

+</dd>

+<dt><code>x2</code></dt>

+<dd>

+Abscissa of second point.

+</dd>

+<dt><code>y2</code></dt>

+<dd>

+Ordinate of second point.

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/link.htm b/src/lib/fpdf/doc/link.htm
new file mode 100644
index 0000000..46ba0f2
--- /dev/null
+++ b/src/lib/fpdf/doc/link.htm
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Link</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Link</h1>

+<code>Link(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h, <b>mixed</b> link)</code>

+<h2>Description</h2>

+Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(),

+Write() or Image(), but this method can be useful for instance to define a clickable area inside

+an image.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x</code></dt>

+<dd>

+Abscissa of the upper-left corner of the rectangle.

+</dd>

+<dt><code>y</code></dt>

+<dd>

+Ordinate of the upper-left corner of the rectangle.

+</dd>

+<dt><code>w</code></dt>

+<dd>

+Width of the rectangle.

+</dd>

+<dt><code>h</code></dt>

+<dd>

+Height of the rectangle.

+</dd>

+<dt><code>link</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/ln.htm b/src/lib/fpdf/doc/ln.htm
new file mode 100644
index 0000000..871e507
--- /dev/null
+++ b/src/lib/fpdf/doc/ln.htm
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Ln</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Ln</h1>

+<code>Ln([<b>float</b> h])</code>

+<h2>Description</h2>

+Performs a line break. The current abscissa goes back to the left margin and the ordinate

+increases by the amount passed in parameter.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>h</code></dt>

+<dd>

+The height of the break.

+<br>

+By default, the value equals the height of the last printed cell.

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/multicell.htm b/src/lib/fpdf/doc/multicell.htm
new file mode 100644
index 0000000..5361670
--- /dev/null
+++ b/src/lib/fpdf/doc/multicell.htm
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>MultiCell</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>MultiCell</h1>

+<code>MultiCell(<b>float</b> w, <b>float</b> h, <b>string</b> txt [, <b>mixed</b> border [, <b>string</b> align [, <b>boolean</b> fill]]])</code>

+<h2>Description</h2>

+This method allows printing text with line breaks. They can be automatic (as soon as the

+text reaches the right border of the cell) or explicit (via the \n character). As many cells

+as necessary are output, one below the other.

+<br>

+Text can be aligned, centered or justified. The cell block can be framed and the background

+painted.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>w</code></dt>

+<dd>

+Width of cells. If <code>0</code>, they extend up to the right margin of the page.

+</dd>

+<dt><code>h</code></dt>

+<dd>

+Height of cells.

+</dd>

+<dt><code>txt</code></dt>

+<dd>

+String to print.

+</dd>

+<dt><code>border</code></dt>

+<dd>

+Indicates if borders must be drawn around the cell block. The value can be either a number:

+<ul>

+<li><code>0</code>: no border</li>

+<li><code>1</code>: frame</li>

+</ul>

+or a string containing some or all of the following characters (in any order):

+<ul>

+<li><code>L</code>: left</li>

+<li><code>T</code>: top</li>

+<li><code>R</code>: right</li>

+<li><code>B</code>: bottom</li>

+</ul>

+Default value: <code>0</code>.

+</dd>

+<dt><code>align</code></dt>

+<dd>

+Sets the text alignment. Possible values are:

+<ul>

+<li><code>L</code>: left alignment</li>

+<li><code>C</code>: center</li>

+<li><code>R</code>: right alignment</li>

+<li><code>J</code>: justification (default value)</li>

+</ul>

+</dd>

+<dt><code>fill</code></dt>

+<dd>

+Indicates if the cell background must be painted (<code>true</code>) or transparent (<code>false</code>).

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/output.htm b/src/lib/fpdf/doc/output.htm
new file mode 100644
index 0000000..7204bc2
--- /dev/null
+++ b/src/lib/fpdf/doc/output.htm
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Output</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Output</h1>

+<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 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>dest</code></dt>

+<dd>

+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 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.</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>Example</h2>

+Save the document to a local directory:

+<div class="doc-source">

+<pre><code>$pdf-&gt;Output('F', 'reports/report.pdf');</code></pre>

+</div>

+Force a download:

+<div class="doc-source">

+<pre><code>$pdf-&gt;Output('D', 'report.pdf');</code></pre>

+</div>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/pageno.htm b/src/lib/fpdf/doc/pageno.htm
new file mode 100644
index 0000000..cfbea9f
--- /dev/null
+++ b/src/lib/fpdf/doc/pageno.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=UTF-8">

+<title>PageNo</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>PageNo</h1>

+<code><b>int</b> PageNo()</code>

+<h2>Description</h2>

+Returns the current page number.

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/rect.htm b/src/lib/fpdf/doc/rect.htm
new file mode 100644
index 0000000..7f2e5b8
--- /dev/null
+++ b/src/lib/fpdf/doc/rect.htm
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Rect</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Rect</h1>

+<code>Rect(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h [, <b>string</b> style])</code>

+<h2>Description</h2>

+Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x</code></dt>

+<dd>

+Abscissa of upper-left corner.

+</dd>

+<dt><code>y</code></dt>

+<dd>

+Ordinate of upper-left corner.

+</dd>

+<dt><code>w</code></dt>

+<dd>

+Width.

+</dd>

+<dt><code>h</code></dt>

+<dd>

+Height.

+</dd>

+<dt><code>style</code></dt>

+<dd>

+Style of rendering. Possible values are:

+<ul>

+<li><code>D</code> or empty string: draw. This is the default value.</li>

+<li><code>F</code>: fill</li>

+<li><code>DF</code> or <code>FD</code>: draw and fill</li>

+</ul>

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/setauthor.htm b/src/lib/fpdf/doc/setauthor.htm
new file mode 100644
index 0000000..3406d1b
--- /dev/null
+++ b/src/lib/fpdf/doc/setauthor.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetAuthor</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetAuthor</h1>

+<code>SetAuthor(<b>string</b> author [, <b>boolean</b> isUTF8])</code>

+<h2>Description</h2>

+Defines the author of the document.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>author</code></dt>

+<dd>

+The name of the author.

+</dd>

+<dt><code>isUTF8</code></dt>

+<dd>

+Indicates if the string is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setautopagebreak.htm b/src/lib/fpdf/doc/setautopagebreak.htm
new file mode 100644
index 0000000..ae598d0
--- /dev/null
+++ b/src/lib/fpdf/doc/setautopagebreak.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetAutoPageBreak</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetAutoPageBreak</h1>

+<code>SetAutoPageBreak(<b>boolean</b> auto [, <b>float</b> margin])</code>

+<h2>Description</h2>

+Enables or disables the automatic page breaking mode. When enabling, the second parameter is

+the distance from the bottom of the page that defines the triggering limit. By default, the

+mode is on and the margin is 2 cm.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>auto</code></dt>

+<dd>

+Boolean indicating if mode should be on or off.

+</dd>

+<dt><code>margin</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setcompression.htm b/src/lib/fpdf/doc/setcompression.htm
new file mode 100644
index 0000000..d60c905
--- /dev/null
+++ b/src/lib/fpdf/doc/setcompression.htm
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetCompression</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetCompression</h1>

+<code>SetCompression(<b>boolean</b> compress)</code>

+<h2>Description</h2>

+Activates or deactivates page compression. When activated, the internal representation of

+each page is compressed, which leads to a compression ratio of about 2 for the resulting

+document.

+<br>

+Compression is on by default.

+<br>

+<br>

+<strong>Note:</strong> the Zlib extension is required for this feature. If not present, compression

+will be turned off.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>compress</code></dt>

+<dd>

+Boolean indicating if compression must be enabled.

+</dd>

+</dl>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setcreator.htm b/src/lib/fpdf/doc/setcreator.htm
new file mode 100644
index 0000000..d19ddde
--- /dev/null
+++ b/src/lib/fpdf/doc/setcreator.htm
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetCreator</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetCreator</h1>

+<code>SetCreator(<b>string</b> creator [, <b>boolean</b> isUTF8])</code>

+<h2>Description</h2>

+Defines the creator of the document. This is typically the name of the application that

+generates the PDF.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>creator</code></dt>

+<dd>

+The name of the creator.

+</dd>

+<dt><code>isUTF8</code></dt>

+<dd>

+Indicates if the string is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setdisplaymode.htm b/src/lib/fpdf/doc/setdisplaymode.htm
new file mode 100644
index 0000000..5861581
--- /dev/null
+++ b/src/lib/fpdf/doc/setdisplaymode.htm
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetDisplayMode</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetDisplayMode</h1>

+<code>SetDisplayMode(<b>mixed</b> zoom [, <b>string</b> layout])</code>

+<h2>Description</h2>

+Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be

+displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a

+specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader).

+The page layout can be specified too: single at once, continuous display, two columns or viewer

+default.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>zoom</code></dt>

+<dd>

+The zoom to use. It can be one of the following string values:

+<ul>

+<li><code>fullpage</code>: displays the entire page on screen</li>

+<li><code>fullwidth</code>: uses maximum width of window</li>

+<li><code>real</code>: uses real size (equivalent to 100% zoom)</li>

+<li><code>default</code>: uses viewer default mode</li>

+</ul>

+or a number indicating the zooming factor to use.

+</dd>

+<dt><code>layout</code></dt>

+<dd>

+The page layout. Possible values are:

+<ul>

+<li><code>single</code>: displays one page at once</li>

+<li><code>continuous</code>: displays pages continuously</li>

+<li><code>two</code>: displays two pages on two columns</li>

+<li><code>default</code>: uses viewer default mode</li>

+</ul>

+Default value is <code>default</code>.

+</dd>

+</dl>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setdrawcolor.htm b/src/lib/fpdf/doc/setdrawcolor.htm
new file mode 100644
index 0000000..42ce061
--- /dev/null
+++ b/src/lib/fpdf/doc/setdrawcolor.htm
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetDrawColor</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetDrawColor</h1>

+<code>SetDrawColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code>

+<h2>Description</h2>

+Defines the color used for all drawing operations (lines, rectangles and cell borders). It

+can be expressed in RGB components or gray scale. The method can be called before the first

+page is created and the value is retained from page to page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>r</code></dt>

+<dd>

+If <code>g</code> et <code>b</code> are given, red component; if not, indicates the gray level.

+Value between 0 and 255.

+</dd>

+<dt><code>g</code></dt>

+<dd>

+Green component (between 0 and 255).

+</dd>

+<dt><code>b</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setfillcolor.htm b/src/lib/fpdf/doc/setfillcolor.htm
new file mode 100644
index 0000000..df519a5
--- /dev/null
+++ b/src/lib/fpdf/doc/setfillcolor.htm
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetFillColor</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetFillColor</h1>

+<code>SetFillColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code>

+<h2>Description</h2>

+Defines the color used for all filling operations (filled rectangles and cell backgrounds).

+It can be expressed in RGB components or gray scale. The method can be called before the first

+page is created and the value is retained from page to page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>r</code></dt>

+<dd>

+If <code>g</code> and <code>b</code> are given, red component; if not, indicates the gray level.

+Value between 0 and 255.

+</dd>

+<dt><code>g</code></dt>

+<dd>

+Green component (between 0 and 255).

+</dd>

+<dt><code>b</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setfont.htm b/src/lib/fpdf/doc/setfont.htm
new file mode 100644
index 0000000..d7fb73c
--- /dev/null
+++ b/src/lib/fpdf/doc/setfont.htm
@@ -0,0 +1,78 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetFont</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetFont</h1>

+<code>SetFont(<b>string</b> family [, <b>string</b> style [, <b>float</b> size]])</code>

+<h2>Description</h2>

+Sets the font used to print character strings. It is mandatory to call this method at least once before printing text.

+<br>

+<br>

+The font can be either a standard one or a font added by the AddFont() method. Standard fonts

+use the Windows encoding cp1252 (Western Europe).

+<br>

+<br>

+The method can be called before the first page is created and the font is kept from page to page.

+<br>

+<br>

+If you just wish to change the current font size, it is simpler to call SetFontSize().

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>family</code></dt>

+<dd>

+Family font. It can be either a name defined by AddFont() or one of the standard families (case

+insensitive):

+<ul>

+<li><code>Courier</code> (fixed-width)</li>

+<li><code>Helvetica</code> or <code>Arial</code> (synonymous; sans serif)</li>

+<li><code>Times</code> (serif)</li>

+<li><code>Symbol</code> (symbolic)</li>

+<li><code>ZapfDingbats</code> (symbolic)</li>

+</ul>

+It is also possible to pass an empty string. In that case, the current family is kept.

+</dd>

+<dt><code>style</code></dt>

+<dd>

+Font style. Possible values are (case insensitive):

+<ul>

+<li>empty string: regular</li>

+<li><code>B</code>: bold</li>

+<li><code>I</code>: italic</li>

+<li><code>U</code>: underline</li>

+</ul>

+or any combination. The default value is regular.

+Bold and italic styles do not apply to <code>Symbol</code> and <code>ZapfDingbats</code>.

+</dd>

+<dt><code>size</code></dt>

+<dd>

+Font size in points.

+<br>

+The default value is the current size. If no size has been specified since the beginning of

+the document, the value is 12.

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>// Times regular 12

+$pdf-&gt;SetFont('Times');

+// Arial bold 14

+$pdf-&gt;SetFont('Arial', 'B', 14);

+// Removes bold

+$pdf-&gt;SetFont('');

+// Times bold, italic and underlined 14

+$pdf-&gt;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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setfontsize.htm b/src/lib/fpdf/doc/setfontsize.htm
new file mode 100644
index 0000000..a5badd4
--- /dev/null
+++ b/src/lib/fpdf/doc/setfontsize.htm
@@ -0,0 +1,25 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetFontSize</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetFontSize</h1>

+<code>SetFontSize(<b>float</b> size)</code>

+<h2>Description</h2>

+Defines the size of the current font.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>size</code></dt>

+<dd>

+The size (in points).

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/setkeywords.htm b/src/lib/fpdf/doc/setkeywords.htm
new file mode 100644
index 0000000..647f12f
--- /dev/null
+++ b/src/lib/fpdf/doc/setkeywords.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetKeywords</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetKeywords</h1>

+<code>SetKeywords(<b>string</b> keywords [, <b>boolean</b> isUTF8])</code>

+<h2>Description</h2>

+Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>keywords</code></dt>

+<dd>

+The list of keywords.

+</dd>

+<dt><code>isUTF8</code></dt>

+<dd>

+Indicates if the string is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setleftmargin.htm b/src/lib/fpdf/doc/setleftmargin.htm
new file mode 100644
index 0000000..d8d2f3b
--- /dev/null
+++ b/src/lib/fpdf/doc/setleftmargin.htm
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetLeftMargin</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetLeftMargin</h1>

+<code>SetLeftMargin(<b>float</b> margin)</code>

+<h2>Description</h2>

+Defines the left margin. The method can be called before creating the first page.

+<br>

+If the current abscissa gets out of page, it is brought back to the margin.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>margin</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setlinewidth.htm b/src/lib/fpdf/doc/setlinewidth.htm
new file mode 100644
index 0000000..92b18f8
--- /dev/null
+++ b/src/lib/fpdf/doc/setlinewidth.htm
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetLineWidth</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetLineWidth</h1>

+<code>SetLineWidth(<b>float</b> width)</code>

+<h2>Description</h2>

+Defines the line width. By default, the value equals 0.2 mm. The method can be called before

+the first page is created and the value is retained from page to page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>width</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setlink.htm b/src/lib/fpdf/doc/setlink.htm
new file mode 100644
index 0000000..443517b
--- /dev/null
+++ b/src/lib/fpdf/doc/setlink.htm
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetLink</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetLink</h1>

+<code>SetLink(<b>int</b> link [, <b>float</b> y [, <b>int</b> page]])</code>

+<h2>Description</h2>

+Defines the page and position a link points to.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>link</code></dt>

+<dd>

+The link identifier returned by AddLink().

+</dd>

+<dt><code>y</code></dt>

+<dd>

+Ordinate of target position; <code>-1</code> indicates the current position.

+The default value is <code>0</code> (top of page).

+</dd>

+<dt><code>page</code></dt>

+<dd>

+Number of target page; <code>-1</code> indicates the current page. This is the default value.

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/setmargins.htm b/src/lib/fpdf/doc/setmargins.htm
new file mode 100644
index 0000000..dc9b9ee
--- /dev/null
+++ b/src/lib/fpdf/doc/setmargins.htm
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetMargins</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetMargins</h1>

+<code>SetMargins(<b>float</b> left, <b>float</b> top [, <b>float</b> right])</code>

+<h2>Description</h2>

+Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change

+them.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>left</code></dt>

+<dd>

+Left margin.

+</dd>

+<dt><code>top</code></dt>

+<dd>

+Top margin.

+</dd>

+<dt><code>right</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setrightmargin.htm b/src/lib/fpdf/doc/setrightmargin.htm
new file mode 100644
index 0000000..1c45166
--- /dev/null
+++ b/src/lib/fpdf/doc/setrightmargin.htm
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetRightMargin</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetRightMargin</h1>

+<code>SetRightMargin(<b>float</b> margin)</code>

+<h2>Description</h2>

+Defines the right margin. The method can be called before creating the first page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>margin</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setsubject.htm b/src/lib/fpdf/doc/setsubject.htm
new file mode 100644
index 0000000..c4643f1
--- /dev/null
+++ b/src/lib/fpdf/doc/setsubject.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetSubject</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetSubject</h1>

+<code>SetSubject(<b>string</b> subject [, <b>boolean</b> isUTF8])</code>

+<h2>Description</h2>

+Defines the subject of the document.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>subject</code></dt>

+<dd>

+The subject.

+</dd>

+<dt><code>isUTF8</code></dt>

+<dd>

+Indicates if the string is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/settextcolor.htm b/src/lib/fpdf/doc/settextcolor.htm
new file mode 100644
index 0000000..a7fbd97
--- /dev/null
+++ b/src/lib/fpdf/doc/settextcolor.htm
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetTextColor</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetTextColor</h1>

+<code>SetTextColor(<b>int</b> r [, <b>int</b> g, <b>int</b> b])</code>

+<h2>Description</h2>

+Defines the color used for text. It can be expressed in RGB components or gray scale. The

+method can be called before the first page is created and the value is retained from page to

+page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>r</code></dt>

+<dd>

+If <code>g</code> et <code>b</code> are given, red component; if not, indicates the gray level.

+Value between 0 and 255.

+</dd>

+<dt><code>g</code></dt>

+<dd>

+Green component (between 0 and 255).

+</dd>

+<dt><code>b</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/settitle.htm b/src/lib/fpdf/doc/settitle.htm
new file mode 100644
index 0000000..b8b6925
--- /dev/null
+++ b/src/lib/fpdf/doc/settitle.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetTitle</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetTitle</h1>

+<code>SetTitle(<b>string</b> title [, <b>boolean</b> isUTF8])</code>

+<h2>Description</h2>

+Defines the title of the document.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>title</code></dt>

+<dd>

+The title.

+</dd>

+<dt><code>isUTF8</code></dt>

+<dd>

+Indicates if the string is encoded in ISO-8859-1 (<code>false</code>) or UTF-8 (<code>true</code>).<br>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/settopmargin.htm b/src/lib/fpdf/doc/settopmargin.htm
new file mode 100644
index 0000000..46a7952
--- /dev/null
+++ b/src/lib/fpdf/doc/settopmargin.htm
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetTopMargin</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetTopMargin</h1>

+<code>SetTopMargin(<b>float</b> margin)</code>

+<h2>Description</h2>

+Defines the top margin. The method can be called before creating the first page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>margin</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setx.htm b/src/lib/fpdf/doc/setx.htm
new file mode 100644
index 0000000..282898c
--- /dev/null
+++ b/src/lib/fpdf/doc/setx.htm
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetX</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetX</h1>

+<code>SetX(<b>float</b> x)</code>

+<h2>Description</h2>

+Defines the abscissa of the current position. If the passed value is negative, it is relative

+to the right of the page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/setxy.htm b/src/lib/fpdf/doc/setxy.htm
new file mode 100644
index 0000000..36eee62
--- /dev/null
+++ b/src/lib/fpdf/doc/setxy.htm
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetXY</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetXY</h1>

+<code>SetXY(<b>float</b> x, <b>float</b> y)</code>

+<h2>Description</h2>

+Defines the abscissa and ordinate of the current position. If the passed values are negative,

+they are relative respectively to the right and bottom of the page.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x</code></dt>

+<dd>

+The value of the abscissa.

+</dd>

+<dt><code>y</code></dt>

+<dd>

+The value of the ordinate.

+</dd>

+</dl>

+<h2>See also</h2>

+<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>

+</html>

diff --git a/src/lib/fpdf/doc/sety.htm b/src/lib/fpdf/doc/sety.htm
new file mode 100644
index 0000000..19a4451
--- /dev/null
+++ b/src/lib/fpdf/doc/sety.htm
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>SetY</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>SetY</h1>

+<code>SetY(<b>float</b> y [, <b>boolean</b> resetX])</code>

+<h2>Description</h2>

+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">

+<dt><code>y</code></dt>

+<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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/text.htm b/src/lib/fpdf/doc/text.htm
new file mode 100644
index 0000000..11d5600
--- /dev/null
+++ b/src/lib/fpdf/doc/text.htm
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Text</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Text</h1>

+<code>Text(<b>float</b> x, <b>float</b> y, <b>string</b> txt)</code>

+<h2>Description</h2>

+Prints a character string. The origin is on the left of the first character, on the baseline.

+This method allows to place a string precisely on the page, but it is usually easier to use

+Cell(), MultiCell() or Write() which are the standard methods to print text.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>x</code></dt>

+<dd>

+Abscissa of the origin.

+</dd>

+<dt><code>y</code></dt>

+<dd>

+Ordinate of the origin.

+</dd>

+<dt><code>txt</code></dt>

+<dd>

+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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>

diff --git a/src/lib/fpdf/doc/write.htm b/src/lib/fpdf/doc/write.htm
new file mode 100644
index 0000000..9653540
--- /dev/null
+++ b/src/lib/fpdf/doc/write.htm
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

+<html>

+<head>

+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

+<title>Write</title>

+<link type="text/css" rel="stylesheet" href="../fpdf.css">

+</head>

+<body>

+<h1>Write</h1>

+<code>Write(<b>float</b> h, <b>string</b> txt [, <b>mixed</b> link])</code>

+<h2>Description</h2>

+This method prints text from the current position. When the right margin is reached (or the \n

+character is met) a line break occurs and text continues from the left margin. Upon method exit,

+the current position is left just at the end of the text.

+<br>

+It is possible to put a link on the text.

+<h2>Parameters</h2>

+<dl class="param">

+<dt><code>h</code></dt>

+<dd>

+Line height.

+</dd>

+<dt><code>txt</code></dt>

+<dd>

+String to print.

+</dd>

+<dt><code>link</code></dt>

+<dd>

+URL or identifier returned by AddLink().

+</dd>

+</dl>

+<h2>Example</h2>

+<div class="doc-source">

+<pre><code>// Begin with regular font

+$pdf-&gt;SetFont('Arial', '', 14);

+$pdf-&gt;Write(5, 'Visit ');

+// Then put a blue underlined link

+$pdf-&gt;SetTextColor(0, 0, 255);

+$pdf-&gt;SetFont('', 'U');

+$pdf-&gt;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>

+<hr style="margin-top:1.5em">

+<div style="text-align:center"><a href="index.htm">Index</a></div>

+</body>

+</html>