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

            Bug ID: 148922
           Summary: Allow to make non-conditional style conditional, and
                    show Condition tab permanently
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

In bug 82802, conditional style was practically defined as having some
conditions set (so removing all [context->style] mappings makes a previously
conditional style not conditional). This also establishes that the style *can*
change the "conditional" property during its lifetime, despite documentation
claims otherwise [1] :

> Once defined, you cannot change the conditional properties of a conditional 
> style.

The original issue with the mentioned bug 82802 was, though, the very fact that
after you remove all mappings from a previously conditional style, you can't
later add new mappings - so you can't convert a non-conditional style into
conditional one.

I suggest to resolve *that* original problem simply by enabling the Condition
tab permanently, not only for newly-created styles and styles already having
conditions.

Regina: could you please confirm that from the ODF point of view, the
equivalence between "style having context->style mappings" and "conditional
style" is correct, i.e. that ODF doesn't allow to have a conditional style
without at least one defined mapping? If ODF technically allows to have such
"empty" conditional styles, then the solution to bug 82802 would need to be
changed.

[1]
https://help.libreoffice.org/7.3/en-US/text/swriter/01/05130100.html?DbPAR=WRITER

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

Reply via email to