Class CTRElt

java.lang.Object
org.xlsx4j.sml.CTRElt
All Implemented Interfaces:
Child

public class CTRElt
extends java.lang.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>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected CTRPrElt rPr  
    protected CTXstringWhitespace t  
  • Constructor Summary

    Constructors
    Constructor Description
    CTRElt()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.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​(java.lang.Object parent)  
    void setRPr​(CTRPrElt value)
    Sets the value of the rPr property.
    void setT​(CTXstringWhitespace value)
    Sets the value of the t property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CTRElt

      public CTRElt()
  • Method Details

    • getRPr

      public CTRPrElt getRPr()
      Gets the value of the rPr property.
      Returns:
      possible object is CTRPrElt
    • setRPr

      public void setRPr​(CTRPrElt value)
      Sets the value of the rPr property.
      Parameters:
      value - allowed object is CTRPrElt
    • getT

      public CTXstringWhitespace getT()
      Gets the value of the t property.
      Returns:
      possible object is CTXstringWhitespace
    • setT

      public void setT​(CTXstringWhitespace value)
      Sets the value of the t property.
      Parameters:
      value - allowed object is CTXstringWhitespace
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      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.