X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flayouts%2Fpdfform.module;h=16c9bda09b9e82b470560351b1fe9cd7241f628d;hb=5c545573507bbf55f78c294188537c6aff959bc0;hp=ee7c2e9732a8f2e859be9c349cee8d2fa30df425;hpb=15dbe715e89185cec13b438efe0897477117cf08;p=lyx.git diff --git a/lib/layouts/pdfform.module b/lib/layouts/pdfform.module index ee7c2e9732..16c9bda09b 100644 --- a/lib/layouts/pdfform.module +++ b/lib/layouts/pdfform.module @@ -6,7 +6,7 @@ #DescriptionEnd # Author: Uwe Stöhr -Format 54 +Format 64 # # the form environment @@ -18,27 +18,37 @@ Style "Begin PDF Form" LatexName begin{Form} Category "PDF form" KeepEmpty 1 + PassThru 1 ParSkip 0.4 Align Block LabelSep xx LabelType Static LabelString "Begin PDF Form" Argument 1 - MenuString "PDF form parameters" - LabelString "Params" - Tooltip "Insert PDF form parameters here" + 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" + CopyStyle "Begin PDF Form" + LatexName hypersetup + LabelString "PDF link setup" + KeepEmpty 0 End # @@ -52,16 +62,17 @@ InsetLayout Flex:TextField LatexName TextField LabelString "TextField" Argument 1 - MenuString "PDF form parameters" - LabelString "Params" - Tooltip "Insert PDF form parameters here" + 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 @@ -75,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 @@ -109,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