Issue 29524

Summary: Default attributes should be written expressively in paragraph/charcter styles - keyword: paintbrush
Product: Writer Reporter: bigchris <csherlock>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: baumux, cno, csherlock, issues, michael.haus
Version: OOo 1.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Test document none

Description bigchris 2004-05-26 12:01:45 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.
Comment 1 bigchris 2004-05-26 12:02:34 UTC
Created attachment 15474 [details]
Test document
Comment 2 michael.ruess 2004-05-26 16:09:19 UTC
reassigned to ES.
Comment 3 eric.savary 2004-10-24 15:49:07 UTC
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.
Comment 4 eric.savary 2004-10-24 16:00:00 UTC
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.  
Comment 5 eric.savary 2005-10-25 08:00:12 UTC
*** Issue 54056 has been marked as a duplicate of this issue. ***
Comment 6 eric.savary 2005-10-25 08:00:52 UTC
*** Issue 56553 has been marked as a duplicate of this issue. ***
Comment 7 eric.savary 2006-04-20 10:34:35 UTC
*** Issue 64533 has been marked as a duplicate of this issue. ***
Comment 8 eric.savary 2008-08-05 08:19:09 UTC
Edited summary
Comment 9 eric.savary 2008-08-05 08:20:04 UTC
*** Issue 87683 has been marked as a duplicate of this issue. ***
Comment 10 eric.savary 2009-04-17 10:23:34 UTC
*** Issue 101123 has been marked as a duplicate of this issue. ***
Comment 11 eric.savary 2009-06-12 13:56:50 UTC
*** Issue 102718 has been marked as a duplicate of this issue. ***
Comment 13 bettina.haberer 2010-05-21 14:53:49 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".