Package org.apache.poi.hslf.record
Class Document
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordContainer
org.apache.poi.hslf.record.PositionDependentRecordContainer
org.apache.poi.hslf.record.Document
- All Implemented Interfaces:
GenericRecord
,PositionDependentRecord
Master container for Document. There is one of these for every
slideshow, and it holds lots of definitions, and some summaries.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new SlideListWithText record, at the appropriate point in the child records.Returns the DocumentAtom of this DocumentReturns the Environment of this Notes, which lots of settings for the document in itgetExObjList
(boolean create) Returns the ExObjList, which holds the references to external objects used in the slides.Returns the SlideListWithText that deals with the Master SlidesReturns the SlideListWithText that deals with the notes, or null if there isn't oneReturns the PPDrawingGroup, which holds an Escher Structure that contains information on pictures in the slides.long
We are of type 1000Returns all the SlideListWithTexts that are defined for this Document.Returns the SlideListWithText that deals with the Slides, or null if there isn't onevoid
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.PositionDependentRecordContainer
getLastOnDiskOffset, getSheetId, setLastOnDiskOffset, setSheetId, updateOtherRecordReferences
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
-
Method Details
-
getDocumentAtom
Returns the DocumentAtom of this Document -
getEnvironment
Returns the Environment of this Notes, which lots of settings for the document in it -
getPPDrawingGroup
Returns the PPDrawingGroup, which holds an Escher Structure that contains information on pictures in the slides. -
getExObjList
Returns the ExObjList, which holds the references to external objects used in the slides. This may be null, if there are no external references.- Parameters:
create
- if true, create an ExObjList if it doesn't exist
-
getSlideListWithTexts
Returns all the SlideListWithTexts that are defined for this Document. They hold the text, and some of the text properties, which are referred to by the slides. This will normally return an array of size 2 or 3 -
getMasterSlideListWithText
Returns the SlideListWithText that deals with the Master Slides -
getSlideSlideListWithText
Returns the SlideListWithText that deals with the Slides, or null if there isn't one -
getNotesSlideListWithText
Returns the SlideListWithText that deals with the notes, or null if there isn't one -
addSlideListWithText
Adds a new SlideListWithText record, at the appropriate point in the child records. -
removeSlideListWithText
-
getRecordType
public long getRecordType()We are of type 1000- 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
-