upArrow is missing in presetShapeDefinitions.xml

Regina Henschel 286 Reputation points
2025-05-14T23:55:11.7366667+00:00

The element <upArrow> is missing in presetShapeDefinitions.xml. Could you please provide its markup?

Microsoft 365 and Office | Open Specifications
{count} votes

Accepted answer
  1. Tom Jebo 2,336 Reputation points Microsoft Employee Moderator
    2025-05-16T21:51:23.2866667+00:00

    Hi Regina Henschel,

    Here is the definition for the upArrow shape type. Let me know if you have more questions about this.

    <upArrow>
      <avLst xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
        <gd name="adj1" fmla="val 50000" />
        <gd name="adj2" fmla="val 50000" />
      </avLst>
      <gdLst xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
        <gd name='maxAdj2' fmla='*/ 100000 h ss'/>
        <gd name='a1' fmla='pin 0 adj1 100000'/>
        <gd name='a2' fmla='pin 0 adj2 maxAdj2'/>
        <gd name='dy2' fmla='*/ ss a2 100000'/>
        <gd name='y2' fmla='+- t dy2 0'/>
        <gd name='dx1' fmla='*/ w a1 200000'/>
        <gd name='x1' fmla='+- hc 0 dx1'/>
        <gd name='x2' fmla='+- hc dx1 0'/>
        <gd name='dy1' fmla='*/ x1 dy2 wd2'/>
        <gd name='y1' fmla='+- y2  0 dy1'/>
      </gdLst>
      <ahLst xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
        <ahXY gdRefX='adj1' minX='0' maxX='100000'>
          <pos x='x1' y='b'/>
        </ahXY>
        <ahXY gdRefY='adj2' minY='0' maxY='maxAdj2'>
          <pos x='l' y='y2'/>
        </ahXY>
      </ahLst>
      <cxnLst xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
        <cxn ang='3cd4'>
          <pos x='hc' y='t'/>
        </cxn>
        <cxn ang='cd2'>
          <pos x='l' y='y2'/>
        </cxn>
        <cxn ang='cd4'>
          <pos x='hc' y='b'/>
        </cxn>
        <cxn ang='0'>
          <pos x='r' y='y2'/>
        </cxn>
      </cxnLst>
      <rect l="x1" t="y1" r="x2" b="b"
        xmlns="http://schemas.openxmlformats.org/drawingml/2006/main" />
      <pathLst xmlns="http://schemas.openxmlformats.org/drawingml/2006/main">
        <path>
          <moveTo>
            <pt x='l' y='y2'/>
          </moveTo>
          <lnTo>
            <pt x='hc' y='t'/>
          </lnTo>
          <lnTo>
            <pt x='r' y='y2'/>
          </lnTo>
          <lnTo>
            <pt x='x2' y='y2'/>
          </lnTo>
          <lnTo>
            <pt x='x2' y='b'/>
          </lnTo>
          <lnTo>
            <pt x='x1' y='b'/>
          </lnTo>
          <lnTo>
            <pt x='x1' y='y2'/>
          </lnTo>
          <close/>
        </path>
      </pathLst>
    </upArrow>
    

    Best regards,
    Tom Jebo
    Microsoft Open Specifications Support

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.