Class MicrosoftFonts.Font

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

public static class MicrosoftFonts.Font extends 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

  • 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 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
    • getFilename

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

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

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

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

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

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

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

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

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

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