Namespace EasyXLS

Class 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
      ExternalLinks()  
    • Method Summary

      Modifier and Type Method Description
      void addLink​(System.String link)
      Adds an external link to the document.
      int Count()
      Returns the number of links in the document.
      ExcelDocument 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.
    • Constructor Detail

      • ExternalLinks

        public ExternalLinks()
    • Method Detail

      • 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()