Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: converting pdf form to pdf document

by zentara (Archbishop)
on May 30, 2008 at 18:22 UTC ( #689301=note: print w/replies, xml ) Need Help??


in reply to converting pdf form to pdf document

Just a quick glance at the CAM-PDF examples, especially rewritepdf.pl, shows an option
-C --clearannots remove all annotations (including forms)
I don't know if that will do the trick, but you might want to look at the examples. The man pages also talk about $self->clearFormFieldTriggers(fieldname, fieldname, ...)

I'm not really a human, but I play one on earth CandyGram for Mongo

Replies are listed 'Best First'.
Re^2: converting pdf form to pdf document
by jonnyfolk (Vicar) on May 31, 2008 at 12:57 UTC

    Hi,

    Thanks very much for your input - you were bang on the money!

    I've annotated the code in the OP for clarity.

    The only reservation I have is that in one set of form fields the input text is right justified whereas that is ignored on using the clearannots, leaving the layout slightly deficient. I suppose that the right justification is in itself an annotation - can I exempt it?

    Cheers.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689301]
help
Chatterbox?
[Corion]: Oooh - what a nice idea - QoS throttling on AWS, test enviroment runs fast, production also, until it doesn't
[Corion]: But then, you can just pay to make it fast again. Be a shame if it were to slow down, wouldn't it?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-07-26 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (400 votes). Check out past polls.