https://bugs.documentfoundation.org/show_bug.cgi?id=162209

            Bug ID: 162209
           Summary: STYLES pane -- duplicate style (an additional option
                    beside the existing new style from selection)
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

hi, 


PRE:
this has been brought up some time ago, once by me, too, see:
Bug 152189 - styles list "new", plus "DUPLICATE"

wontfix (the enhancement suggestion)


Still, I'll give it  ago...
Why? Because the reasons given by two developers were based on a "false fact"
(They assumed that changing the "Inherit from" reference won't change the
styles attributes accordingly, which is not how it works in reality -- the
attributes will change according to the new "Inherit from" reference)
- - - - - - - - - - - - - - - - - - - 


So, you are in the styles pane...
you have  "my_paragraph" in the list..  (underscores are not necessary, I know)

This style has several attributes, including some affecting: alignment,
textflow, font and font-effects and border... for example.
These are "the usual suspects" when you need to check whether 2 styles are next
to identical....

Imagine that you want to have a variant of this style...
a variant that's only different in one attribute... say, border color

In this case I'd go: "duplicate this style"...

which would make my list look like this:

Body Text
    |
    |
    my_paragraph
    my_paragraph(copy)

Then I could rename them to fit the style concept of the document, 
like:

Body Text
    |
    |
    my_paragraph orange border
    my_paragraph azure border


:: BUT THIS ↑↑ IS NOT POSSIBLE YET
- - - - - - - - - - - - - - - - - - - 


What you can do: 
create a new style based on my paragraph...
the result will be like this:

Body Text
    |
    |
    my_paragraph
        |
        |
        my_paragraph_B


The problem will be that you have two variants but one is one level UP...
ALSO...
being "one level up" has a meaning, too...
If you change anthing in "my_paragraph", "my_pragraph_B" will be changed too...
THIS IS not how variants are supposed to work :) 
THis is how derivatives work. Two toally different things.

But back to our case:
Wouldn't it look better like this?

Body Text
    |
    |
    my_paragraph
    my_paragraph_B

And we could change either without getting the other modified too.

- - - - - - - - - - - - - - - - - - -     
NOTE:    
the point wuld be to work with your styles in a smooth, intuitive way, 
if you want a variant, just create one, "copy & paste" (duplicate)...

PS:
We should bear in mind that changing the "inherit from" reference will change
the style.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to