Package org.docx4j.fonts.substitutions
Class FontSubstitutions
java.lang.Object
org.docx4j.fonts.substitutions.FontSubstitutions
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the replace property.
-
Field Details
-
replace
-
-
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
-