_propDict)) { return $this->_propDict["formulaHidden"]; } else { return null; } } /** * Sets the formulaHidden * Indicates if Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting. * * @param bool $val The formulaHidden * * @return WorkbookFormatProtection */ public function setFormulaHidden($val) { $this->_propDict["formulaHidden"] = boolval($val); return $this; } /** * Gets the locked * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. * * @return bool|null The locked */ public function getLocked() { if (array_key_exists("locked", $this->_propDict)) { return $this->_propDict["locked"]; } else { return null; } } /** * Sets the locked * Indicates if Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting. * * @param bool $val The locked * * @return WorkbookFormatProtection */ public function setLocked($val) { $this->_propDict["locked"] = boolval($val); return $this; } }