Package org.docx4j.wml
Class CTBackground
java.lang.Object
org.docx4j.wml.CTPictureBase
org.docx4j.wml.CTBackground
- All Implemented Interfaces:
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>
<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 Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected STThemeColorprotected Stringprotected StringFields inherited from class org.docx4j.wml.CTPictureBase
anyAndAny -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getColor()Gets the value of the color property.Gets the value of the themeColor property.Gets the value of the themeShade property.Gets the value of the themeTint property.voidSets the value of the color property.voidsetThemeColor(STThemeColor value) Sets the value of the themeColor property.voidsetThemeShade(String value) Sets the value of the themeShade property.voidsetThemeTint(String value) Sets the value of the themeTint property.Methods inherited from class org.docx4j.wml.CTPictureBase
getAnyAndAny, getParent, setParent
-
Field Details
-
color
-
themeColor
-
themeTint
-
themeShade
-
-
Constructor Details
-
CTBackground
public CTBackground()
-
-
Method Details
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getThemeColor
Gets the value of the themeColor property.- Returns:
- possible object is
STThemeColor
-
setThemeColor
Sets the value of the themeColor property.- Parameters:
value- allowed object isSTThemeColor
-
getThemeTint
Gets the value of the themeTint property.- Returns:
- possible object is
String
-
setThemeTint
Sets the value of the themeTint property.- Parameters:
value- allowed object isString
-
getThemeShade
Gets the value of the themeShade property.- Returns:
- possible object is
String
-
setThemeShade
Sets the value of the themeShade property.- Parameters:
value- allowed object isString
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Overrides:
afterUnmarshalin classCTPictureBase- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-