Class MicrosoftFonts.Font

java.lang.Object
org.docx4j.fonts.microsoft.MicrosoftFonts.Font
Enclosing class:
MicrosoftFonts

public static class MicrosoftFonts.Font
extends java.lang.Object

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 minOccurs="0">
         <element name="bold" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="italic" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="bolditalic" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="coreWebFont" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="clearTypeCollection" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="secondary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • bold

      protected MicrosoftFonts.Font.Bold bold
    • italic

      protected MicrosoftFonts.Font.Italic italic
    • bolditalic

      protected MicrosoftFonts.Font.Bolditalic bolditalic
    • name

      protected java.lang.String name
    • filename

      protected java.lang.String filename
    • mac

      protected java.lang.String mac
    • coreWebFont

      protected java.lang.Boolean coreWebFont
    • clearTypeCollection

      protected java.lang.Boolean clearTypeCollection
    • secondary

      protected java.lang.Boolean secondary
  • Constructor Details

    • Font

      public Font()
  • Method Details

    • getBold

      public MicrosoftFonts.Font.Bold getBold()
      Gets the value of the bold property.
      Returns:
      possible object is MicrosoftFonts.Font.Bold
    • setBold

      public void setBold​(MicrosoftFonts.Font.Bold value)
      Sets the value of the bold property.
      Parameters:
      value - allowed object is MicrosoftFonts.Font.Bold
    • getItalic

      public MicrosoftFonts.Font.Italic getItalic()
      Gets the value of the italic property.
      Returns:
      possible object is MicrosoftFonts.Font.Italic
    • setItalic

      public void setItalic​(MicrosoftFonts.Font.Italic value)
      Sets the value of the italic property.
      Parameters:
      value - allowed object is MicrosoftFonts.Font.Italic
    • getBolditalic

      public MicrosoftFonts.Font.Bolditalic getBolditalic()
      Gets the value of the bolditalic property.
      Returns:
      possible object is MicrosoftFonts.Font.Bolditalic
    • setBolditalic

      public void setBolditalic​(MicrosoftFonts.Font.Bolditalic value)
      Sets the value of the bolditalic property.
      Parameters:
      value - allowed object is MicrosoftFonts.Font.Bolditalic
    • getName

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

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

      public java.lang.String getFilename()
      Gets the value of the filename property.
      Returns:
      possible object is String
    • setFilename

      public void setFilename​(java.lang.String value)
      Sets the value of the filename property.
      Parameters:
      value - allowed object is String
    • getMac

      public java.lang.String getMac()
      Gets the value of the mac property.
      Returns:
      possible object is String
    • setMac

      public void setMac​(java.lang.String value)
      Sets the value of the mac property.
      Parameters:
      value - allowed object is String
    • isCoreWebFont

      public java.lang.Boolean isCoreWebFont()
      Gets the value of the coreWebFont property.
      Returns:
      possible object is Boolean
    • setCoreWebFont

      public void setCoreWebFont​(java.lang.Boolean value)
      Sets the value of the coreWebFont property.
      Parameters:
      value - allowed object is Boolean
    • isClearTypeCollection

      public java.lang.Boolean isClearTypeCollection()
      Gets the value of the clearTypeCollection property.
      Returns:
      possible object is Boolean
    • setClearTypeCollection

      public void setClearTypeCollection​(java.lang.Boolean value)
      Sets the value of the clearTypeCollection property.
      Parameters:
      value - allowed object is Boolean
    • isSecondary

      public java.lang.Boolean isSecondary()
      Gets the value of the secondary property.
      Returns:
      possible object is Boolean
    • setSecondary

      public void setSecondary​(java.lang.Boolean value)
      Sets the value of the secondary property.
      Parameters:
      value - allowed object is Boolean