org.apache.poi.hslf.record
Class Document

java.lang.Object
  extended by org.apache.poi.hslf.record.Record
      extended by org.apache.poi.hslf.record.RecordContainer
          extended by org.apache.poi.hslf.record.PositionDependentRecordContainer
              extended by org.apache.poi.hslf.record.Document
All Implemented Interfaces:
PositionDependentRecord

public class Document
extends PositionDependentRecordContainer

Master container for Document. There is one of these for every slideshow, and it holds lots of definitions, and some summaries.

Author:
Nick Burch

Field Summary
 
Fields inherited from class org.apache.poi.hslf.record.PositionDependentRecordContainer
myLastOnDiskOffset
 
Fields inherited from class org.apache.poi.hslf.record.RecordContainer
_children
 
Constructor Summary
protected Document(byte[] source, int start, int len)
          Set things up, and find our more interesting children
 
Method Summary
 void addSlideListWithText(SlideListWithText slwt)
          Adds a new SlideListWithText record, at the appropriate point
 DocumentAtom getDocumentAtom()
          Returns the DocumentAtom of this Document
 Environment getEnvironment()
          Returns the Environment of this Notes, which lots of settings for the document in it
 PPDrawingGroup getPPDrawingGroup()
          Returns the PPDrawingGroup, which holds an Escher Structure that contains information on pictures in the slides.
 long getRecordType()
          We are of type 1000
 SlideListWithText[] getSlideListWithTexts()
          Returns all the SlideListWithTexts that are defined for this Document.
 void writeOut(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.PositionDependentRecordContainer
getLastOnDiskOffset, getSheetId, setLastOnDiskOffset, setSheetId, updateOtherRecordReferences
 
Methods inherited from class org.apache.poi.hslf.record.RecordContainer
addChildAfter, addChildBefore, appendChildRecord, getChildRecords, isAnAtom, writeOut
 
Methods inherited from class org.apache.poi.hslf.record.Record
createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

protected Document(byte[] source,
                   int start,
                   int len)
Set things up, and find our more interesting children

Method Detail

getDocumentAtom

public DocumentAtom getDocumentAtom()
Returns the DocumentAtom of this Document


getEnvironment

public Environment getEnvironment()
Returns the Environment of this Notes, which lots of settings for the document in it


getPPDrawingGroup

public PPDrawingGroup getPPDrawingGroup()
Returns the PPDrawingGroup, which holds an Escher Structure that contains information on pictures in the slides.


getSlideListWithTexts

public SlideListWithText[] 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.


addSlideListWithText

public void addSlideListWithText(SlideListWithText slwt)
Adds a new SlideListWithText record, at the appropriate point


getRecordType

public long getRecordType()
We are of type 1000

Specified by:
getRecordType in class Record

writeOut

public void writeOut(java.io.OutputStream out)
              throws java.io.IOException
Write the contents of the record back, so it can be written to disk

Specified by:
writeOut in class Record
Throws:
java.io.IOException


Copyright 2006 The Apache Software Foundation or its licensors, as applicable.