]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/pdfform.module
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / layouts / pdfform.module
index f0a4116826aefa57f440151a6c2a3d6896a8df18..e461c2600d76b8d1f08ff0189d600331c700b47c 100644 (file)
@@ -1,4 +1,5 @@
 #\DeclareLyXModule{PDF Form}
+#\DeclareCategory{Annotation & Revision}
 #DescriptionBegin
 #Provides fields and buttons for PDF forms. The module uses
 #the LaTeX package hyperref. Please consult the LyX example file PDF-form.lyx
@@ -6,7 +7,7 @@
 #DescriptionEnd
 # Author: Uwe Stöhr <uwestoehr@lyx.org>
 
-Format 54
+Format 80
 
 #
 # the form environment
@@ -34,7 +35,7 @@ Style "Begin PDF Form"
          Series                        Bold
          Color                         Green
        EndFont
-       Requires                        hyperref
+       Requires                        hyperref
 End
 
 Style "End PDF Form"
@@ -66,12 +67,13 @@ InsetLayout Flex:TextField
          LabelString           "Params"
          Tooltip                       "Insert PDF form parameters here"
          AutoInsert            1
+         PassThruChars         "\[]{}"
        EndArgument
        LabelFont
          Color                         magenta
          Size                          Small
        EndFont
-       Requires                        hyperref
+       Requires                        hyperref
 End
 
 InsetLayout Flex:CheckBox