Package org.docx4j.fonts.microsoft
Class MicrosoftFonts.Font
java.lang.Object
org.docx4j.fonts.microsoft.MicrosoftFonts.Font
- Enclosing class:
- MicrosoftFonts
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MicrosoftFonts.Font.Boldprotected MicrosoftFonts.Font.Bolditalicprotected Booleanprotected Booleanprotected Stringprotected MicrosoftFonts.Font.Italicprotected Stringprotected Stringprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBold()Gets the value of the bold property.Gets the value of the bolditalic property.Gets the value of the filename property.Gets the value of the italic property.getMac()Gets the value of the mac property.getName()Gets the value of the name property.Gets the value of the clearTypeCollection property.Gets the value of the coreWebFont property.Gets the value of the secondary property.voidsetBold(MicrosoftFonts.Font.Bold value) Sets the value of the bold property.voidSets the value of the bolditalic property.voidsetClearTypeCollection(Boolean value) Sets the value of the clearTypeCollection property.voidsetCoreWebFont(Boolean value) Sets the value of the coreWebFont property.voidsetFilename(String value) Sets the value of the filename property.voidSets the value of the italic property.voidSets the value of the mac property.voidSets the value of the name property.voidsetSecondary(Boolean value) Sets the value of the secondary property.
-
Field Details
-
bold
-
italic
-
bolditalic
-
name
-
filename
-
mac
-
coreWebFont
-
clearTypeCollection
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getFilename
Gets the value of the filename property.- Returns:
- possible object is
String
-
setFilename
Sets the value of the filename property.- Parameters:
value- allowed object isString
-
getMac
Gets the value of the mac property.- Returns:
- possible object is
String
-
setMac
Sets the value of the mac property.- Parameters:
value- allowed object isString
-
isCoreWebFont
Gets the value of the coreWebFont property.- Returns:
- possible object is
Boolean
-
setCoreWebFont
Sets the value of the coreWebFont property.- Parameters:
value- allowed object isBoolean
-
isClearTypeCollection
Gets the value of the clearTypeCollection property.- Returns:
- possible object is
Boolean
-
setClearTypeCollection
Sets the value of the clearTypeCollection property.- Parameters:
value- allowed object isBoolean
-
isSecondary
Gets the value of the secondary property.- Returns:
- possible object is
Boolean
-
setSecondary
Sets the value of the secondary property.- Parameters:
value- allowed object isBoolean
-