| java.lang.Object org.apache.poi.ddf.EscherProperty org.apache.poi.ddf.EscherComplexProperty org.apache.poi.ddf.EscherArrayProperty
EscherArrayProperty | public class EscherArrayProperty extends EscherComplexProperty (Code) | | Escher array properties are the most wierd construction ever invented
with all sorts of special cases. I'm hopeful I've got them all.
author: Glen Stampoultzis (glens at superlinksoftware.com) |
EscherArrayProperty | public EscherArrayProperty(short id, byte[] complexData)(Code) | | |
EscherArrayProperty | public EscherArrayProperty(short propertyNumber, boolean isBlipId, byte[] complexData)(Code) | | |
getActualSizeOfElements | public static int getActualSizeOfElements(short sizeOfElements)(Code) | | Sometimes the element size is stored as a negative number. We
negate it and shift it to get the real value.
|
getElement | public byte[] getElement(int index)(Code) | | |
getNumberOfElementsInArray | public int getNumberOfElementsInArray()(Code) | | |
getNumberOfElementsInMemory | public int getNumberOfElementsInMemory()(Code) | | |
getSizeOfElements | public short getSizeOfElements()(Code) | | |
serializeSimplePart | public int serializeSimplePart(byte[] data, int pos)(Code) | | Serializes the simple part of this property. ie the first 6 bytes.
Needs special code to handle the case when the size doesn't
include the size of the header block
|
setArrayData | public int setArrayData(byte[] data, int offset)(Code) | | We have this method because the way in which arrays in escher works
is screwed for seemly arbitary reasons. While most properties are
fairly consistent and have a predictable array size, escher arrays
have special cases.
Parameters: data - The data array containing the escher array information Parameters: offset - The offset into the array to start reading from. the number of bytes used by this complex property. |
setElement | public void setElement(int index, byte[] element)(Code) | | |
setNumberOfElementsInArray | public void setNumberOfElementsInArray(int numberOfElements)(Code) | | |
setNumberOfElementsInMemory | public void setNumberOfElementsInMemory(int numberOfElements)(Code) | | |
setSizeOfElements | public void setSizeOfElements(int sizeOfElements)(Code) | | |
Fields inherited from org.apache.poi.ddf.EscherComplexProperty | byte[] complexData(Code)(Java Doc)
|
Fields inherited from org.apache.poi.ddf.EscherProperty | protected short id(Code)(Java Doc)
|
|
|