Issue 118772 - Users' styles can not be transferred with copy / paste to another drawing
Summary: Users' styles can not be transferred with copy / paste to another drawing
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: formatting (show other issues)
Version: 3.4.0 Beta (OOo)
Hardware: PC All
: P5 (lowest) Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-12 05:49 UTC by Li Lin Yi
Modified: 2013-01-29 21:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Li Lin Yi 2012-01-12 05:49:10 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)
Comment 1 Armin Le Grand 2012-02-06 12:11:25 UTC
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.