~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to libraries/PHPExcel/PHPExcel/RichText/ITextElement.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-03-08 15:25:00 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100308152500-6e8hmuqc5co39de5
Tags: 4:3.3.0-1
* New upstream version.
* Rediff debian/patches.
* Fix permissions on mediawiki export extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
 
22
 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
 
23
 * @version    1.7.0, 2009-08-10
 
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 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
 
45
 */
 
46
interface PHPExcel_RichText_ITextElement
 
47
{
 
48
        /**
 
49
         * Get text
 
50
         *
 
51
         * @return string       Text
 
52
         */     
 
53
        public function getText();
 
54
        
 
55
        /**
 
56
         * Set text
 
57
         *
 
58
         * @param       $pText string   Text
 
59
         * @return PHPExcel_RichText_ITextElement
 
60
         */     
 
61
        public function setText($pText = '');
 
62
        
 
63
        /**
 
64
         * Get font
 
65
         *
 
66
         * @return PHPExcel_Style_Font
 
67
         */     
 
68
        public function getFont();
 
69
        
 
70
        /**
 
71
         * Get hash code
 
72
         *
 
73
         * @return string       Hash code
 
74
         */     
 
75
        public function getHashCode();
 
76
}