com.aspose.cells

Class VbaProjectReferenceCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class VbaProjectReferenceCollection 
    extends CollectionBase

Represents all referneces of VBA project.

Property Getters/Setters Summary
intgetCount()
VbaProjectReferenceget(inti)
Get the reference in the list by the index.
 
Method Summary
intadd(java.lang.Objectvalue)
Reserved for internal use.
intaddControlRefrernce(java.lang.Stringname, java.lang.Stringlibid, java.lang.Stringtwiddledlibid, java.lang.StringextendedLibid)
Add a reference to a twiddled type library and its extended type library.
intaddProjectRefrernce(java.lang.Stringname, java.lang.StringabsoluteLibid, java.lang.StringrelativeLibid)
Add a reference to an external VBA project.
intaddRegisteredReference(java.lang.Stringname, java.lang.Stringlibid)
Add a reference to an Automation type library.
voidclear()
booleancontains(java.lang.Objectvalue)
Reserved for internal use.
java.lang.Objectget(intindex)
Reserved for internal use.
intindexOf(java.lang.Objectvalue)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(intindex)
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public VbaProjectReference get(int i)
        
        Get the reference in the list by the index.
        Parameters:
        i - The index.
        Returns:
    • Method Detail

      • addRegisteredReference

        public int addRegisteredReference(java.lang.String name, java.lang.String libid)
        Add a reference to an Automation type library.
        Parameters:
        name - The name of reference.
        libid - The identifier of an Automation type library.
        Returns:
      • addControlRefrernce

        public int addControlRefrernce(java.lang.String name, java.lang.String libid, java.lang.String twiddledlibid, java.lang.String extendedLibid)
        Add a reference to a twiddled type library and its extended type library.
        Parameters:
        name - The name of reference.
        libid - The identifier of an Automation type library.
        twiddledlibid - The identifier of a twiddled type library
        extendedLibid - The identifier of an extended type library
        Returns:
      • addProjectRefrernce

        public int addProjectRefrernce(java.lang.String name, java.lang.String absoluteLibid, java.lang.String relativeLibid)
        Add a reference to an external VBA project.
        Parameters:
        name - The name of reference.
        absoluteLibid - The referenced VBA project’s identifier with an absolute path.
        relativeLibid - The referenced VBA project’s identifier with an relative path.
        Returns:
      • clear

        public void clear()
      • removeAt

        public void removeAt(int index)
      • iterator

        public java.util.Iterator iterator()
      • get

        public java.lang.Object get(int index)
        Reserved for internal use.
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.