|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
public interface iworksheet
represents a worksheet. the worksheet object is a member of the worksheets collection. the worksheets collection contains all the worksheet objects in a workbook.
method summary | |
---|---|
void |
autofitcolumn(int columnindex)
autofits specified column. |
void |
autofitrow(int rowindex)
autofits specified row. |
boolean |
checkexistence(int irow,
int icolumn)
indicates whether a cell was initialized or accessed by the user. |
void |
clear()
clears worksheet data. |
void |
cleardata()
clears worksheet. |
int |
columnwidthtopixels(double widthinchars)
converts column width into pixels. |
void |
copytoclipboard()
copies worksheet into the clipboard. |
void |
createnamedranges(java.lang.string namedrange,
java.lang.string referrange,
boolean vertical)
creates object that can be used for template markers processing. |
void |
deletecolumn(int index)
removes specified column (with formulas update). |
void |
deleterow(int index)
removes specified row (with formulas update). |
ixlsrange |
get(int row,
int column)
gets / sets cell by row and index. |
ixlsrange |
get(int row,
int column,
int lastrow,
int lastcolumn)
get cells range. |
ixlsrange |
get(java.lang.string name)
get cell range. |
int |
getactivepane()
identifier of pane with active cell cursor. |
ixlsrange |
getallocatedrange()
returns a range object that represents a cell or a range of cells. |
|
getautofilters()
returns collection of worksheet's autofilters. |
boolean |
getboolean(int row,
int column)
gets bool value from cell. |
ixlsrange[] |
getcells()
returns all used cells in the worksheet. |
java.lang.string |
getcodename()
name that is used by macros to access the workbook items. |
ixlsrange[] |
getcolumns()
for a worksheet object, returns an array of range objects that represents all the columns on the specified worksheet. |
int |
getcolumnwidthpixels(int column)
returns width in pixels from columninforecord if there is corresponding columninforecord or standardwidth if not. |
icomments |
getcomments()
|
istyle |
getdefaultcolumnstyle(int icolumnindex)
returns default column style. |
double |
getdefaultcolumnwidth()
returns the standard (default) width of all the columns in the worksheet. |
double |
getdefaultrowheight()
returns the standard (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. |
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 value 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. |
excelcolors |
getgridlinecolor()
gets grid line color. |
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. |
int |
getindex()
returns the index number of the object within the collection of similar objects. |
int |
getleftvisiblecolumn()
gets left visible column of the worksheet. |
ilistobjects |
getlistobjects()
gets collection of all list objects in the worksheet. |
ixlsrange[] |
getmergedcells()
returns all merged ranges. |
inameranges |
getnames()
for a worksheet object, returns a names collection that represents all the worksheet-specific names (names defined with the "worksheetname!" prefix). |
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 containing all pivot tables in 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; false otherwise. |
int |
getrowheightpixels(int row)
returns height from rowrecord if there is a corresponding rowrecord. |
ixlsrange[] |
getrows()
for a worksheet object, returns an array of range objects that represents all the rows on the specified worksheet. |
java.lang.string |
gettext(int row,
int column)
returns string value corresponding to the cell. |
int |
gettopvisiblerow()
gets top visible row of the worksheet. |
excelsheettype |
gettype()
returns or sets the worksheet type. |
boolean |
getuserangescache()
indicates whether all created range objects should be cached. |
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) |
ivpagebreaks |
getvpagebreaks()
returns a vpagebreaks collection that represents the vertical page breaks on the sheet. |
int |
getzoom()
zoom factor of document. |
boolean |
hasoleobjects()
gets or sets a value indicating whether this instance is ole object. |
int |
insertarray(java.util.date[] arrdate,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of datetimes into worksheet. |
int |
insertarray(java.lang.double[] arrdouble,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of doubles into a worksheet. |
int |
insertarray(int[] arrint,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of integers into a worksheet. |
int |
insertarray(java.lang.object[][] arrobject,
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[] arrstring,
int firstrow,
int firstcolumn,
boolean isvertical)
imports an array of strings into a worksheet. |
int |
insertdatacolumn(datacolumn datacolumn,
boolean isfieldnameshown,
int firstrow,
int firstcolumn)
imports data from a datacolumn into worksheet. |
int |
insertdatatable(datatable datatable,
boolean isfieldnameshown,
int firstrow,
int firstcolumn)
imports data from a datatable into worksheet. |
int |
insertdatatable(datatable datatable,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
boolean preservetypes)
imports data from a datatable into worksheet. |
int |
insertdatatable(datatable datatable,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns)
imports data from a datatable into worksheet. |
int |
insertdatatable(datatable datatable,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
boolean preservetypes)
imports data from a datatable into worksheet. |
int |
insertdataview( dataview,
boolean isfieldnameshown,
int firstrow,
int firstcolumn)
imports data from a dataview into worksheet. |
int |
insertdataview( dataview,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
boolean bpreservetypes)
imports data from a dataview into worksheet. |
int |
insertdataview( dataview,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns)
imports data from a dataview into worksheet. |
int |
insertdataview( dataview,
boolean isfieldnameshown,
int firstrow,
int firstcolumn,
int maxrows,
int maxcolumns,
boolean bpreservetypes)
imports data from a dataview into worksheet. |
boolean |
iscolumnvisible(int columnindex)
method check is column with specifed index visible to end user or not. |
boolean |
isdisplayzeros()
true if zero values to be displayed false otherwise. |
void |
isdisplayzeros(boolean value)
true if zero values to be displayed false otherwise. |
boolean |
isrowvisible(int rowindex)
method check is row with specifed index visible to user or not. |
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 inewindex)
moves worksheet. |
double |
pixelstocolumnwidth(double pixels)
converts pixels into column width (in characters). |
void |
protect(java.lang.string password)
protects worksheet's content with password. |
void |
remove()
removes worksheet from parent worksheets collection. |
void |
removepanes()
removes panes from a worksheet. |
void |
replace(java.lang.string oldvalue,
datacolumn newvalues,
boolean isfieldnamesshown)
replaces specified string by data column values. |
void |
replace(java.lang.string oldvalue,
datatable newvalues,
boolean isfieldnamesshown)
replaces specified string by data table values. |
void |
replace(java.lang.string oldvalue,
java.util.date newvalue)
replaces specified string by specified value. |
void |
replace(java.lang.string oldvalue,
double newvalue)
replaces specified string by specified value. |
void |
replace(java.lang.string oldvalue,
double[] newvalues,
boolean isvertical)
replaces specified string by data from array. |
void |
replace(java.lang.string oldvalue,
int[] newvalues,
boolean isvertical)
replaces specified string by data from array. |
void |
replace(java.lang.string oldvalue,
java.lang.string newvalue)
replaces specified string by specified value. |
void |
replace(java.lang.string oldvalue,
java.lang.string[] newvalues,
boolean isvertical)
replaces specified string by data from array. |
void |
savetofile(java.lang.string filename,
java.lang.string separator)
save tabsheet using separator. |
com.spire.ms.system.drawing.image |
savetoimage(int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn)
converts range into image (bitmap). |
com.spire.ms.system.drawing.image |
savetoimage(com.spire.ms.system.io.stream outputstream,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn,
imagetype,
int emftype)
converts range into image. |
com.spire.ms.system.drawing.image |
savetoimage(com.spire.ms.system.io.stream stream,
int firstrow,
int firstcolumn,
int lastrow,
int lastcolumn,
int imagetype)
converts range into image. |
void |
savetostream(com.spire.ms.system.io.stream stream,
java.lang.string separator)
save tabsheet using separator. |
void |
setactivepane(int value)
identifier of pane with active cell cursor. |
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 |
setcolumnwidthinpixels(int columnindex,
int value)
sets column width. |
void |
setdefaultcolumnstyle(int istartcolumnindex,
int iendcolumnindex,
istyle defaultstyle)
sets by column index default style for column. |
void |
setdefaultcolumnstyle(int icolumnindex,
istyle defaultstyle)
sets by column index default style for column. |
void |
setdefaultcolumnwidth(double value)
sets the standard (default) width of all the columns in the worksheet. |
void |
setdefaultrowheight(double value)
sets the standard (default) height of all the rows in the worksheet, in points. |
void |
setdefaultrowstyle(int istartrowindex,
int iendrowindex,
istyle defaultstyle)
sets by column index default style for row. |
void |
setdefaultrowstyle(int rowindex,
istyle defaultstyle)
sets by column index default style for row. |
void |
seterror(int irow,
int icolumn,
java.lang.string value)
sets error in the specified cell. |
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 |
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 |
setgridlinecolor(excelcolors value)
sets grid line color. |
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 |
setleftvisiblecolumn(int value)
sets left visible column of the worksheet. |
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; false otherwise. |
void |
setrowheightpixels(int row,
double value)
sets row height in pixels. |
void |
settext(int irow,
int icolumn,
java.lang.string value)
sets text in the specified cell. |
void |
settopvisiblerow(int value)
sets top visible row of the worksheet. |
void |
setvalue(int irow,
int icolumn,
java.lang.string value)
sets value in the specified cell. |
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 |
setzoom(int value)
zoom factor of document. |
void |
unprotect(java.lang.string password)
unprotects worksheet's content with password. |
method detail |
---|
getautofilters()
ixlsrange[] getcells()
boolean getdisplaypagebreaks()
int getindex()
ixlsrange[] getmergedcells()
inameranges getnames()
java.lang.string getcodename()
getpagesetup()
ixlsrange getallocatedrange()
ixlsrange[] getrows()
ixlsrange[] getcolumns()
double getdefaultrowheight()
void setdefaultrowheight(double value)
double getdefaultcolumnwidth()
void setdefaultcolumnwidth(double value)
excelsheettype gettype()
xlsrange getrange()
int getzoom()
void setzoom(int value)
int getverticalsplit()
void setverticalsplit(int value)
int gethorizontalsplit()
void sethorizontalsplit(int value)
int getfirstvisiblerow()
void setfirstvisiblerow(int value)
int getfirstvisiblecolumn()
void setfirstvisiblecolumn(int value)
int getactivepane()
void setactivepane(int value)
boolean isdisplayzeros()
void isdisplayzeros(boolean value)
boolean getgridlinesvisible()
void setgridlinesvisible(boolean value)
excelcolors getgridlinecolor()
void setgridlinecolor(excelcolors value)
boolean getrowcolumnheadersvisible()
void setrowcolumnheadersvisible(boolean value)
ivpagebreaks getvpagebreaks()
ihpagebreaks gethpagebreaks()
boolean isstringspreserved()
void isstringspreserved(boolean value)
icomments getcomments()
ixlsrange get(int row, int column)
ixlsrange get(int row, int column, int lastrow, int lastcolumn)
ixlsrange get(java.lang.string name)
ihyperlinks gethyperlinks()
boolean getuserangescache()
int gettopvisiblerow()
void settopvisiblerow(int value)
int getleftvisiblecolumn()
void setleftvisiblecolumn(int value)
pivottablescollection getpivottables()
ilistobjects getlistobjects()
ioleobjects getoleobjects()
boolean hasoleobjects()
void copytoclipboard()
void clear()
void cleardata()
boolean checkexistence(int irow, int icolumn)
irow
- one-based row index of the cell.icolumn
- one-based column index of the cell.
void createnamedranges(java.lang.string namedrange, java.lang.string referrange, boolean vertical)
namedrange
- names to createreferrange
- refers to rangevertical
- true if the named range values are vertically placed in the sheet.boolean iscolumnvisible(int columnindex)
columnindex
- index of column.
boolean isrowvisible(int rowindex)
rowindex
- index of row visibility of each must be checked.
void deleterow(int index)
index
- one-based row index to remove.void deletecolumn(int index)
index
- one-based column index to remove.int insertarray(java.lang.object[] arrobject, int firstrow, int firstcolumn, boolean isvertical)
arrobject
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.isvertical
- true if array should be imported vertically; false - horizontally.
int insertarray(java.lang.string[] arrstring, int firstrow, int firstcolumn, boolean isvertical)
arrstring
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.isvertical
- true if array should be imported vertically; false - horizontally.
int insertarray(int[] arrint, int firstrow, int firstcolumn, boolean isvertical)
arrint
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.isvertical
- true if array should be imported vertically; false - horizontally.
int insertarray(java.lang.double[] arrdouble, int firstrow, int firstcolumn, boolean isvertical)
arrdouble
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.isvertical
- true if array should be imported vertically; false - horizontally.
int insertarray(java.util.date[] arrdate, int firstrow, int firstcolumn, boolean isvertical)
arrdate
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.isvertical
- true if array should be imported vertically; false - horizontally.
int insertarray(java.lang.object[][] arrobject, int firstrow, int firstcolumn)
arrobject
- array to import.firstrow
- row of the first cell where array should be imported.firstcolumn
- column of the first cell where array should be imported.
int insertdatacolumn(datacolumn datacolumn, boolean isfieldnameshown, int firstrow, int firstcolumn)
datacolumn
- datacolumn with desired data.isfieldnameshown
- true if column name must also be imported.firstrow
- row of the first cell where datatable should be imported.firstcolumn
- column of the first cell where datatable should be imported.
int insertdatatable(datatable datatable, boolean isfieldnameshown, int firstrow, int firstcolumn)
datatable
- datatable with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where datatable should be imported.firstcolumn
- column of the first cell where datatable should be imported.
int insertdatatable(datatable datatable, boolean isfieldnameshown, int firstrow, int firstcolumn, boolean preservetypes)
datatable
- datatable with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where datatable should be imported.firstcolumn
- column of the first cell where datatable should be imported.preservetypes
- indicates whether xlsio should try to preserve types in datatable,
i.e. if it is set to false (default) and in datatable we have in string column
value that contains only numbers, it would be converted to number.
int insertdatatable(datatable datatable, boolean isfieldnameshown, int firstrow, int firstcolumn, int maxrows, int maxcolumns)
datatable
- datatable with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where datatable should be imported.firstcolumn
- column of the first cell where datatable should be imported.maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.
int insertdatatable(datatable datatable, boolean isfieldnameshown, int firstrow, int firstcolumn, int maxrows, int maxcolumns, boolean preservetypes)
datatable
- datatable with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where datatable should be imported.firstcolumn
- column of the first cell where datatable should be imported.maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.preservetypes
- indicates whether xlsio should try to preserve types in datatable,
i.e. if it is set to false (default) and in datatable we have in string column
value that contains only numbers, it would be converted to number.
int insertdataview( dataview, boolean isfieldnameshown, int firstrow, int firstcolumn)
dataview
- dataview with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where dataview should be imported.
firstcolumn
- column of the first cell where dataview should be imported.
int insertdataview( dataview, boolean isfieldnameshown, int firstrow, int firstcolumn, boolean bpreservetypes)
dataview
- dataview with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where dataview should be imported.
firstcolumn
- column of the first cell where dataview should be imported.
bpreservetypes
- indicates whether to preserve column types.
int insertdataview( dataview, boolean isfieldnameshown, int firstrow, int firstcolumn, int maxrows, int maxcolumns)
dataview
- dataview with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where dataview should be imported.
firstcolumn
- column of the first cell where dataview should be imported.
maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.
int insertdataview( dataview, boolean isfieldnameshown, int firstrow, int firstcolumn, int maxrows, int maxcolumns, boolean bpreservetypes)
dataview
- dataview with desired data.isfieldnameshown
- true if column names must also be imported.firstrow
- row of the first cell where dataview should be imported.
firstcolumn
- column of the first cell where dataview should be imported.
maxrows
- maximum number of rows to import.maxcolumns
- maximum number of columns to import.bpreservetypes
- indicates whether to preserve column types.
void removepanes()
void protect(java.lang.string password)
password
- password to protect with.void unprotect(java.lang.string password)
password
- password to unprotect.void autofitrow(int rowindex)
rowindex
- one-based row index.void autofitcolumn(int columnindex)
columnindex
- one-based column index.void replace(java.lang.string oldvalue, java.lang.string newvalue)
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.void replace(java.lang.string oldvalue, double newvalue)
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.void replace(java.lang.string oldvalue, java.util.date newvalue)
oldvalue
- string value to replace.newvalue
- new value for the range with specified string.void replace(java.lang.string oldvalue, java.lang.string[] newvalues, boolean isvertical)
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
void replace(java.lang.string oldvalue, int[] newvalues, boolean isvertical)
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
void replace(java.lang.string oldvalue, double[] newvalues, boolean isvertical)
oldvalue
- string value to replace.newvalues
- array of new values.isvertical
- indicates whether array should be inserted vertically.
void replace(java.lang.string oldvalue, datatable newvalues, boolean isfieldnamesshown)
oldvalue
- string value to replace.newvalues
- data table with new data.isfieldnamesshown
- indicates wheter field name must be shown.void replace(java.lang.string oldvalue, datacolumn newvalues, boolean isfieldnamesshown)
oldvalue
- string value to replace.newvalues
- data table with new data.isfieldnamesshown
- indicates whether field name must be shown.void remove()
void moveworksheet(int inewindex)
inewindex
- new index of the worksheet.int columnwidthtopixels(double widthinchars)
widthinchars
- width in characters.
double pixelstocolumnwidth(double pixels)
pixels
- width in pixels
void setcolumnwidthinpixels(int columnindex, int value)
columnindex
- one-based column index.value
- width to set.void setrowheightpixels(int row, double value)
row
- one-based row index to set height.value
- value in pixels to set.int getcolumnwidthpixels(int column)
column
- one-based index of the column.
int getrowheightpixels(int row)
row
- one-bazed index of the row.
void savetofile(java.lang.string filename, java.lang.string separator)
filename
- file to save.separator
- current seperator.void savetostream(com.spire.ms.system.io.stream stream, java.lang.string separator)
stream
- stream to save.separator
- current seperator.void setdefaultcolumnstyle(int icolumnindex, istyle defaultstyle)
icolumnindex
- column index.defaultstyle
- default style.void setdefaultcolumnstyle(int istartcolumnindex, int iendcolumnindex, istyle defaultstyle)
istartcolumnindex
- start column index.iendcolumnindex
- end column index.defaultstyle
- default style.void setdefaultrowstyle(int rowindex, istyle defaultstyle)
rowindex
- row index.defaultstyle
- default style.void setdefaultrowstyle(int istartrowindex, int iendrowindex, istyle defaultstyle)
istartrowindex
- start row index.iendrowindex
- end row index.defaultstyle
- default style.istyle getdefaultcolumnstyle(int icolumnindex)
icolumnindex
- column index.
istyle getdefaultrowstyle(int rowindex)
rowindex
- row index.
void setvalue(int irow, int icolumn, java.lang.string value)
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.void setnumber(int irow, int icolumn, double value)
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.void setboolean(int irow, int icolumn, boolean value)
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.void settext(int irow, int icolumn, java.lang.string value)
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.void setformula(int irow, int icolumn, java.lang.string value)
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.void seterror(int irow, int icolumn, java.lang.string value)
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.value
- error to set.void setblank(int irow, int icolumn)
irow
- one-based row index of the cell to set value.icolumn
- one-based column index of the cell to set value.void setformulanumbervalue(int irow, int icolumn, double value)
irow
- one based row index.icolumn
- one based column index.value
- represents formula number value for set.void setformulaerrorvalue(int irow, int icolumn, java.lang.string value)
irow
- one based row index.icolumn
- one based column index.value
- represents formula error value for set.void setformulaboolvalue(int irow, int icolumn, boolean value)
irow
- one based row index.icolumn
- one based column index.value
- represents formula bool value for set.void setformulastringvalue(int irow, int icolumn, java.lang.string value)
irow
- one based row index.icolumn
- one based column index.value
- represents formula string value for set.java.lang.string gettext(int row, int column)
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
double getnumber(int row, int column)
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
java.lang.string getformula(int row, int column, boolean br1c1)
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.
java.lang.string geterror(int row, int column)
row
- row index.column
- column index.
boolean getboolean(int row, int column)
row
- represents row index.column
- represents column index.
boolean getformulaboolvalue(int row, int column)
row
- represents row index.column
- represents column index.
java.lang.string getformulaerrorvalue(int row, int column)
row
- row index.column
- column index.
double getformulanumbervalue(int row, int column)
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
java.lang.string getformulastringvalue(int row, int column)
row
- one-based row index of the cell to get value from.column
- one-based column index of the cell to get value from.
com.spire.ms.system.drawing.image savetoimage(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.
com.spire.ms.system.drawing.image savetoimage(com.spire.ms.system.io.stream stream, int firstrow, int firstcolumn, int lastrow, int lastcolumn, int imagetype)
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.imagetype
- type of the image to create.stream
- output stream. it is ignored if null.
com.spire.ms.system.drawing.image savetoimage(com.spire.ms.system.io.stream outputstream, int firstrow, int firstcolumn, int lastrow, int lastcolumn, imagetype, 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.imagetype
- type of the image to create.outputstream
- output stream. it is ignored if null.emftype
- metafile emftype.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |