| java.lang.Object org.apache.poi.hslf.model.Sheet org.apache.poi.hslf.model.Slide
Slide | public class Slide extends Sheet (Code) | | 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
author: Nick Burch author: Yegor Kozlov |
Constructor Summary | |
public | Slide(org.apache.poi.hslf.record.Slide slide, Notes notes, SlideAtomsSet atomSet, int slideIdentifier, int slideNumber) Constructs a Slide from the Slide record, and the SlideAtomsSet
containing the text. | public | Slide(int sheetNumber, int sheetRefId, int slideNumber) |
Slide | public Slide(org.apache.poi.hslf.record.Slide slide, Notes notes, SlideAtomsSet atomSet, int slideIdentifier, int slideNumber)(Code) | | Constructs a Slide from the Slide record, and the SlideAtomsSet
containing the text.
Initialises TextRuns, to provide easier access to the text
Parameters: slide - the Slide record we're based on Parameters: notes - the Notes sheet attached to us Parameters: atomSet - the SlideAtomsSet to get the text from |
Slide | public Slide(int sheetNumber, int sheetRefId, int slideNumber)(Code) | | Create a new Slide instance
Parameters: sheetNumber - The internal number of the sheet, as used by PersistPtrHolder Parameters: slideNumber - The user facing number of the sheet |
addTitle | public TextBox addTitle()(Code) | | Create a TextBox object that represents the slide's title.
TextBox object that represents the slide's title. |
getFollowMasterBackground | public boolean getFollowMasterBackground()(Code) | | Whether this slide follows master sheet background
true if the slide follows master background,false otherwise |
getMasterSheet | public MasterSheet getMasterSheet()(Code) | | Returns master sheet associated with this slide.
It can be either SlideMaster or TitleMaster objects.
the master sheet associated with this slide. |
getNotesSheet | public Notes getNotesSheet()(Code) | | Returns the Notes Sheet for this slide, or null if there isn't one
|
getSlideAtomsSet | protected SlideAtomsSet getSlideAtomsSet()(Code) | | set of records inside SlideListWithtext containerwhich hold text data for this slide (typically for placeholders). |
getSlideNumber | public int getSlideNumber()(Code) | | Returns the (public facing) page number of this slide
|
getTextRuns | public TextRun[] getTextRuns()(Code) | | Returns an array of all the TextRuns found
|
getTitle | public String getTitle()(Code) | | Return title of this slide or null if the slide does not have title.
The title is a run of text of type TextHeaderAtom.CENTER_TITLE_TYPE or
TextHeaderAtom.TITLE_TYPE
See Also: TextHeaderAtom title of this slide |
setFollowMasterBackground | public void setFollowMasterBackground(boolean flag)(Code) | | Sets whether this slide follows master background
Parameters: flag - true if the slide follows master,false otherwise |
setMasterSheet | public void setMasterSheet(MasterSheet master)(Code) | | Change Master of this slide.
|
setNotes | public void setNotes(Notes notes)(Code) | | Sets the Notes that are associated with this. Updates the
references in the records to point to the new ID
|
|
|