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
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
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
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