[iText-questions] GoToR (newbie question)

2002-10-10 Thread Magica de Spell
hello, I'd like to create a pdf-equivalent to the following pdfmark fragment: /AA << /O << /A /Action /S /GoToR /F (GettingStarted.pdf) /D (G4.1033811) /NewWindow false >> >> Can itext do this? I tried writer.setOpenAction(new PdfAction(GettingStarted.pdf, G4.1033811)); but A

[iText-questions] import pages

2002-10-22 Thread Magica de Spell
hello, what am I doing wrong in the following: public class DummyPDF{ DummyPDF(String name, String file, int dest) { Document document = new Document(); try { PdfWriter writer = PdfWriter.getInstance (document, new FileOutputStream(name)); PdfReader reader = new