|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.model.Sheet
org.apache.poi.hslf.model.Slide
public class Slide
This class represents a slide 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
Constructor Summary | |
---|---|
Slide(int sheetNumber,
int sheetRefId,
int slideNumber)
Create a new Slide instance |
|
Slide(Slide slide,
Notes notes,
SlideListWithText.SlideAtomsSet atomSet,
int slideIdentifier,
int slideNumber)
Constructs a Slide from the Slide record, and the SlideAtomsSet containing the text. |
Method Summary | |
---|---|
int |
_getSheetNumber()
Returns the (internal, SlideIdentifier based) sheet number |
int |
_getSheetRefId()
Returns the (internal, RefID based) sheet number, as used to in PersistPtr stuff. |
TextBox |
addTitle()
Create a TextBox object that represents the slide's title. |
Notes |
getNotesSheet()
Returns the Notes Sheet for this slide, or null if there isn't one |
protected PPDrawing |
getPPDrawing()
Returns the PPDrawing associated with this slide, or null if there isn't one |
protected SlideListWithText.SlideAtomsSet |
getSlideAtomsSet()
|
int |
getSlideNumber()
Returns the (public facing) page number of this slide |
Slide |
getSlideRecord()
Returns the underlying slide record |
TextRun[] |
getTextRuns()
Returns an array of all the TextRuns found |
void |
setNotes(Notes notes)
Sets the Notes that are associated with this. |
Methods inherited from class org.apache.poi.hslf.model.Sheet |
---|
addShape, findTextRuns, findTextRuns, getShapes, getSlideShow, setSlideShow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Slide(Slide slide, Notes notes, SlideListWithText.SlideAtomsSet atomSet, int slideIdentifier, int slideNumber)
slide
- the Slide record we're based onnotes
- the Notes sheet attached to usatomSet
- the SlideAtomsSet to get the text frompublic Slide(int sheetNumber, int sheetRefId, int slideNumber)
sheetNumber
- The internal number of the sheet, as used by PersistPtrHolderslideNumber
- The user facing number of the sheetMethod Detail |
---|
public void setNotes(Notes notes)
public TextBox addTitle()
TextBox
object that represents the slide's title.
TextBox
object that represents the slide's title.public TextRun[] getTextRuns()
getTextRuns
in class Sheet
public int _getSheetRefId()
_getSheetRefId
in class Sheet
public int _getSheetNumber()
_getSheetNumber
in class Sheet
getSlideNumber()
public int getSlideNumber()
public Slide getSlideRecord()
public Notes getNotesSheet()
protected PPDrawing getPPDrawing()
getPPDrawing
in class Sheet
protected SlideListWithText.SlideAtomsSet getSlideAtomsSet()
SlideListWithtext
container
which hold text data for this slide (typically for placeholders).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |