@@ 1997-2001 (lines=5) @@ | ||
1994 | // offset: 12; size: 1; character set |
|
1995 | // offset: 13; size: 1; not used |
|
1996 | // offset: 14; size: var; font name |
|
1997 | if ($this->version == self::XLS_BIFF8) { |
|
1998 | $string = self::readUnicodeStringShort(substr($recordData, 14)); |
|
1999 | } else { |
|
2000 | $string = $this->readByteStringShort(substr($recordData, 14)); |
|
2001 | } |
|
2002 | $objFont->setName($string['value']); |
|
2003 | ||
2004 | $this->objFonts[] = $objFont; |
|
@@ 2033-2038 (lines=6) @@ | ||
2030 | if (!$this->readDataOnly) { |
|
2031 | $indexCode = self::getInt2d($recordData, 0); |
|
2032 | ||
2033 | if ($this->version == self::XLS_BIFF8) { |
|
2034 | $string = self::readUnicodeStringLong(substr($recordData, 2)); |
|
2035 | } else { |
|
2036 | // BIFF7 |
|
2037 | $string = $this->readByteStringShort(substr($recordData, 2)); |
|
2038 | } |
|
2039 | ||
2040 | $formatString = $string['value']; |
|
2041 | $this->formats[$indexCode] = $formatString; |