phpDocumentor OpenDocumentPHP
content_body_table
[ class tree: OpenDocumentPHP ] [ index: OpenDocumentPHP ] [ all elements ]

Source for file SpreadsheetFragment.php

Documentation is available at SpreadsheetFragment.php

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /*
  6.  * Created on 24. Jul. 2007 by Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
  7.  */
  8.  
  9. /**
  10.  * SpreadsheetFragment class file.
  11.  * 
  12.  * PHP versions 5.2 or better.
  13.  *
  14.  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  15.  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  16.  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17.  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  18.  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  19.  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  20.  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  21.  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  22.  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  23.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  24.  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25.  *
  26.  * This software consists of voluntary contributions made by many individuals
  27.  * and is licensed under the GPL. For more information please see
  28.  * <http://opendocumentphp.org>.
  29.  * 
  30.  * $Id: SpreadsheetFragment.php 256 2007-08-01 14:16:10Z nmarkgraf $
  31.  * 
  32.  * @category    File Formats
  33.  * @package     OpenDocumentPHP
  34.  * @subpackage  content_body_table
  35.  * @author      Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
  36.  * @copyright   Copyright in 2006, 2007 by The OpenDocumentPHP Team
  37.  * @license     http://www.gnu.org/licenses/gpl.html GNU General Public License 2.0.
  38.  * @version     SVN: $Id: SpreadsheetFragment.php 256 2007-08-01 14:16:10Z nmarkgraf $
  39.  * @link        http://opendocumentphp.org
  40.  * @since       0.5.3 - 24. Jul. 2007
  41.  */
  42.  
  43. /**
  44.  * 
  45.  */
  46. require_once 'OpenDocumentPHP/util/ODPElement.php';
  47.  
  48. /**
  49.  * SpreadsheetFragment class.
  50.  * 
  51.  * Here we store the <office:text>...<office:text> part of the content tree.
  52.  *  
  53.  * @category    File Formats
  54.  * @package     OpenDocumentPHP
  55.  * @subpackage  content_body_table
  56.  * @author      Norman Markgraf (nmarkgraf(at)user.sourceforge.net)
  57.  * @copyright   Copyright in 2006, 2007 by The OpenDocumentPHP Team
  58.  * @license     http://www.gnu.org/licenses/gpl.html GNU General Public License 2.0.
  59.  * @version     Release: @package_version@
  60.  * @link        http://opendocumentphp.org
  61.  * @since         0.5.3 - 24. Jul. 2007
  62.  */
  63. class SpreadsheetFragment extends ODPElement {
  64.  
  65. /**
  66.      * Constructor method.
  67.      * 
  68.      * @since         0.5.3 - 24. Jul. 2007
  69.      */
  70.     function __construct($elem=null
  71.     {         
  72.        if (is_null($elem)) {
  73.            parent::__construct('office:spreadsheet'''self::OFFICE);
  74.        else {
  75.            parent::__construct($elem);         
  76.        }
  77.     }
  78. }
  79. ?>

Documentation generated on Wed, 18 Jun 2008 06:31:59 +0200 by phpDocumentor 1.3.2