30 if (!defined(
'PHPEXCEL_ROOT')) {
34 define(
'PHPEXCEL_ROOT', dirname(__FILE__) .
'/../../');
38 require_once PHPEXCEL_ROOT .
'PHPExcel/Style.php';
41 require_once PHPEXCEL_ROOT .
'PHPExcel/IComparable.php';
117 $this->_condition = array();
137 $this->_conditionType = $pValue;
157 $this->_operatorType = $pValue;
177 $this->_text = $value;
188 if (isset($this->_condition[0])) {
189 return $this->_condition[0];
203 if (!is_array($pValue))
204 $pValue = array($pValue);
225 if (!is_array($pValue))
226 $pValue = array($pValue);
228 $this->_condition = $pValue;
239 $this->_condition[] = $pValue;
260 $this->_style = $pValue;
271 $this->_conditionType
272 . $this->_operatorType
273 . implode(
';', $this->_condition)
274 . $this->_style->getHashCode()
307 $this->_hashIndex = $value;
314 $vars = get_object_vars($this);
315 foreach ($vars as
$key => $value) {
316 if (is_object($value)) {
317 $this->
$key = clone $value;
319 $this->
$key = $value;