@@ 1824-1828 (lines=5) @@ | ||
1821 | // offset: 12; size: 1; character set |
|
1822 | // offset: 13; size: 1; not used |
|
1823 | // offset: 14; size: var; font name |
|
1824 | if ($this->_version == self::XLS_BIFF8) { |
|
1825 | $string = self::_readUnicodeStringShort(substr($recordData, 14)); |
|
1826 | } else { |
|
1827 | $string = $this->_readByteStringShort(substr($recordData, 14)); |
|
1828 | } |
|
1829 | $objFont->setName($string['value']); |
|
1830 | ||
1831 | $this->_objFonts[] = $objFont; |
|
@@ 1861-1866 (lines=6) @@ | ||
1858 | if (!$this->_readDataOnly) { |
|
1859 | $indexCode = self::_GetInt2d($recordData, 0); |
|
1860 | ||
1861 | if ($this->_version == self::XLS_BIFF8) { |
|
1862 | $string = self::_readUnicodeStringLong(substr($recordData, 2)); |
|
1863 | } else { |
|
1864 | // BIFF7 |
|
1865 | $string = $this->_readByteStringShort(substr($recordData, 2)); |
|
1866 | } |
|
1867 | ||
1868 | $formatString = $string['value']; |
|
1869 | $this->_formats[$indexCode] = $formatString; |