|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.xls.core.spreadsheet.xlsobject
com.spire.xls.core.spreadsheet.xlsworksheetbase
com.spire.xls.core.spreadsheet.xlsworksheet
public class xlsworksheet
represents a worksheet. the worksheet object is a member of the worksheets collection. the worksheets collection contains all the worksheet objects in a workbook.
nested class summary | |
---|---|
static class |
xlsworksheet.trangevaluetype
represents range value type. |
constructor summary | |
---|---|
xlsworksheet(java.lang.object parent)
|
method summary | ||
---|---|---|
boolean |
addalloweditrange(java.lang.string title,
cellrange range)
add a range of cells that allow editing |
|
boolean |
addalloweditrange(java.lang.string title,
cellrange range,
java.lang.string password)
adds a range of cells that allow editing |
|
void |
autofitcolumn(int columnindex)
automatically fit the column width. |
|
void |
autofitcolumn(int columnindex,
int firstrow,
int lastrow)
automatically fit column. |
|
void |
autofitrow(int rowindex)
automatically fit column width. |
|
void |
autofitrow(int rowindex,
int firstcolumn,
int lastcolumn,
boolean braiseevents)
automatically fit row. |
|
boolean |
checkexistence(int row,
int column)
indicates whether cell has been initialized. |
|
void |
clear()
clears data the worksheet. |
|
void |
cleardata()
clears contents of a range. |
|
int |
columnwidthtopixels(double widthinchars)
converts column width into pixels. |
|
void |
createnamedranges(java.lang.string namedrange,
java.lang.string referrange,
boolean vertical)
create named ranges |
|
void |
deletecolumn(int columnindex)
deletes a column. |
|
void |
deletecolumn(int index,
int count)
removes specified column. |
|
void |
deleterange(cellrange range,
deleteoption deleteoption)
delete a range in worksheet |
|
void |
deleterow(int index)
delete a row. |
|
void |
deleterow(int index,
int count)
removes specified row. |
|
java.lang.object[][] |
exportdata()
export sheet data to arrays data. |
|
java.lang.object[][] |
exportdata(boolean computeformula)
export sheet data to arrays data. |
|
java.lang.object[][] |
exportdata(int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
boolean computedformulavalue)
export sheet data. |
|
datatable |
exportdatatable()
exports worksheet data into a datatable |
|
ixlsrange |
get(int row,
int column)
get cell by row and index. |
|
ixlsrange |
get(int row,
int column,
int lastrow,
int lastcolumn)
get cell range. |
|
ixlsrange |
get(java.lang.string name)
get cell range. |
|
int |
getactivepane()
gets or sets index of the active pane. |
|
ixlsrange |
getallocatedrange()
read-only. |
|
|
getautofilters()
returns collection of worksheet's autofilters. |
|
boolean |
getboolean(int row,
int column)
gets bool value from cell. |
|
java.lang.object |
getcaculatevalue(int row,
int col)
returns the formula string if the cell contains a formula, or the value if the cell cantains anything other than a formula. |
|
java.util.arraylist<cellrange> |
getcelllist()
returns all used cells in the worksheet. |
|
xlsworksheet.trangevaluetype |
getcelltype(int row,
int column,
boolean bneedformulasubtype)
gets cell type from current column. |
|
|
getclonedobject(java.util.hashmap hashnewnames,
xlsworkbook book)
gets object that is clone of current worksheet in the specified workbook. |
|
ixlsrange[] |
getcolumns()
for a worksheet object, returns an array of range objects that represents all used columns on the specified worksheet. |
|
double |
getcolumnwidth(int columnindex)
gets the width of the specified column |
|
int |
getcolumnwidthpixels(int columnindex)
gets the width of the specified column, in units of pixel. |
|
iconditionalformatscollection |
getconditionalformats()
returns collection with all conditional formats in the worksheet. |
|
istyle |
getdefaultcolumnstyle(int columnindex)
returns default column style. |
|
double |
getdefaultcolumnwidth()
returns or sets the default width of all the columns in the worksheet. |
|
int |
getdefaultprintrowheight()
return default row height in pixel. |
|
double |
getdefaultrowheight()
gets or sets default height of all the rows in the worksheet, in points. |
|
istyle |
getdefaultrowstyle(int rowindex)
returns default row style. |
|
boolean |
getdisplaypagebreaks()
true if page breaks (both automatic and manual) on the specified worksheet are displayed. |
|
idatavalidationtable |
getdvtable()
|
|
java.lang.string |
geterror(int row,
int column)
gets error value from cell. |
|
int |
getfirstvisiblecolumn()
index to first visible column in right pane(s). |
|
int |
getfirstvisiblerow()
index to first visible row in bottom pane(s). |
|
java.lang.string |
getformula(int row,
int column,
boolean br1c1)
returns formula corresponding to the cell. |
|
java.lang.string |
getformula(int row,
int column,
boolean br1c1,
boolean isforserialization)
returns formula corresponding to the cell. |
|
boolean |
getformulaboolvalue(int row,
int column)
gets formula bool value from cell. |
|
java.lang.string |
getformulaerrorvalue(int row,
int column)
gets formula error value from cell. |
|
double |
getformulanumbervalue(int row,
int column)
returns formula number value corresponding to the cell. |
|
java.lang.string |
getformulastringvalue(int row,
int column)
returns formula string value corresponding to the cell. |
|
boolean |
getgridlinesvisible()
true if gridlines are visible; false otherwise. |
|
int |
gethorizontalsplit()
position of the horizontal split (py, 0 = no horizontal split): unfrozen pane: height of the top pane(s) (in twips = 1/20 of a point) frozen pane: number of visible rows in top pane(s) |
|
ihpagebreaks |
gethpagebreaks()
returns an hpagebreaks collection that represents the horizontal page breaks on the sheet. |
|
ihyperlinks |
gethyperlinks()
collection of all worksheet's hyperlinks. |
|
ilistobjects |
getlistobjects()
returns all list objects in the worksheet. |
|
ixlsrange[] |
getmergedcells()
returns all merged ranges. |
|
inameranges |
getnames()
name range used by macros to access to workbook items. |
|
double |
getnumber(int row,
int column)
returns number value corresponding to the cell. |
|
ioleobjects |
getoleobjects()
gets the ole objects. |
|
|
getpagesetup()
returns a pagesetup object that contains all the page setup settings for the specified object. |
|
pivottablescollection |
getpivottables()
returns pivot table collection. |
|
boolean |
getprotectcontents()
indicates whether current sheet is protected. |
|
java.lang.string |
getquotedname()
returns quoted name of the worksheet. |
|
xlsrange |
getrange()
returns a range object that represents the used range on the specified worksheet. |
|
boolean |
getrowcolumnheadersvisible()
true if row and column headers are visible. |
|
double |
getrowheight(int row)
gets the height of a specified row. |
|
int |
getrowheightpixels(int rowindex)
gets the height of a specified row in unit of pixel. |
|
ixlsrange[] |
getrows()
represents all the rows on the specified worksheet. |
|
int |
getselectioncount()
gets array with selection count. |
|
sparklinegroupcollection |
getsparklinegroups()
gets the sparkline groups. |
|
boolean |
getstandardheightflag()
gets or sets the standard (default) height option flag, which defines that standard (default) row height and book default font height do not match. |
|
java.lang.string |
getstringvalue(long cellindex)
returns string value corresponding to the cell. |
|
java.lang.string |
gettext(int row,
int column)
returns string value corresponding to the cell. |
|
java.lang.object |
gettextobject(long cellindex)
returns textwithformat object corresponding to the specified cell. |
|
cellrange |
gettopleftcell()
gets top left cell of the worksheet. |
|
excelsheettype |
gettype()
returns or sets the worksheet type. |
|
boolean |
getuserangescache()
indicates whether all created range objects should be cached. |
|
excelversion |
getversion()
gets or sets excel file version. |
|
int |
getverticalsplit()
position of the vertical split (px, 0 = no vertical split): unfrozen pane: width of the left pane(s) (in twips = 1/20 of a point) frozen pane: number of visible columns in left pane(s) |
|
viewmode |
getviewmode()
gets or sets the view mode of the sheet. |
|
ivpagebreaks |
getvpagebreaks()
returns a vpagebreaks collection that represents the vertical page breaks on the sheet. |
|
int |
getzoom()
zoom factor of document. |
|
int |
getzoomscalenormal()
gets or sets the zoom scale of normal view of the sheet. |
|
int |
getzoomscalepagebreakview()
gets or sets the zoom scale of page break preview of the sheet. |
|
int |
getzoomscalepagelayoutview()
gets or sets the zoom scale of page layout view of the sheet. |
|
cellrange |
groupbycolumns(int firstcolumn,
int lastcolumn,
boolean iscollapsed)
groups columns. |
|
cellrange |
groupbyrows(int firstrow,
int lastrow,
boolean iscollapsed)
groups rows. |
|
boolean |
hasarrayformula(long cellindex)
indicates whether cell contains array-entered formula. |
|
boolean |
hasarrayformularecord(int row,
int column)
indicates is has array formula. |
|
boolean |
hasmergedcells()
indicates whether worksheet has merged cells. |
|
boolean |
hasoleobjects()
indicats whether there is ole object. |
|
void |
hidecolumn(int columnindex)
hides a column. |
|
void |
hiderow(int rowindex)
hides a row. |
|
int |
importdatatable(java.lang.object[][] data,
boolean includeheaders,
int firstrow,
int firstcolumn)
imports data from a datatable into worksheet |
|
int |
importdatatable(java.lang.object[][] data,
boolean includeheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns)
imports data from a datatable into worksheet |
|
int |
insertarray(java.util.date[] datearray,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of datetimes into worksheet. |
|
int |
insertarray(java.lang.double[] doublearray,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of doubles into a worksheet. |
|
int |
insertarray(int[] intarray,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of integer into a worksheet. |
|
int |
insertarray(java.lang.object[][] objectarray,
int firstrow,
int firstcolumn)
imports an array of objects into a worksheet. |
|
int |
insertarray(java.lang.object[] arrobject,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of objects into a worksheet. |
|
int |
insertarray(java.lang.string[] stringarray,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of strings into a worksheet. |
|
int |
insertarraylist(java.util.arraylist arraylist,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an arraylist of data into a worksheet. |
|
|
insertarrayt(t[] objects,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of objects into a worksheet. |
|
void |
insertcolumn(int columnindex)
inserts a new column into the worksheet. |
|
void |
insertcolumn(int columnindex,
int columncount)
inserts specified columns into the worksheet. |
|
void |
insertcolumn(int columnindex,
int columncount,
insertoptionstype insertoptions)
inserts an empty column with default formatting. |
|
int |
insertdatacolumn(datacolumn datacolumn,
boolean columnheaders,
int firstrow,
int firstcolumn)
imports data column. |
|
int |
insertdatacolumns(datacolumn[] datacolumns,
boolean columnheaders,
int firstrow,
int firstcolumn)
imports array of data columns. |
|
int |
insertdatatable(datatable datatable,
boolean columnheaders,
int firstrow,
int firstcolumn)
imports data from a datatable into worksheet |
|
int |
insertdatatable(datatable datatable,
boolean columnheaders,
int firstrow,
int firstcolumn,
boolean transtypes)
imports data from a datatable into worksheet. |
|
int |
insertdatatable(datatable datatable,
boolean columnheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns)
imports data from a datatable into worksheet. |
|
int |
insertdatatable(datatable datatable,
boolean columnheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
boolean transtypes)
imports data from a datatable into worksheet. |
|
int |
insertdatatable(datatable datatable,
boolean columnheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
datacolumn[] columnsarray,
boolean transtypes)
imports data from a datatable into worksheet |
|
int |
insertdataview( dataview,
boolean columnheaders,
int firstrow,
int firstcolumn)
imports data from a dataview into worksheet. |
|
int |
insertdataview( dataview,
boolean columnheaders,
int firstrow,
int firstcolumn,
boolean transtypes)
imports data from a dataview into worksheet. |
|
int |
insertdataview( dataview,
boolean columnheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns)
imports data from a dataview into worksheet. |
|
int |
insertdataview( dataview,
boolean columnheaders,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
boolean transtypes)
imports data from a dataview into worksheet. |
|
ixlsrange |
insertrange(int rowindex,
int columnindex,
int rowcount,
int columncount,
insertmoveoption moveoptions,
insertoptionstype insertoptions)
insert a cell range into worksheet |
|
void |
insertrow(int rowindex)
inserts a new row into the worksheet. |
|
void |
insertrow(int rowindex,
int rowcount)
inserts multiple rows into the worksheet. |
|
void |
insertrow(int rowindex,
int rowcount,
insertoptionstype insertoptions)
inserts an empty row with default formatting. |
|
boolean |
isarrayformula(long cellindex)
indicates whether cell contains array-entered formula. |
|
boolean |
iscolumnvisible(int columnindex)
indicates whether column is visible. |
|
boolean |
isdisplayzeros()
indicates whether zero values to be displayed |
|
void |
isdisplayzeros(boolean value)
sets whether zero values to be displayed |
|
boolean |
isempty()
indicates whether worksheet is empty. |
|
boolean |
isexternalformula(int row,
int column)
indicates is formula in cell is formula to external workbook. |
|
boolean |
isfreezepanes()
indicates whether freezed panes are applied. |
|
boolean |
isrowvisible(int rowindex)
indicates whether row is visible. |
|
boolean |
isstringspreserved()
indicates if all values in the workbook are preserved as strings. |
|
void |
isstringspreserved(boolean value)
indicates if all values in the workbook are preserved as strings. |
|
void |
moveworksheet(int destindex)
moves worksheet into new position. |
|
double |
pixelstocolumnwidth(double pixels)
converts pixels count into column width value. |
|
void |
remove()
removes worksheet from parernt worksheets collection. |
|
void |
removemergedcells(ixlsrange range)
|
|
void |
removepanes()
removes panes from a worksheet. |
|
void |
replace(java.lang.string oldvalue,
datacolumn column,
boolean columnheaders)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
datatable newvalues,
boolean columnheaders)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
java.util.date newvalue)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
double newvalue)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
double[] newvalues,
boolean isvertical)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
int[] newvalues,
boolean isvertical)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
java.lang.string newvalue)
replaces cells' values with new data. |
|
void |
replace(java.lang.string oldvalue,
java.lang.string[] newvalues,
boolean isvertical)
replaces cells' values with new data. |
|
void |
savetoemfimage(java.lang.string filepath,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn,
int emftype)
saves specific range into emf format image. |
|
void |
savetofile(java.lang.string filename,
java.lang.string separator)
saves specific worksheet to file. |
|
void |
savetofile(java.lang.string filename,
java.lang.string separator,
boolean retainhiddendata)
save worksheet to file. |
|
void |
savetofile(java.lang.string filename,
java.lang.string separator,
java.nio.charset.charset encoding)
saves specific worksheet to file. |
|
void |
savetohtml(java.io.outputstream stream,
htmloptions saveoption)
saves specific work sheet to html. |
|
void |
savetohtml(java.lang.string filename)
saves specific worksheet to html file. |
|
void |
savetohtml(java.lang.string filename,
htmloptions saveoption)
saves specific worksheet to html. |
|
void |
savetoimage(java.lang.string filename)
saves specific worksheet to image. |
|
void |
savetoimage(java.lang.string filename,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn)
saves specific worksheet to image. |
|
void |
savetopdf(java.lang.string filename)
saves specific worksheet to pdf. |
|
void |
savetopdfstream(java.io.outputstream outputstream)
saves specific worksheet to pdf stream. |
|
void |
savetostream(java.io.outputstream stream,
java.lang.string separator)
saves specific worksheet to stream. |
|
void |
savetostream(java.io.outputstream stream,
java.lang.string separator,
boolean retainhiddendata)
save worksheet to stream. |
|
void |
savetostream(java.io.outputstream stream,
java.lang.string separator,
java.nio.charset.charset charset)
saves specific worksheet to stream. |
|
void |
savetotiff(java.lang.string filename)
|
|
void |
savetotiff(java.lang.string filename,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn)
|
|
void |
setactivecell(ixlsrange range,
boolean updateapplication)
sets active cell |
|
void |
setactivepane(int value)
gets or sets index of the active pane. |
|
void |
setblank(int irow,
int icolumn)
sets blank in specified cell. |
|
void |
setboolean(int irow,
int icolumn,
boolean value)
sets value in the specified cell. |
|
void |
setcaculatevalue(java.lang.object value,
int row,
int col)
sets the value of a cell. |
|
void |
setcellvalue(int rowindex,
int columnindex,
boolean boolvalue)
sets value in the specified cell. |
|
void |
setcellvalue(int rowindex,
int columnindex,
java.lang.string stringvalue)
sets value in the specified cell. |
|
void |
setcolumnwidth(int columnindex,
double width)
sets column width |
|
void |
setcolumnwidthinpixels(int icolumn,
int value)
sets column width in pixels. |
|
void |
setcolumnwidthinpixels(int columnindex,
int count,
int value)
sets the width of the specified columns. |
|
void |
setdefaultcolumnstyle(int firstcolumnindex,
int lastcolumnindex,
istyle defaultstyle)
sets by column index default style for column. |
|
void |
setdefaultcolumnstyle(int columnindex,
istyle defaultstyle)
sets default style for column. |
|
void |
setdefaultcolumnwidth(double value)
returns or sets the default width of all the columns in the worksheet. |
|
void |
setdefaultprintrowheight(int value)
return default row height in pixel. |
|
void |
setdefaultrowheight(double value)
gets or sets default height of all the rows in the worksheet, in points. |
|
void |
setdefaultrowstyle(int firstrowindex,
int lastrowindex,
istyle defaultstyle)
sets by column index default style for row. |
|
void |
setdefaultrowstyle(int rowindex,
istyle defaultstyle)
sets bdefault style for row. |
|
void |
setdisplaypagebreaks(boolean value)
true if page breaks (both automatic and manual) on the specified worksheet are displayed. |
|
void |
seterror(int irow,
int icolumn,
java.lang.string value,
boolean issettext)
|
|
void |
setfirstcolumn(int columnindex)
updates first column indexe. |
|
void |
setfirstrow(int rowindex)
updates first row index. |
|
void |
setfirstvisiblecolumn(int value)
index to first visible column in right pane(s). |
|
void |
setfirstvisiblerow(int value)
index to first visible row in bottom pane(s). |
|
void |
setformula(int irow,
int icolumn,
java.lang.string value)
sets formula in the specified cell. |
|
void |
setformula(int irow,
int icolumn,
java.lang.string value,
boolean bisr1c1)
sets formula in the specified cell. |
|
void |
setformulaboolvalue(int irow,
int icolumn,
boolean value)
sets formula bool value. |
|
void |
setformulaerrorvalue(int irow,
int icolumn,
java.lang.string value)
sets formula error value. |
|
void |
setformulanumbervalue(int irow,
int icolumn,
double value)
sets formula number value. |
|
void |
setformulastringvalue(int irow,
int icolumn,
java.lang.string value)
sets formula string value. |
|
void |
setgridlinesvisible(boolean value)
true if gridlines are visible; false otherwise. |
|
void |
sethorizontalsplit(int value)
position of the horizontal split (py, 0 = no horizontal split): unfrozen pane: height of the top pane(s) (in twips = 1/20 of a point) frozen pane: number of visible rows in top pane(s) |
|
void |
setlastcolumn(int columnindex)
updates last column index. |
|
void |
setlastrow(int rowindex)
updates last row index. |
|
void |
setnumber(int irow,
int icolumn,
double value)
sets value in the specified cell. |
|
void |
setrowcolumnheadersvisible(boolean value)
true if row and column headers are visible. |
|
void |
setrowheight(int rowindex,
double height)
sets the height of the specified row. |
|
void |
setrowheightinpixels(int rowindex,
int count,
double value)
set row height from start row index |
|
void |
setrowheightpixels(int rowindex,
double height)
sets the height of the specified row. |
|
void |
setstandardheightflag(boolean value)
gets or sets the standard (default) height option flag, which defines that standard (default) row height and book default font height do not match. |
|
void |
settext(int irow,
int icolumn,
java.lang.string value)
sets text in the specified cell. |
|
void |
settopleftcell(cellrange value)
sets top left cell of the worksheet. |
|
void |
setuserangescache(boolean value)
indicates whether all created range objects should be cached. |
|
void |
setverticalsplit(int value)
position of the vertical split (px, 0 = no vertical split): unfrozen pane: width of the left pane(s) (in twips = 1/20 of a point) frozen pane: number of visible columns in left pane(s) |
|
void |
setviewmode(viewmode viewmode)
sets the view mode of the sheet. |
|
void |
setzoom(int zoom)
sets zoom factor of document. |
|
void |
setzoomscalenormal(int value)
gets or sets the zoom scale of normal view of the sheet. |
|
void |
setzoomscalepagebreakview(int value)
gets or sets the zoom scale of page break preview of the sheet. |
|
void |
setzoomscalepagelayoutview(int value)
gets or sets the zoom scale of page layout view of the sheet. |
|
void |
showcolumn(int columnindex)
shows a column. |
|
void |
showrow(int rowindex)
shows a row. |
|
java.awt.image.bufferedimage |
toimage(int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn)
saves specific worksheet to image. |
|
void |
tosvgstream(java.io.outputstream outputstream,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn)
saves specific cell ranges to svg stream |
|
cellrange |
ungroupbycolumns(int firstcolumn,
int lastcolumn)
ungroups columns. |
|
cellrange |
ungroupbyrows(int firstrow,
int lastrow)
ungroups rows. |
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject |
---|
dispose |
methods inherited from interface com.spire.xls.core.iworksheet |
---|
copytoclipboard, getcells, getcodename, getcomments, getgridlinecolor, getindex, getleftvisiblecolumn, gettopvisiblerow, protect, savetoimage, savetoimage, savetoimage, savetostream, seterror, setgridlinecolor, setleftvisiblecolumn, settopvisiblerow, setvalue, unprotect |
constructor detail |
---|
public xlsworksheet(java.lang.object parent)
method detail |
---|
public ioleobjects getoleobjects()
getoleobjects
in interface iworksheet
public getautofilters()
getautofilters
in interface iworksheet
public java.util.arraylist<cellrange> getcelllist()
public boolean getdisplaypagebreaks()
getdisplaypagebreaks
in interface iworksheet
public void setdisplaypagebreaks(boolean value)
public ixlsrange[] getmergedcells()
getmergedcells
in interface iworksheet
public inameranges getnames()
getnames
in interface iworksheet
public getpagesetup()
getpagesetup
in interface iworksheet
public ixlsrange getallocatedrange()
getallocatedrange
in interface iworksheet
public ixlsrange[] getrows()
getrows
in interface iworksheet
public ixlsrange[] getcolumns()
getcolumns
in interface iworksheet
public iconditionalformatscollection getconditionalformats()
public double getdefaultrowheight()
getdefaultrowheight
in interface iworksheet
public void setdefaultrowheight(double value)
setdefaultrowheight
in interface iworksheet
public int getdefaultprintrowheight()
public void setdefaultprintrowheight(int value)
public viewmode getviewmode()
public void setviewmode(viewmode viewmode)
public double getdefaultcolumnwidth()
getdefaultcolumnwidth
in interface iworksheet
public void setdefaultcolumnwidth(double value)
setdefaultcolumnwidth
in interface iworksheet
public int getzoom()
getzoom
in interface iworksheet
getzoom
in class xlsworksheetbase
public void setzoom(int zoom)
setzoom
in interface iworksheet
setzoom
in class xlsworksheetbase
public int getzoomscalenormal()
public void setzoomscalenormal(int value)
public int getzoomscalepagebreakview()
public void setzoomscalepagebreakview(int value)
public int getzoomscalepagelayoutview()
public void setzoomscalepagelayoutview(int value)
public int getselectioncount()
public excelversion getversion()
public sparklinegroupcollection getsparklinegroups()
public boolean getstandardheightflag()
public void setstandardheightflag(boolean value)
public excelsheettype gettype()
gettype
in interface iworksheet
public xlsrange getrange()
getrange
in interface iworksheet
public ixlsrange get(int row, int column)
get
in interface iworksheet
public ixlsrange get(int row, int column, int lastrow, int lastcolumn)
get
in interface iworksheet
public ixlsrange get(java.lang.string name)
get
in interface iworksheet
public cellrange gettopleftcell()
public void settopleftcell(cellrange value)
public boolean getuserangescache()
getuserangescache
in interface iworksheet
public void setuserangescache(boolean value)
public int getverticalsplit()
iworksheet
getverticalsplit
in interface iworksheet
public void setverticalsplit(int value)
iworksheet
setverticalsplit
in interface iworksheet
public ivpagebreaks getvpagebreaks()
getvpagebreaks
in interface iworksheet
public int getactivepane()
getactivepane
in interface iworksheet
public void setactivepane(int value)
setactivepane
in interface iworksheet
public void setfirstcolumn(int columnindex)
setfirstcolumn
in class xlsworksheetbase
columnindex
- column indexpublic void setlastcolumn(int columnindex)
setlastcolumn
in class xlsworksheetbase
columnindex
- column index.public void setfirstrow(int rowindex)
setfirstrow
in class xlsworksheetbase
rowindex
- row index.public void setlastrow(int rowindex)
setlastrow
in class xlsworksheetbase
rowindex
- row index.public void showcolumn(int columnindex)
columnindex
- column index.public void showrow(int rowindex)
rowindex
- row index.public void setactivecell(ixlsrange range, boolean updateapplication)
range
- cell to activate.public int getfirstvisiblecolumn()
iworksheet
getfirstvisiblecolumn
in interface iworksheet
public void setfirstvisiblecolumn(int value)
iworksheet
setfirstvisiblecolumn
in interface iworksheet
public int getfirstvisiblerow()
iworksheet
getfirstvisiblerow
in interface iworksheet
public void setfirstvisiblerow(int value)
iworksheet
setfirstvisiblerow
in interface iworksheet
public boolean getgridlinesvisible()
getgridlinesvisible
in interface iworksheet
public void setgridlinesvisible(boolean value)
setgridlinesvisible
in interface iworksheet
public boolean hasmergedcells()
public boolean hasoleobjects()
hasoleobjects
in interface iworksheet
public int gethorizontalsplit()
iworksheet
gethorizontalsplit
in interface iworksheet
public void sethorizontalsplit(int value)
iworksheet
sethorizontalsplit
in interface iworksheet
public ihpagebreaks gethpagebreaks()
gethpagebreaks
in interface iworksheet
public ihyperlinks gethyperlinks()
gethyperlinks
in interface iworksheet
public boolean isdisplayzeros()
isdisplayzeros
in interface iworksheet
public void isdisplayzeros(boolean value)
isdisplayzeros
in interface iworksheet
public boolean isempty()
public boolean isfreezepanes()
public boolean isstringspreserved()
isstringspreserved
in interface iworksheet
public void isstringspreserved(boolean value)
isstringspreserved
in interface iworksheet
public boolean addalloweditrange(java.lang.string title, cellrange range, java.lang.string password)
title
- titlerange
- rangepassword
- passwordpublic boolean addalloweditrange(java.lang.string title, cellrange range)
title
- titlerange
- rangepublic ilistobjects getlistobjects()
getlistobjects
in interface iworksheet
public boolean getrowcolumnheadersvisible()
getrowcolumnheadersvisible
in interface iworksheet
public void setrowcolumnheadersvisible(boolean value)
setrowcolumnheadersvisible
in interface iworksheet
public boolean getprotectcontents()
getprotectcontents
in class xlsworksheetbase
public pivottablescollection getpivottables()
getpivottables
in interface iworksheet
public java.lang.string getquotedname()
public idatavalidationtable getdvtable()
public java.lang.object getcaculatevalue(int row, int col)
row
- the row of the cell.col
- the column of the cell.
public void setcaculatevalue(java.lang.object value, int row, int col)
value
- the value to be set.row
- the row of the cell.col
- the column of the cell.public int insertarray(java.util.date[] datearray, int firstrow, int firstcolumn, boolean isvertical)
insertarray
in interface iworksheet
datearray
- datetime array.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
public int insertarray(java.lang.double[] doublearray, int firstrow, int firstcolumn, boolean isvertical)
insertarray
in interface iworksheet
doublearray
- double arrayfirstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
publicint insertarrayt(t[] objects, int firstrow, int firstcolumn, boolean isvertical)
objects
- object array.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
public int insertarray(int[] intarray, int firstrow, int firstcolumn, boolean isvertical)
insertarray
in interface iworksheet
intarray
- integer array.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
public int insertarray(java.lang.object[][] objectarray, int firstrow, int firstcolumn)
insertarray
in interface iworksheet
objectarray
- object array.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.
public int insertarray(java.lang.string[] stringarray, int firstrow, int firstcolumn, boolean isvertical)
insertarray
in interface iworksheet
stringarray
- string array.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
public int insertarray(java.lang.object[] arrobject, int firstrow, int firstcolumn, boolean isvertical)
insertarray
in interface iworksheet
arrobject
- array to import.firstrow
- the row number of the first cell to import infirstcolumn
- the column number of the first cell to import in.isvertical
- true if array should be imported vertically; false - horizontally.
public int insertarraylist(java.util.arraylist arraylist, int firstrow, int firstcolumn, boolean isvertical)
arraylist
- data arraylist.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.isvertical
- specifies to import data vertically or horizontally.
public int insertdatacolumn(datacolumn datacolumn, boolean columnheaders, int firstrow, int firstcolumn)
insertdatacolumn
in interface iworksheet
datacolumn
- data column to import.columnheaders
- indicates whether to import field names.firstrow
- index of the first row.firstcolumn
- index of the first column
public int insertdatacolumns(datacolumn[] datacolumns, boolean columnheaders, int firstrow, int firstcolumn)
datacolumns
- data columns to import.columnheaders
- indicates whether to import field names.firstrow
- index to the first row.firstcolumn
- index to the first column.
public int insertdatatable(datatable datatable, boolean columnheaders, int firstrow, int firstcolumn)
insertdatatable
in interface iworksheet
datatable
- datatablecolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.
public int insertdatatable(datatable datatable, boolean columnheaders, int firstrow, int firstcolumn, boolean transtypes)
insertdatatable
in interface iworksheet
datatable
- datatablecolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.transtypes
- indicates if preserve types when insert data into worksheet
public int insertdatatable(datatable datatable, boolean columnheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns)
insertdatatable
in interface iworksheet
datatable
- datatablecolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to importmaxcolumns
- maximum number of columns to import
public int insertdatatable(datatable datatable, boolean columnheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns, boolean transtypes)
insertdatatable
in interface iworksheet
datatable
- datatablecolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to importmaxcolumns
- maximum number of columns to importtranstypes
- indicates if preserve types when insert data into worksheet
public int insertdatatable(datatable datatable, boolean columnheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns, datacolumn[] columnsarray, boolean transtypes)
datatable
- datatablecolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to importmaxcolumns
- maximum number of columns to importcolumnsarray
- array of columns to import.transtypes
- indicates if preserve types when insert data into worksheet.true is default
public int importdatatable(java.lang.object[][] data, boolean includeheaders, int firstrow, int firstcolumn)
data
- dataincludeheaders
- indicates whether to have headers data.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.
public int importdatatable(java.lang.object[][] data, boolean includeheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns)
data
- dataincludeheaders
- indicates whether to have headers data.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to importmaxcolumns
- maximum number of columns to import
public int insertdataview( dataview, boolean columnheaders, int firstrow, int firstcolumn)
insertdataview
in interface iworksheet
dataview
- data view objectcolumnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.
public int insertdataview( dataview, boolean columnheaders, int firstrow, int firstcolumn, boolean transtypes)
insertdataview
in interface iworksheet
dataview
- dataview object.columnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.transtypes
- indicates if preserve types when insert data into worksheet.
public int insertdataview( dataview, boolean columnheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns)
insertdataview
in interface iworksheet
dataview
- dataview object.columnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.
public int insertdataview( dataview, boolean columnheaders, int firstrow, int firstcolumn, int maxrows, int maxcolumns, boolean transtypes)
insertdataview
in interface iworksheet
dataview
- dataview object.columnheaders
- indicates whether to import field names.firstrow
- the row number of the first cell to import in.firstcolumn
- the column number of the first cell to import in.maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.transtypes
- indicates if preserve types when insert data into worksheet.
public boolean iscolumnvisible(int columnindex)
iscolumnvisible
in interface iworksheet
columnindex
- column index.
public boolean isexternalformula(int row, int column)
row
- represents row index.column
- represents column index.
public boolean isrowvisible(int rowindex)
isrowvisible
in interface iworksheet
rowindex
- row index.
public void autofitcolumn(int columnindex)
autofitcolumn
in interface iworksheet
columnindex
- column index.public void autofitcolumn(int columnindex, int firstrow, int lastrow)
columnindex
- column index.firstrow
- one-based index of the first row to be used for autofit operation.lastrow
- one-based index of the last row to be used for autofit operation.public void autofitrow(int rowindex)
autofitrow
in interface iworksheet
rowindex
- row indexpublic void autofitrow(int rowindex, int firstcolumn, int lastcolumn, boolean braiseevents)
rowindex
- row indexbraiseevents
- if true then raise events.public boolean checkexistence(int row, int column)
checkexistence
in interface iworksheet
row
- row index.column
- column index.
public void clear()
clear
in interface iworksheet
public void cleardata()
cleardata
in interface iworksheet
public int columnwidthtopixels(double widthinchars)
columnwidthtopixels
in interface iworksheet
widthinchars
- column width to convert.
public xlsworksheet.trangevaluetype getcelltype(int row, int column, boolean bneedformulasubtype)
row
- indicates row.column
- indicates column.bneedformulasubtype
- indicates is need to indified formula sub type.
public getclonedobject(java.util.hashmap hashnewnames, xlsworkbook book)
hashnewnames
- dictionary with update worksheet names.book
- new workbook object.
public java.lang.string getstringvalue(long cellindex)
cellindex
- cell index to get value from.
public java.lang.object gettextobject(long cellindex)
cellindex
- cell index.
public boolean hasarrayformula(long cellindex)
cellindex
- cell index.
public boolean hasarrayformularecord(int row, int column)
row
- represents row index.column
- represents column index.
public ixlsrange insertrange(int rowindex, int columnindex, int rowcount, int columncount, insertmoveoption moveoptions, insertoptionstype insertoptions)
rowindex
- the cell range first row indexcolumnindex
- the cell range first column indexrowcount
- the number of rowscolumncount
- the number of columnsmoveoptions
- insert options.insertoptions
- move the cell on the right to right or move the cell below down
public boolean isarrayformula(long cellindex)
cellindex
- cell index to check.
public void createnamedranges(java.lang.string namedrange, java.lang.string referrange, boolean vertical)
createnamedranges
in interface iworksheet
namedrange
- names to createreferrange
- refers to rangevertical
- true if data are vertically placed in the sheet.public void deletecolumn(int columnindex)
deletecolumn
in interface iworksheet
columnindex
- column index to remove..public void deletecolumn(int index, int count)
index
- one-based column index to remove.count
- number of columns to remove.public void deleterow(int index)
deleterow
in interface iworksheet
index
- row index to removepublic void deleterow(int index, int count)
index
- one-based row index to removecount
- number of rows to delete.public void insertcolumn(int columnindex)
columnindex
- column indexpublic void insertcolumn(int columnindex, int columncount, insertoptionstype insertoptions)
columnindex
- index at which new column should be insertedcolumncount
- number of columns to insert.insertoptions
- insert options.public void insertcolumn(int columnindex, int columncount)
columnindex
- column indexcolumncount
- number of columns to insert.public void insertrow(int rowindex)
rowindex
- index at which new row should be insertedpublic datatable exportdatatable()
public java.lang.object[][] exportdata()
public java.lang.object[][] exportdata(boolean computeformula)
computeformula
-
public java.lang.object[][] exportdata(int firstrow, int firstcolumn, int maxrows, int maxcolumns, boolean computedformulavalue)
firstrow
- export sheet first row,start with 1firstcolumn
- export sheet first column,start width 1maxrows
- export row countmaxcolumns
- export column countcomputedformulavalue
- compute cell formula
public void insertrow(int rowindex, int rowcount, insertoptionstype insertoptions)
rowindex
- index at which new row should be inserted.rowcount
- number of rows to insert.insertoptions
- insert options.public void insertrow(int rowindex, int rowcount)
rowindex
- index at which new row should be insertedrowcount
- number of rows to be inserted.public boolean getboolean(int row, int column)
getboolean
in interface iworksheet
row
- represents row index.column
- represents column index.
public double getcolumnwidth(int columnindex)
columnindex
- column index
public int getcolumnwidthpixels(int columnindex)
getcolumnwidthpixels
in interface iworksheet
columnindex
- column index.
public istyle getdefaultcolumnstyle(int columnindex)
getdefaultcolumnstyle
in interface iworksheet
columnindex
- column index.
public istyle getdefaultrowstyle(int rowindex)
getdefaultrowstyle
in interface iworksheet
rowindex
- row index.
public java.lang.string geterror(int row, int column)
geterror
in interface iworksheet
row
- row index.column
- column index.
public java.lang.string getformulaerrorvalue(int row, int column)
getformulaerrorvalue
in interface iworksheet
row
- row index.column
- column index.
public double getformulanumbervalue(int row, int column)
getformulanumbervalue
in interface iworksheet
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
public java.lang.string getformulastringvalue(int row, int column)
getformulastringvalue
in interface iworksheet
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
public java.lang.string getformula(int row, int column, boolean br1c1)
getformula
in interface iworksheet
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.br1c1
- indicates whether r1c1 notation should be used.
public java.lang.string getformula(int row, int column, boolean br1c1, boolean isforserialization)
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.br1c1
- indicates whether r1c1 notation should be used.
public boolean getformulaboolvalue(int row, int column)
getformulaboolvalue
in interface iworksheet
row
- represents row index.column
- represents column index.
public double getnumber(int row, int column)
getnumber
in interface iworksheet
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
public double getrowheight(int row)
row
- row index.
public void hidecolumn(int columnindex)
columnindex
- column index.public void hiderow(int rowindex)
rowindex
- row index.public int getrowheightpixels(int rowindex)
getrowheightpixels
in interface iworksheet
rowindex
- row index.
public java.lang.string gettext(int row, int column)
gettext
in interface iworksheet
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
public void deleterange(cellrange range, deleteoption deleteoption)
range
- the range to be deleteddeleteoption
- choose to move the right range to left or move the below range to abovepublic void moveworksheet(int destindex)
moveworksheet
in interface iworksheet
destindex
- destination index.public double pixelstocolumnwidth(double pixels)
pixelstocolumnwidth
in interface iworksheet
pixels
- column width in pixels.
public void remove()
remove
in interface iworksheet
public void removemergedcells(ixlsrange range)
range
- public void removepanes()
removepanes
in interface iworksheet
public void replace(java.lang.string oldvalue, datacolumn column, boolean columnheaders)
replace
in interface iworksheet
oldvalue
- string value to replace.column
- data table with new data.columnheaders
- indicates whether to import field names.public void replace(java.lang.string oldvalue, datatable newvalues, boolean columnheaders)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalues
- data table with new data.columnheaders
- indicates whether to import field names.public void replace(java.lang.string oldvalue, java.util.date newvalue)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.public void replace(java.lang.string oldvalue, double newvalue)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.public void replace(java.lang.string oldvalue, double[] newvalues, boolean isvertical)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
public void replace(java.lang.string oldvalue, int[] newvalues, boolean isvertical)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
public void replace(java.lang.string oldvalue, java.lang.string newvalue)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.public void replace(java.lang.string oldvalue, java.lang.string[] newvalues, boolean isvertical)
replace
in interface iworksheet
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
public void savetoimage(java.lang.string filename, int firstrow, int firstcolumn, int lastrow, int lastcolumn)
filename
- file namefirstrow
- firstcolumn
- lastrow
- lastcolumn
- public void savetoimage(java.lang.string filename)
filename
- file namepublic void savetotiff(java.lang.string filename)
public void savetotiff(java.lang.string filename, int firstrow, int firstcolumn, int lastrow, int lastcolumn)
public java.awt.image.bufferedimage toimage(int firstrow, int firstcolumn, int lastrow, int lastcolumn)
firstrow
- one-based index of the first row to convert.firstcolumn
- one-based index of the first column to convert.lastrow
- one-based index of the last row to convert.lastcolumn
- one-based index of the last column to convert.
public void savetohtml(java.io.outputstream stream, htmloptions saveoption)
stream
- the streamsaveoption
- the optionpublic void savetohtml(java.lang.string filename)
filename
- file namepublic void savetohtml(java.lang.string filename, htmloptions saveoption)
filename
- the filenamesaveoption
- the optionpublic void savetoemfimage(java.lang.string filepath, int firstrow, int firstcolumn, int lastrow, int lastcolumn, int emftype)
firstrow
- one-based index of the first row to convert.firstcolumn
- one-based index of the first column to convert.lastrow
- one-based index of the last row to convert.lastcolumn
- one-based index of the last column to convert.filepath
- output file pathemftype
- metafile emftype.public void savetofile(java.lang.string filename, java.lang.string separator)
savetofile
in interface iworksheet
filename
- file name.separator
- seperator.public void savetofile(java.lang.string filename, java.lang.string separator, boolean retainhiddendata)
filename
- file name.separator
- seperator.retainhiddendata
- retain hidden datapublic void savetofile(java.lang.string filename, java.lang.string separator, java.nio.charset.charset encoding)
filename
- file name.separator
- seperator.encoding
- encoding to use.public void savetostream(java.io.outputstream stream, java.lang.string separator)
stream
- stream object.separator
- seperator.public void savetostream(java.io.outputstream stream, java.lang.string separator, java.nio.charset.charset charset)
stream
- separator
- charset
- public void savetostream(java.io.outputstream stream, java.lang.string separator, boolean retainhiddendata)
stream
- stream object.separator
- seperator.retainhiddendata
- retain hidden data.public void savetopdf(java.lang.string filename)
filename
- file name.public void savetopdfstream(java.io.outputstream outputstream)
outputstream
- stoutputstream.public void tosvgstream(java.io.outputstream outputstream, int firstrow, int firstcolumn, int lastrow, int lastcolumn)
outputstream
- output stream.firstrow
- one-based index of the first row to convert.firstcolumn
- one-based index of the first column to convert.lastrow
- one-based index of the last row to convert.lastcolumn
- one-based index of the last column to convert.public void setblank(int irow, int icolumn)
setblank
in interface iworksheet
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.public void setboolean(int irow, int icolumn, boolean value)
setboolean
in interface iworksheet
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- value to set.public void setcolumnwidthinpixels(int icolumn, int value)
setcolumnwidthinpixels
in interface iworksheet
icolumn
- one-based column index.value
- width in pixels to set.public void setcolumnwidth(int columnindex, double width)
columnindex
- column index.width
- width to set.public void setcolumnwidthinpixels(int columnindex, int count, int value)
columnindex
- column indexcount
- countvalue
- valuepublic void setdefaultcolumnstyle(int columnindex, istyle defaultstyle)
setdefaultcolumnstyle
in interface iworksheet
columnindex
- column index.defaultstyle
- default style.public void setdefaultcolumnstyle(int firstcolumnindex, int lastcolumnindex, istyle defaultstyle)
setdefaultcolumnstyle
in interface iworksheet
firstcolumnindex
- start column index.lastcolumnindex
- end column index.defaultstyle
- default style.public void setdefaultrowstyle(int rowindex, istyle defaultstyle)
setdefaultrowstyle
in interface iworksheet
rowindex
- row index.defaultstyle
- default style.public void setdefaultrowstyle(int firstrowindex, int lastrowindex, istyle defaultstyle)
setdefaultrowstyle
in interface iworksheet
firstrowindex
- start row index.lastrowindex
- end row index.defaultstyle
- default style.public void seterror(int irow, int icolumn, java.lang.string value, boolean issettext)
irow
- icolumn
- value
- issettext
- public void setformula(int irow, int icolumn, java.lang.string value)
setformula
in interface iworksheet
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- formula to set.public void setformula(int irow, int icolumn, java.lang.string value, boolean bisr1c1)
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- formula to set.bisr1c1
- indicates is formula in r1c1 notation.public void setformulaboolvalue(int irow, int icolumn, boolean value)
setformulaboolvalue
in interface iworksheet
irow
- one based row index.icolumn
- one based column index.value
- represents formula bool value for set.public void setformulaerrorvalue(int irow, int icolumn, java.lang.string value)
setformulaerrorvalue
in interface iworksheet
irow
- one based row index.icolumn
- one based column index.value
- represents formula error value for set.public void setformulanumbervalue(int irow, int icolumn, double value)
setformulanumbervalue
in interface iworksheet
irow
- one based row index.icolumn
- one based column index.value
- represents formula number value for set.public void setformulastringvalue(int irow, int icolumn, java.lang.string value)
setformulastringvalue
in interface iworksheet
irow
- one based row index.icolumn
- one based column index.value
- represents formula string value for set.public void setnumber(int irow, int icolumn, double value)
setnumber
in interface iworksheet
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- value to set.public void setrowheightinpixels(int rowindex, int count, double value)
rowindex
- row indexcount
- countvalue
- valuepublic void setrowheight(int rowindex, double height)
rowindex
- row index.height
- height.public void setrowheightpixels(int rowindex, double height)
setrowheightpixels
in interface iworksheet
rowindex
- row index.height
- height.public void settext(int irow, int icolumn, java.lang.string value)
settext
in interface iworksheet
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- text to set.public void setcellvalue(int rowindex, int columnindex, boolean boolvalue)
rowindex
- row index.columnindex
- column index.boolvalue
- value to set.public void setcellvalue(int rowindex, int columnindex, java.lang.string stringvalue)
rowindex
- row indexcolumnindex
- column index.stringvalue
- value to set.public cellrange groupbycolumns(int firstcolumn, int lastcolumn, boolean iscollapsed)
firstcolumn
- the first column index to be grouped.lastcolumn
- the last column index to be grouped.iscollapsed
- indicates whether group should be collapsed.
public cellrange groupbyrows(int firstrow, int lastrow, boolean iscollapsed)
firstrow
- the first row index to be grouped.lastrow
- the last row index to be grouped.iscollapsed
- indicates whether group should be collapsed.
public cellrange ungroupbycolumns(int firstcolumn, int lastcolumn)
firstcolumn
- the first column index to be grouped.lastcolumn
- the last column index to be grouped.
public cellrange ungroupbyrows(int firstrow, int lastrow)
firstrow
- the first row index to be grouped.lastrow
- the last row index to be grouped.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |