|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.PositionDependentRecordContainer
public abstract class PositionDependentRecordContainer
A special (and dangerous) kind of Record Container, for which other Atoms care about where this one lives on disk. Will track its position on disk.
| Field Summary | |
|---|---|
protected int |
myLastOnDiskOffset
Our location on the disk, as of the last write out |
| Fields inherited from class org.apache.poi.hslf.record.RecordContainer |
|---|
_children |
| Fields inherited from class org.apache.poi.hslf.record.Record |
|---|
logger |
| Constructor Summary | |
|---|---|
PositionDependentRecordContainer()
|
|
| Method Summary | |
|---|---|
int |
getLastOnDiskOffset()
Fetch our location on the disk, as of the last write out |
int |
getSheetId()
Fetch our sheet ID, as found from a PersistPtrHolder. |
void |
setLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out. |
void |
setSheetId(int id)
Set our sheet ID, as found from a PersistPtrHolder |
void |
updateOtherRecordReferences(java.util.Hashtable oldToNewReferencesLookup)
Since we're a container, we don't mind if other records move about. |
| Methods inherited from class org.apache.poi.hslf.record.RecordContainer |
|---|
addChildAfter, addChildBefore, appendChildRecord, getChildRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, writeOut |
| Methods inherited from class org.apache.poi.hslf.record.Record |
|---|
buildRecordAtOffset, createRecordForType, findChildRecords, getRecordType, writeLittleEndian, writeLittleEndian, writeOut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int myLastOnDiskOffset
| Constructor Detail |
|---|
public PositionDependentRecordContainer()
| Method Detail |
|---|
public int getSheetId()
public void setSheetId(int id)
public int getLastOnDiskOffset()
getLastOnDiskOffset in interface PositionDependentRecordpublic void setLastOnDiskOffset(int offset)
setLastOnDiskOffset in interface PositionDependentRecordpublic void updateOtherRecordReferences(java.util.Hashtable oldToNewReferencesLookup)
updateOtherRecordReferences in interface PositionDependentRecord
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||