@@ 1954-1958 (lines=5) @@ | ||
1951 | // offset: 12; size: 1; character set |
|
1952 | // offset: 13; size: 1; not used |
|
1953 | // offset: 14; size: var; font name |
|
1954 | if ($this->version == self::XLS_BIFF8) { |
|
1955 | $string = self::readUnicodeStringShort(substr($recordData, 14)); |
|
1956 | } else { |
|
1957 | $string = $this->readByteStringShort(substr($recordData, 14)); |
|
1958 | } |
|
1959 | $objFont->setName($string['value']); |
|
1960 | ||
1961 | $this->objFonts[] = $objFont; |
|
@@ 1990-1995 (lines=6) @@ | ||
1987 | if (!$this->readDataOnly) { |
|
1988 | $indexCode = self::getInt2d($recordData, 0); |
|
1989 | ||
1990 | if ($this->version == self::XLS_BIFF8) { |
|
1991 | $string = self::readUnicodeStringLong(substr($recordData, 2)); |
|
1992 | } else { |
|
1993 | // BIFF7 |
|
1994 | $string = $this->readByteStringShort(substr($recordData, 2)); |
|
1995 | } |
|
1996 | ||
1997 | $formatString = $string['value']; |
|
1998 | $this->formats[$indexCode] = $formatString; |