java.lang.Objectcom.aspose.cells.ExternalLinkCollection
public class ExternalLinkCollection
Example:
//Open a file with external links
Workbook workbook = new Workbook("d:\\book1.xls");
//Change external link data source
workbook.getWorksheets().getExternalLinks().get(0).setDataSource("d:\\link.xls");
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection. | ||
ExternalLink | get(int index) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(int directoryType, java.lang.String fileName, java.lang.String[] sheetNames) | |
Add an external link . | ||
int | add(java.lang.String fileName, java.lang.String[] sheetNames) | |
Adds an external link. |
Property Getters/Setters Detail |
---|
getCount | |
public int getCount() |
get | |
public ExternalLink get(int index) |
index
- The zero based index of the element.Method Detail |
---|
add | |
public int add(java.lang.String fileName, java.lang.String[] sheetNames) |
fileName
- The external file name.sheetNames
- All sheet names of the external file.add | |
public int add(int directoryType, java.lang.String fileName, java.lang.String[] sheetNames) |
directoryType
- A fileName
- the file name.sheetNames
- All sheet names of the external file.