public class VbaModuleCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
VbaModule | get(int index) | |
Gets |
||
VbaModule | get(java.lang.String name) | |
Gets |
Method Summary | ||
---|---|---|
int | add(Worksheet sheet) | |
Adds module for a worksheet.
|
||
int | add(int type, java.lang.String name) | |
Adds module.
|
||
int | add(java.lang.Object value) | |
Reserved for internal use. |
||
void | addDesignerStorage(java.lang.String name, byte[] data) | |
void | clear() | |
boolean | contains(java.lang.Object value) | |
Reserved for internal use. |
||
byte[] | getDesignerStorage(java.lang.String name) | |
Represents the data of Designer.
|
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
java.util.Iterator | iterator() | |
void | remove(Worksheet sheet) | |
Removes module for a worksheet.
|
||
void | remove(java.lang.String name) | |
Remove the module by the name
|
||
void | removeAt(int index) | |
public int getCount()
public VbaModule get(int index)
public VbaModule get(java.lang.String name)
public void addDesignerStorage(java.lang.String name, byte[] data) throws java.lang.Exception
name
- data
- public byte[] getDesignerStorage(java.lang.String name) throws java.lang.Exception
public int add(Worksheet sheet)
sheet
- The worksheetpublic int add(int type, java.lang.String name)
type
- A name
- The name of module.public void remove(Worksheet sheet)
sheet
- The worksheetpublic void remove(java.lang.String name)
name
- public void clear()
public void removeAt(int index)
public java.util.Iterator iterator()
public boolean contains(java.lang.Object value)
public int add(java.lang.Object value)
public int indexOf(java.lang.Object value)