Package org.apache.poi.hslf.record
Class SlideListWithText
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.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
- Author:
- Nick Burch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInner class to wrap up a matching set of records that hold the text for a given sheet. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInstance filed of the record header indicates that this SlideListWithText stores references to master slidesstatic final intInstance filed of the record header indicates that this SlideListWithText stores references to notesstatic final intInstance filed of the record header indicates that this SlideListWithText stores references to slidesFields inherited from class org.apache.poi.hslf.record.RecordContainer
_children -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a new, empty, SlideListWithTextprotectedSlideListWithText(byte[] source, int start, int len) Create a new holder for slide records -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a new SlidePersistAtom, to the end of the current list, and update the internal list of SlidePersistAtomsintlongReturn the value we were given at creationGet access to the SlideAtomsSets of the children of this recordvoidsetInstance(int inst) voidGet access to the SlideAtomsSets of the children of this recordvoidwriteOut(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOutMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Field Details
-
SLIDES
public static final int SLIDESInstance filed of the record header indicates that this SlideListWithText stores references to slides- See Also:
-
MASTER
public static final int MASTERInstance filed of the record header indicates that this SlideListWithText stores references to master slides- See Also:
-
NOTES
public static final int NOTESInstance filed of the record header indicates that this SlideListWithText stores references to notes- See Also:
-
-
Constructor Details
-
SlideListWithText
protected SlideListWithText(byte[] source, int start, int len) Create a new holder for slide records -
SlideListWithText
public SlideListWithText()Create a new, empty, SlideListWithText
-
-
Method Details
-
addSlidePersistAtom
Add a new SlidePersistAtom, to the end of the current list, and update the internal list of SlidePersistAtoms- Parameters:
spa-
-
getInstance
public int getInstance() -
setInstance
public void setInstance(int inst) -
getSlideAtomsSets
Get access to the SlideAtomsSets of the children of this record -
setSlideAtomsSets
Get access to the SlideAtomsSets of the children of this record -
getRecordType
public long getRecordType()Return the value we were given at creation- Specified by:
getRecordTypein classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-