<twoCellAnchor> (Two Cell Anchor Shape Size)

This element specifies a two cell anchor placeholder for a group, a shape, or a drawing element. It moves with cells and its extents are in EMU units.

Parent Elements

<wsDr>5.6.2.34)

Child Elements

Subclause

<clientData> (Client Data)

§5.6.2.3

<cxnSp> (Connection Shape)

§5.6.2.12

<from> (Starting Anchor Point)

§5.6.2.14

<graphicFrame> (Graphic Frame)

§5.6.2.15

<grpSp> (Group Shape)

§5.6.2.16

<pic> (Picture)

§5.6.2.24

<sp> (Shape)

§5.6.2.28

<to> (Ending Anchor Point)

§5.6.2.31

Attributes

Description

<editAs> (Positioning and Resizing Behaviors)

Specifies how the DrawingML contents shall be moved and/or resized when the rows and columns between its start and ending anchor (the <from> and <to> child elements) are resized, or have additional rows/columns inserted within them, or additional row/columns are added before them. The behaviors are discussed in the simple type referenced below.

If this attribute is omitted, then its default value shall be assumed to be twoCell.

example:
<ws:twoCellAnchor editAs="absolute">
  ...
</ws:twoCellAnchor>

The @editAs attribute has a value of absolute, which specifies that the sizing of this object shall not change, instead the anchor locations should be moved as needed to maintain the same size and position. ]

The possible values for this attribute are defined by the ST_EditAs simple type (§5.6.3.2).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TwoCellAnchor">
	<sequence>
	<element name="from" type="CT_Marker"/>
	<element name="to" type="CT_Marker"/>
	<group ref="EG_ObjectChoices"/>
	<element name="clientData" type="CT_AnchorClientData" minOccurs="1" maxOccurs="1"/>
	</sequence>
	<attribute name="editAs" type="ST_EditAs" use="optional" default="twoCell"/>
</complexType>