https://bugs.documentfoundation.org/show_bug.cgi?id=162700

--- Comment #4 from Jens Schwartz <[email protected]> ---
Hi all,

did some more detailed testing and found the whole topic to be much more
complicated. ^^

Since there's a limitation coming with OLE anyway, I further focus on OLE
objects only.
(From my POV it would be nice to be able to just embed any file type by a
simple way. Parsing in any way is not required to just "collect" resources into
an ODF.)

About the initial report...

Whenever an object gets inserted via OLE it is stored in the package.
Whenever a picture is (displayed) in the document it is stored in the package.

Once you export the ODF to HTML the pictures get saved separately (exported
from the package) and the HTML get the required <img> tags. This img tags are
already getting created for placeolder icon for embedded object.

I recommend to just also export all OLE Objects embedded "as icon" as well +
create links (href) inside the HTML.

This should be done regardless the actual file type.

How it should work:

1 - Have an ODT (or ODF at all) including displayed images and files embedded
(not linked) as symbol.
2 - Save as HTML
3 - This creates a HTML 
+ the image files (as for now)
+ stores all the OLE embedded separately to ther original file types
+ updates the links within the HTML to point on this exported files

Hope, this was some kind of comprehensible. ^^

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

Reply via email to