Issue 50323 - Exporting as html corrupts diagrams
Summary: Exporting as html corrupts diagrams
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2005-06-05 10:34 UTC by yagoop
Modified: 2005-06-13 16:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
ODT that generates broken HTML (7.07 KB, application/vnd.sun.xml.writer)
2005-06-12 04:43 UTC, jonathaneunice
no flags Details
Broken HTML (1004 bytes, text/html)
2005-06-12 04:43 UTC, jonathaneunice
no flags Details
ODT using frames - still generates broken HTML (7.39 KB, application/vnd.sun.xml.writer)
2005-06-12 04:44 UTC, jonathaneunice
no flags Details
HTML with graphic in a frame: still broken (1.18 KB, text/html)
2005-06-12 04:44 UTC, jonathaneunice
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description yagoop 2005-06-05 10:34:12 UTC
a) Create a writer document containing a simple diagram, e.g. 2 text boxes
joined by a line.

b) Save this as an html file (HTML Document (OpenOffice.org Writer) [html]).

c) This creates an html file and several gif files, one for each element in the
diagam.

d) Open the html file in a browser, the diagram is corrupted. It is split into
it's component elements, which are simply listed one after each other.


Microsoft Word does this by saving a single gif file, and the diagram is
displayed correctly in the html file when viewed by the browser.
Comment 1 michael.ruess 2005-06-06 09:06:25 UTC
Reassigned to ES
Comment 2 eric.savary 2005-06-09 13:20:24 UTC
Please attach a sample document (Writer)
Comment 3 jonathaneunice 2005-06-12 04:42:17 UTC
Confirm this "generate multiple graphics" is the current behavior (in 1.9m104).
 It does not help to put the graphics in a frame.  They're still generated in
several different pieces.
Comment 4 jonathaneunice 2005-06-12 04:43:12 UTC
Created attachment 27099 [details]
ODT that generates broken HTML
Comment 5 jonathaneunice 2005-06-12 04:43:36 UTC
Created attachment 27100 [details]
Broken HTML
Comment 6 jonathaneunice 2005-06-12 04:44:13 UTC
Created attachment 27101 [details]
ODT using frames - still generates broken HTML
Comment 7 jonathaneunice 2005-06-12 04:44:54 UTC
Created attachment 27102 [details]
HTML with graphic in a frame: still broken
Comment 8 eric.savary 2005-06-13 16:08:47 UTC
You cannot export the same contenten 1:1 from a word processor to HTML.
In case, you may anchor the Draw objects to the page (keeping their positiob on
the page). You will then have layers and background (generated gifs) problem.

You should first group the objects or better insert a prepared picture of the
diagram that you may anchor to a table.
Comment 9 eric.savary 2005-06-13 16:09:04 UTC
Closed