|
||
| Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate | ||
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.cells.Hyperlinks
public class Hyperlinks
Encapsulates a collection of Hyperlink objects.
| Method Summary | |
|---|---|
int |
add(CellArea cellArea,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
Adds a hyperlink to a specified cell or a range of cells. |
int |
add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
Adds a hyperlink to a specified cell or a range of cells. |
int |
add(java.lang.String startCellName,
int rowNumber,
int columnNumber,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
Adds a hyperlink to a specified cell or a range of cells. |
int |
add(java.lang.String startCellName,
java.lang.String endCellName,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
Adds a hyperlink to a specified cell or a range of cells. |
Hyperlink |
getHyperlink(int index)
Gets Hyberlink object by index. |
int |
size()
Gets number of the Hyberlink objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
startRow - row index of the top left cell.startColumn - column index of the top left cell.endRow - row index of the bottom right cell.endColumn - column index of the bottom right cell.address - address of this hyperlink.screenTip - screen tip to be displayed when the mouse pointer is paused over
the hyperlink.textToDisplay - text to be displayed for the hyperlink.
java.lang.IllegalArgumentException - if cell range index is invalid or the address is empty.
CellsException - if the hyperlinks has been removed from the worksheet.
public int add(java.lang.String startCellName,
java.lang.String endCellName,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
startCellName - start cell name of this hyperlink range.endCellName - end cell name of this hyperlink range.address - address of this hyperlink.This parameter can't be empty.screenTip - screen tip to be displayed when the mouse pointer is paused over
the hyperlink.textToDisplay - text to be displayed for the hyperlink.
java.lang.IllegalArgumentException - if the address is empty or cell name is invalid.
CellsException - if the hyperlinks has been removed from the worksheet.
public int add(java.lang.String startCellName,
int rowNumber,
int columnNumber,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
startCellName - start cell name of this hyperlink range.rowNumber - number of rows in this hyperlink range.columnNumber - number of columns in this hyperlink range.address - address of this hyperlink.This parameter can't be empty.screenTip - screen tip to be displayed when the mouse pointer is paused over
the hyperlink.textToDisplay - text to be displayed for the hyperlink.
java.lang.IllegalArgumentException - if the address is empty or cell name is invalid.
CellsException - if the hyperlinks has been removed from the worksheet.
public int add(CellArea cellArea,
java.lang.String address,
java.lang.String screenTip,
java.lang.String textToDisplay)
cellArea - hyperlink range.address - address of this hyperlink.screenTip - screen tip to be displayed when the mouse pointer is paused over
the hyperlink.textToDisplay - text to be displayed for the hyperlink.
java.lang.IllegalArgumentException - if the address is empty.
CellsException - if the hyperlinks has been removed from the worksheet.public Hyperlink getHyperlink(int index)
index - Hyperlink object index.
java.lang.IllegalArgumentException - if hyperlink index is out of range.
CellsException - if the hyperlinks has been removed from the worksheet.public int size()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||