Package org.docx4j.wml
Class CTBorder
java.lang.Object
org.docx4j.wml.CTBorder
- All Implemented Interfaces:
Child
Java class for CT_Border complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Border">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Border" />
<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" />
<attribute name="sz" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_EighthPointMeasure" />
<attribute name="space" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PointMeasure" />
<attribute name="shadow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="frame" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected Booleanprotected BigIntegerprotected BigIntegerprotected STThemeColorprotected Stringprotected Stringprotected STBorder -
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 parent object in the object tree representing the unmarshalled xml document.getSpace()Gets the value of the space property.getSz()Gets the value of the sz property.Gets the value of the themeColor property.Gets the value of the themeShade property.Gets the value of the themeTint property.getVal()Gets the value of the val property.booleanisFrame()Gets the value of the frame property.booleanisShadow()Gets the value of the shadow property.voidSets the value of the color property.voidSets the value of the frame property.voidvoidSets the value of the shadow property.voidsetSpace(BigInteger value) Sets the value of the space property.voidsetSz(BigInteger value) Sets the value of the sz 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.voidSets the value of the val property.
-
Field Details
-
val
-
color
-
themeColor
-
themeTint
-
themeShade
-
sz
-
space
-
shadow
-
frame
-
-
Constructor Details
-
CTBorder
public CTBorder()
-
-
Method Details
-
getVal
Gets the value of the val property.- Returns:
- possible object is
STBorder
-
setVal
Sets the value of the val property.- Parameters:
value- allowed object isSTBorder
-
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
-
getSz
Gets the value of the sz property.- Returns:
- possible object is
BigInteger
-
setSz
Sets the value of the sz property.- Parameters:
value- allowed object isBigInteger
-
getSpace
Gets the value of the space property.- Returns:
- possible object is
BigInteger
-
setSpace
Sets the value of the space property.- Parameters:
value- allowed object isBigInteger
-
isShadow
public boolean isShadow()Gets the value of the shadow property.- Returns:
- possible object is
Boolean
-
setShadow
Sets the value of the shadow property.- Parameters:
value- allowed object isBoolean
-
isFrame
public boolean isFrame()Gets the value of the frame property.- Returns:
- possible object is
Boolean
-
setFrame
Sets the value of the frame property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-