jxl.write
Class Formula
java.lang.Object
jxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.write.biff.CellValue
jxl.write.biff.FormulaRecord
- jxl.biff.ByteData, Cell, jxl.biff.FormulaData, WritableCell
public class Formula
extends jxl.write.biff.FormulaRecord
A cell, created by user applications, which contains a numerical value
Formula(int c, int r, String form) - Constructs the formula
|
Formula(int c, int r, String form, CellFormat st) - Constructs a formula
|
addCellFeatures , getCellFeatures , getCellFormat , getColumn , getData , getRow , getWritableCellFeatures , isHidden , removeCellFeatures , removeComment , removeDataValidation , setCellFeatures , setCellFormat |
Formula
public Formula(int c,
int r,
String form)
Constructs the formula
c
- the columnr
- the rowform
- the formula
Formula
public Formula(int c,
int r,
String form,
CellFormat st)
Constructs a formula
c
- the columnr
- the rowform
- the formulast
- the cell style
copyTo
public WritableCell copyTo(int col,
int row)
Implementation of the deep copy function
- copyTo in interface WritableCell
- copyTo in interface jxl.write.biff.FormulaRecord
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy
- a copy of this cell, which can then be added to the sheet