It would help to have the PDFs.

Paulo

On Tue, Jul 16, 2013 at 9:49 AM, LIHE <l...@linck-hvt.com> wrote:
> I am combinding 2 pdfs. One with AcroForms inside, one with some action
> inside, with the following lines of code.
>
> It has been working with 5.1.2.0 - now I updated to 5.4.2.0 and the forms
> are a kind of hidden, till text is filled out, also some buttons are not
> showing at all, other actions work well ;(
>
> I have made the form-pdf with scribus.
>
> What is the problem!? Is it a bug or a feature ;) PLEEEAASE Help MEE!
>
>
>         Dim doc As New iTextSharp.text.Document
>         Dim copy As New iTextSharp.text.pdf.PdfCopy(doc, New
> System.IO.FileStream(OutPDF_fullname, System.IO.FileMode.Create))
>
>         doc.Open()
>
>         Dim reader1 As New iTextSharp.text.pdf.PdfReader(DocPDF_fullname)
>         Dim reader2 As New iTextSharp.text.pdf.PdfReader(OrderPDF_fullname)
>
>         'Replace all the local named links with the actual destinations.
>         reader1.ConsolidateNamedDestinations()
>         reader2.ConsolidateNamedDestinations()
>
>         For currpage As Integer = 1 To reader1.NumberOfPages
>             copy.AddPage(copy.GetImportedPage(reader1, currpage))
>         Next
>
>         For currpage As Integer = 1 To reader2.NumberOfPages
>             copy.AddPage(copy.GetImportedPage(reader2, currpage))
>         Next
>
>         'bookmarks reader1->copy
>         copy.Outlines =
> iTextSharp.text.pdf.SimpleBookmark.GetBookmark(reader1)
>
>         'AcroForm reader2->copy
>         copy.CopyAcroForm(reader2)
>         doc.Close()
>
> I also asked at:
> http://stackoverflow.com/questions/17671723/form-is-messed-up-with-copyacroform-and-itextsharp-has-been-working-with-5-1
>
>
>
> --
> View this message in context: 
> http://itext-general.2136553.n4.nabble.com/Form-is-messed-up-with-CopyAcroForm-and-itextsharp-has-been-working-with-5-1-2-0-tp4658754.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to