Issue 52232 - Export of drawing to wordprocessor through gallery corrupts font
Summary: Export of drawing to wordprocessor through gallery corrupts font
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-07-20 15:31 UTC by cfgardiner
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

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

Example drawing file. Just drag to gallery and from there to a oo Text document (10.44 KB, application/vnd.sun.xml.draw)
2005-07-20 15:33 UTC, cfgardiner
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description cfgardiner 2005-07-20 15:31:35 UTC

when a block-diagram is dragged to the gallery for importing into a text
document, many font-size settings in the block-diagram are corrupted. It would
seem that the corruption occurs in the drawing application.

Tested with 1.9.118 and german language pack.

Comment 1 cfgardiner 2005-07-20 15:33:39 UTC
Created attachment 28087 [details]
Example drawing file. Just drag to gallery and from there to a oo Text document
Comment 2 wolframgarten 2005-07-20 15:43:14 UTC
Comment 3 wolframgarten 2005-07-20 15:43:34 UTC
Comment 4 cfgardiner 2005-12-22 18:28:07 UTC

I've just taken another look at issue 52232 with the new release It
seems to behave a bit differently now. Dragging a diagram to the gallery now
seems to preserve formatting of text-strings etc. (is this fixed by accident
since it is still marked as new and targeted for OO-later?)

In the text-processor, if I DRAG the object from the gallery to the text area it
seems to be inserted ok. On the other hand, if I right-click on it in the
gallery and say 'include a copy' it has all text formatting screwed up again as
in the original posting. By analysing the contents of the odt file I have
noticed the following:
1) Dragging from the gallery includes the drawing with all source text as an
XML-Node of type <draw:g

2) Including a copy of the gallery object (right-click etc.) inserts an object
of type <draw:frame with a <draw:image sub-node and a link to an svm object in
the PICTURES/.... area

Why the different treatment? From a user perspective I find the 2. solution
better because:
1) The text-file is smaller
2) (more importantly) OO-wordprocessor allows a <draw:frame to be selected with
a right-click and offers options for adding a frame around the drawing object

Selecting a <draw:g object in a text-document doesn't allow a frame to be added
around a drawing so easily. (On the german version the option 'Bild...' is
missing on the pop-up resulting from a right-click)

Personally, I find this one of the most annoying bugs as I do a lot of technical
docs with seperate text drawing files. The diags for the final document are
maintained in the drawing file. With this bug I have to export each drawing
individually from the drawing-tool as an svm and reimport in the word-processor
to get the required result. Dragging through the gallery would be so much easier.
Comment 5 Marcus 2017-05-20 11:31:33 UTC
Reset assigne to the default "".