Class XSLFSlideLayout

    • Constructor Detail

      • XSLFSlideLayout

        public XSLFSlideLayout​(PackagePart part)
                        throws java.io.IOException,
                               org.apache.xmlbeans.XmlException
        Throws:
        java.io.IOException
        org.apache.xmlbeans.XmlException
        Since:
        POI 3.14-Beta1
    • Method Detail

      • getName

        public java.lang.String getName()
      • getXmlObject

        @Internal
        public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideLayout getXmlObject()
        While developing only!
        Specified by:
        getXmlObject in class XSLFSheet
        Returns:
        top-level Xml bean representing this sheet
      • getSlideMaster

        public XSLFSlideMaster getSlideMaster()
        Slide master object associated with this layout.
        Returns:
        slide master. Never null.
        Throws:
        java.lang.IllegalStateException - if slide master was not found
      • getTheme

        public XSLFTheme getTheme()
        Overrides:
        getTheme in class XSLFSheet
        Returns:
        theme (shared styles) associated with this theme. By default returns null which means that this sheet is theme-less. Sheets that support the notion of themes (slides, masters, layouts, etc.) should override this method and return the corresponding package part.
      • getFollowMasterGraphics

        public boolean getFollowMasterGraphics()
        Specified by:
        getFollowMasterGraphics in interface Sheet<XSLFShape,​XSLFTextParagraph>
        Overrides:
        getFollowMasterGraphics in class XSLFSheet
        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
      • copyLayout

        public void copyLayout​(XSLFSlide slide)
        Copy placeholders from this layout to the destination slide
        Parameters:
        slide - destination slide
      • getType

        public SlideLayout getType()
        Returns:
        type of this layout