Namespace EasyXLS

Class ExternalLinks

System.Object
EasyXLS.ExternalLinks

public class ExternalLinks extends System.Object
This class contains the external links from the formulas inside the document. The list is updated only after the formulas are calculated.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLink​(System.String link)
    Adds an external link to the document.
    int
    Returns the number of links in the document.
    getExcelDocument​(System.String link)
    Returns the Excel document specified by the link.
    int
    getIndexOf​(System.String link)
    Returns the index of the specified link.
    System.String
    getLinkAt​(int index)
    Returns the link on the specified position.

    Methods inherited from class System.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExternalLinks

      public ExternalLinks()
  • Method Details

    • addLink

      public void addLink(System.String link)
      Adds an external link to the document.
      Parameters:
      link - the external link.
      See Also:
      getLinkAt(int), Count()
    • getLinkAt

      public System.String getLinkAt(int index)
      Returns the link on the specified position.
      Parameters:
      index - the index of the link in the link list.
      Returns:
      the link from the specified position
      See Also:
      addLink(System.String), Count()
    • getIndexOf

      public int getIndexOf(System.String link)
      Returns the index of the specified link.
      Parameters:
      link - the external link.
      Returns:
      the index of the link in the link list
      See Also:
      addLink(System.String), Count()
    • getExcelDocument

      public ExcelDocument getExcelDocument(System.String link)
      Returns the Excel document specified by the link.
      Parameters:
      link - the external link.
      Returns:
      the Excel document specified by the link
      See Also:
      addLink(System.String), Count()
    • Count

      public int Count()
      Returns the number of links in the document.
      Returns:
      the number oflinks in the document
      See Also:
      addLink(System.String), getLinkAt(int)