FileDocCategorySizeDatePackage
Notes.javaAPI DocApache Poi 3.0.12175Thu May 31 18:45:28 BST 2007org.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

Fields Summary
private TextRun[]
_runs
Constructors Summary
public Notes(Notes notes)
Constructs a Notes Sheet from the given Notes record. Initialises TextRuns, to provide easier access to the text

param
notes the Notes record to read from

      super(notes, notes.getNotesAtom().getSlideID());

	// Now, build up TextRuns from pairs of TextHeaderAtom and
	//  one of TextBytesAtom or TextCharsAtom, found inside 
	//  EscherTextboxWrapper's in the PPDrawing
	_runs = findTextRuns(getPPDrawing());

	// Set the sheet on each TextRun
	for (int i = 0; i < _runs.length; i++)
		_runs[i].setSheet(this);
  
Methods Summary
public org.apache.poi.hslf.model.MasterSheetgetMasterSheet()
Return null - Notes Masters are not yet supported

        return null;
    
public org.apache.poi.hslf.model.TextRun[]getTextRuns()
Returns an array of all the TextRuns found

 return _runs;