Package org.docx4j.dml
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 Summary
Fields Modifier and Type Field Description protected CTCustomColorListcustClrLstprotected CTOfficeArtExtensionListextLstprotected CTColorSchemeListextraClrSchemeLstprotected java.lang.Stringnameprotected CTObjectStyleDefaultsobjectDefaultsprotected BaseStylesthemeElements -
Constructor Summary
Constructors Constructor Description Theme() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTCustomColorListgetCustClrLst()Gets the value of the custClrLst property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.CTColorSchemeListgetExtraClrSchemeLst()Gets the value of the extraClrSchemeLst property.java.lang.StringgetName()Gets the value of the name property.CTObjectStyleDefaultsgetObjectDefaults()Gets the value of the objectDefaults property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.BaseStylesgetThemeElements()Gets the value of the themeElements property.voidsetCustClrLst(CTCustomColorList value)Sets the value of the custClrLst property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetExtraClrSchemeLst(CTColorSchemeList value)Sets the value of the extraClrSchemeLst property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetObjectDefaults(CTObjectStyleDefaults value)Sets the value of the objectDefaults property.voidsetParent(java.lang.Object parent)voidsetThemeElements(BaseStyles value)Sets the value of the themeElements property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
themeElements
-
objectDefaults
-
extraClrSchemeLst
-
custClrLst
-
extLst
-
name
protected java.lang.String name
-
-
Constructor Details
-
Theme
public Theme()
-
-
Method Details
-
getThemeElements
Gets the value of the themeElements property.- Returns:
- possible object is
BaseStyles
-
setThemeElements
Sets the value of the themeElements property.- Parameters:
value- allowed object isBaseStyles
-
getObjectDefaults
Gets the value of the objectDefaults property.- Returns:
- possible object is
CTObjectStyleDefaults
-
setObjectDefaults
Sets the value of the objectDefaults property.- Parameters:
value- allowed object isCTObjectStyleDefaults
-
getExtraClrSchemeLst
Gets the value of the extraClrSchemeLst property.- Returns:
- possible object is
CTColorSchemeList
-
setExtraClrSchemeLst
Sets the value of the extraClrSchemeLst property.- Parameters:
value- allowed object isCTColorSchemeList
-
getCustClrLst
Gets the value of the custClrLst property.- Returns:
- possible object is
CTCustomColorList
-
setCustClrLst
Sets the value of the custClrLst property.- Parameters:
value- allowed object isCTCustomColorList
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
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 isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-