org.docx4j.fonts.substitutions
Class FontSubstitutions

java.lang.Object
  extended by org.docx4j.fonts.substitutions.FontSubstitutions

public class FontSubstitutions
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>
         <element name="replace" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="SubstFonts" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="SubstFontsMS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="SubstFontsPS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="SubstFontsHTML" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="FontWeight" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="FontWidth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="FontType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class FontSubstitutions.Replace
          Java class for anonymous complex type.
 
Constructor Summary
FontSubstitutions()
           
 
Method Summary
 java.util.List<FontSubstitutions.Replace> getReplace()
          Gets the value of the replace property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSubstitutions

public FontSubstitutions()
Method Detail

getReplace

public java.util.List<FontSubstitutions.Replace> getReplace()
Gets the value of the replace 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 replace property.

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

    getReplace().add(newItem);
 

Objects of the following type(s) are allowed in the list FontSubstitutions.Replace