Class XSLFPictureShape

    • Method Detail

      • isExternalLinkedPicture

        public boolean isExternalLinkedPicture()
        Is this an internal picture (image data included within the PowerPoint file), or an external linked picture (image lives outside)?
      • getPictureLink

        public java.net.URI getPictureLink()
        For an external linked picture, return the last-seen path to the picture. For an internal picture, returns null.
      • getClipping

        public java.awt.Insets getClipping()
        Description copied from interface: PictureShape
        Returns the clipping values as percent ratio relatively to the image size. The clipping are returned as insets converted/scaled to 100000 (=100%).
        Specified by:
        getClipping in interface PictureShape<XSLFShape,​XSLFTextParagraph>
        Returns:
        the clipping rectangle, which is given in percent in relation to the image width/height