Package org.docx4j.dml
Class BaseStyles.FontScheme
java.lang.Object
org.docx4j.dml.BaseStyles.FontScheme
- All Implemented Interfaces:
Child
- Enclosing class:
- BaseStyles
public static class BaseStyles.FontScheme extends java.lang.Object implements Child
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="majorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
<element name="minorFont" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_FontCollection"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTOfficeArtExtensionListextLstprotected FontCollectionmajorFontprotected FontCollectionminorFontprotected java.lang.Stringname -
Constructor Summary
Constructors Constructor Description FontScheme() -
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.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.FontCollectiongetMajorFont()Gets the value of the majorFont property.FontCollectiongetMinorFont()Gets the value of the minorFont property.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetMajorFont(FontCollection value)Sets the value of the majorFont property.voidsetMinorFont(FontCollection value)Sets the value of the minorFont property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
majorFont
-
minorFont
-
extLst
-
name
protected java.lang.String name
-
-
Constructor Details
-
FontScheme
public FontScheme()
-
-
Method Details
-
getMajorFont
Gets the value of the majorFont property.- Returns:
- possible object is
FontCollection
-
setMajorFont
Sets the value of the majorFont property.- Parameters:
value- allowed object isFontCollection
-
getMinorFont
Gets the value of the minorFont property.- Returns:
- possible object is
FontCollection
-
setMinorFont
Sets the value of the minorFont property.- Parameters:
value- allowed object isFontCollection
-
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
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name 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.
-