public class CTFont extends Object implements 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>
Modifier and Type | Field and Description |
---|---|
protected List<JAXBElement<?>> |
nameOrCharsetOrFamily |
Constructor and Description |
---|
CTFont() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
List<JAXBElement<?>> |
getNameOrCharsetOrFamily()
Gets the value of the nameOrCharsetOrFamily property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setParent(Object parent) |
protected List<JAXBElement<?>> nameOrCharsetOrFamily
public List<JAXBElement<?>> getNameOrCharsetOrFamily()
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 set
method 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
>
public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2019. All Rights Reserved.