Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2013, Plutext Pty Ltd.
   *   
   *  This file is part of xlsx4j, a component 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.xlsx4j.sml;
 

Java class for CT_SheetFormatPr complex type.

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

 <complexType name="CT_SheetFormatPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="baseColWidth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="8" />
       <attribute name="defaultColWidth" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="defaultRowHeight" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="customHeight" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="zeroHeight" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="thickTop" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="thickBottom" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="outlineLevelRow" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="outlineLevelCol" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_SheetFormatPr")
 @XmlRootElement(name = "sheetFormatPr")
 public class CTSheetFormatPr implements Child
 {
 
     @XmlAttribute(name = "baseColWidth")
     @XmlSchemaType(name = "unsignedInt")
     protected Long baseColWidth;
     @XmlAttribute(name = "defaultColWidth")
     protected Double defaultColWidth;
     @XmlAttribute(name = "defaultRowHeight", required = true)
     protected double defaultRowHeight;
     @XmlAttribute(name = "customHeight")
     protected Boolean customHeight;
     @XmlAttribute(name = "zeroHeight")
     protected Boolean zeroHeight;
     @XmlAttribute(name = "thickTop")
     protected Boolean thickTop;
     @XmlAttribute(name = "thickBottom")
     protected Boolean thickBottom;
     @XmlAttribute(name = "outlineLevelRow")
     @XmlSchemaType(name = "unsignedByte")
     protected Short outlineLevelRow;
     @XmlAttribute(name = "outlineLevelCol")
     @XmlSchemaType(name = "unsignedByte")
     protected Short outlineLevelCol;
     @XmlTransient
     private Object parent;

    
Gets the value of the baseColWidth property.

Returns:
possible object is
 
     public long getBaseColWidth() {
         if ( == null) {
             return  8L;
         } else {
            return ;
        }
    }

    
Sets the value of the baseColWidth property.

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

    
Gets the value of the defaultColWidth property.

Returns:
possible object is
    public Double getDefaultColWidth() {
        return ;
    }

    
Sets the value of the defaultColWidth property.

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

    
Gets the value of the defaultRowHeight property.
    public double getDefaultRowHeight() {
        return ;
    }

    
Sets the value of the defaultRowHeight property.
    public void setDefaultRowHeight(double value) {
        this. = value;
    }

    
Gets the value of the customHeight property.

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

    
Sets the value of the customHeight property.

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

    
Gets the value of the zeroHeight property.

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

    
Sets the value of the zeroHeight property.

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

    
Gets the value of the thickTop property.

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

    
Sets the value of the thickTop property.

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

    
Gets the value of the thickBottom property.

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

    
Sets the value of the thickBottom property.

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

    
Gets the value of the outlineLevelRow property.

Returns:
possible object is
    public short getOutlineLevelRow() {
        if ( == null) {
            return ((short) 0);
        } else {
            return ;
        }
    }

    
Sets the value of the outlineLevelRow property.

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

    
Gets the value of the outlineLevelCol property.

Returns:
possible object is
    public short getOutlineLevelCol() {
        if ( == null) {
            return ((short) 0);
        } else {
            return ;
        }
    }

    
Sets the value of the outlineLevelCol property.

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