5 * Copyright (c) 2006 - 2014 PHPExcel
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 * @package PHPExcel_Chart
23 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
24 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
25 * @version ##VERSION##, ##DATE##
30 * PHPExcel_Chart_Title
33 * @package PHPExcel_Chart
34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
36 class PHPExcel_Chart_Title
44 private $_caption = null;
49 * @var PHPExcel_Chart_Layout
51 private $_layout = null;
54 * Create a new PHPExcel_Chart_Title
56 public function __construct($caption = null, PHPExcel_Chart_Layout
$layout = null)
58 $this->_caption
= $caption;
59 $this->_layout
= $layout;
67 public function getCaption() {
68 return $this->_caption
;
74 * @param string $caption
75 * @return PHPExcel_Chart_Title
77 public function setCaption($caption = null) {
78 $this->_caption
= $caption;
86 * @return PHPExcel_Chart_Layout
88 public function getLayout() {
89 return $this->_layout
;