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 Details

  • Constructor Details

    • CTModel3D

      public CTModel3D()
  • Method Details

    • getSpPr

      public CTShapeProperties getSpPr()
      Gets the value of the spPr property.
      Returns:
      possible object is CTShapeProperties
    • setSpPr

      public void setSpPr​(CTShapeProperties value)
      Sets the value of the spPr property.
      Parameters:
      value - allowed object is CTShapeProperties
    • getCamera

      public CTModel3DCamera getCamera()
      Gets the value of the camera property.
      Returns:
      possible object is CTModel3DCamera
    • setCamera

      public void setCamera​(CTModel3DCamera value)
      Sets the value of the camera property.
      Parameters:
      value - allowed object is CTModel3DCamera
    • getTrans

      public CTModel3DTransform getTrans()
      Gets the value of the trans property.
      Returns:
      possible object is CTModel3DTransform
    • setTrans

      public void setTrans​(CTModel3DTransform value)
      Sets the value of the trans property.
      Parameters:
      value - allowed object is CTModel3DTransform
    • getAttrSrcUrl

      public CTPictureAttributionSourceURL getAttrSrcUrl()
      Gets the value of the attrSrcUrl property.
      Returns:
      possible object is CTPictureAttributionSourceURL
    • setAttrSrcUrl

      public void setAttrSrcUrl​(CTPictureAttributionSourceURL value)
      Sets the value of the attrSrcUrl property.
      Parameters:
      value - allowed object is CTPictureAttributionSourceURL
    • getRaster

      public CTModel3DRaster getRaster()
      Gets the value of the raster property.
      Returns:
      possible object is CTModel3DRaster
    • setRaster

      public void setRaster​(CTModel3DRaster value)
      Sets the value of the raster property.
      Parameters:
      value - allowed object is CTModel3DRaster
    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst​(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getObjViewport

      public CTObjectViewport getObjViewport()
      Gets the value of the objViewport property.
      Returns:
      possible object is CTObjectViewport
    • setObjViewport

      public void setObjViewport​(CTObjectViewport value)
      Sets the value of the objViewport property.
      Parameters:
      value - allowed object is CTObjectViewport
    • getWinViewport

      public CTWindowViewport getWinViewport()
      Gets the value of the winViewport property.
      Returns:
      possible object is CTWindowViewport
    • setWinViewport

      public void setWinViewport​(CTWindowViewport value)
      Sets the value of the winViewport property.
      Parameters:
      value - allowed object is CTWindowViewport
    • getAmbientLight

      public CTAmbientLight getAmbientLight()
      Gets the value of the ambientLight property.
      Returns:
      possible object is CTAmbientLight
    • setAmbientLight

      public void setAmbientLight​(CTAmbientLight value)
      Sets the value of the ambientLight property.
      Parameters:
      value - allowed object is CTAmbientLight
    • 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 set method 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 CTPointLight CTSpotLight CTDirectionalLight CTUnknownLight

    • 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 is String
    • 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 is String
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.