Class ActiveXShape

    • Field Detail

      • DEFAULT_ACTIVEX_THUMBNAIL

        public static final int DEFAULT_ACTIVEX_THUMBNAIL
        See Also:
        Constant Field Values
    • Constructor Detail

      • ActiveXShape

        public ActiveXShape​(int movieIdx,
                            HSLFPictureData pictureData)
        Create a new Picture
        Parameters:
        pictureData - the picture data
      • ActiveXShape

        protected ActiveXShape​(EscherContainerRecord escherRecord,
                               ShapeContainer<HSLFShape,​HSLFTextParagraph> parent)
        Create a Picture object
        Parameters:
        escherRecord - the EscherSpContainer record which holds information about this picture in the Slide
        parent - the parent shape of this picture
    • Method Detail

      • createSpContainer

        protected EscherContainerRecord createSpContainer​(int idx,
                                                          boolean isChild)
        Create a new Placeholder and initialize internal structures
        Overrides:
        createSpContainer in class HSLFPictureShape
        Parameters:
        idx - the index of the picture which refers to EscherBSE container.
        Returns:
        the created EscherContainerRecord which holds shape data
      • setActiveXIndex

        public void setActiveXIndex​(int idx)
        Assign a control to this shape
        Parameters:
        idx - the index of the movie
        See Also:
        HSLFSlideShow.addMovie(String, int)
      • getControlIndex

        public int getControlIndex()
      • setProperty

        public void setProperty​(String key,
                                String value)
        Set a property of this ActiveX control
      • getExControl

        public ExControl getExControl()
        Document-level container that specifies information about an ActiveX control
        Returns:
        container that specifies information about an ActiveX control