Class CTModel3D
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2017.model3d.CTModel3D
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected CTAmbientLightprotected CTPictureAttributionSourceURLprotected CTModel3DCameraprotected Stringprotected CTOfficeArtExtensionListprotected Stringprotected CTObjectViewportprotected CTModel3DRasterprotected CTShapePropertiesprotected CTModel3DTransformprotected CTWindowViewport -
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 ambientLight property.Gets the value of the attrSrcUrl property.Gets the value of the camera property.getEmbed()Embedded Picture ReferenceGets the value of the extLst property.getLink()Linked Picture ReferenceGets the value of the objViewport property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the ptLightOrSpotLightOrDirLight property.Gets the value of the raster property.getSpPr()Gets the value of the spPr property.getTrans()Gets the value of the trans property.Gets the value of the winViewport property.voidsetAmbientLight(CTAmbientLight value) Sets the value of the ambientLight property.voidSets the value of the attrSrcUrl property.voidsetCamera(CTModel3DCamera value) Sets the value of the camera property.voidSets the value of the embed property.voidSets the value of the extLst property.voidSets the value of the link property.voidsetObjViewport(CTObjectViewport value) Sets the value of the objViewport property.voidvoidsetRaster(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.
-
Field Details
-
spPr
-
camera
-
trans
-
attrSrcUrl
-
raster
-
extLst
-
objViewport
-
winViewport
-
ambientLight
-
ptLightOrSpotLightOrDirLight
-
embed
-
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
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
Embedded Picture Reference- Returns:
- possible object is
String
-
setEmbed
Sets the value of the embed property.- Parameters:
value- allowed object isString
-
getLink
Linked Picture Reference- Returns:
- possible object is
String
-
setLink
Sets the value of the link property.- Parameters:
value- allowed object isString
-
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.
-