1 #\DeclareLyXModule{PDF Form}
3 #Provides fields and buttons for PDF forms. The module uses
4 #the LaTeX package hyperref. Please consult the LyX example file PDF-form.lyx
5 #and the documentation of hyperref for details.
7 # Author: Uwe Stöhr <uwestoehr@lyx.org>
12 # the form environment
15 Style "Begin PDF Form"
26 LabelString "Begin PDF Form"
28 MenuString "PDF Form Parameters"
30 Tooltip "Insert PDF form parameters here"
41 CopyStyle "Begin PDF Form"
43 LabelString "End PDF Form"
47 Style "PDF Link Setup"
48 CopyStyle "Begin PDF Form"
50 LabelString "PDF link setup"
58 InsetLayout Flex:TextField
63 LabelString "TextField"
65 MenuString "PDF Form Parameters"
67 Tooltip "Insert PDF form parameters here"
78 InsetLayout Flex:CheckBox
79 CopyStyle Flex:TextField
81 LabelString "CheckBox"
84 InsetLayout Flex:ChoiceMenu
85 CopyStyle Flex:TextField
87 LabelString "ChoiceMenu"
92 ToolTip "Insert the label here"
96 InsetLayout Flex:PushButton
97 CopyStyle Flex:TextField
99 LabelString "PushButton"
102 InsetLayout Flex:SubmitButton
103 CopyStyle Flex:TextField
105 LabelString "SubmitButton"
108 InsetLayout Flex:ResetButton
109 CopyStyle Flex:TextField
111 LabelString "ResetButton"
115 # PDF viewer-specific insets
118 InsetLayout Flex:PDFAction
119 CopyStyle Flex:TextField
120 LatexName Acrobatmenu
121 LabelString "PDFAction"
126 ToolTip "The name of the PDF action"
134 Style "Text Field Style"
135 CopyStyle "Begin PDF Form"
136 LatexName renewcommand*{\DefaultOptionsofText}
137 LabelString "Default text field style"
141 Style "Submit Button Style"
142 CopyStyle "Text Field Style"
143 LatexName renewcommand*{\DefaultOptionsofSubmit}
144 LabelString "Default submit button style"
147 Style "Push Button Style"
148 CopyStyle "Text Field Style"
149 LatexName renewcommand*{\DefaultOptionsofPushButton}
150 LabelString "Default push button style"
153 Style "Check Box Style"
154 CopyStyle "Text Field Style"
155 LatexName renewcommand*{\DefaultOptionsofCheckBox}
156 LabelString "Default check box style"
159 Style "Reset Button Style"
160 CopyStyle "Text Field Style"
161 LatexName renewcommand*{\DefaultOptionsofReset}
162 LabelString "Default reset button style"
165 Style "List Box Style"
166 CopyStyle "Text Field Style"
167 LatexName renewcommand*{\DefaultOptionsofListBox}
168 LabelString "Default list box style"
171 Style "Combo Box Style"
172 CopyStyle "Text Field Style"
173 LatexName renewcommand*{\DefaultOptionsofComboBox}
174 LabelString "Default combo box style"
177 Style "Popdown Box Style"
178 CopyStyle "Text Field Style"
179 LatexName renewcommand*{\DefaultOptionsofPopdownBox}
180 LabelString "Default popdown box style"
183 Style "Radio Box Style"
184 CopyStyle "Text Field Style"
185 LatexName renewcommand*{\DefaultOptionsofRadio}
186 LabelString "Default radio box style"