Package org.docx4j.dml
Class TextFont
java.lang.Object
org.docx4j.dml.TextFont
- All Implemented Interfaces:
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 -
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.byteGets the value of the charset property.Gets the value of the panose property.Gets the parent object in the object tree representing the unmarshalled xml document.byteGets the value of the pitchFamily property.Gets the value of the typeface property.voidsetCharset(Byte value) Sets the value of the charset property.voidSets the value of the panose property.voidvoidsetPitchFamily(Byte value) Sets the value of the pitchFamily property.voidsetTypeface(String value) Sets the value of the typeface property.
-
Field Details
-
typeface
-
panose
-
pitchFamily
-
charset
-
-
Constructor Details
-
TextFont
public TextFont()
-
-
Method Details
-
getTypeface
Gets the value of the typeface property.- Returns:
- possible object is
String
-
setTypeface
Sets the value of the typeface property.- Parameters:
value- allowed object isString
-
getPanose
Gets the value of the panose property.- Returns:
- possible object is
String
-
setPanose
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
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
Sets the value of the charset property.- Parameters:
value- allowed object isByte
-
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.
-