Package org.apache.poi.hslf.usermodel
Class HSLFNotes
- java.lang.Object
-
- org.apache.poi.hslf.usermodel.HSLFSheet
-
- org.apache.poi.hslf.usermodel.HSLFNotes
-
- All Implemented Interfaces:
Iterable<HSLFShape>,HSLFShapeContainer,Notes<HSLFShape,HSLFTextParagraph>,ShapeContainer<HSLFShape,HSLFTextParagraph>,Sheet<HSLFShape,HSLFTextParagraph>
public final class HSLFNotes extends HSLFSheet implements Notes<HSLFShape,HSLFTextParagraph>
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadersFootersgetHeadersFooters()Header / Footer settings for this slide.HSLFMasterSheetgetMasterSheet()Returnnull- Notes Masters are not yet supportedHSLFPlaceholderDetailsgetPlaceholderDetails(Placeholder placeholder)List<List<HSLFTextParagraph>>getTextParagraphs()Returns an array of all the TextParagraphs found-
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFSheet
_getSheetNumber, _getSheetRefId, addShape, allocateShapeId, createAutoShape, createConnector, createFreeform, createGroup, createOleShape, createPicture, createTable, createTextBox, draw, getBackground, getColorScheme, getFollowMasterGraphics, getPlaceholder, getPlaceholderByTextType, getPPDrawing, getProgrammableTag, getShapes, getSheetContainer, getSlideShow, iterator, onAddTextShape, onCreate, removeShape, setSlideShow, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.apache.poi.sl.usermodel.ShapeContainer
addShape, createTable, getShapes, removeShape
-
Methods inherited from interface org.apache.poi.sl.usermodel.Sheet
draw, getBackground, getFollowMasterGraphics, getSlideShow
-
-
-
-
Constructor Detail
-
HSLFNotes
public HSLFNotes(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
-
getTextParagraphs
public List<List<HSLFTextParagraph>> getTextParagraphs()
Returns an array of all the TextParagraphs found- Specified by:
getTextParagraphsin interfaceNotes<HSLFShape,HSLFTextParagraph>- Specified by:
getTextParagraphsin classHSLFSheet
-
getMasterSheet
public HSLFMasterSheet getMasterSheet()
Returnnull- Notes Masters are not yet supported- Specified by:
getMasterSheetin interfaceSheet<HSLFShape,HSLFTextParagraph>- Specified by:
getMasterSheetin classHSLFSheet
-
getHeadersFooters
public HeadersFooters getHeadersFooters()
Header / Footer settings for this slide.- Overrides:
getHeadersFootersin classHSLFSheet- Returns:
- Header / Footer settings for this slide
-
getPlaceholderDetails
public HSLFPlaceholderDetails getPlaceholderDetails(Placeholder placeholder)
- Specified by:
getPlaceholderDetailsin interfaceSheet<HSLFShape,HSLFTextParagraph>- Overrides:
getPlaceholderDetailsin classHSLFSheet
-
-