I have the latest Libre Office installed. I realized that the HTML 5 created from a Writer file that contains pictures created with Draw does not translate the pictures correctly, the pictures are just rectangles with text but no picture inside. However, the PDF translated from the same Writer file is correct.
Look at the setting in View | Images and Charts; is it checked? Also look at Tools | Options | LibreOffice Writer | View and check the settings under Display.
When saving as html, Writer will convert shapes (and embedded svg) to .gif. If you move the html file and not the linked images then you will get the broken link frame in your html viewer. Look for the missing images in the folder the html was originally saved to.
That really doesn’t mean anything. Which OS, distribution, etc.? Some distributions still are on 7.x.
Click Help > About LibreOffice and copy the version information by clicking the icon next to Version information with tooltip Copy all version information in English
Hi All,
This is my version information:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
I did not move my HTML 5 file, so it is still in the same directory as the Writer file. No Gif files were generated.
View | Images and Charts is checked.
Tools | Options | LibreOffice Writer | View all the options under display are checked.
Still the same problem, PDF is correct, HTML 5 is not.
Daniel Volinski
En domingo, 28 de septiembre de 2025, 04:11:11 GMT+3, EarnestAl via Ask LibreOffice noreply@ask.libreoffice.org escribió:
EarnestAl
September 28
DanielVolinski:
When saving as html, Writer will convert shapes (and embedded svg) to .gif. If you move the html file and not the linked images then you will get the broken link frame in your html viewer. Look for the missing images in the folder the html was originally saved to.
I have the latest Libre Office installed
That really doesn’t mean anything. Which OS, distribution, etc.? Some distributions still are on 7.x.
Click Help > About LibreOffice and copy the version information by clicking the icon next to Version information with tooltip Copy all version information in English
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
Can you please give the steps you use to create your html document.
Also please provide a small sample writer document that does not contain any sensitive information but does have an image that has a blank frame when saved as html.
BTW. Yours was a comment, not a solution, please add information or reply to comments by clicking the comment bubble in the comment to which you want to reply.
Hi All,
This is an example of a work in progress.
In order to create the PDF file, I click on the icon “Export directly as PDF”.
In order to create the HTML 5 file, I click on the icon “Publish as XHTML”,
the icon itself has a big 5 on it.
The pictures were created from within Writer with Insert/Frame/Frame
and then I draw the picture with the drawing icons.
Hope this helps.
Daniel Volinski
En lunes, 29 de septiembre de 2025, 01:15:03 GMT+3, EarnestAl via Ask LibreOffice noreply@ask.libreoffice.org escribió:
EarnestAl
September 28
Can you please give the steps you use to create your html document.
Also please provide a small sample writer document that does not contain any sensitive information but does have an image that has a blank frame when saved as html.
BTW. Yours was a comment, not a solution, please add information or reply to comments by clicking the comment bubble in the comment to which you want to reply.
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
Lesson 52 Scalar Curvature Part I.pdf (156 KB)
Lesson 52 Scalar Curvature Part I.odt (276 KB)
(Attachment Lesson 52 Scalar Curvature Part I.html is missing)
Is it installed by an extension? I have no such icon nor command in my 35.2.6.2. I tried File
>Save As
in HTML format. Tons of formulas are converted to .gif and exported. They display very bad but this is not the problem.
Your “pictures” are not “traditional” pictures but a collection of drawing objects and formulas. They show up practically independent from each other and the global schema loses all consistency. You should probably prepare your figures in Draw and group them to make a single combined object (though this is implicitly done when you copy-paste into Writer).
In your present design, you have individually attached all shapes to the paragraph of a text box. This seems to me superabundant. You created the frame for the sole purpose of a border around the schema. Make a border (rectangle with no area) in Draw. You’ll then have a single object to manage in Writer.
Does this improve the situation?
PS: apply styles to your text instead of direct formatting (everything is Default Paragraph Style and you vertically space with empty paragraphs.
Hi All,
I don’t remember where the icon “Publish as XHTML” came from.
It is possible it is an extension I installed a while ago.
It comes along with three other icons: “Publish as EPUB”,
“Edit EPUB document properties” and “Edit custom style”.
I’ll try to do it in Draw and then copy/paste into Writer.
It’s odd that the PDF is fine.
Daniel Volinski
En lunes, 29 de septiembre de 2025, 11:45:11 GMT+3, ajlittoz via Ask LibreOffice noreply@ask.libreoffice.org escribió:
ajlittoz
September 29
DanielVolinski:
I click on the icon “Publish as XHTML”
Is it installed by an extension? I have no such icon nor command in my 35.2.6.2. I tried File
>Save As
in HTML format. Tons of formulas are converted to .gif and exported. They display very bad but this is not the problem.
Your “pictures” are not “traditional” pictures but a collection of drawing objects and formulas. They show up practically independent from each other and the global schema loses all consistency. You should probably prepare your figures in Draw and group them to make a single combined object (though this is implicitly done when you copy-paste into Writer).
In your present design, you have individually attached all shapes to the paragraph of a text box. This seems to me superabundant. You created the frame for the sole purpose of a border around the schema. Make a border (rectangle with no area) in Draw. You’ll then have a single object to manage in Writer.
Does this improve the situation?
PS: apply styles to your text instead of direct formatting (everything is Default Paragraph Style and you vertically space with empty paragraphs.
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
See if the extension is listed in the extension manager - Tools → Extensions.
It might be Writer2xhtml.
There is an option to include or exclude image content in Writer2Xhtml, see the documentation https://writer2latex.sourceforge.net/doc1.6/user-manual.pdf
The html export filters (both native and Writer2html) have troubles wiht drawing objets, so the better solution is:
- Edit the drawing objets in Draw
- Export the objets to other graphic format (ie. *.png or *.svg)
- Insert the image in Writer
- Export to html