Apache OpenOffice (AOO) Bugzilla – Issue 118772
Users' styles can not be transferred with copy / paste to another drawing
Last modified: 2013-01-29 21:47:03 UTC
Steps to Reproduce: 1. Start OpenOffice.org Draw. 2. Draw a shape, such as rectangle. 3. Change the color to yellow. 4. Select shape again, press <F11> to open "Styles and Formatting" dialog. 5. On the top of the dialog click icon "New Style from Selection", and the "Create Style" dialog appears. 6. Type Style name "y" and click OK, the new style "y" will be listed. 7. Select the rectangle again and Menu Edit -> Copy. 8. Menu File -> New -> Drawing, and a new Draw document appears. 9. Click somewhere in the document, then Menu Edit -> Paste. Actual Results: The rectangle appears, but it is blue. <F11> to check "Styles and Formatting" dialog, there is no "y" style. Expected Results: The rectangle should be yellow, and the new "y" style should be copied to the new draw document. Build Date & Platform: Build revision 1228147, on SUSE Linux Enterprise Desktop 11(i586)
ALG: Happens as described. A short check of SdrExchangeView::GetMarkedObjModel() (used when copying) and SdrExchangeView::Paste (used when pasting) shows that indeed styles are not taken into account. This is a missing feature.