Package org.docx4j.convert.out.fopconf
Class Fonts.Font
java.lang.Object
org.docx4j.convert.out.fopconf.Fonts.Font
- Enclosing class:
- Fonts
public static class Fonts.Font
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-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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFonts.Font.FontTripletJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringembedUrlprotected java.util.List<Fonts.Font.FontTriplet>fontTripletprotected booleansimulateStyleprotected java.lang.StringsubFont -
Constructor Summary
Constructors Constructor Description Font() -
Method Summary
Modifier and Type Method Description java.lang.StringgetEmbedUrl()Gets the value of the embedUrl property.java.util.List<Fonts.Font.FontTriplet>getFontTriplet()Gets the value of the fontTriplet property.java.lang.StringgetSubFont()Gets the value of the subFont property.booleanisSimulateStyle()Gets the value of the simulateStyle property.voidsetEmbedUrl(java.lang.String value)Sets the value of the embedUrl property.voidsetSimulateStyle(boolean value)Sets the value of the simulateStyle property.voidsetSubFont(java.lang.String value)Sets the value of the subFont property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
fontTriplet
-
simulateStyle
protected boolean simulateStyle -
embedUrl
protected java.lang.String embedUrl -
subFont
protected java.lang.String subFont
-
-
Constructor Details
-
Font
public Font()
-
-
Method Details
-
getFontTriplet
Gets the value of the fontTriplet 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 fontTriplet property.For example, to add a new item, do as follows:
getFontTriplet().add(newItem);Objects of the following type(s) are allowed in the list
Fonts.Font.FontTriplet -
isSimulateStyle
public boolean isSimulateStyle()Gets the value of the simulateStyle property. -
setSimulateStyle
public void setSimulateStyle(boolean value)Sets the value of the simulateStyle property. -
getEmbedUrl
public java.lang.String getEmbedUrl()Gets the value of the embedUrl property.- Returns:
- possible object is
String
-
setEmbedUrl
public void setEmbedUrl(java.lang.String value)Sets the value of the embedUrl property.- Parameters:
value- allowed object isString
-
getSubFont
public java.lang.String getSubFont()Gets the value of the subFont property.- Returns:
- possible object is
String
-
setSubFont
public void setSubFont(java.lang.String value)Sets the value of the subFont property.- Parameters:
value- allowed object isString
-