|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
System.Objectxl.biff.RecordData
xl.biff.WritableRecordData
xl.write.biff.HyperlinkRecord
xl.write.WritableHyperlink
A writable hyperlink. Provides API to modify the contents of the hyperlink
| Constructor Summary | |
WritableHyperlink(Hyperlink h,
WritableSheet ws)
Constructor used internally by the worksheet when making a copy of worksheet |
|
WritableHyperlink(int col,
int row,
System.IO.FileInfo file)
Constructs a file hyperlink in a single cell |
|
WritableHyperlink(int col,
int row,
System.IO.FileInfo file,
System.String desc)
Constructs a file hyperlink in a single cell |
|
WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.IO.FileInfo file)
Constructs a File hyperlink to a range of cells |
|
WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.IO.FileInfo file,
System.String desc)
Constructs a File hyperlink to a range of cells |
|
WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.String desc,
WritableSheet sheet,
int destcol,
int destrow,
int lastdestcol,
int lastdestrow)
Constructs a hyperlink to some cells within this workbook |
|
WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.Uri url)
Constructs a url hyperlink to a range of cells |
|
WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.Uri url,
System.String desc)
Constructs a url hyperlink to a range of cells |
|
WritableHyperlink(int col,
int row,
System.String desc,
WritableSheet sheet,
int destcol,
int destrow)
Constructs a hyperlink to some cells within this workbook |
|
WritableHyperlink(int col,
int row,
System.Uri url)
Constructs a URL hyperlink in a single cell |
|
| Method Summary | |
void |
setDescription(System.String desc)
Sets the description to appear in the hyperlink cell |
void |
setFile(System.IO.FileInfo file)
Sets the file activated by this hyperlink |
void |
setLocation(System.String desc,
WritableSheet sheet,
int destcol,
int destrow,
int lastdestcol,
int lastdestrow)
Sets the location of the cells to be linked to within this workbook |
void |
setURL(System.Uri url)
Sets the URL of this hyperlink |
| Methods inherited from class xl.write.biff.HyperlinkRecord |
getColumn, getData, getFile, getLastColumn, getLastRow, getRange, getRow, getURL, isFile, isLocation, isUNC, isURL, toString |
| Methods inherited from class xl.biff.WritableRecordData |
getBytes |
| Methods inherited from class System.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface xl.Hyperlink |
getColumn, getFile, getLastColumn, getLastRow, getRange, getRow, getURL, isFile, isLocation, isURL |
| Constructor Detail |
public WritableHyperlink(Hyperlink h,
WritableSheet ws)
h - the hyperlink being read inws - the writable sheet containing the hyperlinkpublic WritableHyperlink(int col,
int row,
System.Uri url)
col - the column containing this hyperlinkrow - the row containing this hyperlinkurl - the hyperlinkpublic WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.Uri url)
col - the column containing this hyperlinkrow - the row containing this hyperlinklastcol - the last column which activates this hyperlinklastrow - the last row which activates this hyperlinkurl - the hyperlinkpublic WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.Uri url,
System.String desc)
col - the column containing this hyperlinkrow - the row containing this hyperlinklastcol - the last column which activates this hyperlinklastrow - the last row which activates this hyperlinkurl - the hyperlinkdesc - the description text to place in the cellpublic WritableHyperlink(int col,
int row,
System.IO.FileInfo file)
col - the column containing this hyperlinkrow - the row containing this hyperlinkfile - the hyperlinkpublic WritableHyperlink(int col,
int row,
System.IO.FileInfo file,
System.String desc)
col - the column containing this hyperlinkrow - the row containing this hyperlinkfile - the hyperlinkdesc - the hyperlink descriptionpublic WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.IO.FileInfo file)
col - the column containing this hyperlinkrow - the row containing this hyperlinklastcol - the last column which activates this hyperlinklastrow - the last row which activates this hyperlinkfile - the hyperlinkpublic WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.IO.FileInfo file,
System.String desc)
col - the column containing this hyperlinkrow - the row containing this hyperlinklastcol - the last column which activates this hyperlinklastrow - the last row which activates this hyperlinkfile - the hyperlinkdesc - the descriptionpublic WritableHyperlink(int col,
int row,
System.String desc,
WritableSheet sheet,
int destcol,
int destrow)
col - the column containing this hyperlinkrow - the row containing this hyperlinkdesc - the cell contents for this hyperlinksheet - the sheet containing the cells to be linked todestcol - the column number of the first destination linked celldestrow - the row number of the first destination linked cellpublic WritableHyperlink(int col,
int row,
int lastcol,
int lastrow,
System.String desc,
WritableSheet sheet,
int destcol,
int destrow,
int lastdestcol,
int lastdestrow)
col - the column containing this hyperlinkrow - the row containing this hyperlinklastcol - the last column which activates this hyperlinklastrow - the last row which activates this hyperlinkdesc - the cell contents for this hyperlinksheet - the sheet containing the cells to be linked todestcol - the column number of the first destination linked celldestrow - the row number of the first destination linked celllastdestcol - the column number of the last destination linked celllastdestrow - the row number of the last destination linked cell| Method Detail |
public void setURL(System.Uri url)
url - the urlpublic void setFile(System.IO.FileInfo file)
file - the filepublic void setDescription(System.String desc)
desc - the descriptionpublic void setLocation(System.String desc,
WritableSheet sheet,
int destcol,
int destrow,
int lastdestcol,
int lastdestrow)
desc - the label describing the linksheet - the sheet containing the cells to be linked todestcol - the column number of the first destination linked celldestrow - the row number of the first destination linked celllastdestcol - the column number of the last destination linked celllastdestrow - the row number of the last destination linked cell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||