Package org.docx4j.fonts.substitutions
Class FontSubstitutions
java.lang.Object
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
Nested Classes Modifier and Type Class Description static classFontSubstitutions.ReplaceJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<FontSubstitutions.Replace>replace -
Constructor Summary
Constructors Constructor Description FontSubstitutions() -
Method Summary
Modifier and Type Method Description java.util.List<FontSubstitutions.Replace>getReplace()Gets the value of the replace property.
-
Field Details
-
Constructor Details
-
FontSubstitutions
public FontSubstitutions()
-
-
Method Details
-
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
setmethod 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
-