]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/pdfform.module
Honor trailing spaces in LabelString and friends
[lyx.git] / lib / layouts / pdfform.module
index da682d0e13afb0fec71b57551badae2158d903b1..16c9bda09b9e82b470560351b1fe9cd7241f628d 100644 (file)
@@ -6,7 +6,7 @@
 #DescriptionEnd
 # Author: Uwe Stöhr <uwestoehr@lyx.org>
 
-Format 54
+Format 64
 
 #
 # the form environment
@@ -25,22 +25,23 @@ Style "Begin PDF Form"
        LabelType                       Static
        LabelString                     "Begin PDF Form"
        Argument 1
-               MenuString              "PDF form parameters"
-               LabelString             "Params"
-               Tooltip                 "Insert PDF form parameters here"
-               AutoInsert              1
+         MenuString            "PDF Form Parameters"
+         LabelString           "Params"
+         Tooltip                       "Insert PDF form parameters here"
+         AutoInsert            1
        EndArgument
        LabelFont
          Series                        Bold
          Color                         Green
        EndFont
-       Requires            hyperref
+       Requires                        hyperref
 End
 
 Style "End PDF Form"
        CopyStyle                       "Begin PDF Form"
        LatexName                       end{Form}
        LabelString                     "End PDF Form"
+       ResetArgs                       1
 End
 
 Style "PDF Link Setup"
@@ -61,17 +62,17 @@ InsetLayout Flex:TextField
        LatexName                       TextField
        LabelString                     "TextField"
        Argument 1
-               MenuString              "PDF form parameters"
-               LabelString             "Params"
-               Tooltip                 "Insert PDF form parameters here"
-               AutoInsert              1
+         MenuString            "PDF Form Parameters"
+         LabelString           "Params"
+         Tooltip                       "Insert PDF form parameters here"
+         AutoInsert            1
+         PassThruChars         "\[]{}"
        EndArgument
-       PassThru                        1
        LabelFont
          Color                         magenta
          Size                          Small
        EndFont
-       Requires            hyperref
+       Requires                        hyperref
 End
 
 InsetLayout Flex:CheckBox
@@ -85,10 +86,10 @@ InsetLayout Flex:ChoiceMenu
        LatexName                       ChoiceMenu
        LabelString                     "ChoiceMenu"
        Argument 2
-               LabelString             "Label"
-               Mandatory               1
-               AutoInsert              1
-               ToolTip                 "Insert the label here"
+         LabelString           "Label"
+         Mandatory                     1
+         AutoInsert            1
+         ToolTip                       "Insert the label here"
        EndArgument
 End
 
@@ -119,10 +120,10 @@ InsetLayout Flex:PDFAction
        LatexName                       Acrobatmenu
        LabelString                     "PDFAction"
        Argument 1
-               LabelString             "Action"
-               Mandatory               1
-               AutoInsert              1
-               ToolTip                 "the name of the PDF action"
+         LabelString           "Action"
+         Mandatory                     1
+         AutoInsert            1
+         ToolTip                       "The name of the PDF action"
        EndArgument
 End