Apache OpenOffice (AOO) Bugzilla – Issue 29524
Default attributes should be written expressively in paragraph/charcter styles - keyword: paintbrush
Last modified: 2013-08-07 14:38:26 UTC
Refer to the attached <OOO_test.sxw> file. Copy and paste the line "2. This is a test" behind "1. This is a test", notice how "2. This is a test" takes on the bold characteristics of "1. This is a test"? Copy and paste "5. This is a test" behind "4. This is a test" and it takes on 4.'s attributes.
Created attachment 15474 [details] Test document
reassigned to ES.
Ok, I'll try to explain it as simple as possible... You may expect a non bold text to stay non bold when pasted in a bold text. The problem is that "2. this is a text" is not defined *expressiveley* as non bold (or regular) text but it has no attribute by default so it takes the attributes it finds when copied in a text which has attributes. To test this: - select "2. this is a text" - format it to bold (-> the attribute bold is now set) - switch bold off (-> the attribute non bold or regular is now internally set) - copy this text and paste it into "1. This is a test" -> this time the text will remain regular because this attribute is expressevely part of its format definition.
ES->BH: this is a general problem of our default style definition. Ex: in the Stylist, right click on the "Default" paragraph style and choose "Modifiy" -> though this style has of course a lot of properties defined (a default fon is set, a default size, alignment etc) those parameters are not expressively written in the style (on Tabpage [Organizer], the field "Contains" is blank). This lack of express definition of defaule styles makes for instance that the format paintbrush can paint a regular (default style) text in bold (from a hard formatted text) but not the contrary because the attribute "Regular" is not set in the style definition.
*** Issue 54056 has been marked as a duplicate of this issue. ***
*** Issue 56553 has been marked as a duplicate of this issue. ***
*** Issue 64533 has been marked as a duplicate of this issue. ***
Edited summary
*** Issue 87683 has been marked as a duplicate of this issue. ***
*** Issue 101123 has been marked as a duplicate of this issue. ***
*** Issue 102718 has been marked as a duplicate of this issue. ***
To fix/solve this, first updating the specs is needed. See comments in one of the dups: http://qa.openoffice.org/issues/show_bug.cgi?id=54056#desc7 http://qa.openoffice.org/issues/show_bug.cgi?id=54056#desc8 http://qa.openoffice.org/issues/show_bug.cgi?id=54056#desc9
To grep the issues easier via "requirements" I put the issues currently lying on my owner to the owner "requirements".