Apache OpenOffice (AOO) Bugzilla – Issue 121668
Export to HTML generates wrong image map when page margins are non-zero
Last modified: 2014-02-03 17:08:41 UTC
The Export to HTML function will generate an HTML page and an image for each page in the ODG file. If the page has hyperlinks (inserted via Insert->Hyperlink), an associated client-side image map is also generated. The coordinates in this image map will be offset if the page in question has margins (Format->Page, Margins) set to anything but "0". It appears as though the coordinates in the client-side image map are transformed by the margins (its coordinate system is shrunk to fit within the margins).
Hello C an you attach an example to reproduce the bug? Regards
Created attachment 81345 [details] Examples with the same content with and without margin Example attached. Contains the following files: bug121668-zero-margins.odg: ODG file with a box that is a link and zero margins bug121668-1cm-margins.odg: Same as above, but with 1cm margins bug121668-zero-margins/*: Zero-margin file exported as high-res HTML bug121668-1cm-margins/*: 1cm-margin file exported as high-res HTML Notice that the hyperlink to OpenOffice.org matches the box in the zero-margin file, but is offset in the 1cm margin file.
I've uploaded examples -- can somebody confirm and more to CONFIRM status?