Package org.docx4j.fonts.microsoft
Class MicrosoftFonts
java.lang.Object
org.docx4j.fonts.microsoft.MicrosoftFonts
public class MicrosoftFonts
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">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence minOccurs="0">
<element name="bold" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="italic" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="bolditalic" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="filename" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="coreWebFont" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="clearTypeCollection" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="secondary" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMicrosoftFonts.FontJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MicrosoftFonts.Font>font -
Constructor Summary
Constructors Constructor Description MicrosoftFonts() -
Method Summary
Modifier and Type Method Description java.util.List<MicrosoftFonts.Font>getFont()Gets the value of the font property.
-
Field Details
-
Constructor Details
-
MicrosoftFonts
public MicrosoftFonts()
-
-
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
MicrosoftFonts.Font
-