Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2007-2008, 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.dml;
 

Java class for CT_TableProperties complex type.

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

 <complexType name="CT_TableProperties">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_FillProperties" minOccurs="0"/>
         <group ref="{http://schemas.openxmlformats.org/drawingml/2006/main}EG_EffectProperties" minOccurs="0"/>
         <choice minOccurs="0">
           <element name="tableStyle" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableStyle"/>
           <element name="tableStyleId" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid"/>
         </choice>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="rtl" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="firstRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="firstCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="lastRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="lastCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="bandRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="bandCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TableProperties", propOrder = {
     "noFill",
     "solidFill",
     "gradFill",
     "blipFill",
     "pattFill",
     "grpFill",
     "effectLst",
     "effectDag",
     "tableStyle",
     "tableStyleId",
     "extLst"
 })
 public class CTTableProperties {
 
     protected CTNoFillProperties noFill;
     protected CTGradientFillProperties gradFill;
     protected CTBlipFillProperties blipFill;
     protected CTPatternFillProperties pattFill;
     protected CTGroupFillProperties grpFill;
     protected CTEffectList effectLst;
     protected CTEffectContainer effectDag;
     protected CTTableStyle tableStyle;
     protected String tableStyleId;
     protected CTOfficeArtExtensionList extLst;
     @XmlAttribute
     protected Boolean rtl;
     @XmlAttribute
     protected Boolean firstRow;
     @XmlAttribute
     protected Boolean firstCol;
     @XmlAttribute
     protected Boolean lastRow;
    protected Boolean lastCol;
    protected Boolean bandRow;
    protected Boolean bandCol;

    
Gets the value of the noFill property.

Returns:
possible object is
    public CTNoFillProperties getNoFill() {
        return ;
    }

    
Sets the value of the noFill property.

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

    
Gets the value of the solidFill property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the solidFill property.

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

    
Gets the value of the gradFill property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the gradFill property.

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

    
Gets the value of the blipFill property.

Returns:
possible object is
    public CTBlipFillProperties getBlipFill() {
        return ;
    }

    
Sets the value of the blipFill property.

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

    
Gets the value of the pattFill property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the pattFill property.

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

    
Gets the value of the grpFill property.

Returns:
possible object is
    public CTGroupFillProperties getGrpFill() {
        return ;
    }

    
Sets the value of the grpFill property.

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

    
Gets the value of the effectLst property.

Returns:
possible object is
    public CTEffectList getEffectLst() {
        return ;
    }

    
Sets the value of the effectLst property.

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

    
Gets the value of the effectDag property.

Returns:
possible object is
    public CTEffectContainer getEffectDag() {
        return ;
    }

    
Sets the value of the effectDag property.

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

    
Gets the value of the tableStyle property.

Returns:
possible object is
    public CTTableStyle getTableStyle() {
        return ;
    }

    
Sets the value of the tableStyle property.

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

    
Gets the value of the tableStyleId property.

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

    
Sets the value of the tableStyleId property.

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

    
Gets the value of the extLst property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the extLst property.

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

    
Gets the value of the rtl property.

Returns:
possible object is
    public boolean isRtl() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the rtl property.

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

    
Gets the value of the firstRow property.

Returns:
possible object is
    public boolean isFirstRow() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the firstRow property.

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

    
Gets the value of the firstCol property.

Returns:
possible object is
    public boolean isFirstCol() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the firstCol property.

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

    
Gets the value of the lastRow property.

Returns:
possible object is
    public boolean isLastRow() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the lastRow property.

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

    
Gets the value of the lastCol property.

Returns:
possible object is
    public boolean isLastCol() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the lastCol property.

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

    
Gets the value of the bandRow property.

Returns:
possible object is
    public boolean isBandRow() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the bandRow property.

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

    
Gets the value of the bandCol property.

Returns:
possible object is
    public boolean isBandCol() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the bandCol property.

Parameters:
value allowed object is
    public void setBandCol(Boolean value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X