You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/01/24 21:56:12 UTC

[Bug 121668] New: Export to HTML generates wrong image map when page margins are non-zero

https://issues.apache.org/ooo/show_bug.cgi?id=121668

            Bug ID: 121668
        Issue Type: DEFECT
           Summary: Export to HTML generates wrong image map when page
                    margins are non-zero
    Classification: Application
           Product: drawing
           Version: AOO 3.4.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: nicolai@dufva.net
                CC: issues@openoffice.apache.org

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).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121668] Export to HTML generates wrong image map when page margins are non-zero

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121668

--- Comment #3 from Nicolai Nielsen <ni...@dufva.net> ---
I've uploaded examples -- can somebody confirm and more to CONFIRM status?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121668] Export to HTML generates wrong image map when page margins are non-zero

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121668

--- Comment #2 from Nicolai Nielsen <ni...@dufva.net> ---
Created attachment 81345
  --> https://issues.apache.org/ooo/attachment.cgi?id=81345&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121668] Export to HTML generates wrong image map when page margins are non-zero

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121668

DanielAlvaro <jd...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |jdaniel.alvaro@gmail.com

--- Comment #1 from DanielAlvaro <jd...@gmail.com> ---
Hello

C an you  attach an example to reproduce the bug?

Regards

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121668] Export to HTML generates wrong image map when page margins are non-zero

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121668

Rob Weir <ro...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         QA Contact|                            |jeantschet@live.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.