• Miklos Vajna's avatar
    oox smartart, org chart: implement support for hierBranch conditions · ae34f471
    Miklos Vajna yazdı
    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/66579Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
    Tested-by: Jenkins
    ae34f471