https://bugs.documentfoundation.org/show_bug.cgi?id=150508
Bug ID: 150508
Summary: Emf embeded data does not get converted properly when
saving a doc as html
Product: LibreOffice
Version: 7.3.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: graphics stack
Assignee: [email protected]
Reporter: [email protected]
Description:
I need to convert document files into html which contain emf images embedded
into the doc files. However, when saving as html, the automatic conversion of
this emf data into gif files is randomly missing text data from the image.
Using inkscape --export-type flag I am able to convert emf data into png or gif
without any text loss. Is there any setting in LibreOffice where you can choose
which library is used for such conversions? I read some where that inkscape and
Libreoffice use the same library to read emf data. If so, why are the results
different? I am using Libreoffice 7.3.4.2 on Fedora 36. The html gif results
are equally bad on Windows.
Steps to Reproduce:
1. Create a doc which contains embedded emf image containing a few text
entries.
2. Convert doc into html page.
3. Resulting gif files generated for emf data will missing text.
Actual Results:
gif images have text missing in them
Expected Results:
Image conversion should not lose text or any entity for that matter.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Inkscape is able to properly convert emf files contained in the doc file into
png without any loss. Perhaps an easy solution is to use same library for
conversion that inkscape uses.Or make it a configurable option in settings to
select library and output formats for any input types found in the doc while
saving as html.
I found this bug while trying to convert thousands of word files into
html/markdown data in Polarion(Siemens ALM).
Tested this on multiple Computers running linux and windows.
--
You are receiving this mail because:
You are the assignee for the bug.