Apache OpenOffice (AOO) Bugzilla – Issue 113040
style parent link is not saved in some cases
Last modified: 2013-02-05 15:57:22 UTC
Steps to reproduce: 1) File > New > Drawing 2) Format > Styles & Formatting 3) In Stylist: Right-click "Default" > New Name: _Base Line > Arrow styles > Style: Arrow OK 4) Right-click "_Base" > New Name: _Child Linked with: _Base Line > Line properties > Color: Light Blue OK 5) Create a line 6) Apply style "_Child" The line should have properties from both _Base and _Child: a blue line with arrowhead(s). 7) File > Save 8) File > Reload The line should be the same; instead it has only the properties set in the _Child style (blue, no arrow). 9) Right-click "_Child" > Modify see: Linked with: -none- set: Linked with: _Base OK 10) File > Save File > Reload is now OK. If I compare styles.xml between the two saved files (#7, #10), I get this: $ diff step7_styles_xml step10_styles_xml 102c102 < <style:style style:name="_5f_Child" style:display-name="_Child" style:family="graphic"> --- > <style:style style:name="_5f_Child" style:display-name="_Child" style:family="graphic" style:parent-style-name="_5f_Base"> I checked 3.2, 3.1.1, 3.0.1 and 2.4.2--they all showed the same problem. Clearly this must depend on some unusual circumstance or it would be reported before now. Maybe it only affects the first save.
I just ran into this issue in OO Draw 3.2.0. Style linking information doesn't appear to be saved at all, making hierarchical styles unusable.
Re-tested with nightly AOO350m1(Build:9611) - Rev. 1442201 2013-02-05_04:29:57-Rev.1442466 Problem still exists following steps in description.