Apache OpenOffice (AOO) Bugzilla – Issue 91408
Special paste as Draw8 in Writer and Calc loses customized styles
Last modified: 2010-07-21 11:21:16 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.
Created attachment 54965 [details] Draw file with customized styles
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.
Using ctrl+C and ctrl+V keeps formatting, but changes units (cm in odg, mm in writer).
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
Setting target to OOo 3.2 due to time constraints.
Setting target to OOo 3.3.
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
Created attachment 67245 [details] screencopy of copy in Writer with OOo 3.2rc2
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.
worksforme -> closed