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

            Bug ID: 165313
           Summary: EDITING: Character Style Inherit from and Delete does
                    not revert to the parent style
           Product: LibreOffice
           Version: 24.8.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 199272
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199272&action=edit
Character Styles inherit from Strong Emphasis resp. MyEmphasis

PRECONDITION:
(see attached MyCharacterStyle.odt)

example inherits from standard style:
New Style myStrong Inherit from Strong Emphasis
used by 1st text line in document

another example which inherits from Custom Style:
New Style MyEmphasis Inherit from Emphasis
used by 2nd text line in document
New Style MyEmphasis2 Inherit from MyEmphasis
used by 3rd text line in document


PROBLEM DESCRIPTION:
(see attached MyCharacterStyleDel.odt after deleting both)

Delete custom style myStrong
==> text does not revert to inherit-from-style Strong Emphasis

Delete custom style MyEmphasis2
==> text does not revert to inherit-from-style MyEmphasis

see style.xml
the deleted styles are removed
see content.xml:
the removed styles are still used
<text:span text:style-name="myStrong">
<text:span text:style-name="MyEmphasis2">


EXPECTED BEHAVIOR:
styles will revert to the parent style
<text:span text:style-name="Strong_20_Emphasis"> (1st line)
resp. <text:span text:style-name="MyEmphasis"> (3rd line)

(works fine with Paragraph Styles)


Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to