Apache OpenOffice (AOO) Bugzilla – Issue 14303
Copy and paste to OO Draw does not paste everything
Last modified: 2013-08-07 14:38:26 UTC
I am finding that when I copy and paste between OO Writer and OO Draw the objects I am copying are not completely pasted. To recreate the problem: I have a file t.sxw. If I highlight everything from the word "For" down to the question mark. Select Edit->Copy. Then File->New->Drawing, in the new Drawing I choose Edit->Paste. The result is in t2.sxd. The paste stops half way through a line.
Created attachment 6102 [details] The test document that I paste from
Created attachment 6103 [details] The Draw document that I want to paste to
jw: reproduced in OOo1.1rc3 reassigend to es changed version to OOo1.1RC3 changed target to OOo2.0 changed status to new changed prio to P3
ES->DVO: the frame of the inserted OLE object has some kind of default size and does not adapt to the content. It should. Just like it doesn when pasting from Draw to Writer or Calc to Writer.
Reassigned to Daniel
Really reassigned to Daniel...
Configuration: Windows XP professional SP2 Build: OpenOffice.org 2.0.1 This issue was replicated. A) Reproduction step-by-step 1) open a new "text document" 2) using font size 11, type about 7 lines. 3) select the "edit" menu, select "copy" (alternately use ctrl-c or cut operation) 4) open a new "draw" document 5) select the "edit" menu, select "paste" (alternately use ctrl-v or right click and select paste from the context menu) B) Analysis Notice that the pasted text is restricted to what can fit into the default size of the box. If you try to adjust the size of the box it will only change the size of the font. Setting the original size of the font to be smaller in Writer will allow more text to be pasted into draw. That shows that it is being restricted by the box it is contained in, within Draw. Importing a file doesn't seem to have this problem. Note also that this issue occurs when trying to paste into Presentation. (follow the same steps as above but open Presentation instead of Draw)
Configuration: Windows XP professional SP2 Build: OpenOffice.org 2.1 I also replicated the issue according to the steps indicated above. However I’m adding some remarks regarding the box restriction size which was not mentioned. 1. I observed that the amount of text that is copied from the “Writer†to “Draw†is being restricted. However I tried to copy from some other text editor (Notepad) to “Draw†and observed that, there is No box restriction. Consequently the box adjusted accordingly. 2. I also observed that the amount of text that is copied from the “Writer†to “Presentation†is being restricted if the selected tab is “Normal†(there are “Normalâ€, “Outlineâ€, “Notesâ€, “Handout†and “Slide Sorter†tabs at the top left). However I copy from the “Writer†to “Presentation†but before select the “Notes†tab, No box restriction was observed and consequently the box adjusted accordingly. 3. Inserting an image to Writer will work fine except that the image might be shrunk to fit the page but no part of the image is discarded and box adjusts accordingly.
“Correction to my remark #2 above:†Selection the notes tab in presentation does not fix the copy function. But copying a text from other text editors (ex. Notepad) and pasting it in any tab in presentation works. I also found the following 2 ways of working around the problem: 1) After copying the text from the source (OpenOfiice.org Writer), first create a text box by clicking on the “T†button at the bottom of the page (if “T†is not visible, make it visible by clicking the small arrow sign which is first button from the right hand side of the bottom tool bar and then select “visible Buttons†, then choose “T†(Text) so it would appear in the tool bar). Then drag the mouse and create the box. After that immediately paste the text (by ctrl-v for example). After dragging and creating the box, do not click any where else since it causes the box to disappear in the destination page (OpenOfiice.org Draw). 2) Copy and paste the text as you normally do. Then if the pasted text is not complete, double click the box. Double clicking the box opens up the box as a page in the text editor. You can adjust the box dimension here easily to capture the whole text. Note that if you try to adjust the box size without double clicking, it only changes the size of the pasted text
Created attachment 61762 [details] attempt to deal with the problem
I can reproduce it on OOo-dev 3.2.0 DEV300m44. The method "of working around the problem" mentioned above doesn't work correctly. See attachment
Reset assignee on issues not touched by assignee in more than 2000 days.