Class FontRel

java.lang.Object
org.docx4j.wml.CTRel
org.docx4j.wml.FontRel
All Implemented Interfaces:
Child

public class FontRel extends CTRel

Java class for CT_FontRel complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_FontRel">
   <complexContent>
     <extension base="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Rel">
       <attribute name="fontKey" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Guid" />
       <attribute name="subsetted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • fontKey

      protected String fontKey
    • subsetted

      protected Boolean subsetted
  • Constructor Details

    • FontRel

      public FontRel()
  • Method Details

    • getFontKey

      public String getFontKey()
      Gets the value of the fontKey property.
      Returns:
      possible object is String
    • setFontKey

      public void setFontKey(String value)
      Sets the value of the fontKey property.
      Parameters:
      value - allowed object is String
    • isSubsetted

      public boolean isSubsetted()
      Gets the value of the subsetted property.
      Returns:
      possible object is Boolean
    • setSubsetted

      public void setSubsetted(Boolean value)
      Sets the value of the subsetted property.
      Parameters:
      value - allowed object is Boolean
    • 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.
      Overrides:
      afterUnmarshal in class CTRel
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.