Hi
I am generating pdf dynamically.
I am using Anchor tag to display .doc or .txt files in a new browser.
i am able to display the links(like href) and when i will click that link it is opening in that browser only.
i.e, it is replacing the pdf file.
i want to open the document in new browser.
The code i have written is:
Paragraph p = new Paragraph();
Anchor anchor1 = new Anchor("Test", FontFactory.getFont(FontFactory.HELVETICA, 10, Font.UNDERLINE, new Color(0, 0, 255)));
anchor1.setReference("
http://192.9.200.11:9080/PrimaryWorking/test.doc);anchor1.setName("top");
p.add(anchor1);
p.setIndentationLeft(67f);
document.add(p);
Please mention me how to set that.
Thanks
Kavitha