|
|
|
|
|
by Jaxkr
7 days ago
|
|
I literally had to solve the "preview Office files in the browser" problem last week. I couldn't find a decent solution, so I ended up making a endpoint that ran the files through headless libreoffice on the server to convert them to PDF. For PPTX and DOCX, this solution is slightly worse than libreoffice conversion (this does not appear to output highlightable text, while PDF conversion does). However, the XLSX preview BLEW my mind considering this was AI coded. Really good, even interactive! |
|
Yeah, it does.
https://ooxml.silurus.dev/storybook/?path=/story/docxviewer-...