Package org.apache.poi.hssf.record
Class PaneRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.PaneRecord
Describes the frozen and unfrozen panes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortstatic final shortstatic final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()shortGet the active pane field for the Pane record.protected intshortGet the left column field for the Pane record.shortgetSid()return the non static version of the id for this record.shortGet the top row field for the Pane record.shortgetX()Get the x field for the Pane record.shortgetY()Get the y field for the Pane record.voidWrite the data content of this BIFF record.voidsetActivePane(short field_5_activePane) Set the active pane field for the Pane record.voidsetLeftColumn(short field_4_leftColumn) Set the left column field for the Pane record.voidsetTopRow(short field_3_topRow) Set the top row field for the Pane record.voidsetX(short field_1_x) Set the x field for the Pane record.voidsetY(short field_2_y) Set the y field for the Pane record.toString()get a string representation of the record (for biffview/debugging)Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serializeMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
ACTIVE_PANE_LOWER_RIGHT
public static final short ACTIVE_PANE_LOWER_RIGHT- See Also:
-
ACTIVE_PANE_UPPER_RIGHT
public static final short ACTIVE_PANE_UPPER_RIGHT- See Also:
-
ACTIVE_PANE_LOWER_LEFT
public static final short ACTIVE_PANE_LOWER_LEFT- See Also:
-
ACTIVE_PANE_UPPER_LEFT
public static final short ACTIVE_PANE_UPPER_LEFT- See Also:
-
-
Constructor Details
-
PaneRecord
public PaneRecord() -
PaneRecord
-
-
Method Details
-
toString
Description copied from class:Recordget a string representation of the record (for biffview/debugging) -
serialize
Description copied from class:StandardRecordWrite the data content of this BIFF record. The 'ushort sid' and 'ushort size' header fields have already been written by the superclass.The number of bytes written must equal the record size reported by
RecordBase.getRecordSize()} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).- Specified by:
serializein classStandardRecord- Parameters:
out- the output object
-
getDataSize
protected int getDataSize()- Specified by:
getDataSizein classStandardRecord
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record. -
clone
-
getX
public short getX()Get the x field for the Pane record.- Returns:
- the x value
-
setX
public void setX(short field_1_x) Set the x field for the Pane record.- Parameters:
field_1_x- the x value
-
getY
public short getY()Get the y field for the Pane record.- Returns:
- the y value
-
setY
public void setY(short field_2_y) Set the y field for the Pane record.- Parameters:
field_2_y- the y value
-
getTopRow
public short getTopRow()Get the top row field for the Pane record.- Returns:
- the top row
-
setTopRow
public void setTopRow(short field_3_topRow) Set the top row field for the Pane record.- Parameters:
field_3_topRow- the top row
-
getLeftColumn
public short getLeftColumn()Get the left column field for the Pane record.- Returns:
- the left column
-
setLeftColumn
public void setLeftColumn(short field_4_leftColumn) Set the left column field for the Pane record.- Parameters:
field_4_leftColumn- the left column
-
getActivePane
public short getActivePane()Get the active pane field for the Pane record.- Returns:
- One of ACTIVE_PANE_LOWER_RIGHT ACTIVE_PANE_UPPER_RIGHT ACTIVE_PANE_LOWER_LEFT ACTIVE_PANE_UPPER_LEFT
-
setActivePane
public void setActivePane(short field_5_activePane) Set the active pane field for the Pane record.- Parameters:
field_5_activePane- One of ACTIVE_PANE_LOWER_RIGHT ACTIVE_PANE_UPPER_RIGHT ACTIVE_PANE_LOWER_LEFT ACTIVE_PANE_UPPER_LEFT
-