Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » ddf » [javadoc | source]
org.apache.poi.ddf
public class: EscherClientAnchorRecord [javadoc | source]
java.lang.Object
   org.apache.poi.ddf.EscherRecord
      org.apache.poi.ddf.EscherClientAnchorRecord
The escher client anchor specifies which rows and cells the shape is bound to as well as the offsets within those cells. Each cell is 1024 units wide by 256 units long regardless of the actual size of the cell. The EscherClientAnchorRecord only applies to the top-most shapes. Shapes contained in groups are bound using the EscherChildAnchorRecords.
Field Summary
public static final  short RECORD_ID     
public static final  String RECORD_DESCRIPTION     
Method from org.apache.poi.ddf.EscherClientAnchorRecord Summary:
fillFields,   getCol1,   getCol2,   getDx1,   getDx2,   getDy1,   getDy2,   getFlag,   getRecordId,   getRecordName,   getRecordSize,   getRemainingData,   getRow1,   getRow2,   serialize,   setCol1,   setCol2,   setDx1,   setDx2,   setDy1,   setDy2,   setFlag,   setRemainingData,   setRow1,   setRow2,   toString
Methods from org.apache.poi.ddf.EscherRecord:
clone,   display,   fillFields,   fillFields,   getChild,   getChildRecords,   getInstance,   getOptions,   getRecordId,   getRecordName,   getRecordSize,   isContainerRecord,   readHeader,   serialize,   serialize,   serialize,   setChildRecords,   setOptions,   setRecordId
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.ddf.EscherClientAnchorRecord Detail:
 public int fillFields(byte[] data,
    int offset,
    EscherRecordFactory recordFactory) 
    This method deserializes the record from a byte array.
 public short getCol1() 
    The column number for the top-left position. 0 based.
 public short getCol2() 
    The column of the bottom right corner of this shape.
 public short getDx1() 
    The x offset within the top-left cell. Range is from 0 to 1023.
 public short getDx2() 
    The x offset withing the cell for the bottom-right corner of this shape.
 public short getDy1() 
    The y offset within the top-left corner of the current shape.
 public short getDy2() 
    The y offset withing the cell for the bottom-right corner of this shape.
 public short getFlag() 
    0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.
 public short getRecordId() 
    The record id for this record.
 public String getRecordName() 
    The short name for this record
 public int getRecordSize() 
    Returns the number of bytes that are required to serialize this record.
 public byte[] getRemainingData() 
    Any remaining data in the record
 public short getRow1() 
    The row number for the top-left corner of the shape.
 public short getRow2() 
    The row number for the bottom-right corner of the current shape.
 public int serialize(int offset,
    byte[] data,
    EscherSerializationListener listener) 
    This method serializes this escher record into a byte array.
 public  void setCol1(short field_2_col1) 
    The column number for the top-left position. 0 based.
 public  void setCol2(short field_6_col2) 
    The column of the bottom right corner of this shape.
 public  void setDx1(short field_3_dx1) 
    The x offset within the top-left cell. Range is from 0 to 1023.
 public  void setDx2(short field_7_dx2) 
    The x offset withing the cell for the bottom-right corner of this shape.
 public  void setDy1(short field_5_dy1) 
    The y offset within the top-left corner of the current shape.
 public  void setDy2(short field_9_dy2) 
    The y offset withing the cell for the bottom-right corner of this shape.
 public  void setFlag(short field_1_flag) 
    0 = Move and size with Cells, 2 = Move but don't size with cells, 3 = Don't move or size with cells.
 public  void setRemainingData(byte[] remainingData) 
    Any remaining data in the record
 public  void setRow1(short field_4_row1) 
    The row number for the top-left corner of the shape.
 public  void setRow2(short field_8_row2) 
    The row number for the bottom-right corner of the current shape.
 public String toString() 
    Returns the string representation for this record.