Documentation of 'org.apache.poi.xslf.usermodel.XMLSlideShow' Java class
XMLSlideShow
org.apache.poi.xslf.usermodel

Class XMLSlideShow



  • @Beta
    public class XMLSlideShow
    extends POIXMLDocument
    High level representation of a ooxml slideshow. This is the first object most users will construct whether they are reading or writing a slideshow. It is also the top level object for creating new slides/etc.
    • Constructor Detail

      • XMLSlideShow

        public XMLSlideShow()
      • XMLSlideShow

        public XMLSlideShow(OPCPackage pkg)
      • XMLSlideShow

        public XMLSlideShow(java.io.InputStream is)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • _getXSLFSlideShow

        @Deprecated
        public XSLFSlideShow _getXSLFSlideShow()
                                                    throws OpenXML4JException,
                                                           java.io.IOException,
                                                           org.apache.xmlbeans.XmlException
        Deprecated. 
        Throws:
        OpenXML4JException
        java.io.IOException
        org.apache.xmlbeans.XmlException
      • getAllPictures

        public java.util.List<XSLFPictureData> getAllPictures()
        Returns all Pictures, which are referenced from the document itself.
        Returns:
        a List of PackagePart. The returned List is unmodifiable.
      • createSlide

        public XSLFSlide createSlide(XSLFSlideLayout layout)
        Create a slide and initialize it from the specified layout.
        Parameters:
        layout -
        Returns:
        created slide
      • createSlide

        public XSLFSlide createSlide()
        Create a blank slide.
      • getNotesSlide

        public XSLFNotes getNotesSlide(XSLFSlide slide)
        Return notes slide for the specified slide or create new if it does not exist yet.
      • createNotesMaster

        public void createNotesMaster()
        Create a notes master.
      • getNotesMaster

        public XSLFNotesMaster getNotesMaster()
        Return the Notes Master, if there is one. (May not be present if no notes exist)
      • getSlides

        public XSLFSlide[] getSlides()
        Return all the slides in the slideshow
      • getCommentAuthors

        public XSLFCommentAuthors getCommentAuthors()
        Returns the list of comment authors, if there is one. Will only be present if at least one slide has comments on it.
      • setSlideOrder

        public void setSlideOrder(XSLFSlide slide,
                                  int newIndex)
        Parameters:
        newIndex - 0-based index of the slide
      • removeSlide

        public XSLFSlide removeSlide(int index)
      • getPageSize

        public java.awt.Dimension getPageSize()
        Returns the current page size
        Returns:
        the page size
      • setPageSize

        public void setPageSize(java.awt.Dimension pgSize)
        Sets the page size to the given Dimension object.
        Parameters:
        pgSize - page size
      • getCTPresentation

        @Internal
        public org.openxmlformats.schemas.presentationml.x2006.main.CTPresentation getCTPresentation()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.