Class Formula
java.lang.Object
com.independentsoft.office.spreadsheet.Formula
The Class Formula.
-
Constructor Summary
ConstructorsConstructorDescriptionFormula()Instantiates a new formula.Formula(InternalXMLStreamReader reader)Instantiates a new formula.Instantiates a new formula. -
Method Summary
Modifier and TypeMethodDescriptionclone()getBody()Gets the body.Gets the input cell1.Gets the input cell2.Gets the range of cells.intGets the shared group index.getType()Gets the type.booleanisAca()Checks if is aca.booleanChecks if is calculate cell.booleanChecks if is data table2 d.booleanChecks if is data table row.booleanChecks if is input1 deleted.booleanChecks if is input2 deleted.voidsetAca(boolean aca)Sets the aca.voidSets the body.voidsetCalculateCell(boolean calculateCell)Sets the calculate cell.voidsetDataTable2D(boolean dataTable2D)Sets the data table2 d.voidsetDataTableRow(boolean dataTableRow)Sets the data table row.voidsetInput1Deleted(boolean input1Deleted)Sets the input1 deleted.voidsetInput2Deleted(boolean input2Deleted)Sets the input2 deleted.voidsetInputCell1(String inputCell1)Sets the input cell1.voidsetInputCell2(String inputCell2)Sets the input cell2.voidsetRangeOfCells(String rangeOfCells)Sets the range of cells.voidsetSharedGroupIndex(int sharedGroupIndex)Sets the shared group index.voidsetType(FormulaType type)Sets the type.toString()
-
Constructor Details
-
Formula
public Formula()Instantiates a new formula. -
Formula
Instantiates a new formula.- Parameters:
body- the body
-
Formula
Instantiates a new formula.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isAca
public boolean isAca()Checks if is aca.- Returns:
- true, if is aca
-
setAca
public void setAca(boolean aca)Sets the aca.- Parameters:
aca- the new aca
-
isCalculateCell
public boolean isCalculateCell()Checks if is calculate cell.- Returns:
- true, if is calculate cell
-
setCalculateCell
public void setCalculateCell(boolean calculateCell)Sets the calculate cell.- Parameters:
calculateCell- the new calculate cell
-
isInput1Deleted
public boolean isInput1Deleted()Checks if is input1 deleted.- Returns:
- true, if is input1 deleted
-
setInput1Deleted
public void setInput1Deleted(boolean input1Deleted)Sets the input1 deleted.- Parameters:
input1Deleted- the new input1 deleted
-
isInput2Deleted
public boolean isInput2Deleted()Checks if is input2 deleted.- Returns:
- true, if is input2 deleted
-
setInput2Deleted
public void setInput2Deleted(boolean input2Deleted)Sets the input2 deleted.- Parameters:
input2Deleted- the new input2 deleted
-
isDataTable2D
public boolean isDataTable2D()Checks if is data table2 d.- Returns:
- true, if is data table2 d
-
setDataTable2D
public void setDataTable2D(boolean dataTable2D)Sets the data table2 d.- Parameters:
dataTable2D- the new data table2 d
-
isDataTableRow
public boolean isDataTableRow()Checks if is data table row.- Returns:
- true, if is data table row
-
setDataTableRow
public void setDataTableRow(boolean dataTableRow)Sets the data table row.- Parameters:
dataTableRow- the new data table row
-
getInputCell1
Gets the input cell1.- Returns:
- the input cell1
-
setInputCell1
Sets the input cell1.- Parameters:
inputCell1- the new input cell1
-
getInputCell2
Gets the input cell2.- Returns:
- the input cell2
-
setInputCell2
Sets the input cell2.- Parameters:
inputCell2- the new input cell2
-
getRangeOfCells
Gets the range of cells.- Returns:
- the range of cells
-
setRangeOfCells
Sets the range of cells.- Parameters:
rangeOfCells- the new range of cells
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getBody
Gets the body.- Returns:
- the body
-
setBody
Sets the body.- Parameters:
body- the new body
-