Interesting because I'm building ooxml-cli right now, for editing pptx, docx, xlsx. At work I had to adapt a pptx to a corporate template and tried via agent. It kept failing so I started building and then it was able to relatively quick and accurate do what I needed. Then I needed it to make tables, add pictures. Recently wanted to get data from an xslx and replace text in a presentation etc. So the tool is growing…
Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
21–30 of 59 posts
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#22Its kind of sad that the first thing in the repo is a mention that no human was involved in the programming.
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#23If someone actually got "pixel-faithful" Office documents rendering correctly, MS would be screwed. That's actually really important for a lot of companies that carry around decades-old templates that never look exactly right in LibreOffice or any other software that attempted to replicate it. The slightest misalignment of a paragraph means a line on page 27 of 120 now moved down by 2 pixels, screwing everything else…
If Microsoft can’t get consistent rendering of word docs between Word for Windows, Word for macOS and Office 365, I don’t like anyone else’s chances.
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#24The post title about it being "pixel-faithful" is a bit strange. I don't see that claim in the repo, and they don't seem to even claim full feature support at the moment. And for the features marked as supported in .pptx's, it does seem that at least slide image backgrounds and bullet point images aren't actually working, and some text objects have inverted text colors. Seems quite far away from being pixel-faithful…
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#25If someone actually got "pixel-faithful" Office documents rendering correctly, MS would be screwed. That's actually really important for a lot of companies that carry around decades-old templates that never look exactly right in LibreOffice or any other software that attempted to replicate it. The slightest misalignment of a paragraph means a line on page 27 of 120 now moved down by 2 pixels, screwing everything else…
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#26Its kind of sad that the first thing in the repo is a mention that no human was involved in the programming.
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#27For 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!
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#28I 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 prev…
Yeah, it does.
https://ooxml.silurus.dev/storybook/?path=/story/docxviewer-...
Re: Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas
#29I 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 prev…
> ...this does not appear to output highlightable text Yeah, it does. https://ooxml.silurus.dev/storybook/?path=/story/docxviewer-...
I'm not familiar with this application, so perhaps I'm missing a step, and editing mode.