PHPExcel_RichText
[ class tree: PHPExcel_RichText ] [ index: PHPExcel_RichText ] [ all elements ]

Source for file ITextElement.php

Documentation is available at ITextElement.php

  1. <?php
  2. /**
  3.  * PHPExcel
  4.  *
  5.  * This library is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU Lesser General Public
  7.  * License as published by the Free Software Foundation; either
  8.  * version 2.1 of the License, or (at your option) any later version.
  9.  * 
  10.  * This library is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  * Lesser General Public License for more details.
  14.  * 
  15.  * You should have received a copy of the GNU Lesser General Public
  16.  * License along with this library; if not, write to the Free Software
  17.  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  18.  *
  19.  * @category   PHPExcel
  20.  * @package    PHPExcel_RichText
  21.  * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
  22.  * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
  23.  * @version    1.7.2, 2010-01-11
  24.  */
  25.  
  26.  
  27. /** PHPExcel root directory */
  28. if (!defined('PHPEXCEL_ROOT')) {
  29.     /**
  30.      * @ignore
  31.      */
  32.     define('PHPEXCEL_ROOT'dirname(__FILE__'/../../');
  33. }
  34.  
  35. /** PHPExcel_Style_Font */
  36. require_once PHPEXCEL_ROOT 'PHPExcel/Style/Font.php';
  37.  
  38.  
  39. /**
  40.  * PHPExcel_RichText_ITextElement
  41.  *
  42.  * @category   PHPExcel
  43.  * @package    PHPExcel_RichText
  44.  * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
  45.  */
  46. {
  47.     /**
  48.      * Get text
  49.      *
  50.      * @return string    Text
  51.      */    
  52.     public function getText();
  53.     
  54.     /**
  55.      * Set text
  56.      *
  57.      * @param     $pText string    Text
  58.      * @return PHPExcel_RichText_ITextElement 
  59.      */    
  60.     public function setText($pText '');
  61.     
  62.     /**
  63.      * Get font
  64.      *
  65.      * @return PHPExcel_Style_Font 
  66.      */    
  67.     public function getFont();
  68.     
  69.     /**
  70.      * Get hash code
  71.      *
  72.      * @return string    Hash code
  73.      */    
  74.     public function getHashCode();
  75. }

Documentation generated on Mon, 11 Jan 2010 08:11:39 +0100 by phpDocumentor 1.4.1