Apache OpenOffice (AOO) Bugzilla – Issue 102455
copy formula from Writer to Calc results in incorrect size
Last modified: 2013-08-07 15:31:14 UTC
Open a new Writer document and a new Calc document. Write a formula in the Writer document using the formula editor. Copy the formula to clipboard. Goto the spreadsheet and paste it via Button. You have the choice "GDI Meta file" and "OOo-dev 3.2 TextDocument". Choose "OOo-dev 3.2 TextDocument". The formula is inserted, but has a wrong size. Going to edit mode of the formula does not solve the problem. You have to use "Original size" from the context menu. It works in OOo3.1. Addition: in OOo3.1 the type text is "Star Object Descriptor (XML)".
I checked with "Ooo Dev 3.2.0 multilingual version English UI WIN XP: [DEV300m49 (Build 9403)]" and can confirm all details of reported effect. Steps to reproduce (as I did with documents in my test kit): 1. open 2 now documents as reported WRITER - zoom "Optimal", spreadsheet zoom "200% 2. Insert formula "A=B"C" into WRITER document (size shouldbe app. 20x5mm) 3. click formula to select it, press <cntrl>+<c> 4. change to spreadsheet (sheet 1) 5. select 'Insert as "OOo-dev 3.2 TextDocument"' using 'Paste button' (same result using 'Edit -> Paste Special' menu expected: formula should be inserted with original size actual: app. 180x113mm And now something curious: 11. go back to writer document 12. change zoom to 600% 13. redo from step 2, but insert into sheet 2 expected: size as in sheet 1 (app. 180x113mm) actual: 43x25mm I can not see any reason why size of pasted formula should depend on zoom in source document.
Created attachment 62761 [details] sample documents
Reassigned to mru.
MRU->OD: please have a look. When copying a formula object and pasting into Calc or Draw as OLE object, its size is enormous. Curiously the "original size" is stored correctly at the object.
Forgot to reassign...
I had a look in DEV300_m90: Also affected: Chart objects. Also affected: Paste into a new draw file. The "initial size" of the pasted object is IMHO unusable. I spoke to NN and he said that this is probably something from the graphic layer area, so maybe AW is the winner. However, this one is a duplicate, regina posted this problem before (issue 98753). *** This issue has been marked as a duplicate of 98753 ***
Closing duplicate issue.