Class CTFont
- All Implemented Interfaces:
Child
Java class for CT_Font complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Font">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="name" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FontName" minOccurs="0"/>
<element name="charset" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_IntProperty" minOccurs="0"/>
<element name="family" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FontFamily" minOccurs="0"/>
<element name="b" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="i" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="strike" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="outline" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="shadow" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="condense" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="extend" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_BooleanProperty" minOccurs="0"/>
<element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color" minOccurs="0"/>
<element name="sz" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FontSize" minOccurs="0"/>
<element name="u" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_UnderlineProperty" minOccurs="0"/>
<element name="vertAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_VerticalAlignFontProperty" minOccurs="0"/>
<element name="scheme" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FontScheme" minOccurs="0"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
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.List<jakarta.xml.bind.JAXBElement<?>>Gets the value of the nameOrCharsetOrFamily property.Gets the parent object in the object tree representing the unmarshalled xml document.void
-
Field Details
-
nameOrCharsetOrFamily
-
-
Constructor Details
-
CTFont
public CTFont()
-
-
Method Details
-
getNameOrCharsetOrFamily
Gets the value of the nameOrCharsetOrFamily 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 nameOrCharsetOrFamily property.For example, to add a new item, do as follows:
getNameOrCharsetOrFamily().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<CTBooleanProperty>JAXBElement<CTBooleanProperty>JAXBElement<CTBooleanProperty>JAXBElement<CTBooleanProperty>JAXBElement<CTFontSize>JAXBElement<CTFontScheme>JAXBElement<CTBooleanProperty>JAXBElement<CTFontFamily>JAXBElement<CTFontName>JAXBElement<CTColor>JAXBElement<CTUnderlineProperty>JAXBElement<CTBooleanProperty>JAXBElement<CTIntProperty>JAXBElement<CTVerticalAlignFontProperty>JAXBElement<CTBooleanProperty> -
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.
-