All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xlsx4j.sml.CTCellFormula Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 6.1.2
Show newest version
/*
 *  Copyright 2010, 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.xlsx4j.sml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CT_CellFormula", propOrder = { "value" }) public class CTCellFormula { @XmlValue protected String value; @XmlAttribute protected STCellFormulaType t; @XmlAttribute protected Boolean aca; @XmlAttribute protected String ref; @XmlAttribute protected Boolean dt2D; @XmlAttribute protected Boolean dtr; @XmlAttribute protected Boolean del1; @XmlAttribute protected Boolean del2; @XmlAttribute protected String r1; @XmlAttribute protected String r2; @XmlAttribute protected Boolean ca; @XmlAttribute @XmlSchemaType(name = "unsignedInt") protected Long si; @XmlAttribute protected Boolean bx; /** * Formula * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the t property. * * @return * possible object is * {@link STCellFormulaType } * */ public STCellFormulaType getT() { if (t == null) { return STCellFormulaType.NORMAL; } else { return t; } } /** * Sets the value of the t property. * * @param value * allowed object is * {@link STCellFormulaType } * */ public void setT(STCellFormulaType value) { this.t = value; } /** * Gets the value of the aca property. * * @return * possible object is * {@link Boolean } * */ public boolean isAca() { if (aca == null) { return false; } else { return aca; } } /** * Sets the value of the aca property. * * @param value * allowed object is * {@link Boolean } * */ public void setAca(Boolean value) { this.aca = value; } /** * Gets the value of the ref property. * * @return * possible object is * {@link String } * */ public String getRef() { return ref; } /** * Sets the value of the ref property. * * @param value * allowed object is * {@link String } * */ public void setRef(String value) { this.ref = value; } /** * Gets the value of the dt2D property. * * @return * possible object is * {@link Boolean } * */ public boolean isDt2D() { if (dt2D == null) { return false; } else { return dt2D; } } /** * Sets the value of the dt2D property. * * @param value * allowed object is * {@link Boolean } * */ public void setDt2D(Boolean value) { this.dt2D = value; } /** * Gets the value of the dtr property. * * @return * possible object is * {@link Boolean } * */ public boolean isDtr() { if (dtr == null) { return false; } else { return dtr; } } /** * Sets the value of the dtr property. * * @param value * allowed object is * {@link Boolean } * */ public void setDtr(Boolean value) { this.dtr = value; } /** * Gets the value of the del1 property. * * @return * possible object is * {@link Boolean } * */ public boolean isDel1() { if (del1 == null) { return false; } else { return del1; } } /** * Sets the value of the del1 property. * * @param value * allowed object is * {@link Boolean } * */ public void setDel1(Boolean value) { this.del1 = value; } /** * Gets the value of the del2 property. * * @return * possible object is * {@link Boolean } * */ public boolean isDel2() { if (del2 == null) { return false; } else { return del2; } } /** * Sets the value of the del2 property. * * @param value * allowed object is * {@link Boolean } * */ public void setDel2(Boolean value) { this.del2 = value; } /** * Gets the value of the r1 property. * * @return * possible object is * {@link String } * */ public String getR1() { return r1; } /** * Sets the value of the r1 property. * * @param value * allowed object is * {@link String } * */ public void setR1(String value) { this.r1 = value; } /** * Gets the value of the r2 property. * * @return * possible object is * {@link String } * */ public String getR2() { return r2; } /** * Sets the value of the r2 property. * * @param value * allowed object is * {@link String } * */ public void setR2(String value) { this.r2 = value; } /** * Gets the value of the ca property. * * @return * possible object is * {@link Boolean } * */ public boolean isCa() { if (ca == null) { return false; } else { return ca; } } /** * Sets the value of the ca property. * * @param value * allowed object is * {@link Boolean } * */ public void setCa(Boolean value) { this.ca = value; } /** * Gets the value of the si property. * * @return * possible object is * {@link Long } * */ public Long getSi() { return si; } /** * Sets the value of the si property. * * @param value * allowed object is * {@link Long } * */ public void setSi(Long value) { this.si = value; } /** * Gets the value of the bx property. * * @return * possible object is * {@link Boolean } * */ public boolean isBx() { if (bx == null) { return false; } else { return bx; } } /** * Sets the value of the bx property. * * @param value * allowed object is * {@link Boolean } * */ public void setBx(Boolean value) { this.bx = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy