Class Theme

java.lang.Object
org.docx4j.dml.Theme
All Implemented Interfaces:
Child

public class Theme
extends java.lang.Object
implements Child

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="themeElements" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BaseStyles"/>
         <element name="objectDefaults" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ObjectStyleDefaults" minOccurs="0"/>
         <element name="extraClrSchemeLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ColorSchemeList" minOccurs="0"/>
         <element name="custClrLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_CustomColorList" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Theme

      public Theme()
  • Method Details

    • getThemeElements

      public BaseStyles getThemeElements()
      Gets the value of the themeElements property.
      Returns:
      possible object is BaseStyles
    • setThemeElements

      public void setThemeElements​(BaseStyles value)
      Sets the value of the themeElements property.
      Parameters:
      value - allowed object is BaseStyles
    • getObjectDefaults

      public CTObjectStyleDefaults getObjectDefaults()
      Gets the value of the objectDefaults property.
      Returns:
      possible object is CTObjectStyleDefaults
    • setObjectDefaults

      public void setObjectDefaults​(CTObjectStyleDefaults value)
      Sets the value of the objectDefaults property.
      Parameters:
      value - allowed object is CTObjectStyleDefaults
    • getExtraClrSchemeLst

      public CTColorSchemeList getExtraClrSchemeLst()
      Gets the value of the extraClrSchemeLst property.
      Returns:
      possible object is CTColorSchemeList
    • setExtraClrSchemeLst

      public void setExtraClrSchemeLst​(CTColorSchemeList value)
      Sets the value of the extraClrSchemeLst property.
      Parameters:
      value - allowed object is CTColorSchemeList
    • getCustClrLst

      public CTCustomColorList getCustClrLst()
      Gets the value of the custClrLst property.
      Returns:
      possible object is CTCustomColorList
    • setCustClrLst

      public void setCustClrLst​(CTCustomColorList value)
      Sets the value of the custClrLst property.
      Parameters:
      value - allowed object is CTCustomColorList
    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst​(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

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