Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    *  Copyright 2007-2013, Plutext Pty Ltd.
    *   
    *  This file is part of docx4j.
   
       docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
       you may not use this file except in compliance with the License. 
   
       You may obtain a copy of the License at 
  
          http://www.apache.org/licenses/LICENSE-2.0 
  
      Unless required by applicable law or agreed to in writing, software 
      distributed under the License is distributed on an "AS IS" BASIS, 
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
      See the License for the specific language governing permissions and 
      limitations under the License.
  
   */
  
  
  package org.docx4j.wml; 
  
  

Java class for CT_TcPrInner complex type.

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

 <complexType name="CT_TcPrInner">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="cnfStyle" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Cnf" minOccurs="0"/>
         <element name="tcW" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="gridSpan" 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="hMerge" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="continue"/>
                       <enumeration value="restart"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="vMerge" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="continue"/>
                       <enumeration value="restart"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="tcBorders" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="insideH" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="insideV" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="tl2br" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                   <element name="tr2bl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="shd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Shd" minOccurs="0"/>
         <element name="noWrap" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="tcMar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TcMar" minOccurs="0"/>
         <element name="textDirection" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TextDirection" minOccurs="0"/>
         <element name="tcFitText" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="vAlign" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_VerticalJc" minOccurs="0"/>
         <element name="hideMark" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_CellMarkupElements" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TcPrInner", propOrder = {
     "cnfStyle",
     "tcW",
     "gridSpan",
     "hMerge",
     "vMerge",
     "tcBorders",
     "shd",
     "noWrap",
     "tcMar",
     "textDirection",
     "tcFitText",
     "vAlign",
     "hideMark",
     "cellIns",
     "cellDel",
     "cellMerge"
 })
 public class TcPrInner implements Child
 {
 
     protected CTCnf cnfStyle;
     protected TblWidth tcW;
     protected TcPrInner.GridSpan gridSpan;
     protected TcPrInner.HMerge hMerge;
     protected TcPrInner.VMerge vMerge;
     protected TcPrInner.TcBorders tcBorders;
     protected CTShd shd;
     protected BooleanDefaultTrue noWrap;
     protected TcMar tcMar;
     protected TextDirection textDirection;
     protected BooleanDefaultTrue tcFitText;
     protected CTVerticalJc vAlign;
     protected BooleanDefaultTrue hideMark;
     protected CTTrackChange cellIns;
     protected CTTrackChange cellDel;
     protected CTCellMergeTrackChange cellMerge;
     @XmlTransient
     private Object parent;

    
Gets the value of the cnfStyle property.

Returns:
possible object is
 
     public CTCnf getCnfStyle() {
         return ;
     }

    
Sets the value of the cnfStyle property.

Parameters:
value allowed object is
 
     public void setCnfStyle(CTCnf value) {
         this. = value;
     }

    
Gets the value of the tcW property.

Returns:
possible object is
 
     public TblWidth getTcW() {
         return ;
     }

    
Sets the value of the tcW property.

Parameters:
value allowed object is
 
     public void setTcW(TblWidth value) {
         this. = value;
     }

    
Gets the value of the gridSpan property.

Returns:
possible object is
 
     public TcPrInner.GridSpan getGridSpan() {
         return ;
     }

    
Sets the value of the gridSpan property.

Parameters:
value allowed object is
 
     public void setGridSpan(TcPrInner.GridSpan value) {
         this. = value;
     }

    
Gets the value of the hMerge property.

Returns:
possible object is
 
     public TcPrInner.HMerge getHMerge() {
         return ;
     }

    
Sets the value of the hMerge property.

Parameters:
value allowed object is
 
     public void setHMerge(TcPrInner.HMerge value) {
         this. = value;
     }

    
Gets the value of the vMerge property.

Returns:
possible object is
 
     public TcPrInner.VMerge getVMerge() {
         return ;
     }

    
Sets the value of the vMerge property.

Parameters:
value allowed object is
 
     public void setVMerge(TcPrInner.VMerge value) {
         this. = value;
     }

    
Gets the value of the tcBorders property.

Returns:
possible object is
 
     public TcPrInner.TcBorders getTcBorders() {
         return ;
     }

    
Sets the value of the tcBorders property.

Parameters:
value allowed object is
 
     public void setTcBorders(TcPrInner.TcBorders value) {
         this. = value;
     }

    
Gets the value of the shd property.

Returns:
possible object is
 
     public CTShd getShd() {
         return ;
     }

    
Sets the value of the shd property.

Parameters:
value allowed object is
 
     public void setShd(CTShd value) {
         this. = value;
     }

    
Gets the value of the noWrap property.

Returns:
possible object is
 
     public BooleanDefaultTrue getNoWrap() {
         return ;
     }

    
Sets the value of the noWrap property.

Parameters:
value allowed object is
 
     public void setNoWrap(BooleanDefaultTrue value) {
         this. = value;
     }

    
Gets the value of the tcMar property.

Returns:
possible object is
 
     public TcMar getTcMar() {
         return ;
     }

    
Sets the value of the tcMar property.

Parameters:
value allowed object is
 
     public void setTcMar(TcMar value) {
         this. = value;
     }

    
Gets the value of the textDirection property.

Returns:
possible object is
 
     public TextDirection getTextDirection() {
         return ;
     }

    
Sets the value of the textDirection property.

Parameters:
value allowed object is
 
     public void setTextDirection(TextDirection value) {
         this. = value;
     }

    
Gets the value of the tcFitText property.

Returns:
possible object is
 
     public BooleanDefaultTrue getTcFitText() {
         return ;
     }

    
Sets the value of the tcFitText property.

Parameters:
value allowed object is
 
     public void setTcFitText(BooleanDefaultTrue value) {
         this. = value;
     }

    
Gets the value of the vAlign property.

Returns:
possible object is
 
     public CTVerticalJc getVAlign() {
         return ;
     }

    
Sets the value of the vAlign property.

Parameters:
value allowed object is
 
     public void setVAlign(CTVerticalJc value) {
         this. = value;
     }

    
Gets the value of the hideMark property.

Returns:
possible object is
 
     public BooleanDefaultTrue getHideMark() {
         return ;
     }

    
Sets the value of the hideMark property.

Parameters:
value allowed object is
 
     public void setHideMark(BooleanDefaultTrue value) {
         this. = value;
     }

    
Gets the value of the cellIns property.

Returns:
possible object is
 
     public CTTrackChange getCellIns() {
         return ;
     }

    
Sets the value of the cellIns property.

Parameters:
value allowed object is
 
     public void setCellIns(CTTrackChange value) {
         this. = value;
     }

    
Gets the value of the cellDel property.

Returns:
possible object is
 
     public CTTrackChange getCellDel() {
         return ;
     }

    
Sets the value of the cellDel property.

Parameters:
value allowed object is
 
     public void setCellDel(CTTrackChange value) {
         this. = value;
     }

    
Gets the value of the cellMerge property.

Returns:
possible object is
 
     public CTCellMergeTrackChange getCellMerge() {
         return ;
     }

    
Sets the value of the cellMerge property.

Parameters:
value allowed object is
 
     public void setCellMerge(CTCellMergeTrackChange value) {
         this. = value;
     }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
 
     public Object getParent() {
         return this.;
     }
 
     public void setParent(Object parent) {
         this. = 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.
 
     public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
         setParent(parent);
     }


    

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">
       <attribute name="val" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "")
     public static class GridSpan implements Child
     {
 
         @XmlAttribute(name = "val", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
         protected BigInteger val;
         @XmlTransient
         private Object parent;

        
Gets the value of the val property.

Returns:
possible object is
 
         public BigInteger getVal() {
             return ;
         }

        
Sets the value of the val property.

Parameters:
value allowed object is
 
         public void setVal(BigInteger value) {
             this. = value;
         }

        
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
 
         public Object getParent() {
             return this.;
         }
 
         public void setParent(Object parent) {
             this. = 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.
 
         public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
             setParent(parent);
         }
 
     }


    

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">
       <attribute name="val">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="continue"/>
             <enumeration value="restart"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "")
     public static class HMerge implements Child
     {
 
         @XmlAttribute(name = "val", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
         protected String val;
         @XmlTransient
         private Object parent;

        
Gets the value of the val property.

Returns:
possible object is
 
         public String getVal() {
             return ;
         }

        
Sets the value of the val property.

Parameters:
value allowed object is
 
         public void setVal(String value) {
             this. = value;
         }

        
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
 
         public Object getParent() {
             return this.;
         }
 
         public void setParent(Object parent) {
             this. = 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.
 
         public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
             setParent(parent);
         }
 
     }


    

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="top" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="left" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="bottom" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="right" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="insideH" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="insideV" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="tl2br" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
         <element name="tr2bl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Border" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
     @XmlType(name = "", propOrder = {
         "top",
         "left",
         "bottom",
         "right",
         "insideH",
         "insideV",
         "tl2Br",
         "tr2Bl"
     })
     public static class TcBorders implements Child
     {
 
         protected CTBorder top;
         protected CTBorder left;
         protected CTBorder bottom;
         protected CTBorder right;
         protected CTBorder insideH;
         protected CTBorder insideV;
         @XmlElement(name = "tl2br")
         protected CTBorder tl2Br;
         @XmlElement(name = "tr2bl")
         protected CTBorder tr2Bl;
         @XmlTransient
         private Object parent;

        
Gets the value of the top property.

Returns:
possible object is
 
         public CTBorder getTop() {
             return ;
         }

        
Sets the value of the top property.

Parameters:
value allowed object is
 
         public void setTop(CTBorder value) {
             this. = value;
         }

        
Gets the value of the left property.

Returns:
possible object is
 
         public CTBorder getLeft() {
             return ;
         }

        
Sets the value of the left property.

Parameters:
value allowed object is
 
         public void setLeft(CTBorder value) {
             this. = value;
         }

        
Gets the value of the bottom property.

Returns:
possible object is
 
         public CTBorder getBottom() {
             return ;
         }

        
Sets the value of the bottom property.

Parameters:
value allowed object is
 
         public void setBottom(CTBorder value) {
             this. = value;
         }

        
Gets the value of the right property.

Returns:
possible object is
 
         public CTBorder getRight() {
             return ;
         }

        
Sets the value of the right property.

Parameters:
value allowed object is
 
         public void setRight(CTBorder value) {
             this. = value;
         }

        
Gets the value of the insideH property.

Returns:
possible object is
 
         public CTBorder getInsideH() {
             return ;
         }

        
Sets the value of the insideH property.

Parameters:
value allowed object is
 
         public void setInsideH(CTBorder value) {
             this. = value;
         }

        
Gets the value of the insideV property.

Returns:
possible object is
 
         public CTBorder getInsideV() {
             return ;
         }

        
Sets the value of the insideV property.

Parameters:
value allowed object is
 
         public void setInsideV(CTBorder value) {
             this. = value;
         }

        
Gets the value of the tl2Br property.

Returns:
possible object is
 
         public CTBorder getTl2Br() {
             return ;
         }

        
Sets the value of the tl2Br property.

Parameters:
value allowed object is
 
         public void setTl2Br(CTBorder value) {
             this. = value;
         }

        
Gets the value of the tr2Bl property.

Returns:
possible object is
 
         public CTBorder getTr2Bl() {
             return ;
         }

        
Sets the value of the tr2Bl property.

Parameters:
value allowed object is
 
         public void setTr2Bl(CTBorder value) {
             this. = value;
         }

        
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
        public Object getParent() {
            return this.;
        }
        public void setParent(Object parent) {
            this. = 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.
        public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
            setParent(parent);
        }
    }


    

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">
       <attribute name="val">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="continue"/>
             <enumeration value="restart"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "")
    public static class VMerge implements Child
    {
        @XmlAttribute(name = "val", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
        protected String val;
        @XmlTransient
        private Object parent;

        
Gets the value of the val property.

Returns:
possible object is
        public String getVal() {
            return ;
        }

        
Sets the value of the val property.

Parameters:
value allowed object is
        public void setVal(String value) {
            this. = value;
        }

        
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
        public Object getParent() {
            return this.;
        }
        public void setParent(Object parent) {
            this. = 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.
        public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
            setParent(parent);
        }
    }
New to GrepCode? Check out our FAQ X