Page 1 of 1

Create Hyperlinks in PDF generate using pdf_output plugin

PostPosted: Wed Mar 25, 2015 6:18 am
by chaitanyas
Hi All,

I have a requirement to populate hyperlinks in PDF which generate using "pdf_output' plugin and controller.print, like showing below,

Code: Select all
                var fileName = "test.pdf";
      var pdfFile = plugins.file.showFileSaveDialog(fileName); // open file save dialog.
      controller.print(false , false , plugins.pdf_output.getPDFPrinter(pdfFile.getAbsolutePath())); // Pushed data to the file.


I tried <a> tag but the hyperlink is not able to click in the PDF. Is there any other way to populate the hyperlinks in PDF which will be generate using "pdf_output" plugin and controller.print ?

Thanks in advance for your help.