Top Fields Constructors Methods
org.apache.poi.hssf.model

public final Class WorkbookRecordList

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, org.apache.poi.hssf.record.Record

Field Summary

Modifier and TypeField and Description
private int
backuppos

holds the position of the backup record

private int
bspos

holds the position of the last bound sheet

private int
externsheetPos

holds the position of the extern sheet

private int
fontpos

hold the position of the last font record

private int
namepos

holds the position of last name record

private int
palettepos

hold the position of the palette, if applicable

private int
protpos

holds the position of the protect record

private List<Record>
private int
supbookpos

holds the position of sup book

private int
tabpos

holds the position of the tabid record

private int
xfpos

hold the position of the last extended font record

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(int pos, Record r)

public Record
get(int i)

public int
public int
public int

Returns:

int
getExternsheetPos
()

Returns the externsheetPos.

public int
public int

Returns:

int
getNamepos
()

Returns the namepos.

public int
public int
public List<Record>
public int

Returns:

int
getSupbookpos
()

Returns the supbookpos.

public int
public int
public void
remove(Object
the identical record to be searched for
record
)

Find the given record in the record list by identity and removes it

public void
remove(int pos)

public void
setBackuppos(int backuppos)

public void
setBspos(int bspos)

public void
setExternsheetPos(int
The externsheetPos to set
externsheetPos
)

Sets the externsheetPos.

public void
setFontpos(int fontpos)

public void
setNamepos(int
The namepos to set
namepos
)

Sets the namepos.

public void
setPalettepos(int palettepos)

public void
setProtpos(int protpos)

public void
public void
setSupbookpos(int
The supbookpos to set
supbookpos
)

Sets the supbookpos.

public void
setTabpos(int tabpos)

public void
setXfpos(int xfpos)

public int
size()

private void
updateRecordPos(int pos, boolean add)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

backupposback to summary
private int backuppos

holds the position of the backup record

bsposback to summary
private int bspos

holds the position of the last bound sheet

externsheetPosback to summary
private int externsheetPos

holds the position of the extern sheet

fontposback to summary
private int fontpos

hold the position of the last font record

nameposback to summary
private int namepos

holds the position of last name record

paletteposback to summary
private int palettepos

hold the position of the palette, if applicable

protposback to summary
private int protpos

holds the position of the protect record

recordsback to summary
private List<Record> records
supbookposback to summary
private int supbookpos

holds the position of sup book

tabposback to summary
private int tabpos

holds the position of the tabid record

xfposback to summary
private int xfpos

hold the position of the last extended font record

Constructor Detail

WorkbookRecordListback to summary
public WorkbookRecordList()

Method Detail

addback to summary
public void add(int pos, Record r)
getback to summary
public Record get(int i)
getBackupposback to summary
public int getBackuppos()
getBsposback to summary
public int getBspos()
getExternsheetPosback to summary
public int getExternsheetPos()

Returns the externsheetPos.

Returns:int

int

getFontposback to summary
public int getFontpos()
getNameposback to summary
public int getNamepos()

Returns the namepos.

Returns:int

int

getPaletteposback to summary
public int getPalettepos()
getProtposback to summary
public int getProtpos()
getRecordsback to summary
public List<Record> getRecords()
getSupbookposback to summary
public int getSupbookpos()

Returns the supbookpos.

Returns:int

int

getTabposback to summary
public int getTabpos()
getXfposback to summary
public int getXfpos()
removeback to summary
public void remove(Object record)

Find the given record in the record list by identity and removes it

Parameters
record:Object

the identical record to be searched for

removeback to summary
public void remove(int pos)
setBackupposback to summary
public void setBackuppos(int backuppos)
setBsposback to summary
public void setBspos(int bspos)
setExternsheetPosback to summary
public void setExternsheetPos(int externsheetPos)

Sets the externsheetPos.

Parameters
externsheetPos:int

The externsheetPos to set

setFontposback to summary
public void setFontpos(int fontpos)
setNameposback to summary
public void setNamepos(int namepos)

Sets the namepos.

Parameters
namepos:int

The namepos to set

setPaletteposback to summary
public void setPalettepos(int palettepos)
setProtposback to summary
public void setProtpos(int protpos)
setRecordsback to summary
public void setRecords(List<Record> records)
setSupbookposback to summary
public void setSupbookpos(int supbookpos)

Sets the supbookpos.

Parameters
supbookpos:int

The supbookpos to set

setTabposback to summary
public void setTabpos(int tabpos)
setXfposback to summary
public void setXfpos(int xfpos)
sizeback to summary
public int size()
updateRecordPosback to summary
private void updateRecordPos(int pos, boolean add)