/** * Read PRINTGRIDLINES record */ private function _readPrintGridlines() { $length = $this->_GetInt2d($this->_data, $this->_pos + 2); $recordData = substr($this->_data, $this->_pos + 4, $length); // move stream pointer to next record $this->_pos += 4 + $length; if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { // offset: 0; size: 2; 0 = do not print sheet grid lines; 1 = print sheet gridlines $printGridlines = (bool) $this->_GetInt2d($recordData, 0); $this->_phpSheet->setPrintGridlines($printGridlines); } }