Class Anchor

java.lang.Object
org.docx4j.dml.wordprocessingDrawing.Anchor
All Implemented Interfaces:
Child

public class Anchor
extends java.lang.Object
implements Child

Java class for CT_Anchor complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Anchor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="simplePos" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D"/>
         <element name="positionH" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}CT_PosH"/>
         <element name="positionV" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}CT_PosV"/>
         <element name="extent" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D"/>
         <element name="effectExtent" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}CT_EffectExtent" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}EG_WrapType"/>
         <element name="docPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingProps"/>
         <element name="cNvGraphicFramePr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualGraphicFrameProperties" minOccurs="0"/>
         <element ref="{http://schemas.openxmlformats.org/drawingml/2006/main}graphic"/>
         <element ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing}sizeRelH" minOccurs="0"/>
         <element ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing}sizeRelV" minOccurs="0"/>
       </sequence>
       <attribute name="distT" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distB" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distL" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distR" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="simplePos" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="relativeHeight" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="behindDoc" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="locked" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="layoutInCell" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="allowOverlap" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing}anchorId"/>
       <attribute ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing}editId"/>
     </restriction>
   </complexContent>
 </complexType>