Eh?
jergi wrote: > > Hi, > I want to generate a new Pdf-file. First I want to insert some paragraphs > (I do this by using PdfWriter) and after that I want to copy same other > Pdfs to the new Pdf (using PdfCopy). At least I want to link the inserted > paragraphs to the inserted pdfs. > But my problem is, that I can´t append the pdfs to the paragraphs. They > paragraphs are always overwritten. Does anyone know, how I can solve this > problem? > > My PdfWriter: > PdfWriter writer2.getInstance(document, new FileOutputStream(outFile)); > > My PdfCopy: > PdfCopy writer = new PdfCopy( document, new FileOutputStream( outFile, > true ) ); > > The way I link to: > Chunk localGoto = new Chunk("Siehe Erklärung"); > localGoto.setLocalGoto( "LINK01" ); > document.add( localGoto ); > > Chunk localDestination = new Chunk("d "); > localDestination.setLocalDestination( "LINK01" ); > document.add( localDestination ); > -- View this message in context: http://www.nabble.com/generate-pdf-by-using-pdfwriter-and-pdfcopy-tp15203580p15205255.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/