overleaf/services/clsi/test/unit/lib/snapshots/latex_compiler/XrefTable.json
Jakob Ackermann 294088fb27 [ContentCacheManager] use PDF.js Xref table instead of stream detection (#242)
* make the content cache manager tests configurable

* extend stream content in unit tests

* [ContentCacheManagerTests] prepare for full object caching

* filesystem stream for pdfjs

* working??

* cleaning up

* handle overflow

* [misc] install pdfjs-dist

* [misc] move pdfjs code into app/lib/ and scripts/, also use CamelCase

* [misc] abstract the file loading and parsing of xRef tables into helper

* [misc] pdfjsTests: add snapshot based tests for the Xref table parser

* [misc] FSStream: throw proper error and drop commented code

* [misc] FSStream: integrate throwing of MissingDataException into getter

* [misc] pdfjs: fix eslint errors

* [misc] pdfjs: run format_fix

* [misc] pdfjs: allocate very small non empty dummy buffers explicitly

* [misc] install @overleaf/o-error

* [ContentCacheManager] use PDF.js Xref table instead of stream detection

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>

* [pdfjs] parseXrefTable: handle empty PDF files gracefully

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
2021-05-31 09:20:25 +01:00

132 lines
No EOL
1.7 KiB
JSON

[
{
"offset": 0,
"gen": 65535,
"free": true
},
{
"offset": 17349,
"gen": 0,
"uncompressed": true
},
{
"offset": 25448,
"gen": 0,
"uncompressed": true
},
{
"offset": 17290,
"gen": 0,
"uncompressed": true
},
{
"offset": 17130,
"gen": 0,
"uncompressed": true
},
{
"offset": 15,
"gen": 0,
"uncompressed": true
},
{
"offset": 17109,
"gen": 0,
"uncompressed": true
},
{
"offset": 17414,
"gen": 0,
"uncompressed": true
},
{
"offset": 17548,
"gen": 0,
"uncompressed": true
},
{
"offset": 18912,
"gen": 0,
"uncompressed": true
},
{
"offset": 18381,
"gen": 0,
"uncompressed": true
},
{
"offset": 22406,
"gen": 0,
"uncompressed": true
},
{
"offset": 17897,
"gen": 0,
"uncompressed": true
},
{
"offset": 21796,
"gen": 0,
"uncompressed": true
},
{
"offset": 18758,
"gen": 0,
"uncompressed": true
},
{
"offset": 23361,
"gen": 0,
"uncompressed": true
},
{
"offset": 17455,
"gen": 0,
"uncompressed": true
},
{
"offset": 17485,
"gen": 0,
"uncompressed": true
},
{
"offset": 19218,
"gen": 0,
"uncompressed": true
},
{
"offset": 22021,
"gen": 0,
"uncompressed": true
},
{
"offset": 22638,
"gen": 0,
"uncompressed": true
},
{
"offset": 23599,
"gen": 0,
"uncompressed": true
},
{
"offset": 18051,
"gen": 0,
"uncompressed": true
},
{
"offset": 18142,
"gen": 0,
"uncompressed": true
},
{
"offset": 18657,
"gen": 0,
"uncompressed": true
},
{
"offset": 24005,
"gen": 0,
"uncompressed": true
}
]