com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class HyperlinkManager

  • java.lang.Object
    • com.aspose.slides.HyperlinkManager
  • All Implemented Interfaces:
    IHyperlinkManager


    public final class HyperlinkManager
    extends java.lang.Object
    implements IHyperlinkManager

    Provide hyperlinks management (adding, removing).

    • Method Detail

      • setMacroHyperlinkClick

        public final IHyperlink setMacroHyperlinkClick(java.lang.String macroName)

        Set Macro hyperlink on a click.


         
         Presentation pres = new Presentation();
         try {
             IAutoShape shape = pres.getSlides().get_Item(0).getShapes().addAutoShape(ShapeType.BlankButton, 20, 20, 80, 30);
             shape.getHyperlinkManager().setMacroHyperlinkClick("MacroName");
         } finally {
             if (pres != null) pres.dispose();
         }
         
        Specified by:
        setMacroHyperlinkClick in interface IHyperlinkManager
        Parameters:
        macroName - Name of the macro
        Returns:
        Hyperlink object IHyperlink
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.