Hi,
How can I create a hyperlink on portion text which links to the first or the last slide of presentation?
I know I can do it like this, but that’s not exactly what I want:
ISlide slide = /* code to get the first slide /
IPortion portion = / code to get the portion which I wan’t to create a link on */
IHyperlinkManager hyperlinkManager = portion.getPortionFormat().getHyperlinkManager();
hyperlinkManager.setInternalHyperlinkClick(slide);
This code will link exactly to Slide #1, not “the first slide”. So if I add a slide before the first slide, this won’t work as it should.
Please see the screenshot to understand better what I need.
Thanks,
Zeljko