summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-11-18 00:49:03 +0800
committerMark Hung <marklh9@gmail.com>2019-11-30 15:00:09 +0100
commitd86cfcaf709638d73fcb0de5067b902dab7a7f2f (patch)
tree9306bca1007d5888e76c608f2fd1103704761623 /officecfg
parentaeed331f7307612fbc4ebac4764cd39f6f2352e9 (diff)
tdf#94947 Set preset-id for user defined motion paths.
User defined motion paths ( curve, polygon, freeform line ) did not have preset-id. Set the preset-id so that the preset type will be highlighted in the custom animation pane after editing. "libo-motionpath-curve", "libo-motionpath-polygon", and "libo-motionpath-freeform-line" are used for the three user defined motion paths. This patch is related to tdf#94947, though it doesn't make the original document display correctly by guessing the missing preset-id, but it prevent empty preset-id to be generated when creating those three motion path animation. Change-Id: I50c0133bea32e022b07e5d8c0a024810844f124d Reviewed-on: https://gerrit.libreoffice.org/83079 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu15
1 files changed, 15 insertions, 0 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
index c635e0387517..1f385b61c540 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
@@ -700,6 +700,21 @@
<value xml:lang="en-US">Whip</value>
</prop>
</node>
+ <node oor:name="libo-motionpath-curve" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Curve</value>
+ </prop>
+ </node>
+ <node oor:name="libo-motionpath-polygon" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Polygon</value>
+ </prop>
+ </node>
+ <node oor:name="libo-motionpath-freeform-line" oor:op="replace">
+ <prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Freeform Line</value>
+ </prop>
+ </node>
<node oor:name="ooo-motionpath-4-point-star" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
<value xml:lang="en-US">4 Point Star</value>