From: Austin Ziegler Date: 2008-03-28T10:18:48+09:00 Subject: Re: PDF::Reader streamed into PDF::Writer On Thu, Mar 27, 2008 at 3:48 PM, Brandon Sislow wrote: > Does PDF::Reader integrate at all with PDF::Writer? > > What I'm attempting to do is read a pdf file while writing it back out > in pdf with additional data added(i.e. form fields populated). > > Essentially this is a premade template I want to dynamically populate. > > My guess would be to map all the callbacks received from PDF::Reader > into an associated PDF::Writer function, but that would take massive > amounts of man-hours to complete. Yes, it would. You *really* don't want to do this. If you need to do this, look at stepping outside of Ruby or look at Ruby Cairo. There has been discussion of *simplistic* PDFR to PDFW translation, but it's exactly that: simplistic. BTW ruby-forum is a poor-man's replication of the mailing list and newsgroup interaction. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca