Interface Sheet<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>>

All Superinterfaces:
Iterable<S>, ShapeContainer<S,P>
All Known Subinterfaces:
MasterSheet<S,P>, Notes<S,P>, Slide<S,P>
All Known Implementing Classes:
HSLFMasterSheet, HSLFNotes, HSLFSheet, HSLFSlide, HSLFSlideMaster, HSLFTitleMaster, XSLFNotes, XSLFNotesMaster, XSLFSheet, XSLFSlide, XSLFSlideLayout, XSLFSlideMaster

public interface Sheet<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends ShapeContainer<S,P>
Common parent of Slides, Notes and Masters
  • Method Details

    • getSlideShow

      SlideShow<S,P> getSlideShow()
    • getFollowMasterGraphics

      boolean getFollowMasterGraphics()
      Returns:
      whether shapes on the master sheet should be shown. By default master graphics is turned off. Sheets that support the notion of master (slide, slideLayout) should override it and check this setting in the sheet XML
    • getMasterSheet

      MasterSheet<S,P> getMasterSheet()
    • getBackground

      Background<S,P> getBackground()
    • draw

      void draw(Graphics2D graphics)
      Convenience method to draw a sheet to a graphics context
      Parameters:
      graphics -
    • getPlaceholderDetails

      PlaceholderDetails getPlaceholderDetails(Placeholder placeholder)
      Get the placeholder details for the given placeholder type. Not all placeholders are also shapes - this is especially true for old HSLF slideshows, which notes have header/footers elements which aren't shapes.
      Parameters:
      placeholder - the placeholder type
      Returns:
      the placeholder details or null, if the placeholder isn't contained in the sheet
      Since:
      POI 4.0.0