Package org.apache.poi.hslf.record
Class SlideAtom
- java.lang.Object
-
- org.apache.poi.hslf.record.Record
-
- org.apache.poi.hslf.record.RecordAtom
-
- org.apache.poi.hslf.record.SlideAtom
-
public final class SlideAtom extends RecordAtom
A Slide Atom (type 1007). Holds information on the parent Slide, what Master Slide it uses, what Notes is attached to it, that sort of thing. It also has a SSlideLayoutAtom embedded in it, but without the Atom header
-
-
Field Summary
Fields Modifier and Type Field Description static intUSES_MASTER_SLIDE_ID
-
Constructor Summary
Constructors Constructor Description SlideAtom()Create a new SlideAtom, to go with a new Slide
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetFollowMasterBackground()booleangetFollowMasterObjects()booleangetFollowMasterScheme()intgetMasterID()Get the ID of the master slide used.intgetNotesID()Get the ID of the notes for this slide.longgetRecordType()We are of type 1007SlideAtomLayoutgetSSlideLayoutAtom()Get the embedded SSlideLayoutAtomvoidsetFollowMasterBackground(boolean flag)voidsetFollowMasterObjects(boolean flag)voidsetFollowMasterScheme(boolean flag)voidsetMasterID(int id)Change slide master.voidsetNotesID(int id)Change the ID of the notes for this slide.voidwriteOut(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.RecordAtom
getChildRecords, isAnAtom
-
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
-
-
-
-
Field Detail
-
USES_MASTER_SLIDE_ID
public static final int USES_MASTER_SLIDE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMasterID
public int getMasterID()
Get the ID of the master slide used. 0 if this is a master slide, otherwise -2147483648
-
setMasterID
public void setMasterID(int id)
Change slide master.
-
getNotesID
public int getNotesID()
Get the ID of the notes for this slide. 0 if doesn't have one
-
getSSlideLayoutAtom
public SlideAtomLayout getSSlideLayoutAtom()
Get the embedded SSlideLayoutAtom
-
setNotesID
public void setNotesID(int id)
Change the ID of the notes for this slide. 0 if it no longer has one
-
getFollowMasterObjects
public boolean getFollowMasterObjects()
-
getFollowMasterScheme
public boolean getFollowMasterScheme()
-
getFollowMasterBackground
public boolean getFollowMasterBackground()
-
setFollowMasterObjects
public void setFollowMasterObjects(boolean flag)
-
setFollowMasterScheme
public void setFollowMasterScheme(boolean flag)
-
setFollowMasterBackground
public void setFollowMasterBackground(boolean flag)
-
getRecordType
public long getRecordType()
We are of type 1007- Specified by:
getRecordTypein classRecord
-
-