Class CTModel3D
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2017.model3d.CTModel3D
- All Implemented Interfaces:
Child
public class CTModel3D extends java.lang.Object implements Child
Java class for CT_Model3D complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Model3D">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties"/>
<element name="camera" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_Model3DCamera"/>
<element name="trans" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_Model3DTransform"/>
<element name="attrSrcUrl" type="{http://schemas.microsoft.com/office/drawing/2016/11/main}CT_PictureAttributionSourceURL" minOccurs="0"/>
<element name="raster" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_Model3DRaster" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
<choice>
<element name="objViewport" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_ObjectViewport"/>
<element name="winViewport" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_WindowViewport"/>
</choice>
<element name="ambientLight" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_AmbientLight" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="ptLight" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_PointLight"/>
<element name="spotLight" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_SpotLight"/>
<element name="dirLight" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_DirectionalLight"/>
<element name="unkLight" type="{http://schemas.microsoft.com/office/drawing/2017/model3d}CT_UnknownLight"/>
</choice>
</sequence>
<attGroup ref="{http://schemas.openxmlformats.org/drawingml/2006/main}AG_Blob"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTAmbientLightambientLightprotected CTPictureAttributionSourceURLattrSrcUrlprotected CTModel3DCameracameraprotected java.lang.Stringembedprotected CTOfficeArtExtensionListextLstprotected java.lang.Stringlinkprotected CTObjectViewportobjViewportprotected java.util.List<java.lang.Object>ptLightOrSpotLightOrDirLightprotected CTModel3DRasterrasterprotected CTShapePropertiesspPrprotected CTModel3DTransformtransprotected CTWindowViewportwinViewport -
Constructor Summary
Constructors Constructor Description CTModel3D() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTAmbientLightgetAmbientLight()Gets the value of the ambientLight property.CTPictureAttributionSourceURLgetAttrSrcUrl()Gets the value of the attrSrcUrl property.CTModel3DCameragetCamera()Gets the value of the camera property.java.lang.StringgetEmbed()Embedded Picture ReferenceCTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.java.lang.StringgetLink()Linked Picture ReferenceCTObjectViewportgetObjViewport()Gets the value of the objViewport property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.util.List<java.lang.Object>getPtLightOrSpotLightOrDirLight()Gets the value of the ptLightOrSpotLightOrDirLight property.CTModel3DRastergetRaster()Gets the value of the raster property.CTShapePropertiesgetSpPr()Gets the value of the spPr property.CTModel3DTransformgetTrans()Gets the value of the trans property.CTWindowViewportgetWinViewport()Gets the value of the winViewport property.voidsetAmbientLight(CTAmbientLight value)Sets the value of the ambientLight property.voidsetAttrSrcUrl(CTPictureAttributionSourceURL value)Sets the value of the attrSrcUrl property.voidsetCamera(CTModel3DCamera value)Sets the value of the camera property.voidsetEmbed(java.lang.String value)Sets the value of the embed property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetLink(java.lang.String value)Sets the value of the link property.voidsetObjViewport(CTObjectViewport value)Sets the value of the objViewport property.voidsetParent(java.lang.Object parent)voidsetRaster(CTModel3DRaster value)Sets the value of the raster property.voidsetSpPr(CTShapeProperties value)Sets the value of the spPr property.voidsetTrans(CTModel3DTransform value)Sets the value of the trans property.voidsetWinViewport(CTWindowViewport value)Sets the value of the winViewport property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
spPr
-
camera
-
trans
-
attrSrcUrl
-
raster
-
extLst
-
objViewport
-
winViewport
-
ambientLight
-
ptLightOrSpotLightOrDirLight
protected java.util.List<java.lang.Object> ptLightOrSpotLightOrDirLight -
embed
protected java.lang.String embed -
link
protected java.lang.String link
-
-
Constructor Details
-
CTModel3D
public CTModel3D()
-
-
Method Details
-
getSpPr
Gets the value of the spPr property.- Returns:
- possible object is
CTShapeProperties
-
setSpPr
Sets the value of the spPr property.- Parameters:
value- allowed object isCTShapeProperties
-
getCamera
Gets the value of the camera property.- Returns:
- possible object is
CTModel3DCamera
-
setCamera
Sets the value of the camera property.- Parameters:
value- allowed object isCTModel3DCamera
-
getTrans
Gets the value of the trans property.- Returns:
- possible object is
CTModel3DTransform
-
setTrans
Sets the value of the trans property.- Parameters:
value- allowed object isCTModel3DTransform
-
getAttrSrcUrl
Gets the value of the attrSrcUrl property.- Returns:
- possible object is
CTPictureAttributionSourceURL
-
setAttrSrcUrl
Sets the value of the attrSrcUrl property.- Parameters:
value- allowed object isCTPictureAttributionSourceURL
-
getRaster
Gets the value of the raster property.- Returns:
- possible object is
CTModel3DRaster
-
setRaster
Sets the value of the raster property.- Parameters:
value- allowed object isCTModel3DRaster
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
getObjViewport
Gets the value of the objViewport property.- Returns:
- possible object is
CTObjectViewport
-
setObjViewport
Sets the value of the objViewport property.- Parameters:
value- allowed object isCTObjectViewport
-
getWinViewport
Gets the value of the winViewport property.- Returns:
- possible object is
CTWindowViewport
-
setWinViewport
Sets the value of the winViewport property.- Parameters:
value- allowed object isCTWindowViewport
-
getAmbientLight
Gets the value of the ambientLight property.- Returns:
- possible object is
CTAmbientLight
-
setAmbientLight
Sets the value of the ambientLight property.- Parameters:
value- allowed object isCTAmbientLight
-
getPtLightOrSpotLightOrDirLight
public java.util.List<java.lang.Object> getPtLightOrSpotLightOrDirLight()Gets the value of the ptLightOrSpotLightOrDirLight property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the ptLightOrSpotLightOrDirLight property.For example, to add a new item, do as follows:
getPtLightOrSpotLightOrDirLight().add(newItem);Objects of the following type(s) are allowed in the list
CTPointLightCTSpotLightCTDirectionalLightCTUnknownLight -
getEmbed
public java.lang.String getEmbed()Embedded Picture Reference- Returns:
- possible object is
String
-
setEmbed
public void setEmbed(java.lang.String value)Sets the value of the embed property.- Parameters:
value- allowed object isString
-
getLink
public java.lang.String getLink()Linked Picture Reference- Returns:
- possible object is
String
-
setLink
public void setLink(java.lang.String value)Sets the value of the link property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-