Apache OpenOffice (AOO) Bugzilla – Issue 34157
Graphics Styles not modifiable after copying Slide to another Presentation
Last modified: 2005-05-31 14:17:34 UTC
- I have two presentations: one original with black background and another one with white background for copying slides to be included into white papers - When I copy a slide from my original presentation to the second presentation, the copied graphics styles are not modifiable anymore (disabled in context menu of graphics styles dialog) - I need this functionality to easily transform former white arrows (from the presentation with black background) into black arrows (for the second presentation with white background) - Why is such not allowed? I do not see any sense in disabling the "modify" option in the graphics styles dialog, after copying a slide from one presentation to another. It would save me many hours/days of work if I could modify copied graphics styles. Thanks, Christian
Reassigned to Christian. Please have a look if this is a defect or an enhancement. Thanks.
Please attach the 2 documents to reprodcue the bug.
Created attachment 17715 [details] OpenOffice Impress presentation
Created attachment 17716 [details] OpenOffice Impress presentation
- I added two files, "black.sxi" and "white.sxi" (in relation to their background) - the "black" is my original, whose slides shall be copied to the "white" presentation - the "white" presentation initially only contained the slide "client" - then I copied the slide "domainmodel" from the "black" presentation to the "white" presentation - when one now clicks on for example the "object_2" on the slide "domainmodel" in the "white" presentation, the graphics style "pattern_class_name" is selected in the graphics style dialog - when now right-clicking on that graphics style, the context menu only offers "new" and "delete" but not the "modify" option
- I recognized that after saving, closing and reopening the presentation file, the newly added styles _are_ modifiable - perhaps they could be made modifiable without first closing and reopening the file - so this would be an enhacement
I can't reproduce the bug. Neither in OOo 1.1.2 nor in the latest Developer Build. Please tell me if the bug still occures in the latest Developer Build.
Please tell me if you can still reproduce the bug or I must close it as works for me.
Yes, the bug is still there. I describe it once more. It's simple to reproduce: 1 I open some existing presentation. 2 I open a second, new presentation. 3 I add a simple text box to the new presentation and create a new style "test_style" for that text box, e.g. with green background. 4 I save the new presentation. 5 I switch both presentations to "Slide View". 6 I copy the one slide from the new presentation to the existing presentation. 7 I save the existing presentation. (not necessarily needed; does not affect the bug) 8 I switch the existing presentation to "Drawing View". 9 I open the "Style Editor". 10 I look for the "test_style" that was copied together with the slide from the new presentation to the existing presentation. 11 Now I right-click on "test_style" to open the context menu. 12 In the menu, I only see the options "New" and "Delete"; the option "Modify" is missing. == BUG?? 13 The bug can be worked around by saving, closing and reopening the existing presentation. Afterwards, "Modify" appears normally in the context menu. BTW: I work with Debian Testing and have version 1.1.2 of OpenOffice. Hope this helps, Christian
The step by step description is great. Now I can reproduce the bug. Set to new and change the target.
I can reproduce the bug. Please have a look.
Changed wrong issue type to defect
when the shape is duplicated to the temporary clipboard model, sdr::AttributeProperties::SetModel() creates a new style. I guess it does not have the correct flags, will debug this
Ok, actually it was sd::SdStyleSheetPool::CopyGraphicSheets who didn't copy the stylesheet mask, I fixed that one
verified on cws, back to qa re-open issue and reassign to cgu@openoffice.org
reassign to cgu@openoffice.org
reset resolution to FIXED
Verified in cws_impress37
Verified
Integrated in src680m106