Class CTTwoCellAnchor
java.lang.Object
org.docx4j.dml.spreadsheetdrawing.CTTwoCellAnchor
- All Implemented Interfaces:
Child
Java class for CT_TwoCellAnchor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TwoCellAnchor">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="from" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_Marker"/>
<element name="to" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_Marker"/>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}EG_ObjectChoices"/>
<element name="clientData" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}CT_AnchorClientData"/>
</sequence>
<attribute name="editAs" type="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}ST_EditAs" default="twoCell" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTAnchorClientDataprotected CTConnectorprotected STEditAsprotected CTMarkerprotected CTGraphicalObjectFrameprotected CTGroupShapeprotected CTPictureprotected CTShapeprotected CTMarker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the clientData property.getCxnSp()Gets the value of the cxnSp property.Gets the value of the editAs property.getFrom()Gets the value of the from property.Gets the value of the graphicFrame property.getGrpSp()Gets the value of the grpSp property.Gets the parent object in the object tree representing the unmarshalled xml document.getPic()Gets the value of the pic property.getSp()Gets the value of the sp property.getTo()Gets the value of the to property.voidsetClientData(CTAnchorClientData value) Sets the value of the clientData property.voidsetCxnSp(CTConnector value) Sets the value of the cxnSp property.voidSets the value of the editAs property.voidSets the value of the from property.voidSets the value of the graphicFrame property.voidsetGrpSp(CTGroupShape value) Sets the value of the grpSp property.voidvoidSets the value of the pic property.voidSets the value of the sp property.voidSets the value of the to property.
-
Field Details
-
from
-
to
-
sp
-
grpSp
-
graphicFrame
-
cxnSp
-
pic
-
clientData
-
editAs
-
-
Constructor Details
-
CTTwoCellAnchor
public CTTwoCellAnchor()
-
-
Method Details
-
getFrom
Gets the value of the from property.- Returns:
- possible object is
CTMarker
-
setFrom
Sets the value of the from property.- Parameters:
value- allowed object isCTMarker
-
getTo
Gets the value of the to property.- Returns:
- possible object is
CTMarker
-
setTo
Sets the value of the to property.- Parameters:
value- allowed object isCTMarker
-
getSp
Gets the value of the sp property.- Returns:
- possible object is
CTShape
-
setSp
Sets the value of the sp property.- Parameters:
value- allowed object isCTShape
-
getGrpSp
Gets the value of the grpSp property.- Returns:
- possible object is
CTGroupShape
-
setGrpSp
Sets the value of the grpSp property.- Parameters:
value- allowed object isCTGroupShape
-
getGraphicFrame
Gets the value of the graphicFrame property.- Returns:
- possible object is
CTGraphicalObjectFrame
-
setGraphicFrame
Sets the value of the graphicFrame property.- Parameters:
value- allowed object isCTGraphicalObjectFrame
-
getCxnSp
Gets the value of the cxnSp property.- Returns:
- possible object is
CTConnector
-
setCxnSp
Sets the value of the cxnSp property.- Parameters:
value- allowed object isCTConnector
-
getPic
Gets the value of the pic property.- Returns:
- possible object is
CTPicture
-
setPic
Sets the value of the pic property.- Parameters:
value- allowed object isCTPicture
-
getClientData
Gets the value of the clientData property.- Returns:
- possible object is
CTAnchorClientData
-
setClientData
Sets the value of the clientData property.- Parameters:
value- allowed object isCTAnchorClientData
-
getEditAs
Gets the value of the editAs property.- Returns:
- possible object is
STEditAs
-
setEditAs
Sets the value of the editAs property.- Parameters:
value- allowed object isSTEditAs
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-