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

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

 <complexType name="CT_TableStyle">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tblBg" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableBackgroundStyle" minOccurs="0"/>
         <element name="wholeTbl" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="band1H" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="band2H" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="band1V" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="band2V" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="lastCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="firstCol" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="lastRow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="seCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="swCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="firstRow" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="neCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="nwCell" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TablePartStyle" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="styleId" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Guid" />
       <attribute name="styleName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_TableStyle", propOrder = {
     "tblBg",
     "wholeTbl",
     "band1H",
     "band2H",
     "band1V",
     "band2V",
     "lastCol",
     "firstCol",
     "lastRow",
     "seCell",
     "swCell",
     "firstRow",
     "neCell",
     "nwCell",
     "extLst"
 })
 public class CTTableStyle {
 
     protected CTTableBackgroundStyle tblBg;
     protected CTTablePartStyle wholeTbl;
     protected CTTablePartStyle band1H;
     protected CTTablePartStyle band2H;
     protected CTTablePartStyle band1V;
     protected CTTablePartStyle band2V;
     protected CTTablePartStyle lastCol;
     protected CTTablePartStyle firstCol;
     protected CTTablePartStyle lastRow;
     protected CTTablePartStyle seCell;
     protected CTTablePartStyle swCell;
     protected CTTablePartStyle firstRow;
     protected CTTablePartStyle neCell;
    protected CTTablePartStyle nwCell;
    protected CTOfficeArtExtensionList extLst;
    @XmlAttribute(required = true)
    protected String styleId;
    @XmlAttribute(required = true)
    protected String styleName;

    
Gets the value of the tblBg property.

Returns:
possible object is
    public CTTableBackgroundStyle getTblBg() {
        return ;
    }

    
Sets the value of the tblBg property.

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

    
Gets the value of the wholeTbl property.

Returns:
possible object is
    public CTTablePartStyle getWholeTbl() {
        return ;
    }

    
Sets the value of the wholeTbl property.

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

    
Gets the value of the band1H property.

Returns:
possible object is
    public CTTablePartStyle getBand1H() {
        return ;
    }

    
Sets the value of the band1H property.

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

    
Gets the value of the band2H property.

Returns:
possible object is
    public CTTablePartStyle getBand2H() {
        return ;
    }

    
Sets the value of the band2H property.

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

    
Gets the value of the band1V property.

Returns:
possible object is
    public CTTablePartStyle getBand1V() {
        return ;
    }

    
Sets the value of the band1V property.

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

    
Gets the value of the band2V property.

Returns:
possible object is
    public CTTablePartStyle getBand2V() {
        return ;
    }

    
Sets the value of the band2V property.

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

    
Gets the value of the lastCol property.

Returns:
possible object is
    public CTTablePartStyle getLastCol() {
        return ;
    }

    
Sets the value of the lastCol property.

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

    
Gets the value of the firstCol property.

Returns:
possible object is
    public CTTablePartStyle getFirstCol() {
        return ;
    }

    
Sets the value of the firstCol property.

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

    
Gets the value of the lastRow property.

Returns:
possible object is
    public CTTablePartStyle getLastRow() {
        return ;
    }

    
Sets the value of the lastRow property.

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

    
Gets the value of the seCell property.

Returns:
possible object is
    public CTTablePartStyle getSeCell() {
        return ;
    }

    
Sets the value of the seCell property.

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

    
Gets the value of the swCell property.

Returns:
possible object is
    public CTTablePartStyle getSwCell() {
        return ;
    }

    
Sets the value of the swCell property.

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

    
Gets the value of the firstRow property.

Returns:
possible object is
    public CTTablePartStyle getFirstRow() {
        return ;
    }

    
Sets the value of the firstRow property.

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

    
Gets the value of the neCell property.

Returns:
possible object is
    public CTTablePartStyle getNeCell() {
        return ;
    }

    
Sets the value of the neCell property.

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

    
Gets the value of the nwCell property.

Returns:
possible object is
    public CTTablePartStyle getNwCell() {
        return ;
    }

    
Sets the value of the nwCell property.

Parameters:
value allowed object is
    public void setNwCell(CTTablePartStyle 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 styleId property.

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

    
Sets the value of the styleId property.

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

    
Gets the value of the styleName property.

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

    
Sets the value of the styleName property.

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