diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-01-18 11:10:28 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-18 18:14:16 +0100 |
commit | ae34f471030869dfc0da1784597cae6f9131f8c5 (patch) | |
tree | 96a7901205ca3d4f6ece1db21cc7c3975a8aa627 /sw/qa/python/testdocuments/WriteProtected.odt | |
parent | e3cc5506d695b602fbd3c6ee816e36e6a76d9d96 (diff) |
oox smartart, org chart: implement support for hierBranch conditions
The relevant part of the layout is the <dgm:layoutNode
name="hierChild2"> element that has a <dgm:choose> with two branches:
<dgm:if name="Name34" func="var" arg="hierBranch" op="equ" val="std">
<dgm:if name="Name36" func="var" arg="hierBranch" op="equ" val="init">
The connectors were missing as we took the first branch
(ConditionAtom::getDecision() returned true if the arg was hierBranch),
even hierBranch on the parent layout node was set to "init".
With this, the correct number of connectors are created, previously all
employee connectors were missing. Their size / position is still
incorrect, though.
Change-Id: I74a705b13f82a065fc0b9b9d306bfb0dcaf0f7f4
Reviewed-on: https://gerrit.libreoffice.org/66579
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/qa/python/testdocuments/WriteProtected.odt')
0 files changed, 0 insertions, 0 deletions