Package org.docx4j.fonts.microsoft
Class MicrosoftFonts.Font
java.lang.Object
org.docx4j.fonts.microsoft.MicrosoftFonts.Font
- Enclosing class:
- MicrosoftFonts
public static class MicrosoftFonts.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 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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMicrosoftFonts.Font.BoldJava class for anonymous complex type.static classMicrosoftFonts.Font.BolditalicJava class for anonymous complex type.static classMicrosoftFonts.Font.ItalicJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected MicrosoftFonts.Font.Boldboldprotected MicrosoftFonts.Font.Bolditalicbolditalicprotected java.lang.BooleanclearTypeCollectionprotected java.lang.BooleancoreWebFontprotected java.lang.Stringfilenameprotected MicrosoftFonts.Font.Italicitalicprotected java.lang.Stringmacprotected java.lang.Stringnameprotected java.lang.Booleansecondary -
Constructor Summary
Constructors Constructor Description Font() -
Method Summary
Modifier and Type Method Description MicrosoftFonts.Font.BoldgetBold()Gets the value of the bold property.MicrosoftFonts.Font.BolditalicgetBolditalic()Gets the value of the bolditalic property.java.lang.StringgetFilename()Gets the value of the filename property.MicrosoftFonts.Font.ItalicgetItalic()Gets the value of the italic property.java.lang.StringgetMac()Gets the value of the mac property.java.lang.StringgetName()Gets the value of the name property.java.lang.BooleanisClearTypeCollection()Gets the value of the clearTypeCollection property.java.lang.BooleanisCoreWebFont()Gets the value of the coreWebFont property.java.lang.BooleanisSecondary()Gets the value of the secondary property.voidsetBold(MicrosoftFonts.Font.Bold value)Sets the value of the bold property.voidsetBolditalic(MicrosoftFonts.Font.Bolditalic value)Sets the value of the bolditalic property.voidsetClearTypeCollection(java.lang.Boolean value)Sets the value of the clearTypeCollection property.voidsetCoreWebFont(java.lang.Boolean value)Sets the value of the coreWebFont property.voidsetFilename(java.lang.String value)Sets the value of the filename property.voidsetItalic(MicrosoftFonts.Font.Italic value)Sets the value of the italic property.voidsetMac(java.lang.String value)Sets the value of the mac property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetSecondary(java.lang.Boolean value)Sets the value of the secondary property.
-
Field Details
-
bold
-
italic
-
bolditalic
-
name
protected java.lang.String name -
filename
protected java.lang.String filename -
mac
protected java.lang.String mac -
coreWebFont
protected java.lang.Boolean coreWebFont -
clearTypeCollection
protected java.lang.Boolean clearTypeCollection -
secondary
protected java.lang.Boolean secondary
-
-
Constructor Details
-
Font
public Font()
-
-
Method Details
-
getBold
Gets the value of the bold property.- Returns:
- possible object is
MicrosoftFonts.Font.Bold
-
setBold
Sets the value of the bold property.- Parameters:
value- allowed object isMicrosoftFonts.Font.Bold
-
getItalic
Gets the value of the italic property.- Returns:
- possible object is
MicrosoftFonts.Font.Italic
-
setItalic
Sets the value of the italic property.- Parameters:
value- allowed object isMicrosoftFonts.Font.Italic
-
getBolditalic
Gets the value of the bolditalic property.- Returns:
- possible object is
MicrosoftFonts.Font.Bolditalic
-
setBolditalic
Sets the value of the bolditalic property.- Parameters:
value- allowed object isMicrosoftFonts.Font.Bolditalic
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getFilename
public java.lang.String getFilename()Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
public void setFilename(java.lang.String value)Sets the value of the filename property.- Parameters:
value- allowed object isString
-
getMac
public java.lang.String getMac()Gets the value of the mac property.- Returns:
- possible object is
String
-
setMac
public void setMac(java.lang.String value)Sets the value of the mac property.- Parameters:
value- allowed object isString
-
isCoreWebFont
public java.lang.Boolean isCoreWebFont()Gets the value of the coreWebFont property.- Returns:
- possible object is
Boolean
-
setCoreWebFont
public void setCoreWebFont(java.lang.Boolean value)Sets the value of the coreWebFont property.- Parameters:
value- allowed object isBoolean
-
isClearTypeCollection
public java.lang.Boolean isClearTypeCollection()Gets the value of the clearTypeCollection property.- Returns:
- possible object is
Boolean
-
setClearTypeCollection
public void setClearTypeCollection(java.lang.Boolean value)Sets the value of the clearTypeCollection property.- Parameters:
value- allowed object isBoolean
-
isSecondary
public java.lang.Boolean isSecondary()Gets the value of the secondary property.- Returns:
- possible object is
Boolean
-
setSecondary
public void setSecondary(java.lang.Boolean value)Sets the value of the secondary property.- Parameters:
value- allowed object isBoolean
-