Class CTTrPrBase

java.lang.Object
org.docx4j.wml.CTTrPrBase
All Implemented Interfaces:
Child
Direct Known Subclasses:
TrPr

public class CTTrPrBase extends Object implements Child

Java class for CT_TrPrBase complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_TrPrBase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="cnfStyle" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Cnf" minOccurs="0"/>
         <element name="divId" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="gridBefore" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="gridAfter" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="wBefore" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="wAfter" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="cantSplit" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="trHeight" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Height" minOccurs="0"/>
         <element name="tblHeader" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="tblCellSpacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="jc" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Jc" minOccurs="0"/>
         <element name="hidden" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • cnfStyleOrDivIdOrGridBefore

      protected List<jakarta.xml.bind.JAXBElement<?>> cnfStyleOrDivIdOrGridBefore
  • Constructor Details

    • CTTrPrBase

      public CTTrPrBase()
  • Method Details

    • getCnfStyleOrDivIdOrGridBefore

      public List<jakarta.xml.bind.JAXBElement<?>> getCnfStyleOrDivIdOrGridBefore()
      Gets the value of the cnfStyleOrDivIdOrGridBefore 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 cnfStyleOrDivIdOrGridBefore property.

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

          getCnfStyleOrDivIdOrGridBefore().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<BooleanDefaultTrue> JAXBElement<TblWidth> JAXBElement<TblWidth> JAXBElement<CTTrPrBase.GridAfter> JAXBElement<CTTrPrBase.DivId> JAXBElement<TblWidth> JAXBElement<CTCnf> JAXBElement<CTHeight> JAXBElement<BooleanDefaultTrue> JAXBElement<BooleanDefaultTrue> JAXBElement<CTTrPrBase.GridBefore> JAXBElement<Jc>

    • 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.