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
- All Implemented Interfaces:
GenericRecord
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
int
Get the ID of the master slide used.int
Get the ID of the notes for this slide.long
We are of type 1007Get the embedded SSlideLayoutAtomvoid
setFollowMasterBackground
(boolean flag) void
setFollowMasterObjects
(boolean flag) void
setFollowMasterScheme
(boolean flag) void
setMasterID
(int id) Change slide master.void
setNotesID
(int id) Change the ID of the notes for this slide.void
writeOut
(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, getMaxRecordLength, isAnAtom, setMaxRecordLength
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Field Details
-
USES_MASTER_SLIDE_ID
public static final int USES_MASTER_SLIDE_ID- See Also:
-
-
Constructor Details
-
SlideAtom
public SlideAtom()Create a new SlideAtom, to go with a new Slide
-
-
Method Details
-
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
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:
getRecordType
in classRecord
-
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOut
in classRecord
- Throws:
IOException
-
getGenericProperties
-