Class CTFill

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

public class CTFill extends 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 Details

  • 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 String getColor()
      Gets the value of the color property.
      Returns:
      possible object is String
    • setColor

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setPosition(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 String getColors()
      Gets the value of the colors property.
      Returns:
      possible object is String
    • setColors

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

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

      public void setAngle(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 String getFocus()
      Gets the value of the focus property.
      Returns:
      possible object is String
    • setFocus

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

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

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

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

      public void setFocusposition(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 String getTitle()
      Title
      Returns:
      possible object is String
    • setTitle

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

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

      public void setOpacity2(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 String getId()
      Relationship to Part
      Returns:
      possible object is String
    • setId

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

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

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

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

      public void setVmlId(String value)
      Sets the value of the vmlId property.
      Parameters:
      value - allowed object is String
    • 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.