https://bugs.documentfoundation.org/show_bug.cgi?id=108907
Bug ID: 108907
Summary: conditional paragraph style does not work with outline
level
Product: LibreOffice
Version: 6.0.0.0.alpha0+ Master
Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
Keywords: filter:fodt, filter:odt
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Blocks: 94587
Created attachment 134434
--> https://bugs.documentfoundation.org/attachment.cgi?id=134434&action=edit
Conditional paragraph style
If a paragraph style is a conditional style and has "outline level" as
condition, then the <text:h> element to which it is assigned, should get a
text:cond-style-name attribute. LibreOffice does not write this attribute.
If LibreOffice opens a file, which uses conditional style, the condition is not
evaluated. Worse, the <text:h> element contains the text:cond-style-name
attribute for those applications, which can evaluate the condition, and the
text:style-name attribute, which contains the style name of the last
evaluation, for those applications, which cannot evaluate the condition. But
LibreOffice takes the style name reference of the text:cond-style-name without
evaluating the condition and therefore uses a wrong style for the headings.
Resaving such document looses the text:cond-style-name attribute.
The relevant part in the specification is section 19.776 text:cond-style-name.
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1418810_253892949
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=94587
[Bug 94587] [META] ODF features missing or incorrectly imported
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs