Class Inline

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

public class Inline
extends java.lang.Object
implements Child

Java class for CT_Inline complex type.

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

 <complexType name="CT_Inline">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extent" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_PositiveSize2D"/>
         <element name="effectExtent" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}CT_EffectExtent" minOccurs="0"/>
         <element name="docPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingProps"/>
         <element name="cNvGraphicFramePr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualGraphicFrameProperties" minOccurs="0"/>
         <element ref="{http://schemas.openxmlformats.org/drawingml/2006/main}graphic"/>
       </sequence>
       <attribute name="distT" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distB" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distL" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
       <attribute name="distR" type="{http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing}ST_WrapDistance" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Inline

      public Inline()
  • Method Details

    • getExtent

      public CTPositiveSize2D getExtent()
      Gets the value of the extent property.
      Returns:
      possible object is CTPositiveSize2D
    • setExtent

      public void setExtent​(CTPositiveSize2D value)
      Sets the value of the extent property.
      Parameters:
      value - allowed object is CTPositiveSize2D
    • getEffectExtent

      public CTEffectExtent getEffectExtent()
      Gets the value of the effectExtent property.
      Returns:
      possible object is CTEffectExtent
    • setEffectExtent

      public void setEffectExtent​(CTEffectExtent value)
      Sets the value of the effectExtent property.
      Parameters:
      value - allowed object is CTEffectExtent
    • getDocPr

      public CTNonVisualDrawingProps getDocPr()
      Gets the value of the docPr property.
      Returns:
      possible object is CTNonVisualDrawingProps
    • setDocPr

      public void setDocPr​(CTNonVisualDrawingProps value)
      Sets the value of the docPr property.
      Parameters:
      value - allowed object is CTNonVisualDrawingProps
    • getCNvGraphicFramePr

      public CTNonVisualGraphicFrameProperties getCNvGraphicFramePr()
      Gets the value of the cNvGraphicFramePr property.
      Returns:
      possible object is CTNonVisualGraphicFrameProperties
    • setCNvGraphicFramePr

      public void setCNvGraphicFramePr​(CTNonVisualGraphicFrameProperties value)
      Sets the value of the cNvGraphicFramePr property.
      Parameters:
      value - allowed object is CTNonVisualGraphicFrameProperties
    • getGraphic

      public Graphic getGraphic()
      Gets the value of the graphic property.
      Returns:
      possible object is Graphic
    • setGraphic

      public void setGraphic​(Graphic value)
      Sets the value of the graphic property.
      Parameters:
      value - allowed object is Graphic
    • getDistT

      public java.lang.Long getDistT()
      Gets the value of the distT property.
      Returns:
      possible object is Long
    • setDistT

      public void setDistT​(java.lang.Long value)
      Sets the value of the distT property.
      Parameters:
      value - allowed object is Long
    • getDistB

      public java.lang.Long getDistB()
      Gets the value of the distB property.
      Returns:
      possible object is Long
    • setDistB

      public void setDistB​(java.lang.Long value)
      Sets the value of the distB property.
      Parameters:
      value - allowed object is Long
    • getDistL

      public java.lang.Long getDistL()
      Gets the value of the distL property.
      Returns:
      possible object is Long
    • setDistL

      public void setDistL​(java.lang.Long value)
      Sets the value of the distL property.
      Parameters:
      value - allowed object is Long
    • getDistR

      public java.lang.Long getDistR()
      Gets the value of the distR property.
      Returns:
      possible object is Long
    • setDistR

      public void setDistR​(java.lang.Long value)
      Sets the value of the distR property.
      Parameters:
      value - allowed object is Long
    • 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.