Updated gui for user facility settings (#1327)
[openemr.git] / vendor / phpoffice / phpexcel / Classes / PHPExcel / Chart / Title.php
blob5d226c4b2b80e114b1b3ebab9fea7d776ce92afc
1 <?php
2 /**
3 * PHPExcel
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
21 * @category PHPExcel
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##
29 /**
30 * PHPExcel_Chart_Title
32 * @category PHPExcel
33 * @package PHPExcel_Chart
34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
36 class PHPExcel_Chart_Title
39 /**
40 * Title Caption
42 * @var string
44 private $_caption = null;
46 /**
47 * Title Layout
49 * @var PHPExcel_Chart_Layout
51 private $_layout = null;
53 /**
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;
62 /**
63 * Get caption
65 * @return string
67 public function getCaption() {
68 return $this->_caption;
71 /**
72 * Set caption
74 * @param string $caption
75 * @return PHPExcel_Chart_Title
77 public function setCaption($caption = null) {
78 $this->_caption = $caption;
80 return $this;
83 /**
84 * Get Layout
86 * @return PHPExcel_Chart_Layout
88 public function getLayout() {
89 return $this->_layout;