Re: [iText-questions] I Want to Change all the Links Destination of Existing Pdf to (PdfDestination.XYZ,-1,-1,0.0F);

2014-04-03 Thread Paresh Tahiliani
import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.pdf.PdfAction; import com.itextpdf.text.pdf.PdfArray; import

Re: [iText-questions] I Want to Change all the Links Destination of Existing Pdf to (PdfDestination.XYZ,-1,-1,0.0F);

2014-04-03 Thread Leonard Rosenthol
Because you are replacing the destination with a single destination. You need to GET the existing link destination and modify it. Leonard On 4/3/14, 4:53 AM, Paresh Tahiliani paresh...@gmail.com wrote: import java.io.FileNotFoundException; import java.io.FileOutputStream; import