Methods Summary |
---|
public void | add(int pos, org.apache.poi.hssf.record.Record r)
records.add(pos, r);
if (getProtpos() >= pos) setProtpos( protpos + 1 );
if (getBspos() >= pos) setBspos( bspos + 1 );
if (getTabpos() >= pos) setTabpos( tabpos + 1 );
if (getFontpos() >= pos) setFontpos( fontpos + 1 );
if (getXfpos() >= pos) setXfpos( xfpos + 1 );
if (getBackuppos() >= pos) setBackuppos( backuppos + 1 );
if (getNamepos() >= pos) setNamepos(namepos+1);
if (getSupbookpos() >= pos) setSupbookpos(supbookpos+1);
if ((getPalettepos() != -1) && (getPalettepos() >= pos)) setPalettepos( palettepos + 1 );
if (getExternsheetPos() >= pos) setExternsheetPos(getExternsheetPos() + 1);
|
public org.apache.poi.hssf.record.Record | get(int i)
return (Record) records.get(i);
|
public int | getBackuppos()
return backuppos;
|
public int | getBspos()
return bspos;
|
public int | getExternsheetPos()Returns the externsheetPos.
return externsheetPos;
|
public int | getFontpos()
return fontpos;
|
public int | getNamepos()Returns the namepos.
return namepos;
|
public int | getPalettepos()
return palettepos;
|
public int | getProtpos()
return protpos;
|
public java.util.List | getRecords()
return records;
|
public int | getSupbookpos()Returns the supbookpos.
return supbookpos;
|
public int | getTabpos()
return tabpos;
|
public int | getXfpos()
return xfpos;
|
public java.util.Iterator | iterator()
return records.iterator();
|
public void | remove(int pos)
records.remove(pos);
if (getProtpos() >= pos) setProtpos( protpos - 1 );
if (getBspos() >= pos) setBspos( bspos - 1 );
if (getTabpos() >= pos) setTabpos( tabpos - 1 );
if (getFontpos() >= pos) setFontpos( fontpos - 1 );
if (getXfpos() >= pos) setXfpos( xfpos - 1 );
if (getBackuppos() >= pos) setBackuppos( backuppos - 1 );
if (getNamepos() >= pos) setNamepos(getNamepos()-1);
if (getSupbookpos() >= pos) setSupbookpos(getSupbookpos()-1);
if ((getPalettepos() != -1) && (getPalettepos() >= pos)) setPalettepos( palettepos - 1 );
if (getExternsheetPos() >= pos) setExternsheetPos( getExternsheetPos() -1);
|
public void | setBackuppos(int backuppos)
this.backuppos = backuppos;
|
public void | setBspos(int bspos)
this.bspos = bspos;
|
public void | setExternsheetPos(int externsheetPos)Sets the externsheetPos.
this.externsheetPos = externsheetPos;
|
public void | setFontpos(int fontpos)
this.fontpos = fontpos;
|
public void | setNamepos(int namepos)Sets the namepos.
this.namepos = namepos;
|
public void | setPalettepos(int palettepos)
this.palettepos = palettepos;
|
public void | setProtpos(int protpos)
this.protpos = protpos;
|
public void | setRecords(java.util.List records) // hold the position of the palette, if applicable
this.records = records;
|
public void | setSupbookpos(int supbookpos)Sets the supbookpos.
this.supbookpos = supbookpos;
|
public void | setTabpos(int tabpos)
this.tabpos = tabpos;
|
public void | setXfpos(int xfpos)
this.xfpos = xfpos;
|
public int | size()
return records.size();
|