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_TblPrExBase complex type.

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

 <complexType name="CT_TblPrExBase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tblW" 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="tblCellSpacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="tblInd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblWidth" minOccurs="0"/>
         <element name="tblBorders" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblBorders" minOccurs="0"/>
         <element name="shd" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Shd" minOccurs="0"/>
         <element name="tblLayout" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblLayoutType" minOccurs="0"/>
         <element name="tblCellMar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblCellMar" minOccurs="0"/>
         <element name="tblLook" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TblLook" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TblPrExBase", propOrder = {
     "tblW",
     "jc",
     "tblCellSpacing",
     "tblInd",
     "tblBorders",
     "shd",
     "tblLayout",
     "tblCellMar",
     "tblLook"
 })
 public class CTTblPrExBase implements Child
 {
 
     protected TblWidth tblW;
     protected Jc jc;
     protected TblWidth tblCellSpacing;
     protected TblWidth tblInd;
     protected TblBorders tblBorders;
     protected CTShd shd;
     protected CTTblLayoutType tblLayout;
     protected CTTblCellMar tblCellMar;
     protected CTTblLook tblLook;
     @XmlTransient
     private Object parent;

    
Gets the value of the tblW property.

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

    
Sets the value of the tblW property.

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

    
Gets the value of the jc property.

Returns:
possible object is
    public Jc getJc() {
        return ;
    }

    
Sets the value of the jc property.

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

    
Gets the value of the tblCellSpacing property.

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

    
Sets the value of the tblCellSpacing property.

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

    
Gets the value of the tblInd property.

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

    
Sets the value of the tblInd property.

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

    
Gets the value of the tblBorders property.

Returns:
possible object is
    public TblBorders getTblBorders() {
        return ;
    }

    
Sets the value of the tblBorders property.

Parameters:
value allowed object is
    public void setTblBorders(TblBorders 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 tblLayout property.

Returns:
possible object is
    public CTTblLayoutType getTblLayout() {
        return ;
    }

    
Sets the value of the tblLayout property.

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

    
Gets the value of the tblCellMar property.

Returns:
possible object is
    public CTTblCellMar getTblCellMar() {
        return ;
    }

    
Sets the value of the tblCellMar property.

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

    
Gets the value of the tblLook property.

Returns:
possible object is
    public CTTblLook getTblLook() {
        return ;
    }

    
Sets the value of the tblLook property.

Parameters:
value allowed object is
    public void setTblLook(CTTblLook 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