Class CTCamera

java.lang.Object
org.docx4j.dml.CTCamera
All Implemented Interfaces:
Child

public class CTCamera extends Object implements Child

Java class for CT_Camera complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Camera">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="rot" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_SphereCoords" minOccurs="0"/>
       </sequence>
       <attribute name="prst" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PresetCameraType" />
       <attribute name="fov" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FOVAngle" />
       <attribute name="zoom" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_PositivePercentage" default="100000" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTCamera

      public CTCamera()
  • Method Details

    • getRot

      public CTSphereCoords getRot()
      Gets the value of the rot property.
      Returns:
      possible object is CTSphereCoords
    • setRot

      public void setRot(CTSphereCoords value)
      Sets the value of the rot property.
      Parameters:
      value - allowed object is CTSphereCoords
    • getPrst

      public STPresetCameraType getPrst()
      Gets the value of the prst property.
      Returns:
      possible object is STPresetCameraType
    • setPrst

      public void setPrst(STPresetCameraType value)
      Sets the value of the prst property.
      Parameters:
      value - allowed object is STPresetCameraType
    • getFov

      public Integer getFov()
      Gets the value of the fov property.
      Returns:
      possible object is Integer
    • setFov

      public void setFov(Integer value)
      Sets the value of the fov property.
      Parameters:
      value - allowed object is Integer
    • getZoom

      public int getZoom()
      Gets the value of the zoom property.
      Returns:
      possible object is Integer
    • setZoom

      public void setZoom(Integer value)
      Sets the value of the zoom property.
      Parameters:
      value - allowed object is Integer
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.