Class Fonts.Font

java.lang.Object
org.docx4j.wml.Fonts.Font
All Implemented Interfaces:
Child
Enclosing class:
Fonts

public static class Fonts.Font extends 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="altName" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="panose1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Panose" minOccurs="0"/>
         <element name="charset" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_UcharHexNumber" minOccurs="0"/>
         <element name="family" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontFamily" minOccurs="0"/>
         <element name="notTrueType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="pitch" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Pitch" minOccurs="0"/>
         <element name="sig" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontSig" minOccurs="0"/>
         <element name="embedRegular" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedBold" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedBoldItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Font

      public Font()
  • Method Details

    • getAltName

      public Fonts.Font.AltName getAltName()
      Gets the value of the altName property.
      Returns:
      possible object is Fonts.Font.AltName
    • setAltName

      public void setAltName(Fonts.Font.AltName value)
      Sets the value of the altName property.
      Parameters:
      value - allowed object is Fonts.Font.AltName
    • getPanose1

      public FontPanose getPanose1()
      Gets the value of the panose1 property.
      Returns:
      possible object is FontPanose
    • setPanose1

      public void setPanose1(FontPanose value)
      Sets the value of the panose1 property.
      Parameters:
      value - allowed object is FontPanose
    • getCharset

      public CTUcharHexNumber getCharset()
      Gets the value of the charset property.
      Returns:
      possible object is CTUcharHexNumber
    • setCharset

      public void setCharset(CTUcharHexNumber value)
      Sets the value of the charset property.
      Parameters:
      value - allowed object is CTUcharHexNumber
    • getFamily

      public FontFamily getFamily()
      Gets the value of the family property.
      Returns:
      possible object is FontFamily
    • setFamily

      public void setFamily(FontFamily value)
      Sets the value of the family property.
      Parameters:
      value - allowed object is FontFamily
    • getNotTrueType

      public BooleanDefaultTrue getNotTrueType()
      Gets the value of the notTrueType property.
      Returns:
      possible object is BooleanDefaultTrue
    • setNotTrueType

      public void setNotTrueType(BooleanDefaultTrue value)
      Sets the value of the notTrueType property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getPitch

      public FontPitch getPitch()
      Gets the value of the pitch property.
      Returns:
      possible object is FontPitch
    • setPitch

      public void setPitch(FontPitch value)
      Sets the value of the pitch property.
      Parameters:
      value - allowed object is FontPitch
    • getSig

      public FontSig getSig()
      Gets the value of the sig property.
      Returns:
      possible object is FontSig
    • setSig

      public void setSig(FontSig value)
      Sets the value of the sig property.
      Parameters:
      value - allowed object is FontSig
    • getEmbedRegular

      public FontRel getEmbedRegular()
      Gets the value of the embedRegular property.
      Returns:
      possible object is FontRel
    • setEmbedRegular

      public void setEmbedRegular(FontRel value)
      Sets the value of the embedRegular property.
      Parameters:
      value - allowed object is FontRel
    • getEmbedBold

      public FontRel getEmbedBold()
      Gets the value of the embedBold property.
      Returns:
      possible object is FontRel
    • setEmbedBold

      public void setEmbedBold(FontRel value)
      Sets the value of the embedBold property.
      Parameters:
      value - allowed object is FontRel
    • getEmbedItalic

      public FontRel getEmbedItalic()
      Gets the value of the embedItalic property.
      Returns:
      possible object is FontRel
    • setEmbedItalic

      public void setEmbedItalic(FontRel value)
      Sets the value of the embedItalic property.
      Parameters:
      value - allowed object is FontRel
    • getEmbedBoldItalic

      public FontRel getEmbedBoldItalic()
      Gets the value of the embedBoldItalic property.
      Returns:
      possible object is FontRel
    • setEmbedBoldItalic

      public void setEmbedBoldItalic(FontRel value)
      Sets the value of the embedBoldItalic property.
      Parameters:
      value - allowed object is FontRel
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.