Class HSLFPictureShape

    • Method Detail

      • getPictureIndex

        public int getPictureIndex()
        Returns index associated with this picture. Index starts with 1 and points to a EscherBSE record which holds information about this picture.
        Returns:
        the index to this picture (1 based).
      • createSpContainer

        protected EscherContainerRecord createSpContainer​(int idx,
                                                          boolean isChild)
        Create a new Picture and populate the inital structure of the EscherSp record which holds information about this picture.
        Parameters:
        idx - the index of the picture which refers to EscherBSE container.
        Returns:
        the create Picture object
      • getPictureName

        public String getPictureName()
        Name of this picture.
        Returns:
        name of this picture
      • setPictureName

        public void setPictureName​(String name)
        Name of this picture.
        Parameters:
        name - of this picture
      • afterInsert

        protected void afterInsert​(HSLFSheet sh)
        By default set the orininal image size
        Overrides:
        afterInsert in class HSLFShape
        Parameters:
        sh - - owning shape