IHyperlinkManager
public interface IHyperlinkManager
Provide hyperlinks management (adding, removing).
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
url | java.lang.String | Hyperlink URL. |
Returns: IHyperlink - Hyperlink object IHyperlink
setInternalHyperlinkClick(ISlide targetSlide)
public abstract IHyperlink setInternalHyperlinkClick(ISlide targetSlide)
Sets internal hyperlink on click.
Parameters:
Parameter | Type | Description |
---|---|---|
targetSlide | ISlide | Target 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:
Parameter | Type | Description |
---|---|---|
url | java.lang.String | Hyperlink URL. |
Returns: IHyperlink - Hyperlink.
setInternalHyperlinkMouseOver(ISlide targetSlide)
public abstract IHyperlink setInternalHyperlinkMouseOver(ISlide targetSlide)
Sets internal hyperlink mouse over.
Parameters:
Parameter | Type | Description |
---|---|---|
targetSlide | ISlide | Target 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:
Parameter | Type | Description |
---|---|---|
macroName | java.lang.String | Name of the macro |
Returns: IHyperlink - Hyperlink object IHyperlink