IHyperlinkManager

public interface IHyperlinkManager

Provide hyperlinks management (adding, removing).

Methods

MethodDescription
setExternalHyperlinkClick(String url)Set external hyperlink on click.
setInternalHyperlinkClick(ISlide targetSlide)Sets internal hyperlink on click.
removeHyperlinkClick()Removes hyperlink on click.
setExternalHyperlinkMouseOver(String url)Sets external hyperlink mouse over.
setInternalHyperlinkMouseOver(ISlide targetSlide)Sets internal hyperlink mouse over.
removeHyperlinkMouseOver()Removes hyperlink mouse over.
setMacroHyperlinkClick(String macroName)Set Macro hyperlink on a click.

setExternalHyperlinkClick(String url)

public abstract IHyperlink setExternalHyperlinkClick(String url)

Set external hyperlink on click.

Parameters:

ParameterTypeDescription
urljava.lang.StringHyperlink URL.

Returns: IHyperlink - Hyperlink object IHyperlink

setInternalHyperlinkClick(ISlide targetSlide)

public abstract IHyperlink setInternalHyperlinkClick(ISlide targetSlide)

Sets internal hyperlink on click.

Parameters:

ParameterTypeDescription
targetSlideISlideTarget slide.

Returns: IHyperlink - Hyperlink.

removeHyperlinkClick()

public abstract void removeHyperlinkClick()

Removes hyperlink on click.

setExternalHyperlinkMouseOver(String url)

public abstract IHyperlink setExternalHyperlinkMouseOver(String url)

Sets external hyperlink mouse over.

Parameters:

ParameterTypeDescription
urljava.lang.StringHyperlink URL.

Returns: IHyperlink - Hyperlink.

setInternalHyperlinkMouseOver(ISlide targetSlide)

public abstract IHyperlink setInternalHyperlinkMouseOver(ISlide targetSlide)

Sets internal hyperlink mouse over.

Parameters:

ParameterTypeDescription
targetSlideISlideTarget slide.

Returns: IHyperlink - Hyperlink.

removeHyperlinkMouseOver()

public abstract void removeHyperlinkMouseOver()

Removes hyperlink mouse over.

setMacroHyperlinkClick(String macroName)

public abstract IHyperlink setMacroHyperlinkClick(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:

ParameterTypeDescription
macroNamejava.lang.StringName of the macro

Returns: IHyperlink - Hyperlink object IHyperlink