Class Fonts.Font

java.lang.Object
org.docx4j.convert.out.fopconf.Fonts.Font
Enclosing class:
Fonts

public static class Fonts.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>
         <element name="font-triplet" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="style" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="weight" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="simulate-style" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="embed-url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="sub-font" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Font

      public Font()
  • Method Details

    • getFontTriplet

      public List<Fonts.Font.FontTriplet> getFontTriplet()
      Gets the value of the fontTriplet property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the fontTriplet property.

      For example, to add a new item, do as follows:

          getFontTriplet().add(newItem);
       

      Objects of the following type(s) are allowed in the list Fonts.Font.FontTriplet

    • isSimulateStyle

      public boolean isSimulateStyle()
      Gets the value of the simulateStyle property.
    • setSimulateStyle

      public void setSimulateStyle(boolean value)
      Sets the value of the simulateStyle property.
    • getEmbedUrl

      public String getEmbedUrl()
      Gets the value of the embedUrl property.
      Returns:
      possible object is String
    • setEmbedUrl

      public void setEmbedUrl(String value)
      Sets the value of the embedUrl property.
      Parameters:
      value - allowed object is String
    • getSubFont

      public String getSubFont()
      Gets the value of the subFont property.
      Returns:
      possible object is String
    • setSubFont

      public void setSubFont(String value)
      Sets the value of the subFont property.
      Parameters:
      value - allowed object is String