org.apache.poi.hslf.record
Class Notes

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.SheetContainer
                  extended by org.apache.poi.hslf.record.Notes
All Implemented Interfaces:
PositionDependentRecord

public class Notes
extends SheetContainer

Master container for Notes. There is one of these for every page of notes, and they have certain specific children

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
 
Fields inherited from class org.apache.poi.hslf.record.Record
logger
 
Constructor Summary
protected Notes(byte[] source, int start, int len)
          Set things up, and find our more interesting children
 
Method Summary
 ColorSchemeAtom getColorScheme()
           
 NotesAtom getNotesAtom()
          Returns the NotesAtom of this Notes
 PPDrawing getPPDrawing()
          Returns the PPDrawing of this Notes, which has all the interesting data in it
 long getRecordType()
          We are of type 1008
 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, moveChildBefore, moveChildrenAfter, moveChildrenBefore, writeOut
 
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notes

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

Method Detail

getNotesAtom

public NotesAtom getNotesAtom()
Returns the NotesAtom of this Notes


getPPDrawing

public PPDrawing getPPDrawing()
Returns the PPDrawing of this Notes, which has all the interesting data in it

Specified by:
getPPDrawing in class SheetContainer

getRecordType

public long getRecordType()
We are of type 1008

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

getColorScheme

public ColorSchemeAtom getColorScheme()
Specified by:
getColorScheme in class SheetContainer


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