|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
public interface ixlsrange
represents a cell, row, column, selection of cells containing one or more contiguous blocks of cells, or a 3-d range.
method summary | |
---|---|
ixlsrange |
activate(boolean scroll)
activates a single cell, which must be inside the current selection. |
icommentshape |
addcomment()
adds comment to the range. |
void |
autofitcolumns()
autofits all columns in the range. |
void |
autofitrows()
autofits all rows in the range. |
void |
borderaround()
sets around border for current range. |
void |
borderaround(linestyletype borderline)
sets around border for current range. |
void |
borderaround(linestyletype borderline,
java.awt.color bordercolor)
sets around border for current range. |
void |
borderaround(linestyletype borderline,
excelcolors bordercolor)
sets around border for current range. |
void |
borderinside()
sets inside border for current range. |
void |
borderinside(linestyletype borderline)
sets inside border for current range. |
void |
borderinside(linestyletype borderline,
java.awt.color bordercolor)
sets inside border for current range. |
void |
borderinside(linestyletype borderline,
excelcolors bordercolor)
sets inside border for current range. |
void |
bordernone()
sets none border for current range. |
void |
clear(excelclearoptions option)
clears the cell content, formats, comments based on clear option. |
void |
clearcontents()
clear the contents of the range. |
void |
collapsegroup(groupbytype groupby)
collapses current group. |
void |
expandgroup(groupbytype groupby)
expands current group. |
void |
expandgroup(groupbytype groupby,
expandcollapseflags flags)
expands current group. |
void |
freezepanes()
freezes pane at the current range. |
ixlsrange |
get(int row,
int column)
gets / sets cell by row and column index. |
ixlsrange |
get(int row,
int column,
int lastrow,
int lastcolumn)
get cell range. |
ixlsrange |
get(java.lang.string name)
get cell range. |
ixlsrange |
get(java.lang.string name,
boolean isr1c1notation)
gets cell range. |
boolean |
getbooleanvalue()
gets / sets boolean value that is contained by this range. |
iborders |
getborders()
returns a borders collection that represents the borders of a style or a range of cells (including a range defined as part of a conditional format). |
builtinstyles |
getbuiltinstyle()
gets/sets built in style. |
java.util.arraylist<cellrange> |
getcelllist()
returns a range object that represents the cells in the specified range. |
java.lang.string |
getcellstylename()
returns name of the style object that represents the style of the specified range. |
int |
getcolumn()
returns the number of the first column in the first area in the specified range. |
int |
getcolumngrouplevel()
column group level. |
ixlsrange[] |
getcolumns()
for a range object, returns an array of range objects that represent the columns in the specified range. |
double |
getcolumnwidth()
returns or sets the width of all columns in the specified range. |
icommentshape |
getcomment()
comment assigned to the range. |
conditionalformats |
getconditionalformats()
collection of conditional formats. |
int |
getcount()
returns the number of objects in the collection. |
validation |
getdatavalidation()
data validation for the range. |
java.util.date |
getdatetimevalue()
gets / sets datetime contained by this cell. |
ixlsrange |
getendcell()
returns a range object that represents the cell at the end of the region that contains the source range. |
ixlsrange |
getentirecolumn()
returns a range object that represents the entire column (or columns) that contains the specified range. |
ixlsrange |
getentirerow()
returns a range object that represents the entire row (or rows) that contains the specified range. |
java.lang.string |
getenvalutedvalue()
returns the calculated value of a formula using the most current inputs. |
java.lang.string |
geterrorvalue()
gets / sets error value that is contained by this range. |
java.lang.string |
getformula()
returns or sets the object's formula in a1-style notation and in the language of the macro. |
java.lang.string |
getformulaarray()
represents array-entered formula. |
java.lang.string |
getformulaarrayr1c1()
returns or sets the formula array for the range, using r1c1-style notation. |
boolean |
getformulaboolvalue()
returns the calculated value of the formula as a boolean. |
java.lang.string |
getformulaerrorvalue()
returns the calculated value of the formula as a string. |
double |
getformulanumbervalue()
gets / sets number value evaluated by formula. |
java.lang.string |
getformular1c1()
returns or sets the formula for the range, using r1c1-style notation. |
java.lang.string |
getformulastringvalue()
gets / sets string value evaluated by formula. |
horizontalaligntype |
gethorizontalalignment()
returns or sets the horizontal alignment for the specified object. |
java.lang.string |
gethtmlstring()
gets the html string which contains data and some formattings in this cell. |
java.util.enumset<ignoreerrortype> |
getignoreerroroptions()
represents ignore error options. |
int |
getindentlevel()
returns or sets the indent level for the cell or range. |
com.spire.ms.system.datetime |
getinnerformuladatetime()
get / set formula datetime value contained by this cell. |
int |
getlastcolumn()
returns last column of the range. |
int |
getlastrow()
returns last row of the range. |
ixlsrange |
getmergearea()
returns a range object that represents the merged range containing the specified cell. |
java.lang.string |
getnumberformat()
format of current cell. |
java.lang.string |
getnumbertext()
returns cell value after number format application. |
double |
getnumbervalue()
gets / sets double value of the range. |
java.lang.string |
getrangeaddress()
returns the range reference in the language of the macro. |
java.lang.string |
getrangeaddresslocal()
returns the range reference for the specified range in the language of the user. |
java.lang.string |
getrangeglobaladdress()
returns range address in format "'sheet1'!$a$1". |
java.lang.string |
getranger1c1address()
returns the range reference using r1c1 notation. |
java.lang.string |
getranger1c1addresslocal()
returns the range reference using r1c1 notation. |
irichtextstring |
getrichtext()
string with rich text formatting. |
int |
getrow()
returns the number of the first row of the first area in the range. |
int |
getrowgrouplevel()
row group level. |
double |
getrowheight()
returns the height of all the rows in the range specified, measured in points. |
ixlsrange[] |
getrows()
for a range object, returns an array of range objects that represent the rows in the specified range. |
istyle |
getstyle()
returns a style object that represents the style of the specified range. |
java.lang.string |
gettext()
gets / sets string value of the range. |
com.spire.ms.system.timespan |
gettimespanvalue()
gets / sets time value of the range. |
java.lang.string |
getvalue()
returns or sets the value of the specified range. |
java.lang.object |
getvalue2()
returns or sets the cell value. |
verticalaligntype |
getverticalalignment()
returns or sets the vertical alignment of the specified object. |
iworksheet |
getworksheet()
returns a worksheet object that represents the worksheet containing the specified range. |
boolean |
hasboolean()
indicates whether range contains bool value. |
boolean |
hasdatavalidation()
indicates whether specified range object has data validation. |
boolean |
hasdatetime()
indicates whether range contains datetime value. |
boolean |
haserror()
indicates whether range contains error value. |
boolean |
hasexternalformula()
indicates is current range has external formula. |
boolean |
hasformula()
true if all cells in the range contain formulas; false if at least one of the cells in the range doesn't contain a formula. |
boolean |
hasformulaarray()
indicates whether range contains array-entered formula. |
boolean |
hasformulaboolvalue()
indicates if current range has formula bool value. |
boolean |
hasformuladatetime()
indicates if current range has formula value formatted as datetime. |
boolean |
hasformulaerrorvalue()
indicates if current range has formula error value. |
boolean |
hasformulanumbervalue()
indicates if the current range has formula number value. |
boolean |
hasformulastringvalue()
indicates if the current range has formula string value. |
boolean |
hasmerged()
indicates whether this range is part of merged range. |
boolean |
hasnumber()
indicates whether the range contains number. |
boolean |
hasrichtext()
indicates whether cell contains formatted rich text string. |
boolean |
hasstring()
indicates whether the range contains string. |
boolean |
hasstyle()
indicates whether range has default style. |
ixlsrange |
intersect(ixlsrange range)
returns intersection of this range with the specified one. |
boolean |
isblank()
indicates whether the range is blank. |
boolean |
isformulahidden()
true if the formula will be hidden when the worksheet is protected. |
boolean |
isgroupedbycolumn()
indicates whether this range is grouped by column. |
boolean |
isgroupedbyrow()
indicates whether this range is grouped by row. |
boolean |
isinitialized()
indicates whether cell is initialized. |
java.lang.boolean |
isstringspreserved()
indicates whether all values in the range are preserved as strings. |
void |
isstringspreserved(java.lang.boolean value)
indicates whether all values in the range are preserved as strings. |
boolean |
iswraptext()
true if microsoft excel wraps the text in the object. |
void |
iswraptext(boolean value)
true if microsoft excel wraps the text in the object. |
void |
merge()
|
void |
merge(boolean clearcells)
creates a merged cell from the specified range object. |
ixlsrange |
merge(ixlsrange range)
returns merge of this range with the specified one. |
void |
set(int row,
int column,
ixlsrange value)
sets cell by row and column index. |
void |
setbooleanvalue(boolean value)
sets boolean value that is contained by this range. |
void |
setbuiltinstyle(builtinstyles value)
sets built in style. |
void |
setformulanumbervalue(double value)
sets number value evaluated by formula. |
void |
setformulastringvalue(java.lang.string value)
sets string value evaluated by formula. |
void |
sethtmlstring(java.lang.string value)
sets the html string which contains data and some formattings in this cell. |
void |
setignoreerroroptions(java.util.enumset<ignoreerrortype> value)
represents ignore error options. |
void |
setobjectvalue(java.lang.object value)
returns or sets the cell value. |
void |
setvalue(java.lang.string value)
sets the value of the specified range. |
void |
setverticalalignment(verticalaligntype value)
sets the vertical alignment of the specified object. |
void |
unmerge()
separates a merged area into individual cells. |
method detail |
---|
java.lang.string getrangeaddress()
java.lang.string getrangeaddresslocal()
java.lang.string getrangeglobaladdress()
java.lang.string getranger1c1address()
java.lang.string getranger1c1addresslocal()
boolean getbooleanvalue()
void setbooleanvalue(boolean value)
value
- iborders getborders()
java.util.arraylist<cellrange> getcelllist()
int getcolumn()
int getcolumngrouplevel()
double getcolumnwidth()
int getcount()
java.util.date getdatetimevalue()
java.lang.string getnumbertext()
ixlsrange getendcell()
ixlsrange getentirecolumn()
ixlsrange getentirerow()
java.lang.string geterrorvalue()
java.lang.string getformula()
java.lang.string getformulaarray()
java.lang.string getformulaarrayr1c1()
boolean isformulahidden()
com.spire.ms.system.datetime getinnerformuladatetime()
java.lang.string getformular1c1()
boolean getformulaboolvalue()
java.lang.string getformulaerrorvalue()
boolean hasdatavalidation()
boolean hasboolean()
boolean hasdatetime()
boolean hasformula()
boolean hasformulaarray()
boolean hasformuladatetime()
boolean hasformulanumbervalue()
boolean hasformulastringvalue()
boolean hasnumber()
boolean hasrichtext()
boolean hasstring()
boolean hasstyle()
horizontalaligntype gethorizontalalignment()
int getindentlevel()
boolean isblank()
boolean haserror()
boolean isgroupedbycolumn()
boolean isgroupedbyrow()
boolean isinitialized()
int getlastcolumn()
int getlastrow()
double getnumbervalue()
java.lang.string getnumberformat()
int getrow()
int getrowgrouplevel()
double getrowheight()
ixlsrange[] getrows()
ixlsrange[] getcolumns()
istyle getstyle()
java.lang.string getcellstylename()
java.lang.string gettext()
com.spire.ms.system.timespan gettimespanvalue()
java.lang.string getvalue()
void setvalue(java.lang.string value)
value
- java.lang.string getenvalutedvalue()
java.lang.object getvalue2()
void setobjectvalue(java.lang.object value)
value
- verticalaligntype getverticalalignment()
void setverticalalignment(verticalaligntype value)
value
- iworksheet getworksheet()
ixlsrange get(int row, int column)
void set(int row, int column, ixlsrange value)
row
- column
- value
- ixlsrange get(int row, int column, int lastrow, int lastcolumn)
ixlsrange get(java.lang.string name)
ixlsrange get(java.lang.string name, boolean isr1c1notation)
conditionalformats getconditionalformats()
validation getdatavalidation()
java.lang.string getformulastringvalue()
void setformulastringvalue(java.lang.string value)
value
- double getformulanumbervalue()
void setformulanumbervalue(double value)
value
- boolean hasformulaboolvalue()
boolean hasformulaerrorvalue()
icommentshape getcomment()
irichtextstring getrichtext()
java.lang.string gethtmlstring()
void sethtmlstring(java.lang.string value)
value
- boolean hasmerged()
ixlsrange getmergearea()
boolean iswraptext()
void iswraptext(boolean value)
value
- boolean hasexternalformula()
java.util.enumset<ignoreerrortype> getignoreerroroptions()
void setignoreerroroptions(java.util.enumset<ignoreerrortype> value)
value
- java.lang.boolean isstringspreserved()
void isstringspreserved(java.lang.boolean value)
value
- builtinstyles getbuiltinstyle()
void setbuiltinstyle(builtinstyles value)
value
- ixlsrange activate(boolean scroll)
scroll
- true to scroll to the cell
void merge()
void merge(boolean clearcells)
clearcells
- indicates whether to clear unnecessary cells.void unmerge()
void freezepanes()
void clearcontents()
void clear(excelclearoptions option)
option
- ixlsrange intersect(ixlsrange range)
range
- the range with which to intersect.
ixlsrange merge(ixlsrange range)
range
- the range to merge with.
void autofitrows()
void autofitcolumns()
icommentshape addcomment()
void borderaround()
void borderaround(linestyletype borderline)
borderline
- represents border line.void borderaround(linestyletype borderline, java.awt.color bordercolor)
borderline
- represents border line.bordercolor
- represents border color.void borderaround(linestyletype borderline, excelcolors bordercolor)
borderline
- represents border line.bordercolor
- represents border color as excelcolors.void borderinside()
void borderinside(linestyletype borderline)
borderline
- represents border line.void borderinside(linestyletype borderline, java.awt.color bordercolor)
borderline
- represents border line.bordercolor
- represents border color.void borderinside(linestyletype borderline, excelcolors bordercolor)
borderline
- represents border line.bordercolor
- represents border color as excelcolors.void bordernone()
void collapsegroup(groupbytype groupby)
groupby
- this parameter specifies whether the grouping should be performed by rows or by columns.
void expandgroup(groupbytype groupby)
groupby
- this parameter specifies whether the grouping should be performed by rows or by columns.
void expandgroup(groupbytype groupby, expandcollapseflags flags)
groupby
- this parameter specifies whether the grouping should be performed by rows or by columns.
flags
- additional option flags.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |