Class ActiveXShape

All Implemented Interfaces:
IAdjustableShape, PictureShape<HSLFShape,HSLFTextParagraph>, PlaceableShape<HSLFShape,HSLFTextParagraph>, Shape<HSLFShape,HSLFTextParagraph>, SimpleShape<HSLFShape,HSLFTextParagraph>

public final class ActiveXShape extends HSLFPictureShape
Represents an ActiveX control in a PowerPoint document.
  • Field Details

    • DEFAULT_ACTIVEX_THUMBNAIL

      public static final int DEFAULT_ACTIVEX_THUMBNAIL
      See Also:
  • Constructor Details

    • ActiveXShape

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

    • setActiveXIndex

      public void setActiveXIndex(int idx)
      Assign a control to this shape
      Parameters:
      idx - the index of the movie
      See Also:
    • 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