Package org.docx4j.vml
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
-
Constructor Summary
Constructors Constructor Description CTBackground() -
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.STBWModegetBwmode()Black-and-White ModeSTBWModegetBwnormal()Normal Black-and-White ModeSTBWModegetBwpure()Pure Black-and-White ModeCTFillgetFill()Gets the value of the fill property.java.lang.StringgetFillcolor()Gets the value of the fillcolor property.STTrueFalsegetFilled()Gets the value of the filled property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetTargetscreensize()Target Screen Sizejava.lang.StringgetVmlId()Gets the value of the vmlId property.voidsetBwmode(STBWMode value)Sets the value of the bwmode property.voidsetBwnormal(STBWMode value)Sets the value of the bwnormal property.voidsetBwpure(STBWMode value)Sets the value of the bwpure property.voidsetFill(CTFill value)Sets the value of the fill property.voidsetFillcolor(java.lang.String value)Sets the value of the fillcolor property.voidsetFilled(STTrueFalse value)Sets the value of the filled property.voidsetParent(java.lang.Object parent)voidsetTargetscreensize(java.lang.String value)Sets the value of the targetscreensize property.voidsetVmlId(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
-
bwmode
-
bwpure
-
bwnormal
-
targetscreensize
protected java.lang.String targetscreensize -
vmlId
protected java.lang.String vmlId -
filled
-
fillcolor
protected java.lang.String fillcolor
-
-
Constructor Details
-
CTBackground
public CTBackground()
-
-
Method Details
-
getFill
Gets the value of the fill property.- Returns:
- possible object is
CTFill
-
setFill
Sets the value of the fill property.- Parameters:
value- allowed object isCTFill
-
getBwmode
Black-and-White Mode- Returns:
- possible object is
STBWMode
-
setBwmode
Sets the value of the bwmode property.- Parameters:
value- allowed object isSTBWMode
-
getBwpure
Pure Black-and-White Mode- Returns:
- possible object is
STBWMode
-
setBwpure
Sets the value of the bwpure property.- Parameters:
value- allowed object isSTBWMode
-
getBwnormal
Normal Black-and-White Mode- Returns:
- possible object is
STBWMode
-
setBwnormal
Sets the value of the bwnormal property.- Parameters:
value- allowed object isSTBWMode
-
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 isString
-
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 isString
-
getFilled
Gets the value of the filled property.- Returns:
- possible object is
STTrueFalse
-
setFilled
Sets the value of the filled property.- Parameters:
value- allowed object isSTTrueFalse
-
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 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.
-