https://bugs.documentfoundation.org/show_bug.cgi?id=158496
Bug ID: 158496
Summary: XML: style:display-name is not independent from
style:name
Product: LibreOffice
Version: 24.2.0.0 alpha1+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Description:
If you modify style:display-name in styles.xml, then the inheritance is lost
Steps to Reproduce:
1. Find a template using a font different from Liberation Sans, such as bundled
template DNA.otp, which uses Liberation Serif for Title
2. Unzip DNA.otp
3. In styles.xml, add an attribute style:display-name="Other name" after
<style:master-page style-name="DNA"
4. Save, zip and create a new DNA2.otp template
5. Open DNA2.otp
Actual Results:
Title use Liberation Sans font
Expected Results:
Title should use the font define in DNA-Title style
Reproducible: Always
User Profile Reset: No
Additional Info:
There is no bug if display name is simply a conversion of the name of the style
(like what is done using UI: special character such as space is replaced by a
code).
However, ODF does not specify that display name should follow the name. See
section 19.476
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1417898_253892949
--
You are receiving this mail because:
You are the assignee for the bug.