public class CTRElt extends Object implements Child
This element represents a run of rich text. A rich text run is a region of text that share a common set of properties, such as formatting properties. The properties are defined in the rPr element, and the text displayed to the user is defined in the Text (t) element.
Java class for CT_RElt complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_RElt">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="rPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RPrElt" minOccurs="0"/>
<element name="t" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Xstring_Whitespace"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CTRPrElt |
rPr |
protected CTXstringWhitespace |
t |
| Constructor and Description |
|---|
CTRElt() |
| 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.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
CTRPrElt |
getRPr()
Gets the value of the rPr property.
|
CTXstringWhitespace |
getT()
Gets the value of the t property.
|
void |
setParent(Object parent) |
void |
setRPr(CTRPrElt value)
Sets the value of the rPr property.
|
void |
setT(CTXstringWhitespace value)
Sets the value of the t property.
|
protected CTRPrElt rPr
protected CTXstringWhitespace t
public CTRPrElt getRPr()
CTRPrEltpublic void setRPr(CTRPrElt value)
value - allowed object is
CTRPrEltpublic CTXstringWhitespace getT()
CTXstringWhitespacepublic void setT(CTXstringWhitespace value)
value - allowed object is
CTXstringWhitespacepublic 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-2021. All Rights Reserved.