Class CTBackground

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

public class CTBackground
extends java.lang.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 Summary

    Fields
    Modifier and Type Field Description
    protected STBWMode bwmode  
    protected STBWMode bwnormal  
    protected STBWMode bwpure  
    protected CTFill fill  
    protected java.lang.String fillcolor  
    protected STTrueFalse filled  
    protected java.lang.String targetscreensize  
    protected java.lang.String vmlId  
  • Constructor Summary

    Constructors
    Constructor Description
    CTBackground()  
  • 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.
    STBWMode getBwmode()
    Black-and-White Mode
    STBWMode getBwnormal()
    Normal Black-and-White Mode
    STBWMode getBwpure()
    Pure Black-and-White Mode
    CTFill getFill()
    Gets the value of the fill property.
    java.lang.String getFillcolor()
    Gets the value of the fillcolor property.
    STTrueFalse getFilled()
    Gets the value of the filled property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getTargetscreensize()
    Target Screen Size
    java.lang.String getVmlId()
    Gets the value of the vmlId property.
    void setBwmode​(STBWMode value)
    Sets the value of the bwmode property.
    void setBwnormal​(STBWMode value)
    Sets the value of the bwnormal property.
    void setBwpure​(STBWMode value)
    Sets the value of the bwpure property.
    void setFill​(CTFill value)
    Sets the value of the fill property.
    void setFillcolor​(java.lang.String value)
    Sets the value of the fillcolor property.
    void setFilled​(STTrueFalse value)
    Sets the value of the filled property.
    void setParent​(java.lang.Object parent)  
    void setTargetscreensize​(java.lang.String value)
    Sets the value of the targetscreensize 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
    • bwmode

      protected STBWMode bwmode
    • bwpure

      protected STBWMode bwpure
    • bwnormal

      protected STBWMode bwnormal
    • targetscreensize

      protected java.lang.String targetscreensize
    • vmlId

      protected java.lang.String vmlId
    • filled

      protected STTrueFalse filled
    • fillcolor

      protected java.lang.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 java.lang.String getTargetscreensize()
      Target Screen Size
      Returns:
      possible object is String
    • setTargetscreensize

      public void setTargetscreensize​(java.lang.String value)
      Sets the value of the targetscreensize 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
    • 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 java.lang.String getFillcolor()
      Gets the value of the fillcolor property.
      Returns:
      possible object is String
    • setFillcolor

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