Commit b0bfb3fd authored by Nicolas Delaby's avatar Nicolas Delaby

propagate text:display attribute on cloned nodes

Honour user settings
parent 19d40de7
...@@ -975,6 +975,10 @@ class ODTStrategy(ODFStrategy): ...@@ -975,6 +975,10 @@ class ODTStrategy(ODFStrategy):
style_value = target_node.attrib.get(style_attribute_id) style_value = target_node.attrib.get(style_attribute_id)
if style_value: if style_value:
attr_dict.update({style_attribute_id: style_value}) attr_dict.update({style_attribute_id: style_value})
display_attribute_id = '{%s}display' % TEXT_URI
display_value = target_node.attrib.get(display_attribute_id)
if display_value:
attr_dict.update({display_attribute_id: display_value})
formula_attribute_id = '{%s}formula' % TEXT_URI formula_attribute_id = '{%s}formula' % TEXT_URI
formula_value = target_node.attrib.get(formula_attribute_id) formula_value = target_node.attrib.get(formula_attribute_id)
if formula_value: if formula_value:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment