Class CTStyleEntry
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2012.chartStyle.CTStyleEntry
- All Implemented Interfaces:
Child
public class CTStyleEntry extends java.lang.Object implements Child
Java class for CT_StyleEntry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_StyleEntry">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lnRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
<element name="lineWidthScale" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="fillRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
<element name="effectRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleReference"/>
<element name="fontRef" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_FontReference"/>
<element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties" minOccurs="0"/>
<element name="defRPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextCharacterProperties" minOccurs="0"/>
<element name="bodyPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBodyProperties" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="mods" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_StyleEntryModifierList" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTTextBodyPropertiesbodyPrprotected CTTextCharacterPropertiesdefRPrprotected CTStyleReferenceeffectRefprotected CTOfficeArtExtensionListextLstprotected CTStyleReferencefillRefprotected CTFontReferencefontRefprotected java.lang.DoublelineWidthScaleprotected CTStyleReferencelnRefprotected java.util.List<java.lang.String>modsprotected CTShapePropertiesspPr -
Constructor Summary
Constructors Constructor Description CTStyleEntry() -
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.CTTextBodyPropertiesgetBodyPr()Gets the value of the bodyPr property.CTTextCharacterPropertiesgetDefRPr()Gets the value of the defRPr property.CTStyleReferencegetEffectRef()Gets the value of the effectRef property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.CTStyleReferencegetFillRef()Gets the value of the fillRef property.CTFontReferencegetFontRef()Gets the value of the fontRef property.java.lang.DoublegetLineWidthScale()Gets the value of the lineWidthScale property.CTStyleReferencegetLnRef()Gets the value of the lnRef property.java.util.List<java.lang.String>getMods()Gets the value of the mods property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTShapePropertiesgetSpPr()Gets the value of the spPr property.voidsetBodyPr(CTTextBodyProperties value)Sets the value of the bodyPr property.voidsetDefRPr(CTTextCharacterProperties value)Sets the value of the defRPr property.voidsetEffectRef(CTStyleReference value)Sets the value of the effectRef property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetFillRef(CTStyleReference value)Sets the value of the fillRef property.voidsetFontRef(CTFontReference value)Sets the value of the fontRef property.voidsetLineWidthScale(java.lang.Double value)Sets the value of the lineWidthScale property.voidsetLnRef(CTStyleReference value)Sets the value of the lnRef property.voidsetParent(java.lang.Object parent)voidsetSpPr(CTShapeProperties value)Sets the value of the spPr property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
lnRef
-
lineWidthScale
protected java.lang.Double lineWidthScale -
fillRef
-
effectRef
-
fontRef
-
spPr
-
defRPr
-
bodyPr
-
extLst
-
mods
protected java.util.List<java.lang.String> mods
-
-
Constructor Details
-
CTStyleEntry
public CTStyleEntry()
-
-
Method Details
-
getLnRef
Gets the value of the lnRef property.- Returns:
- possible object is
CTStyleReference
-
setLnRef
Sets the value of the lnRef property.- Parameters:
value- allowed object isCTStyleReference
-
getLineWidthScale
public java.lang.Double getLineWidthScale()Gets the value of the lineWidthScale property.- Returns:
- possible object is
Double
-
setLineWidthScale
public void setLineWidthScale(java.lang.Double value)Sets the value of the lineWidthScale property.- Parameters:
value- allowed object isDouble
-
getFillRef
Gets the value of the fillRef property.- Returns:
- possible object is
CTStyleReference
-
setFillRef
Sets the value of the fillRef property.- Parameters:
value- allowed object isCTStyleReference
-
getEffectRef
Gets the value of the effectRef property.- Returns:
- possible object is
CTStyleReference
-
setEffectRef
Sets the value of the effectRef property.- Parameters:
value- allowed object isCTStyleReference
-
getFontRef
Gets the value of the fontRef property.- Returns:
- possible object is
CTFontReference
-
setFontRef
Sets the value of the fontRef property.- Parameters:
value- allowed object isCTFontReference
-
getSpPr
Gets the value of the spPr property.- Returns:
- possible object is
CTShapeProperties
-
setSpPr
Sets the value of the spPr property.- Parameters:
value- allowed object isCTShapeProperties
-
getDefRPr
Gets the value of the defRPr property.- Returns:
- possible object is
CTTextCharacterProperties
-
setDefRPr
Sets the value of the defRPr property.- Parameters:
value- allowed object isCTTextCharacterProperties
-
getBodyPr
Gets the value of the bodyPr property.- Returns:
- possible object is
CTTextBodyProperties
-
setBodyPr
Sets the value of the bodyPr property.- Parameters:
value- allowed object isCTTextBodyProperties
-
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
-
getMods
public java.util.List<java.lang.String> getMods()Gets the value of the mods property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the mods property.For example, to add a new item, do as follows:
getMods().add(newItem);Objects of the following type(s) are allowed in the list
String -
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.
-