Package org.apache.poi.hslf.record
Class SlidePersistAtom
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.SlidePersistAtom
A SlidePersist Atom (type 1011). Holds information on the text of a
given slide, which are stored in the same SlideListWithText
- Author:
- Nick Burch
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a new SlidePersistAtom, for use with a new SlideprotectedSlidePersistAtom(byte[] source, int start, int len) For the SlidePersist Atom -
Method Summary
Modifier and TypeMethodDescriptionbooleanintlongWe are of type 1011intgetRefID()intvoidsetRefID(int id) voidsetSlideIdentifier(int id) voidwriteOut(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, isAnAtomMethods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
SlidePersistAtom
protected SlidePersistAtom(byte[] source, int start, int len) For the SlidePersist Atom -
SlidePersistAtom
public SlidePersistAtom()Create a new SlidePersistAtom, for use with a new Slide
-
-
Method Details
-
getRefID
public int getRefID() -
getSlideIdentifier
public int getSlideIdentifier() -
getNumPlaceholderTexts
public int getNumPlaceholderTexts() -
getHasShapesOtherThanPlaceholders
public boolean getHasShapesOtherThanPlaceholders() -
setRefID
public void setRefID(int id) -
setSlideIdentifier
public void setSlideIdentifier(int id) -
getRecordType
public long getRecordType()We are of type 1011- 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
-