Class CTFill

java.lang.Object
org.docx4j.vml.CTFill
All Implemented Interfaces:
Child

public class CTFill
extends java.lang.Object
implements Child

Java class for CT_Fill complex type.

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

 <complexType name="CT_Fill">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:schemas-microsoft-com:office:office}fill" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
       <attribute name="type" type="{urn:schemas-microsoft-com:vml}ST_FillType" />
       <attribute name="on" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
       <attribute name="color" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
       <attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="color2" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
       <attribute name="src" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute ref="{urn:schemas-microsoft-com:office:office}href"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}althref"/>
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="origin" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="aspect" type="{urn:schemas-microsoft-com:vml}ST_ImageAspect" />
       <attribute name="colors" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="angle" type="{http://www.w3.org/2001/XMLSchema}decimal" />
       <attribute name="alignshape" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
       <attribute name="focus" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="focussize" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="focusposition" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="method" type="{urn:schemas-microsoft-com:vml}ST_FillMethod" />
       <attribute ref="{urn:schemas-microsoft-com:office:office}detectmouseclick"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}title"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}opacity2"/>
       <attribute name="recolor" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
       <attribute name="rotate" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}relid"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected STTrueFalse alignshape  
    protected java.lang.String althref  
    protected java.math.BigDecimal angle  
    protected STImageAspect aspect  
    protected java.lang.String color  
    protected java.lang.String color2  
    protected java.lang.String colors  
    protected STTrueFalse detectmouseclick  
    protected CTFill fill  
    protected java.lang.String focus  
    protected java.lang.String focusposition  
    protected java.lang.String focussize  
    protected java.lang.String href  
    protected java.lang.String id  
    protected STFillMethod method  
    protected STTrueFalse on  
    protected java.lang.String opacity  
    protected java.lang.String opacity2  
    protected java.lang.String origin  
    protected java.lang.String position  
    protected STTrueFalse recolor  
    protected java.lang.String relid  
    protected STTrueFalse rotate  
    protected java.lang.String size  
    protected java.lang.String src  
    protected java.lang.String title  
    protected STFillType type  
    protected java.lang.String vmlId  
  • Constructor Summary

    Constructors
    Constructor Description
    CTFill()  
  • Method Summary

    Modifier and Type Method Description
    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.
    STTrueFalse getAlignshape()
    Gets the value of the alignshape property.
    java.lang.String getAlthref()
    Alternate Image Reference Location
    java.math.BigDecimal getAngle()
    Gets the value of the angle property.
    STImageAspect getAspect()
    Gets the value of the aspect property.
    java.lang.String getColor()
    Gets the value of the color property.
    java.lang.String getColor2()
    Gets the value of the color2 property.
    java.lang.String getColors()
    Gets the value of the colors property.
    STTrueFalse getDetectmouseclick()
    Detect Mouse Click
    CTFill getFill()
    Gets the value of the fill property.
    java.lang.String getFocus()
    Gets the value of the focus property.
    java.lang.String getFocusposition()
    Gets the value of the focusposition property.
    java.lang.String getFocussize()
    Gets the value of the focussize property.
    java.lang.String getHref()
    Hyperlink Target
    java.lang.String getId()
    Relationship to Part
    STFillMethod getMethod()
    Gets the value of the method property.
    STTrueFalse getOn()
    Gets the value of the on property.
    java.lang.String getOpacity()
    Gets the value of the opacity property.
    java.lang.String getOpacity2()
    Secondary Color Opacity
    java.lang.String getOrigin()
    Gets the value of the origin property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getPosition()
    Gets the value of the position property.
    STTrueFalse getRecolor()
    Gets the value of the recolor property.
    java.lang.String getRelid()
    Relationship to Part
    STTrueFalse getRotate()
    Gets the value of the rotate property.
    java.lang.String getSize()
    Gets the value of the size property.
    java.lang.String getSrc()
    Gets the value of the src property.
    java.lang.String getTitle()
    Title
    STFillType getType()
    Gets the value of the type property.
    java.lang.String getVmlId()
    Gets the value of the vmlId property.
    void setAlignshape​(STTrueFalse value)
    Sets the value of the alignshape property.
    void setAlthref​(java.lang.String value)
    Sets the value of the althref property.
    void setAngle​(java.math.BigDecimal value)
    Sets the value of the angle property.
    void setAspect​(STImageAspect value)
    Sets the value of the aspect property.
    void setColor​(java.lang.String value)
    Sets the value of the color property.
    void setColor2​(java.lang.String value)
    Sets the value of the color2 property.
    void setColors​(java.lang.String value)
    Sets the value of the colors property.
    void setDetectmouseclick​(STTrueFalse value)
    Sets the value of the detectmouseclick property.
    void setFill​(CTFill value)
    Sets the value of the fill property.
    void setFocus​(java.lang.String value)
    Sets the value of the focus property.
    void setFocusposition​(java.lang.String value)
    Sets the value of the focusposition property.
    void setFocussize​(java.lang.String value)
    Sets the value of the focussize property.
    void setHref​(java.lang.String value)
    Sets the value of the href property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setMethod​(STFillMethod value)
    Sets the value of the method property.
    void setOn​(STTrueFalse value)
    Sets the value of the on property.
    void setOpacity​(java.lang.String value)
    Sets the value of the opacity property.
    void setOpacity2​(java.lang.String value)
    Sets the value of the opacity2 property.
    void setOrigin​(java.lang.String value)
    Sets the value of the origin property.
    void setParent​(java.lang.Object parent)  
    void setPosition​(java.lang.String value)
    Sets the value of the position property.
    void setRecolor​(STTrueFalse value)
    Sets the value of the recolor property.
    void setRelid​(java.lang.String value)
    Sets the value of the relid property.
    void setRotate​(STTrueFalse value)
    Sets the value of the rotate property.
    void setSize​(java.lang.String value)
    Sets the value of the size property.
    void setSrc​(java.lang.String value)
    Sets the value of the src property.
    void setTitle​(java.lang.String value)
    Sets the value of the title property.
    void setType​(STFillType value)
    Sets the value of the type property.
    void setVmlId​(java.lang.String value)
    Sets the value of the vmlId property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • fill

      protected CTFill fill
    • type

      protected STFillType type
    • on

      protected STTrueFalse on
    • color

      protected java.lang.String color
    • opacity

      protected java.lang.String opacity
    • color2

      protected java.lang.String color2
    • src

      protected java.lang.String src
    • href

      protected java.lang.String href
    • althref

      protected java.lang.String althref
    • size

      protected java.lang.String size
    • origin

      protected java.lang.String origin
    • position

      protected java.lang.String position
    • aspect

      protected STImageAspect aspect
    • colors

      protected java.lang.String colors
    • angle

      protected java.math.BigDecimal angle
    • alignshape

      protected STTrueFalse alignshape
    • focus

      protected java.lang.String focus
    • focussize

      protected java.lang.String focussize
    • focusposition

      protected java.lang.String focusposition
    • method

      protected STFillMethod method
    • detectmouseclick

      protected STTrueFalse detectmouseclick
    • title

      protected java.lang.String title
    • opacity2

      protected java.lang.String opacity2
    • recolor

      protected STTrueFalse recolor
    • rotate

      protected STTrueFalse rotate
    • id

      protected java.lang.String id
    • relid

      protected java.lang.String relid
    • vmlId

      protected java.lang.String vmlId
  • Constructor Details

    • CTFill

      public CTFill()
  • Method Details

    • getFill

      public CTFill getFill()
      Gets the value of the fill property.
      Returns:
      possible object is CTFill
    • setFill

      public void setFill​(CTFill value)
      Sets the value of the fill property.
      Parameters:
      value - allowed object is CTFill
    • getType

      public STFillType getType()
      Gets the value of the type property.
      Returns:
      possible object is STFillType
    • setType

      public void setType​(STFillType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STFillType
    • getOn

      public STTrueFalse getOn()
      Gets the value of the on property.
      Returns:
      possible object is STTrueFalse
    • setOn

      public void setOn​(STTrueFalse value)
      Sets the value of the on property.
      Parameters:
      value - allowed object is STTrueFalse
    • getColor

      public java.lang.String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

      public void setColor​(java.lang.String value)
      Sets the value of the color property.
      Parameters:
      value - allowed object is String
    • getOpacity

      public java.lang.String getOpacity()
      Gets the value of the opacity property.
      Returns:
      possible object is String
    • setOpacity

      public void setOpacity​(java.lang.String value)
      Sets the value of the opacity property.
      Parameters:
      value - allowed object is String
    • getColor2

      public java.lang.String getColor2()
      Gets the value of the color2 property.
      Returns:
      possible object is String
    • setColor2

      public void setColor2​(java.lang.String value)
      Sets the value of the color2 property.
      Parameters:
      value - allowed object is String
    • getSrc

      public java.lang.String getSrc()
      Gets the value of the src property.
      Returns:
      possible object is String
    • setSrc

      public void setSrc​(java.lang.String value)
      Sets the value of the src property.
      Parameters:
      value - allowed object is String
    • getHref

      public java.lang.String getHref()
      Hyperlink Target
      Returns:
      possible object is String
    • setHref

      public void setHref​(java.lang.String value)
      Sets the value of the href property.
      Parameters:
      value - allowed object is String
    • getAlthref

      public java.lang.String getAlthref()
      Alternate Image Reference Location
      Returns:
      possible object is String
    • setAlthref

      public void setAlthref​(java.lang.String value)
      Sets the value of the althref property.
      Parameters:
      value - allowed object is String
    • getSize

      public java.lang.String getSize()
      Gets the value of the size property.
      Returns:
      possible object is String
    • setSize

      public void setSize​(java.lang.String value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is String
    • getOrigin

      public java.lang.String getOrigin()
      Gets the value of the origin property.
      Returns:
      possible object is String
    • setOrigin

      public void setOrigin​(java.lang.String value)
      Sets the value of the origin property.
      Parameters:
      value - allowed object is String
    • getPosition

      public java.lang.String getPosition()
      Gets the value of the position property.
      Returns:
      possible object is String
    • setPosition

      public void setPosition​(java.lang.String value)
      Sets the value of the position property.
      Parameters:
      value - allowed object is String
    • getAspect

      public STImageAspect getAspect()
      Gets the value of the aspect property.
      Returns:
      possible object is STImageAspect
    • setAspect

      public void setAspect​(STImageAspect value)
      Sets the value of the aspect property.
      Parameters:
      value - allowed object is STImageAspect
    • getColors

      public java.lang.String getColors()
      Gets the value of the colors property.
      Returns:
      possible object is String
    • setColors

      public void setColors​(java.lang.String value)
      Sets the value of the colors property.
      Parameters:
      value - allowed object is String
    • getAngle

      public java.math.BigDecimal getAngle()
      Gets the value of the angle property.
      Returns:
      possible object is BigDecimal
    • setAngle

      public void setAngle​(java.math.BigDecimal value)
      Sets the value of the angle property.
      Parameters:
      value - allowed object is BigDecimal
    • getAlignshape

      public STTrueFalse getAlignshape()
      Gets the value of the alignshape property.
      Returns:
      possible object is STTrueFalse
    • setAlignshape

      public void setAlignshape​(STTrueFalse value)
      Sets the value of the alignshape property.
      Parameters:
      value - allowed object is STTrueFalse
    • getFocus

      public java.lang.String getFocus()
      Gets the value of the focus property.
      Returns:
      possible object is String
    • setFocus

      public void setFocus​(java.lang.String value)
      Sets the value of the focus property.
      Parameters:
      value - allowed object is String
    • getFocussize

      public java.lang.String getFocussize()
      Gets the value of the focussize property.
      Returns:
      possible object is String
    • setFocussize

      public void setFocussize​(java.lang.String value)
      Sets the value of the focussize property.
      Parameters:
      value - allowed object is String
    • getFocusposition

      public java.lang.String getFocusposition()
      Gets the value of the focusposition property.
      Returns:
      possible object is String
    • setFocusposition

      public void setFocusposition​(java.lang.String value)
      Sets the value of the focusposition property.
      Parameters:
      value - allowed object is String
    • getMethod

      public STFillMethod getMethod()
      Gets the value of the method property.
      Returns:
      possible object is STFillMethod
    • setMethod

      public void setMethod​(STFillMethod value)
      Sets the value of the method property.
      Parameters:
      value - allowed object is STFillMethod
    • getDetectmouseclick

      public STTrueFalse getDetectmouseclick()
      Detect Mouse Click
      Returns:
      possible object is STTrueFalse
    • setDetectmouseclick

      public void setDetectmouseclick​(STTrueFalse value)
      Sets the value of the detectmouseclick property.
      Parameters:
      value - allowed object is STTrueFalse
    • getTitle

      public java.lang.String getTitle()
      Title
      Returns:
      possible object is String
    • setTitle

      public void setTitle​(java.lang.String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • getOpacity2

      public java.lang.String getOpacity2()
      Secondary Color Opacity
      Returns:
      possible object is String
    • setOpacity2

      public void setOpacity2​(java.lang.String value)
      Sets the value of the opacity2 property.
      Parameters:
      value - allowed object is String
    • getRecolor

      public STTrueFalse getRecolor()
      Gets the value of the recolor property.
      Returns:
      possible object is STTrueFalse
    • setRecolor

      public void setRecolor​(STTrueFalse value)
      Sets the value of the recolor property.
      Parameters:
      value - allowed object is STTrueFalse
    • getRotate

      public STTrueFalse getRotate()
      Gets the value of the rotate property.
      Returns:
      possible object is STTrueFalse
    • setRotate

      public void setRotate​(STTrueFalse value)
      Sets the value of the rotate property.
      Parameters:
      value - allowed object is STTrueFalse
    • getId

      public java.lang.String getId()
      Relationship to Part
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getRelid

      public java.lang.String getRelid()
      Relationship to Part
      Returns:
      possible object is String
    • setRelid

      public void setRelid​(java.lang.String value)
      Sets the value of the relid property.
      Parameters:
      value - allowed object is String
    • getVmlId

      public java.lang.String getVmlId()
      Gets the value of the vmlId property.
      Returns:
      possible object is String
    • setVmlId

      public void setVmlId​(java.lang.String value)
      Sets the value of the vmlId 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.