ARIS Community - We Love BPM

Create hyperlink to a specific location/section within the same MS doc - Aris Report Script

rupamroy's picture
by Rupam Roy in Reports & Macros posted on 2017-02-28

Hi,

How can I create a hyperlink inside MS word doc which locate a specific section inside same doc.
Please let me know if you have any solution on this.

Regards,
Rupam

6689 Views
0 Likes
2 Comments
Sorry there are no tags
There are no attachments
Martin Schröder posted on 2017-03-07

Hello Rupam,

the script method is addLocalBookmark()

Help link: http:// yourserver /abs/help/en/script/ba/index.htm#report_OBJECTS_StandardOutputAPI_addlocalbookmark.htm

Regards, Martin

Rupam Roy posted on 2017-03-09

Hi Martin,

I already got solution, but Thanks to you for your reply. Some example code here..

outputObj.DefineF("styleFirstPageRegular", "Univers 45 Light", 12, Constants.C_BLACK, Constants.C_TRANSPARENT,  Constants.FMT_LEFT| Constants.FMT_VTOP, 0, 0, 0, 0, 0, 0);
outputObj.DefineF("styleStandardTextBlue", "Univers 45 Light", 10, Constants.C_BLUE, Constants.C_TRANSPARENT,  Constants.FMT_LEFT | Constants.FMT_VTOP | Constants.FMT_UNDERLINE, 0, 0, 0, 0, 0, 0);
outputObj.DefineF("chapterLink", "Univers 45 Light", 10, Constants.C_BLACK, Constants.C_TRANSPARENT, Constants.FMT_BOLD | Constants.FMT_LEFT | Constants.FMT_VCENTER|Constants.FMT_LINKTARGET , 0, 0, 0,0, 0, 0);
outputObj.OutputLinkF("Clik to go Chapter 1","Chapter 1","styleStandardTextBlue");
outputObj.OutputF("\n\n\n\nSome Text\n\n\n\n","styleFirstPageRegular");
outputObj.OutputF("Chapter 1","chapterLink");

 

Regards,

Rupam