<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page dompdf.php</title> <link rel="stylesheet" href="../media/stylesheet.css" /> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> </head> <body> <div class="page-body"> <h2 class="file-name">/dompdf.php</h2> <a name="sec-description"></a> <div class="info-box"> <div class="info-box-title">Description</div> <div class="nav-bar"> <span class="disabled">Description</span> | <a href="#sec-includes">Includes</a> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">DOMPDF - PHP5 HTML to PDF renderer</p> <div class="description"><p>File: $RCSfile: dompdf.php,v $ Created on: 2004-06-22</p><p>Copyright (c) 2004 - Benj Carson <hide@address.com></p><p>This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.</p><p>This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p><p>You should have received a copy of the GNU Lesser General Public License along with this library in the file LICENSE.LGPL; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</p><p>Alternatively, you may distribute this software under the terms of the PHP License, version 3.0 or later. A copy of this license should have been distributed with this file in the file LICENSE.PHP . If this is not the case, you can obtain a copy at http://www.php.net/license/3_0.txt.</p><p>The latest version of DOMPDF might be available at: http://www.digitaljunkies.ca/dompdf</p><p>dompdf.php is a simple script to drive DOMPDF. It can be executed from a browser or from the command line.</p></div> <ul class="tags"> <li><span class="field">version:</span> 0.3</li> <li><span class="field">author:</span> Benj Carson <<a href="mailto:hide@address.com">hide@address.com</a>></li> <li><span class="field">copyright:</span> 2004 Benj Carson</li> <li><span class="field">link:</span> <a href="http://www.digitaljunkies.ca/dompdf">http://www.digitaljunkies.ca/dompdf</a></li> </ul> </div> </div> <a name="sec-includes"></a> <div class="info-box"> <div class="info-box-title">Includes</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <span class="disabled">Includes</span> | <a href="#sec-functions">Functions</a> </div> <div class="info-box-body"> <a name="_dompdf_config_inc_php"><!-- --></a> <div class="oddrow"> <div> <span class="include-title"> <span class="include-type">require_once</span> (<span class="include-name"><a href="../dompdf/_dompdf_config_inc_php.html">"dompdf_config.inc.php"</a></span>) (line <span class="line-number">162</span>) </span> </div> <!-- ========== Info from phpDoc block ========= --> </div> </div> </div> <a name="sec-functions"></a> <div class="info-box"> <div class="info-box-title">Functions</div> <div class="nav-bar"> <a href="#sec-description">Description</a> | <a href="#sec-includes">Includes</a> | <span class="disabled">Functions</span> </div> <div class="info-box-body"> <a name="functiongetoptions" id="functiongetoptions"><!-- --></a> <div class="evenrow"> <div> <span class="method-title">getoptions</span> (line <span class="line-number">91</span>) </div> <!-- ========== Info from phpDoc block ========= --> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> getoptions </span> () </div> </div> <a name="functionusage" id="functionusage"><!-- --></a> <div class="oddrow"> <div> <span class="method-title">usage</span> (line <span class="line-number">70</span>) </div> <!-- ========== Info from phpDoc block ========= --> <p class="short-description">Display command line usage:</p> <div class="description"><p>Usage: ./dompdf.php [options] html_file</p><p>html_file can be a filename, a url if fopen_wrappers are enabled, or the '-' character to read from standard input.</p><p>Options: -h Show this message -l list available paper sizes -p size paper size; something like 'letter', 'A4', 'legal', etc. The default is 'letter' -o orientation either 'portrait' or 'landscape'. Default is 'portrait'. -b path set the 'document root' of the html_file. Relative urls (for stylesheets) are resolved using this directory. Default is the directory of html_file. -f file the output filename. Default is the input [html_file].pdf. -v verbose: display html parsing warnings and file not found errors. -d very verbose: display oodles of debugging output: every frame in the tree is printed to stdout.</p></div> <div class="method-signature"> <span class="method-result">void</span> <span class="method-name"> usage </span> () </div> </div> </div> </div> <p class="notes" id="credit"> Documentation generated on Fri, 04 Mar 2005 13:31:17 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a> </p> </div></body> </html>