steffen: server/kolab-horde-framework/kolab-horde-framework/File_PDF PDF.php, NONE, 1.1 package.xml, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Fri Oct 14 16:33:06 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolab-horde-framework/kolab-horde-framework/File_PDF
In directory doto:/tmp/cvs-serv28903/kolab-horde-framework/kolab-horde-framework/File_PDF

Added Files:
	PDF.php package.xml 
Log Message:
Separated Horde Framework from kolab-resource-handlers

--- NEW FILE: PDF.php ---
<?php
/**
 * File_PDF::
 *
 * The File_PDF:: class provides a PHP-only implementation of a PDF library.
 * No external libs or PHP extensions are required.
 *
 * Based on the FPDF class by Olivier Plathey (http://www.fpdf.org).
 *
 * Copyright 2003-2004 Olivier Plathey <olivier at fpdf.org>
 * Copyright 2003-2004 Marko Djukic <marko at oblo.com>
 *
 * See the enclosed file COPYING for license information (LGPL). If you did not
 * receive this file, see http://www.fsf.org/copyleft/lgpl.html.
 *
 * $Horde: framework/File_PDF/PDF.php,v 1.17 2004/05/20 07:43:42 mdjukic Exp $
 *
 * @author  Olivier Plathey <olivier at fpdf.org>
 * @author  Marko Djukic <marko at oblo.com>
[...2785 lines suppressed...]
    }

    function _putStream($s)
    {
        $this->_out('stream');
        $this->_out($s);
        $this->_out('endstream');
    }

    function _out($s)
    {
        /*  Add a line to the document. */
        if ($this->_state == 2) {
            $this->_pages[$this->_page] .= $s . "\n";
        } else {
            $this->_buffer .= $s . "\n";
        }
    }

}

--- NEW FILE: package.xml ---
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Horde: framework/File_PDF/package.xml,v 1.4 2004/04/28 03:29:47 mdjukic Exp $ -->
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0">
  <name>File_PDF</name>
  <summary>PDF generation using only PHP.</summary>
  <description>This package provides PDF generation using only PHP, without requiring any external libraries.
  </description>
  <license>LGPL</license>

  <maintainers>
    <maintainer>
      <user>mdjukic</user>
      <role>lead</role>
      <name>Marko Djukic</name>
      <email>mdjukic at horde.org</email>
    </maintainer>
  </maintainers>

  <release>
    <version>0.0.1</version>
    <state>beta</state>
    <date>2003-11-01</date>
    <notes>Initial release as a PEAR package</notes>

    <filelist>
      <file role="php" name="PDF.php" baseinstalldir="/File" />
      <dir role="php" name="PDF" baseinstalldir="/File">
        <dir name="fonts" role="php">
          <file name="courier.php" />
          <file name="helvetica.php" />
          <file name="helveticab.php" />
          <file name="helveticabi.php" />
          <file name="helveticai.php" />
          <file name="symbol.php" />
          <file name="times.php" />
          <file name="timesb.php" />
          <file name="timesbi.php" />
          <file name="timesi.php" />
          <file name="zapfdingbats.php" />
        </dir>
      </dir>
    </filelist>

    <provides type="class" name="PDF"/>

    <deps>
      <dep type="php" rel="ge" version="4.2.0"/>
      <dep type="pkg" rel="has" optional="yes">HTTP_Download</dep>
    </deps>

  </release>

  <changelog>
    <release>
      <version>0.0.1</version>
      <state>beta</state>
      <date>2003-11-01</date>
      <notes>Initial release as a PEAR package</notes>
    </release>
  </changelog>

</package>





More information about the commits mailing list