Class CTFontReference
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2012.chartStyle.CTFontReference
- All Implemented Interfaces:
Child
public class CTFontReference extends java.lang.Object implements Child
Java class for CT_FontReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_FontReference">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_ColorChoice" minOccurs="0"/>
<element name="styleClr" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}CT_StyleColor" minOccurs="0"/>
</sequence>
<attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_FontCollectionIndex" />
<attribute name="mods" type="{http://schemas.microsoft.com/office/drawing/2012/chartStyle}ST_StyleReferenceModifierList" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTHslColorhslClrprotected STFontCollectionIndexidxprotected java.util.List<java.lang.String>modsprotected CTPresetColorprstClrprotected CTSchemeColorschemeClrprotected CTScRgbColorscrgbClrprotected CTSRgbColorsrgbClrprotected CTStyleColorstyleClrprotected CTSystemColorsysClr -
Constructor Summary
Constructors Constructor Description CTFontReference() -
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.CTHslColorgetHslClr()Gets the value of the hslClr property.STFontCollectionIndexgetIdx()Gets the value of the idx 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.CTPresetColorgetPrstClr()Gets the value of the prstClr property.CTSchemeColorgetSchemeClr()Gets the value of the schemeClr property.CTScRgbColorgetScrgbClr()Gets the value of the scrgbClr property.CTSRgbColorgetSrgbClr()Gets the value of the srgbClr property.CTStyleColorgetStyleClr()Gets the value of the styleClr property.CTSystemColorgetSysClr()Gets the value of the sysClr property.voidsetHslClr(CTHslColor value)Sets the value of the hslClr property.voidsetIdx(STFontCollectionIndex value)Sets the value of the idx property.voidsetParent(java.lang.Object parent)voidsetPrstClr(CTPresetColor value)Sets the value of the prstClr property.voidsetSchemeClr(CTSchemeColor value)Sets the value of the schemeClr property.voidsetScrgbClr(CTScRgbColor value)Sets the value of the scrgbClr property.voidsetSrgbClr(CTSRgbColor value)Sets the value of the srgbClr property.voidsetStyleClr(CTStyleColor value)Sets the value of the styleClr property.voidsetSysClr(CTSystemColor value)Sets the value of the sysClr property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
scrgbClr
-
srgbClr
-
hslClr
-
sysClr
-
schemeClr
-
prstClr
-
styleClr
-
idx
-
mods
protected java.util.List<java.lang.String> mods
-
-
Constructor Details
-
CTFontReference
public CTFontReference()
-
-
Method Details
-
getScrgbClr
Gets the value of the scrgbClr property.- Returns:
- possible object is
CTScRgbColor
-
setScrgbClr
Sets the value of the scrgbClr property.- Parameters:
value- allowed object isCTScRgbColor
-
getSrgbClr
Gets the value of the srgbClr property.- Returns:
- possible object is
CTSRgbColor
-
setSrgbClr
Sets the value of the srgbClr property.- Parameters:
value- allowed object isCTSRgbColor
-
getHslClr
Gets the value of the hslClr property.- Returns:
- possible object is
CTHslColor
-
setHslClr
Sets the value of the hslClr property.- Parameters:
value- allowed object isCTHslColor
-
getSysClr
Gets the value of the sysClr property.- Returns:
- possible object is
CTSystemColor
-
setSysClr
Sets the value of the sysClr property.- Parameters:
value- allowed object isCTSystemColor
-
getSchemeClr
Gets the value of the schemeClr property.- Returns:
- possible object is
CTSchemeColor
-
setSchemeClr
Sets the value of the schemeClr property.- Parameters:
value- allowed object isCTSchemeColor
-
getPrstClr
Gets the value of the prstClr property.- Returns:
- possible object is
CTPresetColor
-
setPrstClr
Sets the value of the prstClr property.- Parameters:
value- allowed object isCTPresetColor
-
getStyleClr
Gets the value of the styleClr property.- Returns:
- possible object is
CTStyleColor
-
setStyleClr
Sets the value of the styleClr property.- Parameters:
value- allowed object isCTStyleColor
-
getIdx
Gets the value of the idx property.- Returns:
- possible object is
STFontCollectionIndex
-
setIdx
Sets the value of the idx property.- Parameters:
value- allowed object isSTFontCollectionIndex
-
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.
-