org.apache.poi.hslf.record
Class SlideListWithText

java.lang.Object
  extended byorg.apache.poi.hslf.record.Record
      extended byorg.apache.poi.hslf.record.RecordContainer
          extended byorg.apache.poi.hslf.record.SlideListWithText

public class SlideListWithText
extends RecordContainer

These are tricky beasts. They contain the text of potentially many (normal) slides. They are made up of several sets of - SlidePersistAtom - TextHeaderAtom - TextBytesAtom / TextCharsAtom - StyleTextPropAtom (optional) - TextSpecInfoAtom (optional) - InteractiveInfo (optional) - TxInteractiveInfoAtom (optional) and then the next SlidePersistAtom. Eventually, Slides will find the blocks that interest them from all the SlideListWithText entries, and refere to them For now, we scan through looking for interesting bits, then creating the helpful Sheet from model for them

Author:
Nick Burch

Nested Class Summary
 class SlideListWithText.SlideAtomsSet
          Inner class to wrap up a matching set of records that hold the text for a given sheet.
 
Constructor Summary
protected SlideListWithText(byte[] source, int start, int len)
          Create a new holder for slide records
 
Method Summary
 Record[] getChildRecords()
          We're pretending to be an atom, so return null
 long getRecordType()
          Return the value we were given at creation
 SlideListWithText.SlideAtomsSet[] getSlideAtomsSets()
          Get access to the SlideAtomsSets of the children of this record
 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.RecordContainer
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

SlideListWithText

protected SlideListWithText(byte[] source,
                            int start,
                            int len)
Create a new holder for slide records

Method Detail

getSlideAtomsSets

public SlideListWithText.SlideAtomsSet[] getSlideAtomsSets()
Get access to the SlideAtomsSets of the children of this record


getRecordType

public long getRecordType()
Return the value we were given at creation

Specified by:
getRecordType in class Record

getChildRecords

public Record[] getChildRecords()
We're pretending to be an atom, so return null

Specified by:
getChildRecords 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 2005 The Apache Software Foundation or its licensors, as applicable.