@@ 1340-1345 (lines=6) @@ | ||
1337 | case 0x13: // 4 byte unsigned integer |
|
1338 | // not needed yet, fix later if necessary |
|
1339 | break; |
|
1340 | case 0x1E: // null-terminated string prepended by dword string length |
|
1341 | $byteLength = self::getInt4d($this->summaryInformation, $secOffset + 4 + $offset); |
|
1342 | $value = substr($this->summaryInformation, $secOffset + 8 + $offset, $byteLength); |
|
1343 | $value = \PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage); |
|
1344 | $value = rtrim($value); |
|
1345 | break; |
|
1346 | case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) |
|
1347 | // PHP-time |
|
1348 | $value = \PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->summaryInformation, $secOffset + 4 + $offset, 8)); |
|
@@ 1486-1491 (lines=6) @@ | ||
1483 | case 0x13: // 4 byte unsigned integer |
|
1484 | // not needed yet, fix later if necessary |
|
1485 | break; |
|
1486 | case 0x1E: // null-terminated string prepended by dword string length |
|
1487 | $byteLength = self::getInt4d($this->documentSummaryInformation, $secOffset + 4 + $offset); |
|
1488 | $value = substr($this->documentSummaryInformation, $secOffset + 8 + $offset, $byteLength); |
|
1489 | $value = \PhpSpreadsheet\Shared\StringHelper::convertEncoding($value, 'UTF-8', $codePage); |
|
1490 | $value = rtrim($value); |
|
1491 | break; |
|
1492 | case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) |
|
1493 | // PHP-Time |
|
1494 | $value = \PhpSpreadsheet\Shared\OLE::OLE2LocalDate(substr($this->documentSummaryInformation, $secOffset + 4 + $offset, 8)); |