|
||||||||||
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.SlideListWithText
public class SlideListWithText
These are tricky beasts. They contain the text of potentially many (normal) slides. They are made up of several sets of - SlidePersistAtom - TextHeaderAtom - TextBytesAtom / TextCharsAtom - StyleTextPropAtom (optional) - TextSpecInfoAtom (optional) - InteractiveInfo (optional) - TxInteractiveInfoAtom (optional) and then the next SlidePersistAtom. Eventually, Slides will find the blocks that interest them from all the SlideListWithText entries, and refere to them For now, we scan through looking for interesting bits, then creating the helpful Sheet from model for them
Nested Class Summary | |
---|---|
class |
SlideListWithText.SlideAtomsSet
Inner class to wrap up a matching set of records that hold the text for a given sheet. |
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.record.RecordContainer |
---|
_children |
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
Constructor Summary | |
---|---|
|
SlideListWithText()
Create a new, empty, SlideListWithText |
protected |
SlideListWithText(byte[] source,
int start,
int len)
Create a new holder for slide records |
Method Summary | |
---|---|
void |
addSlidePersistAtom(SlidePersistAtom spa)
Add a new SlidePersistAtom, to the end of the current list, and update the internal list of SlidePersistAtoms |
long |
getRecordType()
Return the value we were given at creation |
SlideListWithText.SlideAtomsSet[] |
getSlideAtomsSets()
Get access to the SlideAtomsSets of the children of this record |
void |
repositionSlideAtomsSet(SlideListWithText.SlideAtomsSet toMove,
int newPosition)
Shifts a SlideAtomsSet to a new position. |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk |
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, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SlideListWithText(byte[] source, int start, int len)
public SlideListWithText()
Method Detail |
---|
public void addSlidePersistAtom(SlidePersistAtom spa)
spa
- public SlideListWithText.SlideAtomsSet[] getSlideAtomsSets()
public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
writeOut
in class Record
java.io.IOException
public void repositionSlideAtomsSet(SlideListWithText.SlideAtomsSet toMove, int newPosition)
toMove
- The SlideAtomsSet to movenewPosition
- The new (0 based) position for the SlideAtomsSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |