public class OleObjectCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
OleObject | get(int index) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData) | |
Adds an OleObject to the collection.
|
||
int | add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData, java.lang.String linkedFile) | |
Adds an linked OleObject to the collection.
|
||
int | add(java.lang.Object value) | |
Reserved for internal use. |
||
void | clear() | |
Remove all embedded OLE objects.
|
||
boolean | contains(java.lang.Object value) | |
Reserved for internal use. |
||
int | indexOf(java.lang.Object value) | |
Reserved for internal use. |
||
java.util.Iterator | iterator() | |
void | removeAt(int index) | |
Removes the element at the specified index.
|
public int getCount()
public OleObject get(int index)
index
- The zero based index of the element.public int add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData)
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.height
- Height of oleObject, in unit of pixel.width
- Width of oleObject, in unit of pixel.imageData
- Image of ole object as byte array.public int add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData, java.lang.String linkedFile) throws java.lang.Exception
upperLeftRow
- Upper left row index.upperLeftColumn
- Upper left column index.height
- Height of oleObject, in unit of pixel.width
- Width of oleObject, in unit of pixel.imageData
- Image of ole object as byte array.linkedFile
- public void clear()
public void removeAt(int index)
index
- The specified 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)