PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Sorry I'm on the wrong list.  I'm not a forms developer, just
researching what's possible to do.

So the foundation of implementing something like this is
"doc.addField()", which won't work in Reader, only Writer?  If that's
true, that pretty much eliminates this entire line of thought, at least
for my purposes.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Storer

This really belongs on the "forms" list, but I'm in a good mood... so
here
goes:

> Is it clear what I'm asking?

You want dynamic tables... and because PDF doesn't really support it,
you're trying to figure out which hoops you have to jump through to get
the behavior you want.. right?

I think there are three ways to go about dynamic tables:
1) Reveal existing fields as needed.  This can be done with either
script or actions.  "field.display = display.visible;"
2) Dynamically create fields as needed using script.
"doc.addField(...);"
3) Template pages.  PDF allows you to designate pages as "templates".
These pages aren't visible in the document until they are spawned via
script or action.  Each template can only be used once, but there's no
reason you're allowed to have multiple templates, so that's not a big
deal.

The 'resolution' of template pages is a bit blocky, but serviceable.  Of
the three methods, only dynamic field creation allows you an unlimited
field count... though at some point you'd need to start creating pages
as well as fields.  Painful, but possible.

The down-side of doc.addField(...) is that it only works in the full
versions of Acrobat 5 & 6, so it's usually not a viable option.

--Mark Storer
  Software Engineer
  Cardiff Software
#include <disclaimer>
typdef std::disclaimer<Cardiff> Discard;

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to