ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF Form and Overlay
@ 2000-03-27  8:08 Haseloff, Lutz
  2000-03-27 11:58 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Haseloff, Lutz @ 2000-03-27  8:08 UTC (permalink / raw)


Hi Hans, Hi all,

I tried to use a PDF Form as an Overlay.
Unfortunately all interaction capabilities of the form was lost.
Is there any way to change this?

Greetings

Lutz


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PDF Form and Overlay
  2000-03-27  8:08 PDF Form and Overlay Haseloff, Lutz
@ 2000-03-27 11:58 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-03-27 11:58 UTC (permalink / raw)
  Cc: 'ntg-context@ntg.nl'

At 10:08 AM 3/27/2000 +0200, Haseloff, Lutz wrote:
>Hi Hans, Hi all,
>
>I tried to use a PDF Form as an Overlay.
>Unfortunately all interaction capabilities of the form was lost.
>Is there any way to change this?

The next file works ok here: 

\setupoutput[pdftex]

\setupinteraction[state=start]

\definefield[one][line][][][]
\definefield[two][line][][][]

\defineoverlay[one][{\field[one]}]
\defineoverlay[two][{\field[two]}]

\setupbackgrounds[page][background=two]

\starttext

\framed[background=one]{IT WORKS}

\stoptext

If you use text (!) backgounds that change per page, beware of the fact
that when you only change the overlay definition, you should say:
\setupbackgrounds[state=repeat] to force the background to be calculated
each page, otherwise it's shared. The page backgrounds are calculated per
page by default, text backgrounds only when they change.    

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-27 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-27  8:08 PDF Form and Overlay Haseloff, Lutz
2000-03-27 11:58 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).