org.apache.poi.hslf.model
Class Notes

java.lang.Object
  extended by org.apache.poi.hslf.model.Sheet
      extended by org.apache.poi.hslf.model.Notes

public class Notes
extends Sheet

This class represents a slide's notes in a PowerPoint Document. It allows access to the text within, and the layout. For now, it only does the text side of things though

Author:
Nick Burch

Constructor Summary
Notes(Notes notes)
          Constructs a Notes Sheet from the given Notes record.
 
Method Summary
 int _getSheetNumber()
          Returns the (internal, SlideIdentifer based) number of the slide we're attached to
 int _getSheetRefId()
          Returns the (internal, RefID based) sheet number, as used to in PersistPtr stuff.
protected  PPDrawing getPPDrawing()
          Fetch the PPDrawing from the underlying record
 TextRun[] getTextRuns()
          Returns an array of all the TextRuns found
 
Methods inherited from class org.apache.poi.hslf.model.Sheet
addShape, findTextRuns, findTextRuns, getColorScheme, getMasterSheet, getShapes, getSlideShow, setSlideShow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notes

public Notes(Notes notes)
Constructs a Notes Sheet from the given Notes record. Initialises TextRuns, to provide easier access to the text

Parameters:
notes - the Notes record to read from
Method Detail

getTextRuns

public TextRun[] getTextRuns()
Returns an array of all the TextRuns found

Specified by:
getTextRuns in class Sheet

_getSheetRefId

public int _getSheetRefId()
Returns the (internal, RefID based) sheet number, as used to in PersistPtr stuff.

Specified by:
_getSheetRefId in class Sheet

_getSheetNumber

public int _getSheetNumber()
Returns the (internal, SlideIdentifer based) number of the slide we're attached to

Specified by:
_getSheetNumber in class Sheet

getPPDrawing

protected PPDrawing getPPDrawing()
Description copied from class: Sheet
Fetch the PPDrawing from the underlying record

Specified by:
getPPDrawing in class Sheet


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