PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Apr 23, 2021 5:43 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: XFA Datasets - AcroForms
PostPosted: Fri Nov 03, 2006 9:48 pm 
Offline

Joined: Fri Nov 03, 2006 9:37 pm
Posts: 1
My first crack at fields filling didnt go so well...

Our forms are made from acrobat 7.0 with an xsd schema set as a datasource.

I could see behind the scenes where the field values were in fact being set, however, the data would not display once the resultant form was opened in adobe reader or acrobat. This, I discovered, was due to the fact that there is an embedded xfa dataset in the pdf. Which was where all the form data came from.

So... after a bit of messing around I noticed I could get the stream from dictionary object that contained the xml data extract what was found there. I could then change, insert, delete, etc... and write the data back into the pdf... Thus successfully filling in the form fields.

I guess my question is... do the PDF gurus present have any comments as to this practice being good or bad?

Other comments: I've spent quite a bit of time these last few weeks with the acrobat sdk (WHICH IMO SUCKS), and a pile of other 3rd party libraries... I must say PDFSharp is very impressive! Awesome work guys!!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 03, 2006 10:38 pm 
Offline
empira Employee
User avatar

Joined: Thu Oct 12, 2006 10:07 pm
Posts: 49
Location: Cologne, Germany
>>I guess my question is... do the PDF gurus present have any comments as to this practice being good or bad?

I’m not very familiar with these new forms, but I think it is good because it works. The older so called AcroForms are very difficult to handle and this is why Adobe introduced the embedded data set.

Regards
Stefan Lange


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 08, 2006 8:49 pm 
Offline

Joined: Fri Dec 08, 2006 8:40 pm
Posts: 1
Location: Newport Beach, CA, USA
acwilkins, would you be willing to post the code you wrote to extract/update the XFA info from a PDF?

Regards,
Brian Pead


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group