Package org.docx4j.convert.out.fopconf
Class Fonts.Font
java.lang.Object
org.docx4j.convert.out.fopconf.Fonts.Font
- Enclosing class:
- Fonts
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected List<Fonts.Font.FontTriplet>protected booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the embedUrl property.Gets the value of the fontTriplet property.Gets the value of the subFont property.booleanGets the value of the simulateStyle property.voidsetEmbedUrl(String value) Sets the value of the embedUrl property.voidsetSimulateStyle(boolean value) Sets the value of the simulateStyle property.voidsetSubFont(String value) Sets the value of the subFont property.
-
Field Details
-
fontTriplet
-
simulateStyle
protected boolean simulateStyle -
embedUrl
-
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
Gets the value of the embedUrl property.- Returns:
- possible object is
String
-
setEmbedUrl
Sets the value of the embedUrl property.- Parameters:
value- allowed object isString
-
getSubFont
Gets the value of the subFont property.- Returns:
- possible object is
String
-
setSubFont
Sets the value of the subFont property.- Parameters:
value- allowed object isString
-