|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.ddf.EscherProperty
org.apache.poi.ddf.EscherComplexProperty
org.apache.poi.ddf.EscherArrayProperty
public final class EscherArrayProperty
Escher array properties are the most wierd construction ever invented with all sorts of special cases. I'm hopeful I've got them all.
| Constructor Summary | |
|---|---|
EscherArrayProperty(short propertyNumber,
boolean isBlipId,
byte[] complexData)
|
|
EscherArrayProperty(short id,
byte[] complexData)
|
|
| Method Summary | |
|---|---|
static int |
getActualSizeOfElements(short sizeOfElements)
Sometimes the element size is stored as a negative number. |
byte[] |
getElement(int index)
|
int |
getNumberOfElementsInArray()
|
int |
getNumberOfElementsInMemory()
|
short |
getSizeOfElements()
|
int |
serializeSimplePart(byte[] data,
int pos)
Serializes the simple part of this property. |
int |
setArrayData(byte[] data,
int offset)
We have this method because the way in which arrays in escher works is screwed for seemly arbitary reasons. |
void |
setElement(int index,
byte[] element)
|
void |
setNumberOfElementsInArray(int numberOfElements)
|
void |
setNumberOfElementsInMemory(int numberOfElements)
|
void |
setSizeOfElements(int sizeOfElements)
|
java.lang.String |
toString()
Retrieves the string representation for this property. |
| Methods inherited from class org.apache.poi.ddf.EscherComplexProperty |
|---|
equals, getComplexData, getPropertySize, hashCode, serializeComplexPart |
| Methods inherited from class org.apache.poi.ddf.EscherProperty |
|---|
getId, getName, getPropertyNumber, isBlipId, isComplex |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EscherArrayProperty(short id,
byte[] complexData)
public EscherArrayProperty(short propertyNumber,
boolean isBlipId,
byte[] complexData)
| Method Detail |
|---|
public int getNumberOfElementsInArray()
public void setNumberOfElementsInArray(int numberOfElements)
public int getNumberOfElementsInMemory()
public void setNumberOfElementsInMemory(int numberOfElements)
public short getSizeOfElements()
public void setSizeOfElements(int sizeOfElements)
public byte[] getElement(int index)
public void setElement(int index,
byte[] element)
public java.lang.String toString()
EscherComplexProperty
toString in class EscherComplexProperty
public int setArrayData(byte[] data,
int offset)
data - The data array containing the escher array informationoffset - The offset into the array to start reading from.
public int serializeSimplePart(byte[] data,
int pos)
serializeSimplePart in class EscherComplexPropertypublic static int getActualSizeOfElements(short sizeOfElements)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||