2020-12-29 17:03:05 +00:00
|
|
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
2024-01-11 16:06:40 +00:00
|
|
|
\lyxformat 620
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_document
|
|
|
|
\begin_header
|
2016-01-12 21:30:37 +00:00
|
|
|
\save_transient_properties true
|
2019-03-25 15:32:27 +00:00
|
|
|
\origin /systemlyxdir/examples/Modules/
|
2015-04-27 00:56:25 +00:00
|
|
|
\textclass scrartcl
|
|
|
|
\begin_preamble
|
2015-04-27 20:29:48 +00:00
|
|
|
% used to check for needed LaTeX packages
|
|
|
|
\usepackage{ifthen}
|
|
|
|
|
|
|
|
% check for package insdljs
|
|
|
|
% used for JavScript code
|
|
|
|
\newboolean{insdljs}
|
|
|
|
\IfFileExists{insdljs.sty}
|
2015-04-28 00:00:53 +00:00
|
|
|
{\usepackage[pdftex]{insdljs}
|
2017-04-15 02:54:07 +00:00
|
|
|
\setboolean{insdljs}{true}
|
|
|
|
\pdfcatalog{/AA \the\pdflastobj\space 0 R}}
|
2015-04-27 20:29:48 +00:00
|
|
|
{\setboolean{insdljs}{false}}
|
|
|
|
|
2015-05-03 14:21:09 +00:00
|
|
|
\ifinsdljs % only execute if package insdljs is installed
|
|
|
|
|
|
|
|
\begin{insDLJS}[exaaae]{exaaae}{JavaScript}
|
2015-04-29 22:17:39 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
function validateTime(){
|
|
|
|
this.delay = true;
|
|
|
|
if((event.value == "u") || (event.value == "unlimited")) {
|
2015-04-29 22:17:39 +00:00
|
|
|
this.getField("from").display = display.hidden;
|
2017-04-17 02:08:43 +00:00
|
|
|
this.getField("until").display = display.hidden;
|
2015-04-29 22:17:39 +00:00
|
|
|
} else {
|
|
|
|
this.getField("from").display = display.visible;
|
2017-04-17 02:08:43 +00:00
|
|
|
this.getField("until").display = display.visible;
|
2015-04-29 22:17:39 +00:00
|
|
|
this.getField("from").setFocus();
|
|
|
|
}
|
|
|
|
this.delay = false;
|
2015-04-27 00:56:25 +00:00
|
|
|
}
|
2015-04-29 22:17:39 +00:00
|
|
|
|
|
|
|
function checkNumber() {
|
|
|
|
event.rc = true;
|
|
|
|
if (!Number(event.value))
|
|
|
|
{
|
|
|
|
app.alert("Value must be a number!");
|
|
|
|
event.value = "";
|
|
|
|
} else {
|
|
|
|
event.target.textColor = color.green;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-05-03 14:21:09 +00:00
|
|
|
\end{insDLJS}
|
|
|
|
|
|
|
|
\fi % end \ifinsdljs
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
% if pdflatex is used
|
|
|
|
\usepackage{ifpdf}
|
|
|
|
\ifpdf
|
|
|
|
|
|
|
|
% set fonts for nicer pdf view
|
|
|
|
\IfFileExists{lmodern.sty}
|
|
|
|
{\usepackage{lmodern}}{}
|
|
|
|
|
|
|
|
\fi % end if pdflatex is used
|
2020-12-29 17:03:05 +00:00
|
|
|
% Added by lyx2lyx
|
|
|
|
\setlength{\parskip}{\medskipamount}
|
|
|
|
\setlength{\parindent}{0pt}
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_preamble
|
|
|
|
\options BCOR8mm,pagesize
|
|
|
|
\use_default_options false
|
|
|
|
\begin_modules
|
|
|
|
pdfform
|
|
|
|
\end_modules
|
2020-12-29 17:03:05 +00:00
|
|
|
\maintain_unincluded_children no
|
2015-04-27 00:56:25 +00:00
|
|
|
\language english
|
|
|
|
\language_package default
|
2019-05-08 17:59:57 +00:00
|
|
|
\inputencoding utf8
|
2020-12-29 17:03:05 +00:00
|
|
|
\fontencoding auto
|
2015-11-13 18:14:45 +00:00
|
|
|
\font_roman "default" "default"
|
|
|
|
\font_sans "default" "default"
|
|
|
|
\font_typewriter "default" "default"
|
|
|
|
\font_math "auto" "auto"
|
2015-04-27 00:56:25 +00:00
|
|
|
\font_default_family default
|
|
|
|
\use_non_tex_fonts false
|
|
|
|
\font_sc false
|
2021-07-06 16:51:30 +00:00
|
|
|
\font_roman_osf false
|
2020-12-29 17:03:05 +00:00
|
|
|
\font_sans_osf false
|
|
|
|
\font_typewriter_osf false
|
2015-11-13 18:14:45 +00:00
|
|
|
\font_sf_scale 100 100
|
|
|
|
\font_tt_scale 100 100
|
2017-04-24 04:03:19 +00:00
|
|
|
\use_microtype false
|
|
|
|
\use_dash_ligatures false
|
2015-04-27 00:56:25 +00:00
|
|
|
\graphics default
|
2015-12-10 09:40:50 +00:00
|
|
|
\default_output_format pdf2
|
2015-04-27 00:56:25 +00:00
|
|
|
\output_sync 0
|
|
|
|
\bibtex_command bibtex
|
|
|
|
\index_command default
|
|
|
|
\paperfontsize 12
|
|
|
|
\spacing single
|
|
|
|
\use_hyperref true
|
|
|
|
\pdf_title "Description of the module pdfcomment"
|
|
|
|
\pdf_author "Uwe Stöhr"
|
|
|
|
\pdf_subject "PDF form"
|
|
|
|
\pdf_keywords "LyX, PDF forms, hyperref"
|
|
|
|
\pdf_bookmarks true
|
|
|
|
\pdf_bookmarksnumbered true
|
|
|
|
\pdf_bookmarksopen true
|
|
|
|
\pdf_bookmarksopenlevel 2
|
|
|
|
\pdf_breaklinks false
|
|
|
|
\pdf_pdfborder false
|
|
|
|
\pdf_colorlinks false
|
|
|
|
\pdf_backref false
|
|
|
|
\pdf_pdfusetitle false
|
2017-04-15 02:54:07 +00:00
|
|
|
\pdf_quoted_options "pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, urlbordercolor={1 0 0}"
|
2020-12-29 17:03:05 +00:00
|
|
|
\papersize a4
|
2015-04-27 00:56:25 +00:00
|
|
|
\use_geometry false
|
|
|
|
\use_package amsmath 1
|
|
|
|
\use_package amssymb 1
|
2017-10-19 12:47:51 +00:00
|
|
|
\use_package cancel 1
|
2015-04-27 00:56:25 +00:00
|
|
|
\use_package esint 1
|
|
|
|
\use_package mathdots 1
|
|
|
|
\use_package mathtools 1
|
|
|
|
\use_package mhchem 1
|
2017-10-19 12:47:51 +00:00
|
|
|
\use_package stackrel 1
|
|
|
|
\use_package stmaryrd 1
|
|
|
|
\use_package undertilde 1
|
2015-04-27 00:56:25 +00:00
|
|
|
\cite_engine basic
|
|
|
|
\cite_engine_type default
|
|
|
|
\biblio_style plain
|
|
|
|
\use_bibtopic false
|
|
|
|
\use_indices false
|
|
|
|
\paperorientation portrait
|
|
|
|
\suppress_date true
|
|
|
|
\justification true
|
|
|
|
\use_refstyle 0
|
2017-11-18 16:34:35 +00:00
|
|
|
\use_minted 0
|
2020-12-29 17:03:05 +00:00
|
|
|
\use_lineno 0
|
2021-07-06 16:51:30 +00:00
|
|
|
\notefontcolor #0000ff
|
2015-04-27 00:56:25 +00:00
|
|
|
\index Index
|
|
|
|
\shortcut idx
|
|
|
|
\color #008000
|
|
|
|
\end_index
|
|
|
|
\secnumdepth 3
|
|
|
|
\tocdepth 2
|
2020-12-29 17:03:05 +00:00
|
|
|
\paragraph_separation indent
|
|
|
|
\paragraph_indentation default
|
2017-04-24 04:03:19 +00:00
|
|
|
\is_math_indent 0
|
2017-08-14 06:31:24 +00:00
|
|
|
\math_numbering_side default
|
2017-04-24 04:03:19 +00:00
|
|
|
\quotes_style english
|
2017-11-18 16:34:35 +00:00
|
|
|
\dynamic_quotes 0
|
2015-04-27 00:56:25 +00:00
|
|
|
\papercolumns 1
|
|
|
|
\papersides 1
|
|
|
|
\paperpagestyle default
|
2021-07-06 16:51:30 +00:00
|
|
|
\tablestyle default
|
2015-04-27 00:56:25 +00:00
|
|
|
\tracking_changes false
|
|
|
|
\output_changes false
|
2021-07-06 16:51:30 +00:00
|
|
|
\change_bars false
|
|
|
|
\postpone_fragile_content false
|
2015-04-27 00:56:25 +00:00
|
|
|
\html_math_output 0
|
|
|
|
\html_css_as_file 0
|
|
|
|
\html_be_strict false
|
2021-07-06 16:51:30 +00:00
|
|
|
\docbook_table_output 0
|
|
|
|
\docbook_mathml_prefix 1
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_header
|
|
|
|
|
|
|
|
\begin_body
|
|
|
|
|
|
|
|
\begin_layout Begin PDF Form
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2017-11-18 16:34:35 +00:00
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
action=mailto:forms@lyx.test?subject=The submitted PDF form,
|
|
|
|
method=post
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Title
|
|
|
|
Description of the module PDF Form
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Author
|
|
|
|
Uwe Stöhr
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Note
|
2021-07-06 16:51:30 +00:00
|
|
|
status collapsed
|
2015-04-27 20:29:48 +00:00
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
To export all parts of this document to PDF the \SpecialChar LaTeX
|
|
|
|
-package
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
insdljs
|
|
|
|
\series default
|
|
|
|
must be installed.
|
2022-12-11 16:12:05 +00:00
|
|
|
If it is not installed you can export the document anyway but the example in the section about dynamic form elements will not appear in the output.
|
2021-07-06 16:51:30 +00:00
|
|
|
|
|
|
|
\series bold
|
|
|
|
insdljs.sty
|
|
|
|
\series default
|
|
|
|
is part of the
|
|
|
|
\series bold
|
|
|
|
acrotex
|
|
|
|
\series default
|
|
|
|
bundle available on CTAN.
|
2022-12-11 16:12:05 +00:00
|
|
|
As the name suggests,
|
|
|
|
the style files of the bundle produce pdf files which will work correctly
|
2021-07-06 16:51:30 +00:00
|
|
|
\emph on
|
|
|
|
only
|
|
|
|
\emph default
|
|
|
|
with Acrobat DC.
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
By loading the module PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form the whole document or a part of it can be made a PDF form.
|
|
|
|
You can add all possible form elements like text fields buttons etc.
|
|
|
|
This document describes how this is done.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
Preparation
|
|
|
|
\begin_inset CommandInset label
|
|
|
|
LatexCommand label
|
|
|
|
name "sec:Preparation"
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
At first load the module PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form in the document settings of your file.
|
2022-12-11 16:12:05 +00:00
|
|
|
To make the whole document a form,
|
|
|
|
insert the environment
|
2015-04-27 00:56:25 +00:00
|
|
|
\family sans
|
|
|
|
Begin
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form
|
|
|
|
\family default
|
2015-05-19 21:09:21 +00:00
|
|
|
from \SpecialChar LyX
|
|
|
|
's dropdown menu at the beginning of the document.
|
2022-12-11 16:12:05 +00:00
|
|
|
If only a part of the document should be a form,
|
|
|
|
add
|
2015-04-27 00:56:25 +00:00
|
|
|
\family sans
|
|
|
|
Begin
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form
|
|
|
|
\family default
|
|
|
|
at the position where the form should start.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series default
|
|
|
|
It is only possible to have one form in a PDF file!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
If the form data should be submitted to a server or the like,
|
|
|
|
then you must specify the URL as parameter of the
|
2015-04-27 00:56:25 +00:00
|
|
|
\family sans
|
|
|
|
Begin
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form
|
|
|
|
\family default
|
|
|
|
environment.
|
|
|
|
This is done by using the menu
|
|
|
|
\family sans
|
2015-05-19 21:09:21 +00:00
|
|
|
Insert\SpecialChar menuseparator
|
2015-04-27 00:56:25 +00:00
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
Form
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
Parameters
|
2015-04-27 00:56:25 +00:00
|
|
|
\family default
|
|
|
|
.
|
2022-12-11 16:12:05 +00:00
|
|
|
For example in this document the following was inserted to the parameter inset:
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\series bold
|
2015-04-28 00:00:53 +00:00
|
|
|
action=mailto:forms@lyx.test?subject=The submitted PDF form,
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
method=post
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-04-27 00:56:25 +00:00
|
|
|
This sends the form data as email to
|
|
|
|
\emph on
|
|
|
|
forms@lyx.test
|
|
|
|
\emph default
|
2015-05-03 02:37:28 +00:00
|
|
|
when the user presses the submit button.
|
|
|
|
The email subject will be
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
The submitted PDF form
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
and the submit method is
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
post
|
|
|
|
\series default
|
|
|
|
.
|
|
|
|
(The other possible method would be
|
|
|
|
\series bold
|
|
|
|
get
|
|
|
|
\series default
|
2015-05-03 02:37:28 +00:00
|
|
|
.) For more about submitting see sec.
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset ref
|
|
|
|
LatexCommand ref
|
2015-11-13 18:14:45 +00:00
|
|
|
reference "subsec:Submit-button"
|
2022-12-11 16:12:05 +00:00
|
|
|
nolink "false"
|
2015-05-03 02:37:28 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Newpage newpage
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Section
|
2017-04-16 13:38:45 +00:00
|
|
|
Form elements
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
There are 6
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
possible elements in a PDF form:
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Text field
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
A text field is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
TextField
|
|
|
|
\family default
|
|
|
|
using the menu
|
|
|
|
\family sans
|
2015-05-19 21:09:21 +00:00
|
|
|
Insert\SpecialChar menuseparator
|
2015-04-27 00:56:25 +00:00
|
|
|
Custom
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Insets
|
|
|
|
\family default
|
|
|
|
.
|
2022-12-11 16:12:05 +00:00
|
|
|
Write inside the inset the label for the text field that will be printed in the PDF output before the field.
|
2015-04-27 00:56:25 +00:00
|
|
|
Here is an example:
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=customer
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
Enter your name here:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
2017-04-16 13:38:45 +00:00
|
|
|
You must also specify a name for text fields.
|
|
|
|
To do this set the cursor into its
|
2015-04-27 20:29:48 +00:00
|
|
|
\family sans
|
2015-04-28 23:56:43 +00:00
|
|
|
Params
|
2015-04-27 20:29:48 +00:00
|
|
|
\family default
|
2017-04-16 13:38:45 +00:00
|
|
|
inset and insert the parameter
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
name=customer
|
|
|
|
\series default
|
|
|
|
(where
|
|
|
|
\series bold
|
|
|
|
customer
|
|
|
|
\series default
|
|
|
|
is the field name).
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
Using the same name for several text fields results in an automatic duplication of the inserted text.
|
|
|
|
This is for example useful if the user should input a date that should appear at different places in the form.
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Here are 2
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
fields as example:
|
|
|
|
Fill one and see that the other one will be filled automatically when you click outside of the field:
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=identic
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=identic
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\series default
|
|
|
|
Special characters should be avoided in element names.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-28 23:56:43 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
All form fields can be customized by adding parameters.
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Standard
|
2015-04-29 20:06:00 +00:00
|
|
|
Here is a customized multiline text field with a width of 60
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
% of the text width,
|
|
|
|
3
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
cm height and a proposed content:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
name=customer2,
|
|
|
|
multiline,
|
|
|
|
width=0.6
|
2015-04-27 20:29:48 +00:00
|
|
|
\backslash
|
2022-12-11 16:12:05 +00:00
|
|
|
textwidth,
|
|
|
|
height=3cm,
|
|
|
|
value={proposed text}
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Enter your name here:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
It is highly recommended to use a uniform layout of all fields in a form.
|
2015-04-27 00:56:25 +00:00
|
|
|
See sec.
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset ref
|
|
|
|
LatexCommand ref
|
2017-04-15 02:54:07 +00:00
|
|
|
reference "sec:Form-element-customization"
|
2022-12-11 16:12:05 +00:00
|
|
|
nolink "false"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
how this is done.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Check box
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
A check box is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
CheckBox
|
|
|
|
\family default
|
|
|
|
.
|
|
|
|
Write inside the inset the label for the box.
|
|
|
|
Here is an example:
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex CheckBox
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=age
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
Are you older than 18 years?
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
You must specify also for check boxes a name.
|
|
|
|
Insert e.
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
g.
|
|
|
|
\begin_inset space \space{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
the parameter
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
name=age
|
|
|
|
\series default
|
|
|
|
(where
|
|
|
|
\series bold
|
|
|
|
age
|
|
|
|
\series default
|
2017-04-16 13:38:45 +00:00
|
|
|
is the name) into the
|
2015-04-28 23:56:43 +00:00
|
|
|
\family sans
|
|
|
|
Params
|
|
|
|
\family default
|
|
|
|
inset.
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Subsection
|
|
|
|
Choice menu
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
A choice menu is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
ChoiceMenu
|
|
|
|
\family default
|
|
|
|
.
|
2015-04-28 23:56:43 +00:00
|
|
|
A label for the inset is added by using the menu
|
2015-04-27 00:56:25 +00:00
|
|
|
\family sans
|
2015-05-19 21:09:21 +00:00
|
|
|
Insert\SpecialChar menuseparator
|
2015-04-27 00:56:25 +00:00
|
|
|
Label
|
|
|
|
\family default
|
2015-04-28 23:56:43 +00:00
|
|
|
.
|
2017-04-16 13:38:45 +00:00
|
|
|
The different choices are inserted to the inset as comma-separated list.
|
2015-04-27 00:56:25 +00:00
|
|
|
There are 3
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
choice menu types:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Radio Only one choice can be selected
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
2022-12-11 16:12:05 +00:00
|
|
|
Combo The choices are listed in a combo box (dropdown list) but the user is allowed to input something that is not in the predefined list.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Popdown All choices are listed below each other.
|
2017-04-16 13:38:45 +00:00
|
|
|
If the menu is not high enough a scroll bar is automatically added.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
To determine the choice menu type one uses the parameter
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
radio
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
combo
|
|
|
|
\series default
|
|
|
|
or
|
|
|
|
\series bold
|
|
|
|
popdown
|
|
|
|
\series default
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Here is an example for the radio type:
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
radio,
|
|
|
|
name=radio
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
male=m,
|
|
|
|
female=f
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Sex:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Here is an example for the combo type:
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
combo,
|
|
|
|
name=combo
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
Albania=Al,
|
|
|
|
Armenia=Ar,
|
|
|
|
Azerbaidschan=Az
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Country:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Here is an example for the popdown type:
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
popdown,
|
|
|
|
name=country
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
Albania=Al,
|
|
|
|
Armenia=Ar,
|
|
|
|
Azerbaidschan=Az
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Country:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
You must also specify a name for choice menus.
|
|
|
|
Insert for example the parameter
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
name=country
|
|
|
|
\series default
|
|
|
|
(where
|
|
|
|
\series bold
|
|
|
|
country
|
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
is the name) into the
|
2015-05-03 02:37:28 +00:00
|
|
|
\family sans
|
|
|
|
Params
|
|
|
|
\family default
|
|
|
|
inset.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
It is recommended to add a short name for every choice to be able to access them and to know which one was chosen by the user.
|
2015-04-28 23:56:43 +00:00
|
|
|
This is done by adding
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
=name
|
|
|
|
\series default
|
2015-04-27 20:29:48 +00:00
|
|
|
behind each choice (where
|
|
|
|
\series bold
|
|
|
|
name
|
|
|
|
\series default
|
|
|
|
is the choice name).
|
2015-04-27 00:56:25 +00:00
|
|
|
For example the radio type example contains this choice list:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
2022-12-11 16:12:05 +00:00
|
|
|
male=m,
|
|
|
|
female=f
|
2015-04-27 00:56:25 +00:00
|
|
|
\series default
|
|
|
|
.
|
|
|
|
If the user chose
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
male
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
you know that he chose the choice
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
m
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
With the name you can also preset/propose e.g.
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset space \space{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
the choice
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
male
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
by adding the parameter
|
|
|
|
\series bold
|
|
|
|
default=m
|
|
|
|
\series default
|
|
|
|
.
|
|
|
|
Here is an example:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
radio,
|
|
|
|
name=sex,
|
|
|
|
default=m
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
male=m,
|
|
|
|
female=f
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Sex:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Push button
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
A push button is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
PushButton
|
|
|
|
\family default
|
|
|
|
.
|
|
|
|
Write inside the inset the label for the button.
|
|
|
|
Here is an example:
|
2015-05-03 02:37:28 +00:00
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_layout Standard
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex PushButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
Don't click on this button or your fridge will be destroyed!!!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
The action that is triggered by pressing the button is specified by JavaScript code.
|
|
|
|
To do this,
|
|
|
|
add the parameter
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
onclick={}
|
|
|
|
\series default
|
2015-04-29 20:06:00 +00:00
|
|
|
and insert the JavaScript code between the braces.
|
2022-12-11 16:12:05 +00:00
|
|
|
For info about JavaScript,
|
|
|
|
see its documentation,
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
\begin_inset CommandInset citation
|
|
|
|
LatexCommand cite
|
|
|
|
key "JavaScript"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
\end_inset
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
.
|
|
|
|
In the following example this JavaScript code was used:
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
|
|
|
|
\series bold
|
|
|
|
app.alert(
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
"
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
What the hell?
|
|
|
|
Now you destroyed your fridge.
|
2017-04-16 13:38:45 +00:00
|
|
|
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Congratulations.
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
"
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
)
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Flex PushButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
onclick={app.alert(
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_layout Plain Layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
"
|
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
What the hell?
|
|
|
|
Now you destroyed your fridge.
|
2017-04-16 13:38:45 +00:00
|
|
|
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Congratulations.
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
"
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_inset
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
)}
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_inset
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
Don't click on this button or your fridge will be destroyed!!!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-19 21:09:21 +00:00
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
The outer quotes are part of the JavaScript code and must therefore be inserted as \SpecialChar TeX
|
2015-05-19 21:09:21 +00:00
|
|
|
code!
|
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_inset
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
A common usage for push buttons is to open a weblink.
|
2017-04-16 13:38:45 +00:00
|
|
|
Such a button is created by inserting a hyperlink as button text.
|
2015-05-04 23:33:11 +00:00
|
|
|
Here is an example:
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Flex PushButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset CommandInset href
|
|
|
|
LatexCommand href
|
|
|
|
name "Information how to fill out this form"
|
2017-12-15 01:53:06 +00:00
|
|
|
target "https://wiki.lyx.org"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "false"
|
2015-05-04 23:33:11 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
To get rid of the predefined frame for weblinks add this to the additional options in the document settings under
|
2015-04-27 00:56:25 +00:00
|
|
|
\family sans
|
2015-04-27 20:29:48 +00:00
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
properties
|
2015-04-27 00:56:25 +00:00
|
|
|
\family default
|
|
|
|
:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
urlbordercolor={1 0 0}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
if your push button border color is red (the default),
|
|
|
|
otherwise use the same color definition as for your push button border color.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Submit button
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_inset CommandInset label
|
|
|
|
LatexCommand label
|
2015-11-13 18:14:45 +00:00
|
|
|
name "subsec:Submit-button"
|
2015-05-03 02:37:28 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
A submit button is used to submit the form data to a server.
|
|
|
|
It is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
SubmitButton
|
|
|
|
\family default
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
The label for the button is written into the inset.
|
2015-04-27 00:56:25 +00:00
|
|
|
Here is an example:
|
2015-05-03 02:37:28 +00:00
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_layout Standard
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex SubmitButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=submit1
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Send your data via email
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
The submit button creates a forms data format (FDF) file (file extension *.fdf) which is then submitted.
|
2015-05-03 02:37:28 +00:00
|
|
|
The FDF file contains only the form data.
|
2022-12-11 16:12:05 +00:00
|
|
|
They can later only be applied to a PDF form if all elements in the form have a name.
|
2015-05-03 02:37:28 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
You can only use a submit button if you specified the submit method and a target in the inset
|
2017-04-15 02:54:07 +00:00
|
|
|
\family sans
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Form
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Parameters
|
|
|
|
\family default
|
2022-12-11 16:12:05 +00:00
|
|
|
!
|
|
|
|
See sec.
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset ref
|
|
|
|
LatexCommand ref
|
|
|
|
reference "sec:Preparation"
|
2022-12-11 16:12:05 +00:00
|
|
|
nolink "false"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
for the description.
|
2015-05-19 21:09:21 +00:00
|
|
|
If there are no specifications you will get \SpecialChar LaTeX
|
2017-04-16 13:38:45 +00:00
|
|
|
errors.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Reset button
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
A reset button is used to reset all form elements to the initial state.
|
2015-04-27 00:56:25 +00:00
|
|
|
It is added by inserting the custom inset
|
|
|
|
\family sans
|
|
|
|
ResetButton
|
|
|
|
\family default
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
The label for the button is written into the inset.
|
2015-04-27 00:56:25 +00:00
|
|
|
Here is an example:
|
2015-05-03 02:37:28 +00:00
|
|
|
\end_layout
|
2015-04-27 00:56:25 +00:00
|
|
|
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_layout Standard
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex ResetButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=reset1
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Reset the form
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
2017-04-15 02:54:07 +00:00
|
|
|
Form element customization
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset CommandInset label
|
|
|
|
LatexCommand label
|
2017-04-15 02:54:07 +00:00
|
|
|
name "sec:Form-element-customization"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
Since all form elements should look uniform,
|
|
|
|
one can determine their layout using the following styles:
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Text
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Field
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Check
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Box
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
Style
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
List
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Box
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style affects all choice menu types
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Combo
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Box
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style affects only the combo box style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Popdown
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Box
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style affects only the popdown box style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Radio
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Box
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style affects only the radio box style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Push
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Button
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Submit
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Button
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Reset
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Button
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Style
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
The content of the styles is a comma-separated list of parameters.
|
|
|
|
The possible parameters are listed in sec.
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
6.2
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Forms optional parameters
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
of the documentation of the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
hyperref
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset CommandInset citation
|
|
|
|
LatexCommand cite
|
|
|
|
key "hyperref"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
It is important that the parameter
|
|
|
|
\emph on
|
|
|
|
print
|
|
|
|
\emph default
|
|
|
|
is always part of the definition.
|
2017-04-16 13:38:45 +00:00
|
|
|
Otherwise the elements will not appear in the PDF.
|
2017-04-15 02:54:07 +00:00
|
|
|
The defined style is applied to all elements following the definition.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsubsection*
|
|
|
|
Here are some examples:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Text Field Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
bordercolor=red,
|
|
|
|
borderstyle=U,
|
|
|
|
backgroundcolor=lightgray,
|
|
|
|
color=lime,
|
|
|
|
maxlen=10,
|
|
|
|
align=2,
|
|
|
|
charsize=16pt
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
The parameter
|
|
|
|
\series bold
|
|
|
|
borderstyle
|
|
|
|
\series default
|
|
|
|
can be
|
|
|
|
\series bold
|
|
|
|
U
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
(underlined),
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series bold
|
|
|
|
S
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
(solid),
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series bold
|
|
|
|
D
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
(dashed),
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series bold
|
|
|
|
B
|
|
|
|
\series default
|
|
|
|
(bevel) or
|
|
|
|
\series bold
|
|
|
|
I
|
|
|
|
\series default
|
|
|
|
(inverted bevel).
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Check Box Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
borderstyle=S,
|
|
|
|
checkboxsymbol=
|
2015-04-27 00:56:25 +00:00
|
|
|
\backslash
|
|
|
|
ding{55}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Combo Box Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
bordercolor={0.33 0.66 0.33},
|
|
|
|
borderstyle=D
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Popdown Box Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
menulength=2
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_inset Note Note
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
The parameter
|
|
|
|
\series bold
|
|
|
|
menulength
|
|
|
|
\series default
|
|
|
|
determines the number of displayed menu entries.
|
|
|
|
It does not work currently because of a bug in the \SpecialChar LaTeX
|
|
|
|
package
|
|
|
|
\series bold
|
|
|
|
hyperref
|
|
|
|
\series default
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Radio Box Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
borderstyle=I,
|
|
|
|
radiosymbol=3
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Push Button Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
borderstyle=B,
|
|
|
|
bordercolor=lime
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Submit Button Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
borderwidth=0,
|
|
|
|
bordercolor=white
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Reset Button Style
|
2022-12-11 16:12:05 +00:00
|
|
|
print,
|
|
|
|
bordercolor=lime
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2022-12-11 16:12:05 +00:00
|
|
|
Text field with gray background,
|
|
|
|
lime text color,
|
|
|
|
a red border only below the field,
|
|
|
|
right alignment,
|
|
|
|
16
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
pt font size and a limitation for maximal 10
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
characters to insert:
|
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
Enter your name here:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\series default
|
|
|
|
To see in
|
|
|
|
\emph on
|
|
|
|
Adobe Reader
|
|
|
|
\emph default
|
|
|
|
and
|
|
|
|
\emph on
|
|
|
|
Acrobat
|
|
|
|
\emph default
|
2022-12-11 16:12:05 +00:00
|
|
|
custom background colors you must disable in these programs the highlighting of form fields.
|
2017-04-15 02:54:07 +00:00
|
|
|
(Option
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Show border hover color for fields
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
)
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2015-04-27 00:56:25 +00:00
|
|
|
Check box with normal border and symbol
|
|
|
|
\backslash
|
|
|
|
ding{55}:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex CheckBox
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-29 20:06:00 +00:00
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
Are you older than 18 years?
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
The symbol is either specified as number or with the command
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
ding{number}
|
|
|
|
\series default
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
where
|
|
|
|
\series bold
|
|
|
|
number
|
|
|
|
\series default
|
|
|
|
is one of the possible numbers listed in Table
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
2 of the documentation of the \SpecialChar LaTeX
|
|
|
|
package
|
|
|
|
\series bold
|
|
|
|
pifont
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset CommandInset citation
|
|
|
|
LatexCommand cite
|
|
|
|
key "pifont"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2022-12-11 16:12:05 +00:00
|
|
|
Combo choice menu with dashed,
|
|
|
|
colored border where the last entry is preselected:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
combo,
|
|
|
|
name=combo2,
|
|
|
|
default=Az
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
Albania=Al,
|
|
|
|
Armenia=Ar,
|
|
|
|
Azerbaidschan=Az
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Country:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2017-04-15 02:54:07 +00:00
|
|
|
Popdown choice menu where the second entry is preselected:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
popdown,
|
|
|
|
name=country2,
|
|
|
|
default=Ar
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
Albania=Al,
|
|
|
|
Armenia=Ar,
|
|
|
|
Azerbaidschan=Az
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Country:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
2022-12-11 16:12:05 +00:00
|
|
|
Note:
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\series default
|
2017-04-16 13:38:45 +00:00
|
|
|
The parameters
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
borderstyle B
|
|
|
|
\series default
|
|
|
|
and
|
|
|
|
\series bold
|
|
|
|
I
|
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
and
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
color
|
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
have no effect for popdown choice menus.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2017-04-15 02:54:07 +00:00
|
|
|
Radio choice menu with inverted bevel border and symbol number
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
3 as checkmark:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
radio,
|
|
|
|
name=radio2
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
male=m,
|
|
|
|
female=f
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Sex:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series default
|
|
|
|
The parameters
|
|
|
|
\series bold
|
|
|
|
backgroundcolor
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series bold
|
|
|
|
color
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\series bold
|
|
|
|
height
|
|
|
|
\series default
|
|
|
|
and
|
|
|
|
\series bold
|
|
|
|
width
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
have no effect for push,
|
|
|
|
submit and reset buttons.
|
2017-04-16 13:38:45 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
As workaround use a colored box and/or color the box text.
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2015-04-27 00:56:25 +00:00
|
|
|
Push button with a bevel border and colored text:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\begin_inset Flex PushButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
onclick={app.alert(
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
"
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Why do you click this?
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
"
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
)}
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "t"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "t"
|
|
|
|
use_parbox 0
|
|
|
|
use_makebox 1
|
|
|
|
width ""
|
|
|
|
special "none"
|
|
|
|
height "1in"
|
|
|
|
height_special "totalheight"
|
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "lime"
|
|
|
|
status open
|
2015-05-04 23:33:11 +00:00
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\color red
|
|
|
|
Don't click on this button!!!
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_inset VSpace bigskip
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
2022-12-11 16:12:05 +00:00
|
|
|
Submit button without border,
|
|
|
|
with cyan background and increased height:
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex SubmitButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=submit2
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 0
|
|
|
|
use_makebox 1
|
|
|
|
width "6cm"
|
|
|
|
special "none"
|
|
|
|
height "1in"
|
|
|
|
height_special "totalheight"
|
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "cyan"
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-16 13:38:45 +00:00
|
|
|
width "4.5cm"
|
2015-05-04 23:33:11 +00:00
|
|
|
special "none"
|
|
|
|
height "4in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
2017-04-16 13:38:45 +00:00
|
|
|
backgroundcolor "none"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
Send your data via mail
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-16 13:38:45 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace bigskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Itemize
|
|
|
|
Reset button with a width of 7
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
cm:
|
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex ResetButton
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=reset2
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "t"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "t"
|
|
|
|
use_parbox 0
|
|
|
|
use_makebox 1
|
|
|
|
width "7cm"
|
|
|
|
special "none"
|
|
|
|
height "1in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "none"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
Reset the form
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Newpage newpage
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
2017-04-16 13:38:45 +00:00
|
|
|
PDF action buttons
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
One often needs basic actions to be done by the PDF viewer program,
|
|
|
|
for example to print the form.
|
|
|
|
Such PDF program-specific actions can be triggered by adding inserting the custom inset
|
2015-04-28 00:00:53 +00:00
|
|
|
\family sans
|
|
|
|
PDFAction
|
|
|
|
\family default
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
The PDF viewers
|
2015-04-28 00:00:53 +00:00
|
|
|
\emph on
|
|
|
|
Acrobat
|
|
|
|
\emph default
|
|
|
|
and
|
|
|
|
\emph on
|
|
|
|
Adobe Reader
|
|
|
|
\emph default
|
2022-12-11 16:12:05 +00:00
|
|
|
can handle all possible actions while other PDF viewers might only support some of them.
|
|
|
|
However,
|
|
|
|
all PDF viewers support the basic things like printing,
|
|
|
|
save
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
as,
|
|
|
|
view in fullscreen etc..
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-04-28 00:00:53 +00:00
|
|
|
To specify the action insert its name to the
|
|
|
|
\family sans
|
|
|
|
Action
|
|
|
|
\family default
|
|
|
|
inset.
|
2017-04-15 02:54:07 +00:00
|
|
|
A list with possible action names can be found in sec.
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
5
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Acrobat-specific behavior
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
of the documentation of the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
|
|
|
hyperref
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset CommandInset citation
|
|
|
|
LatexCommand cite
|
|
|
|
key "hyperref"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-28 00:00:53 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
Here are some examples:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
2022-12-11 16:12:05 +00:00
|
|
|
Printing:
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Print
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Print the document
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
Save
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
as:
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Save document as
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Description
|
|
|
|
View
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
in
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
fullscreen:
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
FullScreen
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
View the form in fullscreen
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Subsection
|
|
|
|
Action button customization
|
|
|
|
\begin_inset CommandInset label
|
|
|
|
LatexCommand label
|
2015-11-13 18:14:45 +00:00
|
|
|
name "subsec:Action-button-customization"
|
2015-04-28 00:00:53 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
Customizing the action buttons requires the usage of boxes because things like the width,
|
|
|
|
height and border separation cannot be specified as button parameters.
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-04 23:33:11 +00:00
|
|
|
The easiest way to customize the buttons is to fill it with a custom box.
|
2017-04-15 02:54:07 +00:00
|
|
|
For example the button should be 5
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
cm wide and have the height of 2
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
lines.
|
2015-04-28 00:00:53 +00:00
|
|
|
Then create this parbox:
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
2015-04-28 00:00:53 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_layout Standard
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-15 02:54:07 +00:00
|
|
|
width "5cm"
|
2015-04-28 00:00:53 +00:00
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "none"
|
2015-04-28 00:00:53 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\noindent
|
|
|
|
Save form as
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
2015-04-28 00:00:53 +00:00
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
inside a
|
2015-04-28 00:00:53 +00:00
|
|
|
\family sans
|
|
|
|
PDFAction
|
|
|
|
\family default
|
|
|
|
inset.
|
|
|
|
This is the result:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-15 02:54:07 +00:00
|
|
|
width "5cm"
|
2015-05-04 23:33:11 +00:00
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "none"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
Save form as
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout PDF Link Setup
|
|
|
|
pdfborder={0 0 0}
|
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Sets the thickness of the predefined link border to zero as described below.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
To customize the border color,
|
|
|
|
border thickness and the distance to the border one changes the border settings of the box.
|
2017-04-15 02:54:07 +00:00
|
|
|
An example with a 4
|
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
pt thick,
|
|
|
|
teal border and 3
|
2017-04-16 13:38:45 +00:00
|
|
|
\begin_inset space \thinspace{}
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
pt border separation :
|
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Box Boxed
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
|
|
|
width "5cm"
|
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
|
|
|
thickness "4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "teal"
|
|
|
|
backgroundcolor "white"
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\noindent
|
|
|
|
Save form as
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
To customize the border thickness,
|
|
|
|
add the command
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
pdfborder={0 0 t}
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
|
|
|
to the additional options in the document settings under
|
|
|
|
\family sans
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
properties
|
|
|
|
\family default
|
|
|
|
and replace
|
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
t
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
with a number that is the thickness in pixels.
|
2022-12-11 16:12:05 +00:00
|
|
|
If you want to change the border thickness only for certain buttons,
|
|
|
|
use the environment
|
2015-04-28 00:00:53 +00:00
|
|
|
\family sans
|
|
|
|
PDF
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
link
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
setup
|
|
|
|
\family default
|
|
|
|
before the button and insert there the command
|
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
pdfborder
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
|
|
|
.
|
|
|
|
The default value of
|
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
pdfborder
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
|
|
|
is
|
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
{0 0 1}
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2017-04-15 02:54:07 +00:00
|
|
|
\series default
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
pdfborder
|
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
affects all link types,
|
|
|
|
not only the action links.
|
2017-04-15 02:54:07 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_layout PDF Link Setup
|
2017-04-15 02:54:07 +00:00
|
|
|
pdfborder={0 0 4}
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
An example with a 4
|
|
|
|
\begin_inset space ~
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
pixel thick border:
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-15 02:54:07 +00:00
|
|
|
width "5cm"
|
2015-05-04 23:33:11 +00:00
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "none"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\noindent
|
2015-05-19 21:09:21 +00:00
|
|
|
Save form as
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
To change the border color use the command
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
menubordercolor={r g b}
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
|
|
|
where
|
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
r
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
,
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
g
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
and
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
b
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2022-12-11 16:12:05 +00:00
|
|
|
are numbers between 0 and 1 for the colors red,
|
|
|
|
green and blue.
|
2017-04-15 02:54:07 +00:00
|
|
|
The default value of
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
menubordercolor
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
is
|
2015-04-28 00:00:53 +00:00
|
|
|
\series bold
|
2017-04-15 02:54:07 +00:00
|
|
|
{1 0 0}
|
2015-04-28 00:00:53 +00:00
|
|
|
\series default
|
2017-04-15 02:54:07 +00:00
|
|
|
.
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout PDF Link Setup
|
2022-12-11 16:12:05 +00:00
|
|
|
pdfborder={0 0 1},
|
|
|
|
menubordercolor={0.1 0.9 0.5}
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-15 02:54:07 +00:00
|
|
|
An example with
|
|
|
|
\series bold
|
|
|
|
menubordercolor={0.1 0.9 0.5}
|
|
|
|
\series default
|
|
|
|
:
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-15 02:54:07 +00:00
|
|
|
width "5cm"
|
2015-05-04 23:33:11 +00:00
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "none"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\noindent
|
2015-05-19 21:09:21 +00:00
|
|
|
Save form as
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-19 21:09:21 +00:00
|
|
|
To change the background color use a colored box.
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout PDF Link Setup
|
|
|
|
pdfborder={0 0 0}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-05-04 23:33:11 +00:00
|
|
|
An example without a border and with lime background color:
|
2015-04-28 00:00:53 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Flex PDFAction
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
SaveAs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-05-04 23:33:11 +00:00
|
|
|
\begin_inset Box Frameless
|
|
|
|
position "c"
|
|
|
|
hor_pos "c"
|
|
|
|
has_inner_box 1
|
|
|
|
inner_pos "c"
|
|
|
|
use_parbox 1
|
|
|
|
use_makebox 0
|
2017-04-15 02:54:07 +00:00
|
|
|
width "5cm"
|
2015-05-04 23:33:11 +00:00
|
|
|
special "none"
|
|
|
|
height "2in"
|
|
|
|
height_special "totalheight"
|
2015-05-19 21:09:21 +00:00
|
|
|
thickness "0.4pt"
|
|
|
|
separation "3pt"
|
|
|
|
shadowsize "4pt"
|
|
|
|
framecolor "black"
|
|
|
|
backgroundcolor "lime"
|
2015-05-04 23:33:11 +00:00
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\noindent
|
2015-05-19 21:09:21 +00:00
|
|
|
Save form as
|
2015-05-04 23:33:11 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout PDF Link Setup
|
2022-12-11 16:12:05 +00:00
|
|
|
pdfborder={0 0 1},
|
|
|
|
menubordercolor={1 0 0}
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
2017-04-16 13:38:45 +00:00
|
|
|
Dynamic form elements
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2017-04-16 13:38:45 +00:00
|
|
|
It is also possible to have dynamic form elements.
|
2022-12-11 16:12:05 +00:00
|
|
|
This means that depending on the actions of the user elements can (dis)appear or change their appearance.
|
|
|
|
To use this feature,
|
|
|
|
add these lines to your LaTeX preamble:
|
2015-04-28 00:00:53 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
usepackage[pdftex]{insdljs}
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
pdfcatalog{/AA
|
|
|
|
\backslash
|
|
|
|
the
|
|
|
|
\backslash
|
|
|
|
pdflastobj
|
|
|
|
\backslash
|
|
|
|
space 0 R}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
Then add the necessary JavaScript code to your document LaTeX preamble or as \SpecialChar TeX
|
2015-05-19 21:09:21 +00:00
|
|
|
code to your document.
|
2022-12-11 16:12:05 +00:00
|
|
|
For info about JavaScript,
|
|
|
|
see its documentation,
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset CommandInset citation
|
|
|
|
LatexCommand cite
|
|
|
|
key "JavaScript"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
ifinsdljs
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
The following section will only be displayed when the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
insdljs
|
|
|
|
\series default
|
|
|
|
is installed.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
For the following choice menu this JavaScript code was used:
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset listings
|
|
|
|
lstparams "language=TeX"
|
|
|
|
inline false
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
begin{insDLJS}[exaaae]{exaaae}{JavaScript}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
function validateTime(){
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
this.delay = true;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
if((event.value == "u") || (event.value == "unlimited")) {
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
this.getField("from").display = display.hidden;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
2017-04-17 02:08:43 +00:00
|
|
|
this.getField("until").display = display.hidden;
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
} else {
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
this.getField("from").display = display.visible;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
2017-04-17 02:08:43 +00:00
|
|
|
this.getField("until").display = display.visible;
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
this.getField("from").setFocus();
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
this.delay = false;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
end{insDLJS}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-29 20:06:00 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Note Greyedout
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\series bold
|
|
|
|
Note:
|
2022-12-11 16:12:05 +00:00
|
|
|
|
2015-04-29 20:06:00 +00:00
|
|
|
\series default
|
|
|
|
|
|
|
|
\emph on
|
|
|
|
All
|
|
|
|
\emph default
|
2017-04-15 02:54:07 +00:00
|
|
|
JavaScript functions must be inserted into the same
|
2015-04-29 22:17:39 +00:00
|
|
|
\family sans
|
|
|
|
insDLJS
|
|
|
|
\family default
|
|
|
|
environment.
|
2015-04-29 20:06:00 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
The
|
|
|
|
\family sans
|
2017-04-15 02:54:07 +00:00
|
|
|
Parameters
|
2015-04-27 20:29:48 +00:00
|
|
|
\family default
|
|
|
|
of the following choice menu are
|
|
|
|
\begin_inset Newline newline
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\series bold
|
2015-04-29 20:06:00 +00:00
|
|
|
name=contract,radio,default=tl,validate={validateTime();}
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset Flex ChoiceMenu
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
name=contract,radio,default=tl,validate={validateTime();}
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
term-limited=tl,
|
|
|
|
unlimited=u
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Argument 2
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
Job contract:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset VSpace defskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2015-04-27 20:29:48 +00:00
|
|
|
\begin_inset Tabular
|
|
|
|
<lyxtabular version="3" rows="3" columns="2">
|
2015-05-19 21:09:21 +00:00
|
|
|
<features tabularvalignment="middle">
|
2015-04-27 20:29:48 +00:00
|
|
|
<column alignment="left" valignment="top">
|
|
|
|
<column alignment="center" valignment="top">
|
|
|
|
<row>
|
|
|
|
<cell alignment="left" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
From:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
name=from,width=10em
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset VSpace -1.5mm
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<cell alignment="left" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2017-04-17 02:08:43 +00:00
|
|
|
Until:
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
|
|
\begin_inset Text
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2017-04-17 02:08:43 +00:00
|
|
|
name=until,width=10em
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
</cell>
|
|
|
|
</row>
|
|
|
|
</lyxtabular>
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-29 22:17:39 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset VSpace bigskip
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
To check and assure that the user only enters a number to a text field you can for example use this JavaScript code:
|
2015-04-29 22:17:39 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset listings
|
|
|
|
lstparams "language=TeX"
|
|
|
|
inline false
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
function checkNumber() {
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
event.rc = true;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
if (!Number(event.value)) {
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
app.alert("Value must be a number!");
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
event.value = "";
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
} else {
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
event.target.textColor = color.green;
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
}
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
An example text field:
|
|
|
|
|
2015-04-29 22:17:39 +00:00
|
|
|
\begin_inset Flex TextField
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
\begin_inset Argument 1
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
name=onlyNumbers,
|
|
|
|
align=1,
|
|
|
|
validate={checkNumber();}
|
2015-04-29 22:17:39 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
2015-04-27 20:29:48 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
else
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2015-05-19 21:09:21 +00:00
|
|
|
The following will be displayed when the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-27 20:29:48 +00:00
|
|
|
\series bold
|
|
|
|
insdljs
|
|
|
|
\series default
|
|
|
|
is not installed:
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
You need to install the package
|
|
|
|
\series bold
|
|
|
|
insdljs
|
|
|
|
\series default
|
|
|
|
to see the content of this section in the output.
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
\begin_inset ERT
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
fi
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout End PDF Form
|
|
|
|
\begin_inset Note Note
|
|
|
|
status open
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
2017-04-15 02:54:07 +00:00
|
|
|
keep this empty
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Section
|
2017-04-15 02:54:07 +00:00
|
|
|
General notes
|
2015-05-03 02:37:28 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Itemize
|
2017-04-15 02:54:07 +00:00
|
|
|
Submitting and applying data requires that all form elements have a name.
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
2015-05-03 02:37:28 +00:00
|
|
|
\begin_layout Itemize
|
2017-04-17 02:08:43 +00:00
|
|
|
Creating a PDF form requires pdf\SpecialChar TeX
|
|
|
|
or Lua\SpecialChar TeX
|
|
|
|
.
|
2017-04-15 02:54:07 +00:00
|
|
|
Use therefore either the \SpecialChar LyX
|
2015-05-19 21:09:21 +00:00
|
|
|
export formats
|
2015-05-03 02:37:28 +00:00
|
|
|
\family sans
|
|
|
|
PDF (pdflatex)
|
|
|
|
\family default
|
|
|
|
or
|
|
|
|
\family sans
|
2017-04-17 02:08:43 +00:00
|
|
|
PDF (LuaTeX)
|
2015-05-03 02:37:28 +00:00
|
|
|
\family default
|
|
|
|
.
|
|
|
|
\end_layout
|
|
|
|
|
2015-04-27 00:56:25 +00:00
|
|
|
\begin_layout Itemize
|
|
|
|
To see in
|
|
|
|
\emph on
|
|
|
|
Adobe Reader
|
|
|
|
\emph default
|
|
|
|
and
|
|
|
|
\emph on
|
|
|
|
Acrobat
|
|
|
|
\emph default
|
2022-12-11 16:12:05 +00:00
|
|
|
custom background colors you must disable in these programs the highlighting of form fields.
|
2017-04-15 02:54:07 +00:00
|
|
|
(Option
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
Show border hover color for fields
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
)
|
2015-04-27 00:56:25 +00:00
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Bibliography
|
|
|
|
\begin_inset CommandInset bibitem
|
|
|
|
LatexCommand bibitem
|
|
|
|
key "JavaScript"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset href
|
|
|
|
LatexCommand href
|
|
|
|
name "JavaScript reference"
|
|
|
|
target "https://developer.mozilla.org/en/docs/Web/JavaScript/Reference"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "false"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Bibliography
|
|
|
|
\begin_inset CommandInset bibitem
|
|
|
|
LatexCommand bibitem
|
|
|
|
key "hyperref"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset href
|
|
|
|
LatexCommand href
|
|
|
|
name "Documentation"
|
2024-10-07 20:35:12 +00:00
|
|
|
target "https://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "false"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
of the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
hyperref
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\begin_layout Bibliography
|
|
|
|
\begin_inset CommandInset bibitem
|
|
|
|
LatexCommand bibitem
|
|
|
|
key "pifont"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "true"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
\begin_inset CommandInset href
|
|
|
|
LatexCommand href
|
|
|
|
name "Documentation"
|
2024-10-10 13:56:07 +00:00
|
|
|
target "https://mirrors.ctan.org/macros/latex/required/psnfss/psnfss2e.pdf"
|
2017-04-24 04:03:19 +00:00
|
|
|
literal "false"
|
2015-04-27 00:56:25 +00:00
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
2015-05-19 21:09:21 +00:00
|
|
|
of the \SpecialChar LaTeX
|
|
|
|
package
|
2015-04-27 00:56:25 +00:00
|
|
|
\series bold
|
|
|
|
pifont
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
\end_document
|