Package org.docx4j.dml
Class CTCamera
java.lang.Object
org.docx4j.dml.CTCamera
- All Implemented Interfaces:
Child
public class CTCamera extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.Integerfovprotected STPresetCameraTypeprstprotected CTSphereCoordsrotprotected java.lang.Integerzoom -
Constructor Summary
Constructors Constructor Description CTCamera() -
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.java.lang.IntegergetFov()Gets the value of the fov property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STPresetCameraTypegetPrst()Gets the value of the prst property.CTSphereCoordsgetRot()Gets the value of the rot property.intgetZoom()Gets the value of the zoom property.voidsetFov(java.lang.Integer value)Sets the value of the fov property.voidsetParent(java.lang.Object parent)voidsetPrst(STPresetCameraType value)Sets the value of the prst property.voidsetRot(CTSphereCoords value)Sets the value of the rot property.voidsetZoom(java.lang.Integer value)Sets the value of the zoom property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
rot
-
prst
-
fov
protected java.lang.Integer fov -
zoom
protected java.lang.Integer zoom
-
-
Constructor Details
-
CTCamera
public CTCamera()
-
-
Method Details
-
getRot
Gets the value of the rot property.- Returns:
- possible object is
CTSphereCoords
-
setRot
Sets the value of the rot property.- Parameters:
value- allowed object isCTSphereCoords
-
getPrst
Gets the value of the prst property.- Returns:
- possible object is
STPresetCameraType
-
setPrst
Sets the value of the prst property.- Parameters:
value- allowed object isSTPresetCameraType
-
getFov
public java.lang.Integer getFov()Gets the value of the fov property.- Returns:
- possible object is
Integer
-
setFov
public void setFov(java.lang.Integer value)Sets the value of the fov property.- Parameters:
value- allowed object isInteger
-
getZoom
public int getZoom()Gets the value of the zoom property.- Returns:
- possible object is
Integer
-
setZoom
public void setZoom(java.lang.Integer value)Sets the value of the zoom property.- Parameters:
value- allowed object isInteger
-
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.
-