Location: PHPKode > projects > pdfDOM > pdfdom-0.5/classes/class.document.php
<?php
/******************************************************************************
* File      	:	$RCSfile: class.document.php,v $
* Project   	:   pdfDOM
* Description	:   Document
* Author    	:   Timo A. Hummel <hide@address.com>
* Created   	:   28.01.2003
* Modified  	:   $Date: 2005/06/23 11:31:04 $
*
* This file is part of the pdfDOM project.
*
* More information: 
* http://www.pdfdom.org
* http://www.sf.net/projects/pdfdom
*
* © four for business AG, www.4fb.de
*
* $Id: class.document.php,v 1.2 2005/06/23 11:31:04 timo_h Exp $
******************************************************************************/

class pdDocument
{
	var $_root;
	
	function setRoot (&$root)
	{
		$this->_root = &$root;
	}
	
	function render ()
	{
		global $_pdfDom_PDF;
		
		$_pdfDom_PDF->setDisplayMode("fullpage");
		$_pdfDom_PDF->output();	
	}
}
?>
Return current item: pdfDOM