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

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

 <complexType name="CT_CellFormula">
   <simpleContent>
     <extension base="<http://schemas.openxmlformats.org/spreadsheetml/2006/main>ST_Formula">
       <attribute name="t" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellFormulaType" default="normal" />
       <attribute name="aca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ref" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
       <attribute name="dt2D" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="dtr" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="del1" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="del2" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="r1" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
       <attribute name="r2" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
       <attribute name="ca" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="si" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="bx" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </simpleContent>
 </complexType>
 
 
 @XmlType(name = "CT_CellFormula", propOrder = {
     "value"
 })
 public class CTCellFormula implements Child
 {
 
     @XmlValue
     protected String value;
     @XmlAttribute(name = "t")
     protected STCellFormulaType t;
     @XmlAttribute(name = "aca")
     protected Boolean aca;
     @XmlAttribute(name = "ref")
     protected String ref;
     @XmlAttribute(name = "dt2D")
     protected Boolean dt2D;
     @XmlAttribute(name = "dtr")
     protected Boolean dtr;
     @XmlAttribute(name = "del1")
     protected Boolean del1;
     @XmlAttribute(name = "del2")
     protected Boolean del2;
     @XmlAttribute(name = "r1")
     protected String r1;
     @XmlAttribute(name = "r2")
     protected String r2;
     @XmlAttribute(name = "ca")
     protected Boolean ca;
     @XmlAttribute(name = "si")
     @XmlSchemaType(name = "unsignedInt")
     protected Long si;
     @XmlAttribute(name = "bx")
     protected Boolean bx;
     @XmlTransient
     private Object parent;

    
Gets the value of the value property.

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

    
Sets the value of the value property.

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

    
Gets the value of the t property.

Returns:
possible object is
    public STCellFormulaType getT() {
        if ( == null) {
            return .;
        } else {
            return ;
        }
    }

    
Sets the value of the t property.

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

    
Gets the value of the aca property.

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

    
Sets the value of the aca property.

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

    
Gets the value of the ref property.

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

    
Sets the value of the ref property.

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

    
Gets the value of the dt2D property.

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

    
Sets the value of the dt2D property.

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

    
Gets the value of the dtr property.

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

    
Sets the value of the dtr property.

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

    
Gets the value of the del1 property.

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

    
Sets the value of the del1 property.

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

    
Gets the value of the del2 property.

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

    
Sets the value of the del2 property.

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

    
Gets the value of the r1 property.

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

    
Sets the value of the r1 property.

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

    
Gets the value of the r2 property.

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

    
Sets the value of the r2 property.

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

    
Gets the value of the ca property.

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

    
Sets the value of the ca property.

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

    
Gets the value of the si property.

Returns:
possible object is
    public Long getSi() {
        return ;
    }

    
Sets the value of the si property.

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

    
Gets the value of the bx property.

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

    
Sets the value of the bx property.

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