Hi there!
I try to typeset a roleplaying character sheet as PDF form;
it contains a table of skills, each line is a \SkillField after this
def:
\def\SkillField#1#2{\bTR\bTD #1\hfill (#2) \eTD \bTD
\definefield[#1][line][SkillSetup][#2]\field[#3]\eTD\eTR}
e.g.
\SkillField{Climbing}{+8}
becomes
[radiofield][vertical] % same for horizontal+\hbox
[align=right,
distance=0mm,
offset=none,
strut=no,
fieldoffset=0mm,
frame=on,
empty=yes,
option=empty,
]
\definefield[Radio1][radio][radiofield][Button1,Button2,Button3][Button1]
\definesubfield[Button1] [button
=on,
]
\setupfield[radiofield][vertical] % same for horizontal+\hbox
[align=right,
distance=0mm,
offset=none,
strut=no,
fieldoffset=0mm,
frame=on,
empty=yes,
option=empty,
]
\definefield[Radio1][radio][radiofield][Button1,Button2,Button3][Button1]
\definesubfield[Button1] [button
=none,
strut=no,
fieldoffset=0mm,
frame=on,
empty=yes,
option=empty,
]
\definefield[Radio1][radio][radiofield][Button1,Button2,Button3][Button1]
\definesubfield[Button1] [button]
[{TbuttonA,TbuttonB,TbuttonC},{TbuttonX,TbuttonY,TbuttonZ}]
\definesubfield[Button2] [button
of the
frame later)
furthermore, I'd like to allow for input into fields from Acrobat. I
have this:
\definefield[CertID][text][CertIDSetup][]
\setupfield[CertIDSetup][%
readonly=no,printable=yes,width=4em,%
frame=on,height=8mm,offset=5ex]
\myCenter{3}{11}{Sertifikat Nr. DNV-2004-OSL
on that
%
\setupfield[notes][offset=overlay,frame=off,option={readonly,hidden},clickin=JS(Hide_Note)]
\definefield[note:\AnotherNote][check][notes][note:\AnotherNote:on][note:\AnotherNote:on]%
\doifreferencefoundelse{note:\AnotherNote}
{\setlayer[notes][page
to observe?
Groetjes
Johannes
\setupoutput[pdftex]
\setupinteraction[state=start]
\setupcolors[state=start]
\useJSscripts[fld]
\definesymbol [yes-a] [$\times$]
\definesymbol [yes-b] [$\star$]
\definesymbol [nop-a] [$\bullet$]
\definesymbol [nop-b] [$-$]
\definefield [example-1] [radio
101 - 107 of 107 matches
Mail list logo