]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/pdfform.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / pdfform.module
index f4954d7d0d857f4d0c37c3bca102f14ef97c2bee..0a983e45b13738ece06d2f3126540e08405a89db 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 99
 
 #
 # the form environment
@@ -25,16 +26,16 @@ Style "Begin PDF Form"
        LabelType                       Static
        LabelString                     "Begin PDF Form"
        Argument 1
-         MenuString                    "PDF Form Parameters"
-         LabelString                   "Params"
+         MenuString            "PDF Form Parameters"
+         LabelString           "Params"
          Tooltip                       "Insert PDF form parameters here"
-         AutoInsert                    1
+         AutoInsert            1
        EndArgument
        LabelFont
          Series                        Bold
-         Color                         Green
+         Color                         textlabel2
        EndFont
-       Requires                        hyperref
+       Requires                        hyperref
 End
 
 Style "End PDF Form"
@@ -62,17 +63,17 @@ InsetLayout Flex:TextField
        LatexName                       TextField
        LabelString                     "TextField"
        Argument 1
-         MenuString                    "PDF Form Parameters"
-         LabelString                   "Params"
+         MenuString            "PDF Form Parameters"
+         LabelString           "Params"
          Tooltip                       "Insert PDF form parameters here"
-         AutoInsert                    1
+         AutoInsert            1
+         PassThruChars         "\[]{}"
        EndArgument
-       PassThru                        1
        LabelFont
-         Color                         magenta
+         Color                         textlabel3
          Size                          Small
        EndFont
-       Requires                        hyperref
+       Requires                        hyperref
 End
 
 InsetLayout Flex:CheckBox
@@ -86,9 +87,9 @@ InsetLayout Flex:ChoiceMenu
        LatexName                       ChoiceMenu
        LabelString                     "ChoiceMenu"
        Argument 2
-         LabelString                   "Label"
+         LabelString           "Label"
          Mandatory                     1
-         AutoInsert                    1
+         AutoInsert            1
          ToolTip                       "Insert the label here"
        EndArgument
 End
@@ -120,9 +121,9 @@ InsetLayout Flex:PDFAction
        LatexName                       Acrobatmenu
        LabelString                     "PDFAction"
        Argument 1
-         LabelString                   "Action"
+         LabelString           "Action"
          Mandatory                     1
-         AutoInsert                    1
+         AutoInsert            1
          ToolTip                       "The name of the PDF action"
        EndArgument
 End