Issue 91408 - Special paste as Draw8 in Writer and Calc loses customized styles
Summary: Special paste as Draw8 in Writer and Calc loses customized styles
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.0 Beta 2
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: groucho266
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-06 16:42 UTC by jbf.faure
Modified: 2010-07-21 11:21 UTC (History)
2 users (show)

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


Attachments
Draw file with customized styles (10.74 KB, application/vnd.oasis.opendocument.graphics)
2008-07-06 21:40 UTC, jbf.faure
no flags Details
screencopy of copy in Writer with OOo 3.2rc2 (58.97 KB, image/png)
2010-01-17 15:00 UTC, jbf.faure
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jbf.faure 2008-07-06 16:42:45 UTC
Step to reproduce :
- create a drawing in Draw and customize default styles or open attached 
bugdoc
- select the drawing and paste it in a new text document in Writer as Draw8 
format (special paste)
- all formattings are lost

Other issue : if I paste as GDI metafile units are changed from cm to mm 
although Draw and Writer are configured to use cm.

Same problems if I paste in Calc.
Comment 1 jbf.faure 2008-07-06 21:40:21 UTC
Created attachment 54965 [details]
Draw file with customized styles
Comment 2 wolframgarten 2008-07-07 08:01:38 UTC
Reproducible. 
If I copy and paste directly using the keyboard the objects arrive in writer
with the correct formatting. If I use the menu and select Draw8 under paste
special the formatting is lost.
Comment 3 jbf.faure 2008-07-10 21:52:52 UTC
Using ctrl+C and ctrl+V keeps formatting, but changes units (cm in odg, mm in 
writer).
Comment 4 pierrepo 2008-10-13 11:29:37 UTC
Special paste as Draw8 from Draw 2.4.1. to Writer 3.0 is ok
Special paste as Draw8 from Draw 3.0. to Writer 3.0 is non-ok
Comment 5 groucho266 2008-12-09 13:57:07 UTC
Setting target to OOo 3.2 due to time constraints.
Comment 6 groucho266 2009-09-25 10:46:52 UTC
Setting target to OOo 3.3.
Comment 7 jbf.faure 2010-01-17 14:59:24 UTC
I have tried to reproduce the bug with OOo 3.2 rc2 under ubuntu. Now the objects
arrive in Writer with the correct formatting, except that the size of the
capture is slightly small and the number at bottom is truncated.
The only problem is with unit when using ctrl+A > ctrl+C > ctrl+V : cm in Draw,
mm in Writer.

Regards. JBF
Comment 8 jbf.faure 2010-01-17 15:00:24 UTC
Created attachment 67245 [details]
screencopy of copy in Writer with OOo 3.2rc2
Comment 9 groucho266 2010-07-09 09:29:36 UTC
The unit used for the dimension line is defined by the locale.  When you load
the document into an office with a locale that uses inches you get inches after
copy and paste.
Only when the document is loaded from file the locale is taken from that file.

Thus, the conversion from cm to inches would only be an error when the locale of
the office/document into which the shapes are pasted uses inches.

Comment 10 Mechtilde 2010-07-21 11:21:16 UTC
worksforme -> closed