phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/inc/pdf/class.ezpdf.php, 1.2.2.1


From: nomail
Subject: [Phpgroupware-cvs] property/inc/pdf/class.ezpdf.php, 1.2.2.1
Date: Wed, 17 Nov 2004 14:24:58 +0100

Update of /property/inc/pdf
Modified Files:
        Branch: proposed-0_9_18-branch
          class.ezpdf.php

date: 2004/11/17 13:24:58;  author: sigurdne;  state: Exp;  lines: +35 -31

Log Message:
Adapting to phpDocumentor
=====================================================================
Index: property/inc/pdf/class.ezpdf.php
diff -u property/inc/pdf/class.ezpdf.php:1.2 
property/inc/pdf/class.ezpdf.php:1.2.2.1
--- property/inc/pdf/class.ezpdf.php:1.2        Wed Jun  2 19:01:11 2004
+++ property/inc/pdf/class.ezpdf.php    Wed Nov 17 13:24:58 2004
@@ -1,45 +1,49 @@
 <?php
-
-//include_once('class.pdf.php');
-//include_once (PHPGW_APP_INC . '/pdf/class.pdf.php');
+/**
+* Cpdf
+*
+* this class will take the basic interaction facilities of the Cpdf class
+* and make more useful functions so that the user does not have to
+* know all the ins and outs of pdf presentation to produce something pretty.
+*
+* IMPORTANT NOTE
+* there is no warranty, implied or otherwise with this software.
+*
+* version 009 (versioning is linked to class.pdf.php)
+*
+* released under a public domain licence.
+*
+* Wayne Munro, R&OS Ltd, http://www.ros.co.nz/pdf
+* LICENCE
+* This code has been placed in the Public Domain for all to enjoy.
+*
+* @author              Wayne Munro <address@hidden>
+* @version     009
+* @package     Cpdf
+*/
 
 class pdf extends pdf_ {
-//==============================================================================
-// this class will take the basic interaction facilities of the Cpdf class
-// and make more useful functions so that the user does not have to
-// know all the ins and outs of pdf presentation to produce something pretty.
-//
-// IMPORTANT NOTE
-// there is no warranty, implied or otherwise with this software.
-//
-// version 009 (versioning is linked to class.pdf.php)
-//
-// released under a public domain licence.
-//
-// Wayne Munro, R&OS Ltd, http://www.ros.co.nz/pdf
-//==============================================================================
 
 var $ez=array('fontSize'=>10); // used for storing most of the page 
configuration parameters
 var $y; // this is the current vertical positon on the page of the writing 
point, very important
 var $ezPages=array(); // keep an array of the ids of the pages, making it easy 
to go back and add page numbers etc.
 var $ezPageCount=0;
 
-// 
------------------------------------------------------------------------------
+/**
+* Assuming that people don't want to specify the paper size using the absolute 
coordinates
+* allow a couple of options:
+* orientation can be 'portrait' or 'landscape'
+* or, to actually set the coordinates, then pass an array in as the first 
parameter.
+* the defaults are as shown.
+*
+* 2002-07-24 - Nicola Asuni (address@hidden):
+* Added new page formats (45 standard ISO paper formats and 4 american common 
formats)
+* paper cordinates are calculated in this way: (inches * 72) where 1 inch = 
2.54 cm
+*
+* Now you may also pass a 2 values array containing the page width and height 
in centimeters
+*/
 
 function pdf($paper='a4',$orientation='portrait'){
-       // Assuming that people don't want to specify the paper size using the 
absolute coordinates
-       // allow a couple of options:
-       // orientation can be 'portrait' or 'landscape'
-       // or, to actually set the coordinates, then pass an array in as the 
first parameter.
-       // the defaults are as shown.
-       //
-       // -------------------------
-       // 2002-07-24 - Nicola Asuni (address@hidden):
-       // Added new page formats (45 standard ISO paper formats and 4 american 
common formats)
-       // paper cordinates are calculated in this way: (inches * 72) where 1 
inch = 2.54 cm
-       //
-       // Now you may also pass a 2 values array containing the page width and 
height in centimeters
-       // -------------------------
 
        if (!is_array($paper)){
                switch (strtoupper($paper)){




reply via email to

[Prev in Thread] Current Thread [Next in Thread]