Package org.docx4j.wml
Class Fonts.Font
java.lang.Object
org.docx4j.wml.Fonts.Font
- All Implemented Interfaces:
Child
- 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="altName" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="panose1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Panose" minOccurs="0"/>
<element name="charset" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_UcharHexNumber" minOccurs="0"/>
<element name="family" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontFamily" minOccurs="0"/>
<element name="notTrueType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element name="pitch" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Pitch" minOccurs="0"/>
<element name="sig" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontSig" minOccurs="0"/>
<element name="embedRegular" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
<element name="embedBold" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
<element name="embedItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
<element name="embedBoldItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Fonts.Font.AltNameprotected CTUcharHexNumberprotected FontRelprotected FontRelprotected FontRelprotected FontRelprotected FontFamilyprotected Stringprotected BooleanDefaultTrueprotected FontPanoseprotected FontPitchprotected FontSig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the altName property.Gets the value of the charset property.Gets the value of the embedBold property.Gets the value of the embedBoldItalic property.Gets the value of the embedItalic property.Gets the value of the embedRegular property.Gets the value of the family property.getName()Gets the value of the name property.Gets the value of the notTrueType property.Gets the value of the panose1 property.Gets the parent object in the object tree representing the unmarshalled xml document.getPitch()Gets the value of the pitch property.getSig()Gets the value of the sig property.voidsetAltName(Fonts.Font.AltName value) Sets the value of the altName property.voidsetCharset(CTUcharHexNumber value) Sets the value of the charset property.voidsetEmbedBold(FontRel value) Sets the value of the embedBold property.voidsetEmbedBoldItalic(FontRel value) Sets the value of the embedBoldItalic property.voidsetEmbedItalic(FontRel value) Sets the value of the embedItalic property.voidsetEmbedRegular(FontRel value) Sets the value of the embedRegular property.voidsetFamily(FontFamily value) Sets the value of the family property.voidSets the value of the name property.voidsetNotTrueType(BooleanDefaultTrue value) Sets the value of the notTrueType property.voidsetPanose1(FontPanose value) Sets the value of the panose1 property.voidvoidSets the value of the pitch property.voidSets the value of the sig property.
-
Field Details
-
altName
-
panose1
-
charset
-
family
-
notTrueType
-
pitch
-
sig
-
embedRegular
-
embedBold
-
embedItalic
-
embedBoldItalic
-
name
-
-
Constructor Details
-
Font
public Font()
-
-
Method Details
-
getAltName
Gets the value of the altName property.- Returns:
- possible object is
Fonts.Font.AltName
-
setAltName
Sets the value of the altName property.- Parameters:
value- allowed object isFonts.Font.AltName
-
getPanose1
Gets the value of the panose1 property.- Returns:
- possible object is
FontPanose
-
setPanose1
Sets the value of the panose1 property.- Parameters:
value- allowed object isFontPanose
-
getCharset
Gets the value of the charset property.- Returns:
- possible object is
CTUcharHexNumber
-
setCharset
Sets the value of the charset property.- Parameters:
value- allowed object isCTUcharHexNumber
-
getFamily
Gets the value of the family property.- Returns:
- possible object is
FontFamily
-
setFamily
Sets the value of the family property.- Parameters:
value- allowed object isFontFamily
-
getNotTrueType
Gets the value of the notTrueType property.- Returns:
- possible object is
BooleanDefaultTrue
-
setNotTrueType
Sets the value of the notTrueType property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getPitch
Gets the value of the pitch property.- Returns:
- possible object is
FontPitch
-
setPitch
Sets the value of the pitch property.- Parameters:
value- allowed object isFontPitch
-
getSig
Gets the value of the sig property.- Returns:
- possible object is
FontSig
-
setSig
Sets the value of the sig property.- Parameters:
value- allowed object isFontSig
-
getEmbedRegular
Gets the value of the embedRegular property.- Returns:
- possible object is
FontRel
-
setEmbedRegular
Sets the value of the embedRegular property.- Parameters:
value- allowed object isFontRel
-
getEmbedBold
Gets the value of the embedBold property.- Returns:
- possible object is
FontRel
-
setEmbedBold
Sets the value of the embedBold property.- Parameters:
value- allowed object isFontRel
-
getEmbedItalic
Gets the value of the embedItalic property.- Returns:
- possible object is
FontRel
-
setEmbedItalic
Sets the value of the embedItalic property.- Parameters:
value- allowed object isFontRel
-
getEmbedBoldItalic
Gets the value of the embedBoldItalic property.- Returns:
- possible object is
FontRel
-
setEmbedBoldItalic
Sets the value of the embedBoldItalic property.- Parameters:
value- allowed object isFontRel
-
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
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-