The aim is to use this inset on any text to prepare complex PDF InputBoxes. For example boxes above underlined text (here is an example of such text: http://www.fms.gov.ru/documents/passpor ... ew_14u.pdf)
I am able to do it with preamble
Code: Select all
\usepackage[pdftex]{hyperref}
Code: Select all
\begin{Form}
\hbox{\TextField[bordercolor=1 1 1]}}
\end{Form}
Could anyone give me a hand in this?
Code: Select all
InsetLayout PDF-InputBox
LyXType custom
LabelString "PDF (InputBox)"
LatexType command
Decoration Conglomerate
LatexName "hbox{\TextField[bordercolor=1 1 1]}}"
LabelFont
Color green
Size Small
EndFont
MultiPar false
OptionalArgs 1
Preamble
\RequirePackage[pdftex]{hyperref}
EndPreamble
End