|
|||||||||
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.xlsrange
public class xlsrange
represents the xlsrange.
constructor summary | |
---|---|
xlsrange(java.lang.object parent)
|
|
xlsrange(java.lang.object parent,
int column,
int row)
|
|
xlsrange(java.lang.object parent,
int firstcol,
int firstrow,
int lastcol,
int lastrow)
|
method summary | |
---|---|
ixlsrange |
activate()
active single cell in the worksheet |
ixlsrange |
activate(boolean scroll)
activates a single cell, scroll to it and activates the corresponding sheet. |
cellrange |
addcombinedrange(cellrange cr)
add combined range |
icommentshape |
addcomment()
adds a comment to the range. |
icommentshape |
addcomment(boolean bisparseoptions)
adds a comment to the range. |
void |
autofitcolumns()
changes the width of the columns in the range to achieve the best fit. |
void |
autofitrows()
automatically adjust the height and width of the rows |
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 based on clear options. |
void |
clearall()
clears the entire object. |
void |
clearconditionalformats()
clears conditional formats. |
void |
clearcontents()
clear the contents of the range. |
void |
collapsegroup(groupbytype groupby)
collapses current group. |
void |
converttonumber()
convert number that stored as text to number |
ixlsrange |
deepclone(java.lang.object parent,
java.util.hashmap rangenames,
xlsworkbook book)
clones current ixlsrange. |
void |
dispose()
this method is called when disposing the object. |
void |
expandgroup(groupbytype groupby)
expands current group. |
void |
freezepanes()
freezes panes at the current range in the worksheet. |
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)
gets cell range. |
ixlsrange |
get(java.lang.string name,
boolean isr1c1notation)
gets cell range. |
boolean |
getbooleanvalue()
returns or sets the bool value of the specified 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. |
int |
getcellscount()
gets number of cells. |
java.lang.string |
getcellstylename()
gets/sets name of the style for the current range. |
int |
getcolumn()
returns the number of the first column in the first area in the specified range. |
int |
getcolumncount()
gets number of columns. |
int |
getcolumngrouplevel()
column group level. |
ixlsrange[] |
getcolumns()
for a range object, it 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()
returns a comment object that represents the comment associated with the cell in the upper-left corner of the range. |
conditionalformats |
getconditionalformats()
collection of conditional formats for the range. |
int |
getcount()
returns the number of objects in the collection. |
validation |
getdatavalidation()
gets datavalidation of the sheet. |
java.util.date |
getdatetimevalue()
gets datetime value of the range. |
java.lang.string |
getdisplayedtext()
gets cell displayed text. |
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. |
java.lang.string |
geterrorvalue()
gets or sets error value of this range. |
int |
getextendedformatindex()
sets / gets index of extended format. |
java.lang.string |
getformula()
returns the object's formula in a1-style notation and in the language of the macro. |
java.lang.string |
getformulaarray()
returns or sets the array formula of a range. |
java.lang.string |
getformulaarrayr1c1()
returns or sets the formula for the object, using r1c1-style notation in the language of the macro |
boolean |
getformulaboolvalue()
gets or sets bool value of the formula. |
java.util.date |
getformuladatetime()
gets or sets bool value of the formula. |
java.lang.string |
getformulaerrorvalue()
gets or sets error value of the formula. |
double |
getformulanumbervalue()
gets the double value of the formula. |
java.lang.string |
getformular1c1()
returns or sets the formula for the object, using r1c1-style notation in the language of the macro |
java.lang.string |
getformulastringvalue()
gets or sets string value of the range. |
java.lang.object |
getformulavalue()
gets formula value. |
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. |
ihyperlinks |
gethyperlinks()
returns hyperlinks for this range. |
java.util.enumset<ignoreerrortype> |
getignoreerroroptions()
represents ignore error options. |
int |
getindentlevel()
returns or sets the indent level for the cell or range. |
int |
getlastcolumn()
gets or sets last column of the range. |
int |
getlastrow()
gets or sets last row of the range. |
ixlsrange |
getmergearea()
returns a range object that represents the merged range containing the specified cell. |
java.lang.string |
getnewrangelocation(java.util.hashmap names,
java.lang.string[] sheetname)
gets new range location. |
java.lang.string |
getnumberformat()
returns or sets the format code for the object. |
java.lang.string |
getnumbertext()
returns cell text for number format. |
double |
getnumbervalue()
gets or sets number value of the range. |
java.lang.object |
getparent()
parent object for this object. |
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 the range reference in the language of the macro. |
java.lang.string |
getrangeglobaladdress2007()
gets address global in the format required by excel 2007. |
java.lang.string |
getrangeglobaladdresswithoutsheetname()
return global address without worksheet name. |
java.lang.string |
getranger1c1address()
returns the range reference using r1c1 notation. |
java.lang.string |
getranger1c1addresslocal()
returns the range reference using r1c1 notation. |
java.awt.rectangle[] |
getrectangles()
gets rectangle information of current range. |
irichtextstring |
getrichtext()
returns a richtextstring object that represents the rich text style. |
int |
getrow()
returns the number of the first row of the first area in the range. |
int |
getrowcount()
gets number of rows. |
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, it 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 text of range. |
java.lang.string |
getvalue()
returns 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. |
java.lang.string |
getworksheetname()
returns name of the parent worksheet. |
cellrange |
groupbycolumns(boolean iscollapsed)
groups columns. |
cellrange |
groupbyrows(boolean iscollapsed)
groups row. |
boolean |
hasboolean()
indicates whether range contains bool value. |
boolean |
hascomment()
|
boolean |
hasconditionformats()
indicates whether each cell of the range has some conditional formatting. |
boolean |
hasdatavalidation()
indicates whether specified range object has data validation. |
boolean |
hasdatetime()
determines if all cells in the range contain datetime. |
boolean |
haserror()
indicates whether range contains error value. |
boolean |
hasexternalformula()
check if the formula in the range has external links. |
boolean |
hasformula()
true if all cells in the range contain formulas; |
boolean |
hasformulaarray()
determines if all cells in the range contain array-entered formula. |
boolean |
hasformulaboolvalue()
determines if all cells in the range contain formula bool value.. |
boolean |
hasformuladatetime()
indicates if current range has formula value formatted as datetime. |
boolean |
hasformulaerrorvalue()
determines if all cells in the range contain error value. |
boolean |
hasformulanumbervalue()
indicates whether current range has formula number value. |
boolean |
hasformulastringvalue()
indicates whether current range contains formula value which evaluated as string. |
boolean |
hasmerged()
indicates whether this range is part of merged range. |
boolean |
hasnumber()
determines if any one cell in the range contain number. |
boolean |
haspictures()
indicates whether the range is blank. |
boolean |
hasrichtext()
determines if all cells in the range contain rich text string. |
boolean |
hasstring()
determines if all cells in the range contain string. |
boolean |
hasstyle()
determines if all cells in the range contain differs from default style. |
ixlsrange |
intersect(ixlsrange range)
returns intersection of this range with the specified one. |
boolean |
isallnumber()
determines if all cells in the range contain number. |
boolean |
isblank()
indicates whether the range is blank. |
boolean |
isformulahidden()
determines if the formula will be hidden when the worksheet is protected. |
void |
isformulahidden(boolean value)
|
boolean |
isgroupedbycolumn()
indicates whether this range is grouped by column. |
boolean |
isgroupedbyrow()
indicates whether this range is grouped by row. |
boolean |
isinitialized()
indicates whether range has been 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()
determines if microsoft excel wraps the text in the object. |
void |
iswraptext(boolean value)
true if microsoft excel wraps the text in the object. |
java.util.iterator |
iterator()
|
java.awt.geom.dimension2d |
measurestring(java.lang.string measurestring)
measures size of the string. |
void |
merge()
creates a merged cell from the specified range object. |
void |
merge(boolean clearcells)
creates a merged cell from the specified range object. |
ixlsrange |
merge(ixlsrange range)
creates a merged cell from the specified range object. |
void |
partialclear()
partially clear range. |
void |
replace(java.lang.string oldvalue,
datacolumn newvalues,
boolean isfieldnamesshown)
replaces cells' values with new data. |
void |
replace(java.lang.string oldvalue,
datatable newvalues,
boolean isfieldnamesshown)
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 |
set(int row,
int column,
ixlsrange value)
sets cell by row and column index. |
void |
setbooleanvalue(boolean value)
returns or sets the bool value of the specified range. |
void |
setbuiltinstyle(builtinstyles value)
gets/sets built in style. |
void |
setcellstylename(java.lang.string cellstylename)
sets name of the style for the current range. |
void |
setcolumnwidth(double columnwidth)
sets the width of the column. |
void |
setdatavalidation(xlsvalidation dv)
sets data validation for the range. |
void |
setdatetimevalue(java.util.calendar calendar)
sets calendar value of the range. |
void |
setdatetimevalue(java.util.date date)
sets date value of the range. |
void |
seterrorvalue(java.lang.string value)
gets or sets error value of this range. |
void |
setextendedformatindex(int value)
sets / gets index of extended format. |
void |
setextendedformatindexs(int index)
sets index of extended format that defines style for this range.. |
void |
setformula(java.lang.string formula)
sets the object's formula in a1-style notation and in the language of the macro. |
void |
setformulaarray(java.lang.string value)
returns or sets the array formula of a range. |
void |
setformulaarrayr1c1(java.lang.string value)
returns or sets the formula for the object, using r1c1-style notation in the language of the macro |
void |
setformulaboolvalue(boolean value)
gets or sets bool value of the formula. |
void |
setformuladatetime(java.util.date value)
gets or sets bool value of the formula. |
void |
setformulaerrorvalue(java.lang.string value)
sets the error value of the formula. |
void |
setformulanumbervalue(double value)
gets or sets double value of the formula. |
void |
setformular1c1(java.lang.string value)
returns or sets the formula for the object, using r1c1-style notation in the language of the macro |
void |
setformulastringvalue(java.lang.string value)
gets or sets string value of the range. |
void |
sethorizontalalignment(horizontalaligntype value)
returns or sets the horizontal alignment for the specified object. |
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> ignoreerroroptions)
sets ignore error options. |
void |
setindentlevel(int value)
returns or sets the indent level for the cell or range. |
void |
setlastcolumn(int value)
gets or sets last column of the range. |
void |
setlastrow(int value)
gets or sets last row of the range. |
void |
setnumberformat(java.lang.string numberformat)
sets number format |
void |
setnumbervalue(double numbervalue)
sets number value |
void |
setobjectvalue(java.lang.object value)
sets the cell value. |
void |
setrowheight(double rowheight)
sets the height of the row |
void |
setrowheight(double rowheight,
boolean bisbadfontheight)
sets row height. |
void |
setstyle(istyle value)
returns a style object that represents the style of the specified range. |
void |
settext(java.lang.string text)
sets text |
void |
setvalue(java.lang.string value)
sets the value of the specified range. |
void |
setverticalalignment(verticalaligntype value)
returns or sets the vertical alignment of the specified object. |
cellrange |
ungroupbycolumns()
ungroups column. |
cellrange |
ungroupbyrows()
ungroups row. |
void |
unmerge()
separates a merged area into individual cells. |
void |
updaterange(int startrow,
int startcolumn,
int endrow,
int endcolumn)
update region of range |
methods inherited from interface com.spire.xls.core.icombinedrange |
---|
getrectanglescount |
methods inherited from interface com.spire.xls.core.ixlsrange |
---|
expandgroup, getinnerformuladatetime, gettimespanvalue |
constructor detail |
---|
public xlsrange(java.lang.object parent)
public xlsrange(java.lang.object parent, int column, int row)
public xlsrange(java.lang.object parent, int firstcol, int firstrow, int lastcol, int lastrow)
method detail |
---|
public boolean getbooleanvalue()
getbooleanvalue
in interface ixlsrange
public void setbooleanvalue(boolean value)
setbooleanvalue
in interface ixlsrange
value
- public iborders getborders()
getborders
in interface ixlsrange
public builtinstyles getbuiltinstyle()
getbuiltinstyle
in interface ixlsrange
public void setbuiltinstyle(builtinstyles value)
setbuiltinstyle
in interface ixlsrange
public java.util.arraylist<cellrange> getcelllist()
getcelllist
in interface ixlsrange
public java.lang.string getcellstylename()
getcellstylename
in interface ixlsrange
public void setcellstylename(java.lang.string cellstylename)
cellstylename
- public int getcolumn()
getcolumn
in interface ixlsrange
public int getcolumngrouplevel()
getcolumngrouplevel
in interface ixlsrange
public ixlsrange[] getcolumns()
getcolumns
in interface ixlsrange
public double getcolumnwidth()
getcolumnwidth
in interface ixlsrange
public void setcolumnwidth(double columnwidth)
columnwidth
- public icommentshape getcomment()
getcomment
in interface ixlsrange
public conditionalformats getconditionalformats()
getconditionalformats
in interface ixlsrange
public int getcount()
getcount
in interface ixlsrange
public validation getdatavalidation()
getdatavalidation
in interface ixlsrange
public java.util.date getdatetimevalue()
getdatetimevalue
in interface ixlsrange
public void setdatetimevalue(java.util.date date)
public void setdatetimevalue(java.util.calendar calendar)
public ixlsrange getendcell()
getendcell
in interface ixlsrange
public ixlsrange getentirecolumn()
getentirecolumn
in interface ixlsrange
public ixlsrange getentirerow()
getentirerow
in interface ixlsrange
public java.lang.string getenvalutedvalue()
getenvalutedvalue
in interface ixlsrange
public java.lang.string geterrorvalue()
geterrorvalue
in interface ixlsrange
public void seterrorvalue(java.lang.string value)
value
- public java.lang.string getformula()
getformula
in interface ixlsrange
public void setformula(java.lang.string formula)
formula
- public java.lang.string getformulaarray()
getformulaarray
in interface ixlsrange
public void setformulaarray(java.lang.string value)
value
- public java.lang.string getformulaarrayr1c1()
getformulaarrayr1c1
in interface ixlsrange
public void setformulaarrayr1c1(java.lang.string value)
value
- public boolean getformulaboolvalue()
getformulaboolvalue
in interface ixlsrange
public void setformulaboolvalue(boolean value)
value
- public java.util.date getformuladatetime()
public void setformuladatetime(java.util.date value)
public java.lang.string getformulaerrorvalue()
getformulaerrorvalue
in interface ixlsrange
public void setformulaerrorvalue(java.lang.string value)
value
- public double getformulanumbervalue()
getformulanumbervalue
in interface ixlsrange
public void setformulanumbervalue(double value)
setformulanumbervalue
in interface ixlsrange
value
- public java.lang.string getformular1c1()
getformular1c1
in interface ixlsrange
public void setformular1c1(java.lang.string value)
value
- public java.lang.string getformulastringvalue()
getformulastringvalue
in interface ixlsrange
public void setformulastringvalue(java.lang.string value)
setformulastringvalue
in interface ixlsrange
value
- public java.lang.object getformulavalue()
public boolean hasboolean()
hasboolean
in interface ixlsrange
public boolean hascomment()
public int getcolumncount()
public int getrowcount()
public boolean hasdatavalidation()
hasdatavalidation
in interface ixlsrange
public boolean hasdatetime()
hasdatetime
in interface ixlsrange
public boolean haserror()
haserror
in interface ixlsrange
public boolean hasexternalformula()
hasexternalformula
in interface ixlsrange
public boolean hasformula()
hasformula
in interface ixlsrange
public boolean hasformulaarray()
hasformulaarray
in interface ixlsrange
public boolean hasformulaboolvalue()
hasformulaboolvalue
in interface ixlsrange
public boolean hasformuladatetime()
hasformuladatetime
in interface ixlsrange
public boolean hasformulaerrorvalue()
hasformulaerrorvalue
in interface ixlsrange
public boolean hasformulanumbervalue()
hasformulanumbervalue
in interface ixlsrange
public boolean hasformulastringvalue()
hasformulastringvalue
in interface ixlsrange
public boolean hasmerged()
hasmerged
in interface ixlsrange
public boolean hasnumber()
hasnumber
in interface ixlsrange
public boolean haspictures()
public boolean hasrichtext()
hasrichtext
in interface ixlsrange
public boolean hasstring()
hasstring
in interface ixlsrange
public boolean hasstyle()
hasstyle
in interface ixlsrange
public horizontalaligntype gethorizontalalignment()
gethorizontalalignment
in interface ixlsrange
public void sethorizontalalignment(horizontalaligntype value)
public ihyperlinks gethyperlinks()
public java.util.enumset<ignoreerrortype> getignoreerroroptions()
getignoreerroroptions
in interface ixlsrange
public void setignoreerroroptions(java.util.enumset<ignoreerrortype> ignoreerroroptions)
setignoreerroroptions
in interface ixlsrange
public int getindentlevel()
getindentlevel
in interface ixlsrange
public void setindentlevel(int value)
public boolean isallnumber()
public boolean isblank()
isblank
in interface ixlsrange
public boolean isformulahidden()
isformulahidden
in interface ixlsrange
public void isformulahidden(boolean value)
public boolean isgroupedbycolumn()
isgroupedbycolumn
in interface ixlsrange
public boolean isgroupedbyrow()
isgroupedbyrow
in interface ixlsrange
public boolean isinitialized()
isinitialized
in interface ixlsrange
public java.lang.boolean isstringspreserved()
isstringspreserved
in interface ixlsrange
public void isstringspreserved(java.lang.boolean value)
isstringspreserved
in interface ixlsrange
public boolean iswraptext()
iswraptext
in interface ixlsrange
public void iswraptext(boolean value)
ixlsrange
iswraptext
in interface ixlsrange
public int getlastcolumn()
getlastcolumn
in interface ixlsrange
public void setlastcolumn(int value)
public int getlastrow()
getlastrow
in interface ixlsrange
public void setlastrow(int value)
public ixlsrange getmergearea()
getmergearea
in interface ixlsrange
public java.lang.string getdisplayedtext()
public boolean hasconditionformats()
public java.lang.string getnumberformat()
getnumberformat
in interface ixlsrange
public void setnumberformat(java.lang.string numberformat)
public java.lang.string getnumbertext()
getnumbertext
in interface ixlsrange
public double getnumbervalue()
getnumbervalue
in interface ixlsrange
public void setnumbervalue(double numbervalue)
numbervalue
- public java.lang.object getparent()
getparent
in class xlsobject
public java.lang.string getrangeaddress()
getrangeaddress
in interface ixlsrange
public java.lang.string getrangeaddresslocal()
getrangeaddresslocal
in interface ixlsrange
public java.lang.string getrangeglobaladdresswithoutsheetname()
public java.lang.string getrangeglobaladdress()
getrangeglobaladdress
in interface ixlsrange
public java.lang.string getranger1c1address()
getranger1c1address
in interface ixlsrange
public java.lang.string getranger1c1addresslocal()
getranger1c1addresslocal
in interface ixlsrange
public irichtextstring getrichtext()
getrichtext
in interface ixlsrange
public java.lang.string gethtmlstring()
gethtmlstring
in interface ixlsrange
public void sethtmlstring(java.lang.string value)
sethtmlstring
in interface ixlsrange
value
- public int getrow()
getrow
in interface ixlsrange
public int getrowgrouplevel()
getrowgrouplevel
in interface ixlsrange
public double getrowheight()
getrowheight
in interface ixlsrange
public void setrowheight(double rowheight)
rowheight
- public ixlsrange[] getrows()
getrows
in interface ixlsrange
public int getextendedformatindex()
"system.argumentexception"
- when method is applied for the range that contains
more than one cell.public void setextendedformatindex(int value)
value
- public void setextendedformatindexs(int index)
index
- index to set.public void setrowheight(double rowheight, boolean bisbadfontheight)
rowheight
- row heightbisbadfontheight
- indicates whether font and row height are not compatible.public istyle getstyle()
getstyle
in interface ixlsrange
public void setstyle(istyle value)
public java.lang.string gettext()
gettext
in interface ixlsrange
public void settext(java.lang.string text)
text
- public ixlsrange get(int row, int column, int lastrow, int lastcolumn)
get
in interface ixlsrange
public ixlsrange get(int row, int column)
get
in interface ixlsrange
public void set(int row, int column, ixlsrange value)
ixlsrange
set
in interface ixlsrange
public ixlsrange get(java.lang.string name, boolean isr1c1notation)
get
in interface ixlsrange
public ixlsrange get(java.lang.string name)
get
in interface ixlsrange
public java.lang.string getvalue()
getvalue
in interface ixlsrange
public void setvalue(java.lang.string value)
setvalue
in interface ixlsrange
public java.lang.object getvalue2()
getvalue2
in interface ixlsrange
public void setobjectvalue(java.lang.object value)
setobjectvalue
in interface ixlsrange
public verticalaligntype getverticalalignment()
getverticalalignment
in interface ixlsrange
public void setverticalalignment(verticalaligntype value)
setverticalalignment
in interface ixlsrange
public iworksheet getworksheet()
getworksheet
in interface ixlsrange
public java.lang.string getnewrangelocation(java.util.hashmap names, java.lang.string[] sheetname)
getnewrangelocation
in interface icombinedrange
names
- worksheet names.sheetname
- new worksheet name.
public ixlsrange deepclone(java.lang.object parent, java.util.hashmap rangenames, xlsworkbook book)
deepclone
in interface icombinedrange
parent
- parent object.rangenames
- hash table with new names.book
- parent workbook.
public void clearconditionalformats()
clearconditionalformats
in interface icombinedrange
public java.awt.rectangle[] getrectangles()
getrectangles
in interface icombinedrange
public java.lang.string getworksheetname()
getworksheetname
in interface icombinedrange
public int getcellscount()
getcellscount
in interface icombinedrange
public java.lang.string getrangeglobaladdress2007()
getrangeglobaladdress2007
in interface icombinedrange
public ixlsrange activate(boolean scroll)
activate
in interface ixlsrange
scroll
- true to scroll to the cell
public ixlsrange activate()
public icommentshape addcomment()
addcomment
in interface ixlsrange
public void autofitcolumns()
autofitcolumns
in interface ixlsrange
public void autofitrows()
autofitrows
in interface ixlsrange
public void borderaround()
borderaround
in interface ixlsrange
public void borderaround(linestyletype borderline)
borderaround
in interface ixlsrange
borderline
- represents border line.public void borderaround(linestyletype borderline, java.awt.color bordercolor)
borderaround
in interface ixlsrange
borderline
- represents border line.bordercolor
- represents border color.public void borderaround(linestyletype borderline, excelcolors bordercolor)
borderaround
in interface ixlsrange
borderline
- represents border line.bordercolor
- represents border color as excelcolors.public void borderinside()
borderinside
in interface ixlsrange
public void borderinside(linestyletype borderline)
borderinside
in interface ixlsrange
borderline
- represents border line.public void borderinside(linestyletype borderline, java.awt.color bordercolor)
borderinside
in interface ixlsrange
borderline
- sets inside border for current range.bordercolor
- represents border color.public void borderinside(linestyletype borderline, excelcolors bordercolor)
borderinside
in interface ixlsrange
borderline
- represents border line.bordercolor
- represents border color as excelcolors.public void bordernone()
bordernone
in interface ixlsrange
public void clear(excelclearoptions option)
clear
in interface ixlsrange
option
- public void clearall()
public void clearcontents()
clearcontents
in interface ixlsrange
public cellrange groupbycolumns(boolean iscollapsed)
iscollapsed
- indicates whether group should be collapsed.
public cellrange groupbyrows(boolean iscollapsed)
iscollapsed
- indicates whether group should be collapsed.
public cellrange ungroupbycolumns()
public cellrange ungroupbyrows()
public void collapsegroup(groupbytype groupby)
collapsegroup
in interface ixlsrange
groupby
- this parameter specifies whether the grouping should be performed by rows or by columns.public void dispose()
dispose
in class xlsobject
public void expandgroup(groupbytype groupby)
expandgroup
in interface ixlsrange
groupby
- this parameter specifies whether the grouping should be performed by rows or by columns.public void freezepanes()
freezepanes
in interface ixlsrange
public ixlsrange merge(ixlsrange range)
merge
in interface ixlsrange
range
- the range to merge with.
public ixlsrange intersect(ixlsrange range)
intersect
in interface ixlsrange
range
- the range with which to intersect.
public java.awt.geom.dimension2d measurestring(java.lang.string measurestring)
measurestring
- string to measure.
public void merge()
merge
in interface ixlsrange
public void merge(boolean clearcells)
merge
in interface ixlsrange
clearcells
- indicates whether to clear unnecessary cells.public void partialclear()
public void unmerge()
unmerge
in interface ixlsrange
public java.util.iterator iterator()
public icommentshape addcomment(boolean bisparseoptions)
bisparseoptions
-
public void setdatavalidation(xlsvalidation dv)
dv
- data validation to set.public void replace(java.lang.string oldvalue, java.lang.string[] newvalues, boolean isvertical)
oldvalue
- value to search for.newvalues
- the replacement value.isvertical
- indicates whether to insert values vertically or horizontally.public void replace(java.lang.string oldvalue, java.lang.string newvalue)
oldvalue
- value to search for.newvalue
- the replacement value.public void replace(java.lang.string oldvalue, double[] newvalues, boolean isvertical)
oldvalue
- value to search for.newvalues
- datacolumn to replace.isvertical
- indicates whether to insert values vertically or horizontally.public void replace(java.lang.string oldvalue, int[] newvalues, boolean isvertical)
oldvalue
- value to search for.newvalues
- the replacement value.isvertical
- indicates whether to insert values vertically or horizontally.public void replace(java.lang.string oldvalue, datatable newvalues, boolean isfieldnamesshown)
oldvalue
- value to search for.newvalues
- the replacement value.isfieldnamesshown
- indicates whether to insert values vertically or horizontally.public void replace(java.lang.string oldvalue, java.util.date newvalue)
oldvalue
- value to search fornewvalue
- the replacement value.public void replace(java.lang.string oldvalue, double newvalue)
oldvalue
- value to search for.newvalue
- public void replace(java.lang.string oldvalue, datacolumn newvalues, boolean isfieldnamesshown)
oldvalue
- value to search for.newvalues
- datacolumn to replace.isfieldnamesshown
- indicates whether to insert values vertically or horizontally.public cellrange addcombinedrange(cellrange cr)
cr
- cell range
public void updaterange(int startrow, int startcolumn, int endrow, int endcolumn)
startrow
- first rowstartcolumn
- last rowendrow
- last columnendcolumn
- endcolumnpublic void converttonumber()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |