HTML (altchunk) not supported/displayed when opening in LibreOffice
See original GitHub issueWanted to use docx templates in our process to generate a pdf report. Just spotted that LibreOffice isn’t displaying that HTML rendered with docx-templates altchunk
at all.
Is it only me who is experiencing such problems? Is there any other option to render HTML that’s gonna be opened by LibreOffice?
Issue Analytics
- State:
- Created 2 years ago
- Comments:15
Top Results From Across the Web
Why LibreOffice doesn't show AltChunks in docx document?
I open Word and see this AltChunk . But LibreOffice doesn's show me this AltChunk . In case when i open document in...
Read more >Docx generated using content control not compatible with libre ...
I have a document generating api in C# that fills the word template created using content controls. (literal, pics and altchunk). The api...
Read more >HTML file doesn't open properly on LibreOffice 5
Hi, I am trying to convert an HTML file to PDF. But when I open the HTML file with LibreOffice 5 it doesn't...
Read more >Word documents with injected MHTML - Ask LibreOffice
I tried to open such documents in LO Writer and I got empty document. ... The Word documents that using altchunks are not...
Read more >Why isn't my formatting being saved in html - Ask LibreOffice
When I save my document in html, the formatting is not being saved. ... Opened with LibreOffice Writer it shows a (sorry) gauche...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So apparently this is due to lack of support for altchunk as it seems to be non-standard. Even MS Word re-formats/re-parses the files with altchunk if you “save as” the docx.
Instead of relying on altchunks it could be done similar to what https://www.npmjs.com/package/html-to-docx does.