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.Byte charset  
    protected java.lang.String panose  
    protected java.lang.Byte pitchFamily  
    protected java.lang.String typeface  
  • Constructor Summary

    Constructors
    Constructor Description
    TextFont()  
  • Method Summary

    Modifier and Type Method Description
    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.
    byte getCharset()
    Gets the value of the charset property.
    java.lang.String getPanose()
    Gets the value of the panose property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    byte getPitchFamily()
    Gets the value of the pitchFamily property.
    java.lang.String getTypeface()
    Gets the value of the typeface property.
    void setCharset​(java.lang.Byte value)
    Sets the value of the charset property.
    void setPanose​(java.lang.String value)
    Sets the value of the panose property.
    void setParent​(java.lang.Object parent)  
    void setPitchFamily​(java.lang.Byte value)
    Sets the value of the pitchFamily property.
    void setTypeface​(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 is String
    • 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 is String
    • 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 is Byte
    • 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 is Byte
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.