@@ 1961-1965 (lines=5) @@ | ||
1958 | // offset: 12; size: 1; character set |
|
1959 | // offset: 13; size: 1; not used |
|
1960 | // offset: 14; size: var; font name |
|
1961 | if ($this->version == self::XLS_BIFF8) { |
|
1962 | $string = self::readUnicodeStringShort(substr($recordData, 14)); |
|
1963 | } else { |
|
1964 | $string = $this->readByteStringShort(substr($recordData, 14)); |
|
1965 | } |
|
1966 | $objFont->setName($string['value']); |
|
1967 | ||
1968 | $this->objFonts[] = $objFont; |
|
@@ 1997-2002 (lines=6) @@ | ||
1994 | if (!$this->readDataOnly) { |
|
1995 | $indexCode = self::getInt2d($recordData, 0); |
|
1996 | ||
1997 | if ($this->version == self::XLS_BIFF8) { |
|
1998 | $string = self::readUnicodeStringLong(substr($recordData, 2)); |
|
1999 | } else { |
|
2000 | // BIFF7 |
|
2001 | $string = $this->readByteStringShort(substr($recordData, 2)); |
|
2002 | } |
|
2003 | ||
2004 | $formatString = $string['value']; |
|
2005 | $this->formats[$indexCode] = $formatString; |