Class CTBackground

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

public class CTBackground extends CTPictureBase

Java class for CT_Background complex type.

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

 <complexType name="CT_Background">
   <complexContent>
     <extension base="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PictureBase">
       <attribute name="color" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HexColor" />
       <attribute name="themeColor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ThemeColor" />
       <attribute name="themeTint" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
       <attribute name="themeShade" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • color

      protected String color
    • themeColor

      protected STThemeColor themeColor
    • themeTint

      protected String themeTint
    • themeShade

      protected String themeShade
  • Constructor Details

    • CTBackground

      public CTBackground()
  • Method Details

    • 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
    • getThemeColor

      public STThemeColor getThemeColor()
      Gets the value of the themeColor property.
      Returns:
      possible object is STThemeColor
    • setThemeColor

      public void setThemeColor(STThemeColor value)
      Sets the value of the themeColor property.
      Parameters:
      value - allowed object is STThemeColor
    • getThemeTint

      public String getThemeTint()
      Gets the value of the themeTint property.
      Returns:
      possible object is String
    • setThemeTint

      public void setThemeTint(String value)
      Sets the value of the themeTint property.
      Parameters:
      value - allowed object is String
    • getThemeShade

      public String getThemeShade()
      Gets the value of the themeShade property.
      Returns:
      possible object is String
    • setThemeShade

      public void setThemeShade(String value)
      Sets the value of the themeShade property.
      Parameters:
      value - allowed object is String
    • 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.
      Overrides:
      afterUnmarshal in class CTPictureBase
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.