com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IHyperlinkManager

  • All Known Implementing Classes:
    HyperlinkManager


    public interface IHyperlinkManager

    Provide hyperlinks management (adding, removing).

    • Method Detail

      • setExternalHyperlinkClick

        IHyperlink setExternalHyperlinkClick(java.lang.String url)

        Set external hyperlink on click.

        Parameters:
        url - Hyperlink URL.
        Returns:
        Hyperlink object IHyperlink
      • setInternalHyperlinkClick

        IHyperlink setInternalHyperlinkClick(ISlide targetSlide)

        Sets internal hyperlink on click.

        Parameters:
        targetSlide - Target slide.
        Returns:
        Hyperlink.
      • removeHyperlinkClick

        void removeHyperlinkClick()

        Removes hyperlink on click.

      • setExternalHyperlinkMouseOver

        IHyperlink setExternalHyperlinkMouseOver(java.lang.String url)

        Sets external hyperlink mouse over.

        Parameters:
        url - Hyperlink URL.
        Returns:
        Hyperlink.
      • setInternalHyperlinkMouseOver

        IHyperlink setInternalHyperlinkMouseOver(ISlide targetSlide)

        Sets internal hyperlink mouse over.

        Parameters:
        targetSlide - Target slide.
        Returns:
        Hyperlink.
      • removeHyperlinkMouseOver

        void removeHyperlinkMouseOver()

        Removes hyperlink mouse over.

      • setMacroHyperlinkClick

        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();
         }
         
        Parameters:
        macroName - Name of the macro
        Returns:
        Hyperlink object IHyperlink