Thanks for releasing publicly.
[1] https://github.com/J-F-Liu/lopdf
testing was mostly manual with a test corpus we generated. its not perfect but its pretty close for most files we've seen
By quirk of fate i've spent the past 2 days prototyping some stuff on pdfjs. Just trying to figure out a game plan for handling bounding boxes in the face of page zooming, different resolutions etc. etc. I can't see it mentioned whether the components are virtualising pages (as in reusing dom elements as document pages scroll by). I guess i just learned what i'll be exploring tomorrow then...
the zoom should work with the bounding box highlights, we're working on adding rotation support
Also, add either user interactive loading of components or lazy load the demos, the amount of demos murder performance on phones.
on the demos - everything below the fold is lazy loaded but i will see what we can do to improve the mobile perf
We aren’t not trying to reinvent that engine, rather just provide a building block for people to plug in their design system to its controls
Is this a known issue?
you are welcome to try it with your own documents and see, but its just one example we wanted to show. for the blocks that use the react-docx library, you can always copy the code and use a different method to render the docx file/thumbnails
we hope this can be useful for people building in React though!
i can't promise its visually 1:1 with Word/Excel but its pretty close on the corpus we tested with
the root page is a bit slow with all the viewers, in practice you probably wont have that many in your app on one page
could not have been easy