Apache OpenOffice (AOO) Bugzilla – Issue 4719
GIFs created by OOoWriter -> HTML conversion
Last modified: 2003-09-08 16:56:16 UTC
I have a .sxw file that's organized as a large multi-level outline, with _linked_ graphics anchored to some body text. I use the File | Send | Create HTML Document menu command, and the text is split perfectly. I would expect the linked graphics would remain as links, but instead the graphics are all duplicated into brand new uniquely-numbered .gif files, and the links changed to absolute references. Any way to disable this undesired behavior, and simply leave the links as they were? (The file is 80+ pages; I'll attach a small section if needed.)
Renamed to more clearly point to the issue...
Just noted issue 4950... closely enough related to be a dependency
Trying still to find the least-effort workaround, but... Using File | Save As... | OOoWriter/Web, I get the same behavior (linked graphics translated into .gif files, serial numbered, in the document's source directory, all links in the HTML point to the gif's instead of the original PNGs) that I originally listed here. I haven't found a way to modify / disable this behavior.
Further testing, and I've narrowed the issue... it looks frame-related - it depends whether the graphic is captioned or not. Uncaptioned graphics (a simple file link) are transformed smoothly to <IMG SRC=...> links to the original .png files. Captioned graphics (text frame with linked image and caption text) (as generated by the "Caption..." context menu command) get corrupted... the entire frame becomes a <IMG SRC=...> link to a newly created .gif file. The .gif file(s) are width and height the same as the original picture (not the original enclosing frame) and are solid (magenta? haven't looked at a palette yet) with that color marked as transparent. They wind up looking like blank space with guide lines in the final HTML. I have tried to get a tarball of OOo1.0, but every developer download page points to older code. (?!?!?!) I'd love to try and browse this out too, but...
Howard, does this issue still exists in the latest release of OOo? If it does, please attach the file required to consistently reproduce this issue.
Under Ooo 1.0.1, it does look fixed to me. A test sxw with two captioned, one uncaptioned graphic generated reasonable HTML, and no extra images. Marking RESOLVED FIXED, and thank you all for a LOT of great code and support :)
This task is fixed or worked in OOo 1.1 beta2.
closed ...