Class CTBackground

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

public class CTBackground extends Object implements Child

Java class for CT_Background complex type.

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

 <complexType name="CT_Background">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:schemas-microsoft-com:vml}fill" minOccurs="0"/>
       </sequence>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
       <attGroup ref="{urn:schemas-microsoft-com:vml}AG_Fill"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}bwmode"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}bwpure"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}bwnormal"/>
       <attribute ref="{urn:schemas-microsoft-com:office:office}targetscreensize"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • fill

      protected CTFill fill
    • bwmode

      protected STBWMode bwmode
    • bwpure

      protected STBWMode bwpure
    • bwnormal

      protected STBWMode bwnormal
    • targetscreensize

      protected String targetscreensize
    • vmlId

      protected String vmlId
    • filled

      protected STTrueFalse filled
    • fillcolor

      protected String fillcolor
  • Constructor Details

    • CTBackground

      public CTBackground()
  • 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
    • getBwmode

      public STBWMode getBwmode()
      Black-and-White Mode
      Returns:
      possible object is STBWMode
    • setBwmode

      public void setBwmode(STBWMode value)
      Sets the value of the bwmode property.
      Parameters:
      value - allowed object is STBWMode
    • getBwpure

      public STBWMode getBwpure()
      Pure Black-and-White Mode
      Returns:
      possible object is STBWMode
    • setBwpure

      public void setBwpure(STBWMode value)
      Sets the value of the bwpure property.
      Parameters:
      value - allowed object is STBWMode
    • getBwnormal

      public STBWMode getBwnormal()
      Normal Black-and-White Mode
      Returns:
      possible object is STBWMode
    • setBwnormal

      public void setBwnormal(STBWMode value)
      Sets the value of the bwnormal property.
      Parameters:
      value - allowed object is STBWMode
    • getTargetscreensize

      public String getTargetscreensize()
      Target Screen Size
      Returns:
      possible object is String
    • setTargetscreensize

      public void setTargetscreensize(String value)
      Sets the value of the targetscreensize 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
    • getFilled

      public STTrueFalse getFilled()
      Gets the value of the filled property.
      Returns:
      possible object is STTrueFalse
    • setFilled

      public void setFilled(STTrueFalse value)
      Sets the value of the filled property.
      Parameters:
      value - allowed object is STTrueFalse
    • getFillcolor

      public String getFillcolor()
      Gets the value of the fillcolor property.
      Returns:
      possible object is String
    • setFillcolor

      public void setFillcolor(String value)
      Sets the value of the fillcolor 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.