Package org.docx4j.convert.out.fopconf
Class Fonts
java.lang.Object
org.docx4j.convert.out.fopconf.Fonts
public class Fonts
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="font" maxOccurs="unbounded" minOccurs="0">
<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>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFonts.FontJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Fonts.Font>font -
Constructor Summary
Constructors Constructor Description Fonts() -
Method Summary
Modifier and Type Method Description java.util.List<Fonts.Font>getFont()Gets the value of the font property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
font
-
-
Constructor Details
-
Fonts
public Fonts()
-
-
Method Details
-
getFont
Gets the value of the font 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 font property.For example, to add a new item, do as follows:
getFont().add(newItem);Objects of the following type(s) are allowed in the list
Fonts.Font
-