Dear iText:

 

I have a question regarding the message below.  Has the feature of editing
and saving an Adobe Reader Extended forms, and still being able to save the
form in Adobe Reader, been implemented in iTextSharp?

It appears to have been implemented in iText, but not iTextSharp, can you
give a reference to a time when this feature will be available in
iTextSharp?

 

 

Regards,

 

Nick K.

 

 

 

 

ITextSharp Disables Extended Features in Adobe Reader  

by sweetog Sep 29, 2008; 08:29pm :: Rate this Message:    - Use ratings to
moderate (?)

 

Reply | Reply to Author | Print | View Threaded | Show Only this Message 

 

I am populating a textbox using the ItextSharp Dlls. When I save this form I
need the Extended Featues in Adobe Reader to still be enabled. I know that
ITextSharp doesn't add Extended Features in Adobe Reader but it is disabling
them in a pdf form that already had Extended Features in Adobe Reader added
using Adobe Acrobat Pro. Here is my code: 

 

Dim pdfReader As PdfReader = New
PdfReader(MyControlProperties.TemplateFormPath) 

        Dim pdfStamper As PdfStamper = New PdfStamper(pdfReader, New
FileStream(MyControlProperties.AbsoluteFormPath, FileMode.Create)) 

 

        Dim pdfFormFields As AcroFields = pdfStamper.AcroFields 

 

        'set form pdfFormFields 

 

        'The first worksheet and W-4 form 

        pdfFormFields.SetField("property_address_line_1", "Hello World") 

 

 

        'report by reading values from completed PDF 

        'pdfFormFields.GetField("property_address_line_1") 

 

 

        'flatten the form to remove editting options, set it to false 

        'to leave the form open to subsequent manual edits 

        pdfStamper.FormFlattening = False 

 

        'close the pdf 

        pdfStamper.Close()

Advertisement

Automate Ecommerce Ops

Let Mail Order Manager Software Automate Order Processing & Ecommerce
HBCUCONNECT.COM

Meet HBCU Students & Alumni from all over... FREE Membership! 

 

 

 Re: ITextSharp Disables Extended Features in Adobe Reader  

by Paulo Soares-3 Sep 30, 2008; 10:52am :: Rate this Message:    - Use
ratings to moderate (?)

 

Reply | Reply to Author | Print | View Threaded | Show Only this Message 

 

That's already supported in Java but it's not yet ported to C#. It will be
done when I have the time. 

 

Paulo 

 

> -----Original Message----- 

> From: sweetog [mailto:swee...@...] 

> Sent: Tuesday, September 30, 2008 1:30 AM 

> To: itextsharp-questi...@... 

> Subject: [itextsharp-questions] ITextSharp Disables Extended 

> Features in Adobe Reader 

> 

> 

> I am populating a textbox using the ItextSharp Dlls. When I 

> save this form I 

> need the Extended Featues in Adobe Reader to still be 

> enabled. I know that 

> ITextSharp doesn't add Extended Features in Adobe Reader but 

> it is disabling 

> them in a pdf form that already had Extended Features in 

> Adobe Reader added 

> using Adobe Acrobat Pro. Here is my code: 

> 

> Dim pdfReader As PdfReader = New 

> PdfReader(MyControlProperties.TemplateFormPath) 

>         Dim pdfStamper As PdfStamper = New PdfStamper(pdfReader, New 

> FileStream(MyControlProperties.AbsoluteFormPath, FileMode.Create)) 

> 

>         Dim pdfFormFields As AcroFields = pdfStamper.AcroFields 

> 

>         'set form pdfFormFields 

> 

>         'The first worksheet and W-4 form 

>         pdfFormFields.SetField("property_address_line_1", 

> "Hello World") 

> 

> 

>         'report by reading values from completed PDF 

>         'pdfFormFields.GetField("property_address_line_1") 

> 

> 

>         'flatten the form to remove editting options, set it to false 

>         'to leave the form open to subsequent manual edits 

>         pdfStamper.FormFlattening = False 

> 

>         'close the pdf 

>         pdfStamper.Close() 

...[show rest of quote]

...[show rest of quote]

 

Aviso Legal: 

Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão
desta mensagem não significa a perca de confidencialidade. Se esta mensagem
for recebida por engano, por favor envie-a de volta para o remetente e
apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. 

 

Disclaimer: 

This message is destined exclusively to the intended receiver. It may
contain confidential or legally protected information. The incorrect
transmission of this message does not mean the loss of its confidentiality.
If this message is received by mistake, please send it back to the sender
and delete it from your system immediately. It is forbidden to any person
who is not the intended receiver to use, distribute or copy any part of this
message. 

                

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to