Class Tr

java.lang.Object
org.docx4j.wml.Tr
All Implemented Interfaces:
ContentAccessor, Child

public class Tr extends Object implements Child, ContentAccessor

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="tblPrEx" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblPrEx" minOccurs="0"/>
         <element name="trPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TrPr" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ContentCellContent" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://schemas.microsoft.com/office/word/2010/wordml}AG_Parids"/>
       <attribute name="rsidRPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidR" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidDel" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
       <attribute name="rsidTr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • tblPrEx

      protected CTTblPrEx tblPrEx
    • trPr

      protected TrPr trPr
    • content

      protected List<Object> content
    • rsidRPr

      protected String rsidRPr
    • rsidR

      protected String rsidR
    • rsidDel

      protected String rsidDel
    • rsidTr

      protected String rsidTr
    • paraId

      protected String paraId
    • textId

      protected String textId
  • Constructor Details

    • Tr

      public Tr()
  • Method Details

    • getTblPrEx

      public CTTblPrEx getTblPrEx()
      Gets the value of the tblPrEx property.
      Returns:
      possible object is CTTblPrEx
    • setTblPrEx

      public void setTblPrEx(CTTblPrEx value)
      Sets the value of the tblPrEx property.
      Parameters:
      value - allowed object is CTTblPrEx
    • getTrPr

      public TrPr getTrPr()
      Gets the value of the trPr property.
      Returns:
      possible object is TrPr
    • setTrPr

      public void setTrPr(TrPr value)
      Sets the value of the trPr property.
      Parameters:
      value - allowed object is TrPr
    • getContent

      public List<Object> getContent()
      Gets the value of the content 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 set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<CTMoveFromRangeEnd> JAXBElement<CTMarkupRange> JAXBElement<CTPerm> RunIns JAXBElement<CTBookmark> JAXBElement<CTCustomXmlCell> JAXBElement<CTTrackChange> JAXBElement<RunTrackChange> ProofErr CommentRangeEnd JAXBElement<Tc> JAXBElement<CTTrackChange> RunDel JAXBElement<RunTrackChange> JAXBElement<CTOMathPara> JAXBElement<CTTrackChange> JAXBElement<CTMarkup> JAXBElement<CTMarkup> JAXBElement<CTMarkup> CommentRangeStart JAXBElement<CTSdtCell> JAXBElement<CTTrackChange> JAXBElement<CTMoveBookmark> JAXBElement<CTOMath> JAXBElement<CTMoveToRangeEnd> JAXBElement<CTMoveBookmark> JAXBElement<CTMarkup> JAXBElement<RangePermissionStart>

      Specified by:
      getContent in interface ContentAccessor
      Since:
      2.7
    • getEGContentCellContent

      @Deprecated public List<Object> getEGContentCellContent()
      Deprecated.
    • getRsidRPr

      public String getRsidRPr()
      Gets the value of the rsidRPr property.
      Returns:
      possible object is String
    • setRsidRPr

      public void setRsidRPr(String value)
      Sets the value of the rsidRPr property.
      Parameters:
      value - allowed object is String
    • getRsidR

      public String getRsidR()
      Gets the value of the rsidR property.
      Returns:
      possible object is String
    • setRsidR

      public void setRsidR(String value)
      Sets the value of the rsidR property.
      Parameters:
      value - allowed object is String
    • getRsidDel

      public String getRsidDel()
      Gets the value of the rsidDel property.
      Returns:
      possible object is String
    • setRsidDel

      public void setRsidDel(String value)
      Sets the value of the rsidDel property.
      Parameters:
      value - allowed object is String
    • getRsidTr

      public String getRsidTr()
      Gets the value of the rsidTr property.
      Returns:
      possible object is String
    • setRsidTr

      public void setRsidTr(String value)
      Sets the value of the rsidTr property.
      Parameters:
      value - allowed object is String
    • getParaId

      public String getParaId()
      Gets the value of the paraId property.
      Returns:
      possible object is String
    • setParaId

      public void setParaId(String value)
      Sets the value of the paraId property.
      Parameters:
      value - allowed object is String
    • getTextId

      public String getTextId()
      Gets the value of the textId property.
      Returns:
      possible object is String
    • setTextId

      public void setTextId(String value)
      Sets the value of the textId property.
      Parameters:
      value - allowed object is String
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.