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
-
- All Implemented Interfaces:
GenericRecord
public final class SlideListWithText extends RecordContainer
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
Nested Classes Modifier and Type Class Description static classSlideListWithText.SlideAtomsSetInner class to wrap up a matching set of records that hold the text for a given sheet.
-
Field Summary
Fields Modifier and Type Field Description static intMASTERInstance filed of the record header indicates that this SlideListWithText stores references to master slidesstatic intNOTESInstance filed of the record header indicates that this SlideListWithText stores references to notesstatic intSLIDESInstance filed of the record header indicates that this SlideListWithText stores references to slides-
Fields inherited from class org.apache.poi.hslf.record.RecordContainer
_children
-
-
Constructor Summary
Constructors Modifier Constructor Description SlideListWithText()Create a new, empty, SlideListWithTextprotectedSlideListWithText(byte[] source, int start, int len)Create a new holder for slide records
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSlidePersistAtom(SlidePersistAtom spa)Add a new SlidePersistAtom, to the end of the current list, and update the internal list of SlidePersistAtomsintgetInstance()longgetRecordType()Return the value we were given at creationSlideListWithText.SlideAtomsSet[]getSlideAtomsSets()Get access to the SlideAtomsSets of the children of this recordvoidsetInstance(int inst)voidsetSlideAtomsSets(SlideListWithText.SlideAtomsSet[] sas)Get 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 disk-
Methods inherited from class org.apache.poi.hslf.record.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOut
-
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
-
-
-
Field Detail
-
SLIDES
public static final int SLIDES
Instance filed of the record header indicates that this SlideListWithText stores references to slides- See Also:
- Constant Field Values
-
MASTER
public static final int MASTER
Instance filed of the record header indicates that this SlideListWithText stores references to master slides- See Also:
- Constant Field Values
-
NOTES
public static final int NOTES
Instance filed of the record header indicates that this SlideListWithText stores references to notes- See Also:
- Constant Field Values
-
-
Method Detail
-
addSlidePersistAtom
public void addSlidePersistAtom(SlidePersistAtom spa)
Add a new SlidePersistAtom, to the end of the current list, and update the internal list of SlidePersistAtoms
-
getInstance
public int getInstance()
-
setInstance
public void setInstance(int inst)
-
getSlideAtomsSets
public SlideListWithText.SlideAtomsSet[] getSlideAtomsSets()
Get access to the SlideAtomsSets of the children of this record
-
setSlideAtomsSets
public void setSlideAtomsSets(SlideListWithText.SlideAtomsSet[] sas)
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
public void writeOut(OutputStream out) throws IOException
Write the contents of the record back, so it can be written to disk- Specified by:
writeOutin classRecord- Throws:
IOException
-
-