Package org.docx4j.dml
Class TextFont
java.lang.Object
org.docx4j.dml.TextFont
- All Implemented Interfaces:
Child
public class TextFont extends java.lang.Object implements Child
Java class for CT_TextFont complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TextFont">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="typeface">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
</restriction>
</simpleType>
</attribute>
<attribute name="panose">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
</restriction>
</simpleType>
</attribute>
<attribute name="pitchFamily" type="{http://www.w3.org/2001/XMLSchema}byte" default="0" />
<attribute name="charset" type="{http://www.w3.org/2001/XMLSchema}byte" default="1" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Bytecharsetprotected java.lang.Stringpanoseprotected java.lang.BytepitchFamilyprotected java.lang.Stringtypeface -
Constructor Summary
Constructors Constructor Description TextFont() -
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.bytegetCharset()Gets the value of the charset property.java.lang.StringgetPanose()Gets the value of the panose property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.bytegetPitchFamily()Gets the value of the pitchFamily property.java.lang.StringgetTypeface()Gets the value of the typeface property.voidsetCharset(java.lang.Byte value)Sets the value of the charset property.voidsetPanose(java.lang.String value)Sets the value of the panose property.voidsetParent(java.lang.Object parent)voidsetPitchFamily(java.lang.Byte value)Sets the value of the pitchFamily property.voidsetTypeface(java.lang.String value)Sets the value of the typeface property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
typeface
protected java.lang.String typeface -
panose
protected java.lang.String panose -
pitchFamily
protected java.lang.Byte pitchFamily -
charset
protected java.lang.Byte charset
-
-
Constructor Details
-
TextFont
public TextFont()
-
-
Method Details
-
getTypeface
public java.lang.String getTypeface()Gets the value of the typeface property.- Returns:
- possible object is
String
-
setTypeface
public void setTypeface(java.lang.String value)Sets the value of the typeface property.- Parameters:
value- allowed object isString
-
getPanose
public java.lang.String getPanose()Gets the value of the panose property.- Returns:
- possible object is
String
-
setPanose
public void setPanose(java.lang.String value)Sets the value of the panose property.- Parameters:
value- allowed object isString
-
getPitchFamily
public byte getPitchFamily()Gets the value of the pitchFamily property.- Returns:
- possible object is
Byte
-
setPitchFamily
public void setPitchFamily(java.lang.Byte value)Sets the value of the pitchFamily property.- Parameters:
value- allowed object isByte
-
getCharset
public byte getCharset()Gets the value of the charset property.- Returns:
- possible object is
Byte
-
setCharset
public void setCharset(java.lang.Byte value)Sets the value of the charset property.- Parameters:
value- allowed object isByte
-
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.
-