public class Anchor extends 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>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowOverlap |
protected byte[] |
anchorId |
protected boolean |
behindDoc |
protected CTNonVisualGraphicFrameProperties |
cNvGraphicFramePr |
protected Long |
distB |
protected Long |
distL |
protected Long |
distR |
protected Long |
distT |
protected CTNonVisualDrawingProps |
docPr |
protected byte[] |
editId |
protected CTEffectExtent |
effectExtent |
protected CTPositiveSize2D |
extent |
protected Graphic |
graphic |
protected Boolean |
hidden |
protected boolean |
layoutInCell |
protected boolean |
locked |
protected CTPosH |
positionH |
protected CTPosV |
positionV |
protected long |
relativeHeight |
protected CTPoint2D |
simplePos |
protected Boolean |
simplePosAttr |
protected CTSizeRelH |
sizeRelH |
protected CTSizeRelV |
sizeRelV |
protected CTWrapNone |
wrapNone |
protected CTWrapSquare |
wrapSquare |
protected CTWrapThrough |
wrapThrough |
protected CTWrapTight |
wrapTight |
protected CTWrapTopBottom |
wrapTopAndBottom |
| Constructor and Description |
|---|
Anchor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
byte[] |
getAnchorId()
Gets the value of the anchorId property.
|
CTNonVisualGraphicFrameProperties |
getCNvGraphicFramePr()
Gets the value of the cNvGraphicFramePr property.
|
Long |
getDistB()
Gets the value of the distB property.
|
Long |
getDistL()
Gets the value of the distL property.
|
Long |
getDistR()
Gets the value of the distR property.
|
Long |
getDistT()
Gets the value of the distT property.
|
CTNonVisualDrawingProps |
getDocPr()
Gets the value of the docPr property.
|
byte[] |
getEditId()
Gets the value of the editId property.
|
CTEffectExtent |
getEffectExtent()
Gets the value of the effectExtent property.
|
CTPositiveSize2D |
getExtent()
Gets the value of the extent property.
|
Graphic |
getGraphic()
Gets the value of the graphic property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
CTPosH |
getPositionH()
Gets the value of the positionH property.
|
CTPosV |
getPositionV()
Gets the value of the positionV property.
|
long |
getRelativeHeight()
Gets the value of the relativeHeight property.
|
CTPoint2D |
getSimplePos()
Gets the value of the simplePos property.
|
CTSizeRelH |
getSizeRelH()
Gets the value of the sizeRelH property.
|
CTSizeRelV |
getSizeRelV()
Gets the value of the sizeRelV property.
|
CTWrapNone |
getWrapNone()
Gets the value of the wrapNone property.
|
CTWrapSquare |
getWrapSquare()
Gets the value of the wrapSquare property.
|
CTWrapThrough |
getWrapThrough()
Gets the value of the wrapThrough property.
|
CTWrapTight |
getWrapTight()
Gets the value of the wrapTight property.
|
CTWrapTopBottom |
getWrapTopAndBottom()
Gets the value of the wrapTopAndBottom property.
|
boolean |
isAllowOverlap()
Gets the value of the allowOverlap property.
|
boolean |
isBehindDoc()
Gets the value of the behindDoc property.
|
Boolean |
isHidden()
Gets the value of the hidden property.
|
boolean |
isLayoutInCell()
Gets the value of the layoutInCell property.
|
boolean |
isLocked()
Gets the value of the locked property.
|
Boolean |
isSimplePosAttr()
Gets the value of the simplePosAttr property.
|
void |
setAllowOverlap(boolean value)
Sets the value of the allowOverlap property.
|
void |
setAnchorId(byte[] value)
Sets the value of the anchorId property.
|
void |
setBehindDoc(boolean value)
Sets the value of the behindDoc property.
|
void |
setCNvGraphicFramePr(CTNonVisualGraphicFrameProperties value)
Sets the value of the cNvGraphicFramePr property.
|
void |
setDistB(Long value)
Sets the value of the distB property.
|
void |
setDistL(Long value)
Sets the value of the distL property.
|
void |
setDistR(Long value)
Sets the value of the distR property.
|
void |
setDistT(Long value)
Sets the value of the distT property.
|
void |
setDocPr(CTNonVisualDrawingProps value)
Sets the value of the docPr property.
|
void |
setEditId(byte[] value)
Sets the value of the editId property.
|
void |
setEffectExtent(CTEffectExtent value)
Sets the value of the effectExtent property.
|
void |
setExtent(CTPositiveSize2D value)
Sets the value of the extent property.
|
void |
setGraphic(Graphic value)
Sets the value of the graphic property.
|
void |
setHidden(Boolean value)
Sets the value of the hidden property.
|
void |
setLayoutInCell(boolean value)
Sets the value of the layoutInCell property.
|
void |
setLocked(boolean value)
Sets the value of the locked property.
|
void |
setParent(Object parent) |
void |
setPositionH(CTPosH value)
Sets the value of the positionH property.
|
void |
setPositionV(CTPosV value)
Sets the value of the positionV property.
|
void |
setRelativeHeight(long value)
Sets the value of the relativeHeight property.
|
void |
setSimplePos(CTPoint2D value)
Sets the value of the simplePos property.
|
void |
setSimplePosAttr(Boolean value)
Sets the value of the simplePosAttr property.
|
void |
setSizeRelH(CTSizeRelH value)
Sets the value of the sizeRelH property.
|
void |
setSizeRelV(CTSizeRelV value)
Sets the value of the sizeRelV property.
|
void |
setWrapNone(CTWrapNone value)
Sets the value of the wrapNone property.
|
void |
setWrapSquare(CTWrapSquare value)
Sets the value of the wrapSquare property.
|
void |
setWrapThrough(CTWrapThrough value)
Sets the value of the wrapThrough property.
|
void |
setWrapTight(CTWrapTight value)
Sets the value of the wrapTight property.
|
void |
setWrapTopAndBottom(CTWrapTopBottom value)
Sets the value of the wrapTopAndBottom property.
|
protected CTPoint2D simplePos
protected CTPosH positionH
protected CTPosV positionV
protected CTPositiveSize2D extent
protected CTEffectExtent effectExtent
protected CTWrapNone wrapNone
protected CTWrapSquare wrapSquare
protected CTWrapTight wrapTight
protected CTWrapThrough wrapThrough
protected CTWrapTopBottom wrapTopAndBottom
protected CTNonVisualDrawingProps docPr
protected CTNonVisualGraphicFrameProperties cNvGraphicFramePr
protected Graphic graphic
protected CTSizeRelH sizeRelH
protected CTSizeRelV sizeRelV
protected Long distT
protected Long distB
protected Long distL
protected Long distR
protected Boolean simplePosAttr
protected long relativeHeight
protected boolean behindDoc
protected boolean locked
protected boolean layoutInCell
protected Boolean hidden
protected boolean allowOverlap
protected byte[] anchorId
protected byte[] editId
public CTPoint2D getSimplePos()
CTPoint2Dpublic void setSimplePos(CTPoint2D value)
value - allowed object is
CTPoint2Dpublic CTPosH getPositionH()
CTPosHpublic void setPositionH(CTPosH value)
value - allowed object is
CTPosHpublic CTPosV getPositionV()
CTPosVpublic void setPositionV(CTPosV value)
value - allowed object is
CTPosVpublic CTPositiveSize2D getExtent()
CTPositiveSize2Dpublic void setExtent(CTPositiveSize2D value)
value - allowed object is
CTPositiveSize2Dpublic CTEffectExtent getEffectExtent()
CTEffectExtentpublic void setEffectExtent(CTEffectExtent value)
value - allowed object is
CTEffectExtentpublic CTWrapNone getWrapNone()
CTWrapNonepublic void setWrapNone(CTWrapNone value)
value - allowed object is
CTWrapNonepublic CTWrapSquare getWrapSquare()
CTWrapSquarepublic void setWrapSquare(CTWrapSquare value)
value - allowed object is
CTWrapSquarepublic CTWrapTight getWrapTight()
CTWrapTightpublic void setWrapTight(CTWrapTight value)
value - allowed object is
CTWrapTightpublic CTWrapThrough getWrapThrough()
CTWrapThroughpublic void setWrapThrough(CTWrapThrough value)
value - allowed object is
CTWrapThroughpublic CTWrapTopBottom getWrapTopAndBottom()
CTWrapTopBottompublic void setWrapTopAndBottom(CTWrapTopBottom value)
value - allowed object is
CTWrapTopBottompublic CTNonVisualDrawingProps getDocPr()
CTNonVisualDrawingPropspublic void setDocPr(CTNonVisualDrawingProps value)
value - allowed object is
CTNonVisualDrawingPropspublic CTNonVisualGraphicFrameProperties getCNvGraphicFramePr()
CTNonVisualGraphicFramePropertiespublic void setCNvGraphicFramePr(CTNonVisualGraphicFrameProperties value)
value - allowed object is
CTNonVisualGraphicFramePropertiespublic Graphic getGraphic()
Graphicpublic void setGraphic(Graphic value)
value - allowed object is
Graphicpublic CTSizeRelH getSizeRelH()
CTSizeRelHpublic void setSizeRelH(CTSizeRelH value)
value - allowed object is
CTSizeRelHpublic CTSizeRelV getSizeRelV()
CTSizeRelVpublic void setSizeRelV(CTSizeRelV value)
value - allowed object is
CTSizeRelVpublic Long getDistT()
Longpublic void setDistT(Long value)
value - allowed object is
Longpublic Long getDistB()
Longpublic void setDistB(Long value)
value - allowed object is
Longpublic Long getDistL()
Longpublic void setDistL(Long value)
value - allowed object is
Longpublic Long getDistR()
Longpublic void setDistR(Long value)
value - allowed object is
Longpublic Boolean isSimplePosAttr()
Booleanpublic void setSimplePosAttr(Boolean value)
value - allowed object is
Booleanpublic long getRelativeHeight()
public void setRelativeHeight(long value)
public boolean isBehindDoc()
public void setBehindDoc(boolean value)
public boolean isLocked()
public void setLocked(boolean value)
public boolean isLayoutInCell()
public void setLayoutInCell(boolean value)
public Boolean isHidden()
Booleanpublic void setHidden(Boolean value)
value - allowed object is
Booleanpublic boolean isAllowOverlap()
public void setAllowOverlap(boolean value)
public byte[] getAnchorId()
Stringpublic void setAnchorId(byte[] value)
value - allowed object is
Stringpublic byte[] getEditId()
Stringpublic void setEditId(byte[] value)
value - allowed object is
Stringpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2022. All Rights Reserved.