mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 11:52:25 +00:00
PDF-form.lyx: some corrections and updates
This commit is contained in:
parent
ade2891218
commit
f45ee330f5
@ -179,7 +179,7 @@ insdljs
|
||||
\series default
|
||||
must be installed.
|
||||
If it is not installed you can export the document anyway but the example
|
||||
in the section about dynamic form fields won't appear in the output.
|
||||
in the section about dynamic form elements will not appear in the output.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -348,7 +348,7 @@ reference "subsec:Submit-button"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Form fields
|
||||
Form elements
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -407,12 +407,12 @@ Enter your name here:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
You must also specify a name for text fields: Set the cursor into its
|
||||
You must also specify a name for text fields.
|
||||
To do this set the cursor into its
|
||||
\family sans
|
||||
Params
|
||||
\family default
|
||||
inset.
|
||||
There insert the parameter
|
||||
inset and insert the parameter
|
||||
\series bold
|
||||
name=customer
|
||||
\series default
|
||||
@ -435,8 +435,8 @@ Here are 2
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
fields as example: Fill one and see that the other one will also be filled
|
||||
automatically when you click outside of the field:
|
||||
fields as example: Fill one and see that the other one will be filled automatica
|
||||
lly when you click outside of the field:
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
@ -534,7 +534,7 @@ status open
|
||||
\begin_layout Plain Layout
|
||||
name=customer2, multiline, width=0.6
|
||||
\backslash
|
||||
textwidth, height=3cm, value={Testman}
|
||||
textwidth, height=3cm, value={proposed text}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -631,7 +631,7 @@ name=age
|
||||
\series bold
|
||||
age
|
||||
\series default
|
||||
is the field name) into the
|
||||
is the name) into the
|
||||
\family sans
|
||||
Params
|
||||
\family default
|
||||
@ -654,11 +654,7 @@ Insert\SpecialChar menuseparator
|
||||
Label
|
||||
\family default
|
||||
.
|
||||
Insert the label text into this inset.
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
The different choices are inserted to the inset as comma-separated list.
|
||||
The different choices are inserted to the inset as comma-separated list.
|
||||
There are 3
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
@ -677,8 +673,7 @@ Combo The choices are listed in a combo box (dropdown list) but the user
|
||||
|
||||
\begin_layout Description
|
||||
Popdown All choices are listed below each other.
|
||||
If the field is not high enough a scroll bar is automatically added to
|
||||
the field.
|
||||
If the menu is not high enough a scroll bar is automatically added.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -993,7 +988,15 @@ status collapsed
|
||||
\end_inset
|
||||
|
||||
What the hell? Now you destroyed your fridge.
|
||||
Congratulations.
|
||||
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
Congratulations.
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
@ -1061,7 +1064,8 @@ status open
|
||||
\series bold
|
||||
Note:
|
||||
\series default
|
||||
All quote characters in form parameters must be inserted as \SpecialChar TeX
|
||||
The outer quotes are part of the JavaScript code and must therefore be
|
||||
inserted as \SpecialChar TeX
|
||||
code!
|
||||
\end_layout
|
||||
|
||||
@ -1072,11 +1076,7 @@ Note:
|
||||
|
||||
\begin_layout Standard
|
||||
A common usage for push buttons is to open a weblink.
|
||||
Such a button is created by inserting a hyperlink into the
|
||||
\family sans
|
||||
PushButton
|
||||
\family default
|
||||
inset.
|
||||
Such a button is created by inserting a hyperlink as button text.
|
||||
Here is an example:
|
||||
\end_layout
|
||||
|
||||
@ -1111,7 +1111,7 @@ target "http://wiki.lyx.org"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
To get rid of the special frame for weblinks add this to the additional
|
||||
To get rid of the predefined frame for weblinks add this to the additional
|
||||
options in the document settings under
|
||||
\family sans
|
||||
PDF
|
||||
@ -1182,8 +1182,8 @@ Send your data via email
|
||||
The submit button creates a forms data format (FDF) file (file extension
|
||||
*.fdf) which is then submitted.
|
||||
The FDF file contains only the form data.
|
||||
They can only be applied to a PDF form if all elements in the form have
|
||||
a name.
|
||||
They can later only be applied to a PDF form if all elements in the form
|
||||
have a name.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -1221,7 +1221,7 @@ reference "sec:Preparation"
|
||||
|
||||
for the description.
|
||||
If there are no specifications you will get \SpecialChar LaTeX
|
||||
errors!
|
||||
errors.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -1390,10 +1390,6 @@ Button
|
||||
Style
|
||||
\end_layout
|
||||
|
||||
\begin_layout Text Field 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.
|
||||
@ -1426,7 +1422,7 @@ key "hyperref"
|
||||
print
|
||||
\emph default
|
||||
is always part of the definition.
|
||||
Otherwise the fields will not appear in the PDF.
|
||||
Otherwise the elements will not appear in the PDF.
|
||||
The defined style is applied to all elements following the definition.
|
||||
\end_layout
|
||||
|
||||
@ -1437,6 +1433,40 @@ Here are some examples:
|
||||
\begin_layout Text Field Style
|
||||
print, bordercolor=red, borderstyle=U, backgroundcolor=lightgray, color=lime,
|
||||
maxlen=10, align=2, charsize=16pt
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The parameter
|
||||
\series bold
|
||||
borderstyle
|
||||
\series default
|
||||
can be
|
||||
\series bold
|
||||
U
|
||||
\series default
|
||||
(underlined),
|
||||
\series bold
|
||||
S
|
||||
\series default
|
||||
(solid),
|
||||
\series bold
|
||||
D
|
||||
\series default
|
||||
(dashed),
|
||||
\series bold
|
||||
B
|
||||
\series default
|
||||
(bevel) or
|
||||
\series bold
|
||||
I
|
||||
\series default
|
||||
(inverted bevel).
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Check Box Style
|
||||
@ -1451,6 +1481,26 @@ print, bordercolor={0.33 0.66 0.33}, borderstyle=D
|
||||
|
||||
\begin_layout Popdown Box Style
|
||||
print, menulength=2
|
||||
\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
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Radio Box Style
|
||||
@ -1542,43 +1592,6 @@ Show border hover color for fields
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
The option
|
||||
\series bold
|
||||
borderstyle
|
||||
\series default
|
||||
can be
|
||||
\series bold
|
||||
U
|
||||
\series default
|
||||
(underlined),
|
||||
\series bold
|
||||
S
|
||||
\series default
|
||||
(solid),
|
||||
\series bold
|
||||
D
|
||||
\series default
|
||||
(dashed),
|
||||
\series bold
|
||||
B
|
||||
\series default
|
||||
(bevel) or
|
||||
\series bold
|
||||
I
|
||||
\series default
|
||||
(inverted bevel).
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
@ -1637,7 +1650,12 @@ number
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
2 of
|
||||
2 of the documentation of the \SpecialChar LaTeX
|
||||
package
|
||||
\series bold
|
||||
pifont
|
||||
\series default
|
||||
,
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "pifont"
|
||||
@ -1741,9 +1759,9 @@ status open
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Note
|
||||
Note:
|
||||
\series default
|
||||
that the options
|
||||
The parameters
|
||||
\series bold
|
||||
borderstyle B
|
||||
\series default
|
||||
@ -1808,6 +1826,47 @@ Sex:
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace defskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Note:
|
||||
\series default
|
||||
The parameters
|
||||
\series bold
|
||||
backgroundcolor
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
color
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
height
|
||||
\series default
|
||||
and
|
||||
\series bold
|
||||
width
|
||||
\series default
|
||||
have no effect for push, submit and reset buttons.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
As workaround use a colored box and/or color the box text.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Push button with a bevel border and colored text:
|
||||
\begin_inset VSpace defskip
|
||||
@ -1886,47 +1945,10 @@ Don't click on this button!!!
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace defskip
|
||||
\begin_inset VSpace bigskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Note
|
||||
\series default
|
||||
: The options
|
||||
\series bold
|
||||
backgroundcolor
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
color
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
height
|
||||
\series default
|
||||
and
|
||||
\series bold
|
||||
width
|
||||
\series default
|
||||
have no effect for push, submit and reset buttons.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
As workaround use a colored box and/or color the box text.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
@ -1958,11 +1980,11 @@ position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 1
|
||||
inner_pos "c"
|
||||
use_parbox 1
|
||||
use_makebox 0
|
||||
width "5cm"
|
||||
use_parbox 0
|
||||
use_makebox 1
|
||||
width "6cm"
|
||||
special "none"
|
||||
height "4in"
|
||||
height "1in"
|
||||
height_special "totalheight"
|
||||
thickness "0.4pt"
|
||||
separation "3pt"
|
||||
@ -1971,6 +1993,25 @@ framecolor "black"
|
||||
backgroundcolor "cyan"
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
\begin_inset Box Frameless
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
has_inner_box 1
|
||||
inner_pos "c"
|
||||
use_parbox 1
|
||||
use_makebox 0
|
||||
width "4.5cm"
|
||||
special "none"
|
||||
height "4in"
|
||||
height_special "totalheight"
|
||||
thickness "0.4pt"
|
||||
separation "3pt"
|
||||
shadowsize "4pt"
|
||||
framecolor "black"
|
||||
backgroundcolor "none"
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Send your data via mail
|
||||
\end_layout
|
||||
@ -1983,6 +2024,11 @@ Send your data via mail
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset VSpace bigskip
|
||||
\end_inset
|
||||
|
||||
@ -2057,12 +2103,12 @@ Reset the form
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
PDF viewer action buttons
|
||||
PDF action buttons
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
One often needs basic actions to be done by the PDF viewer program.
|
||||
For example to print the form.
|
||||
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
|
||||
\family sans
|
||||
@ -2341,7 +2387,15 @@ To customize the border color, border thickness and the distance to the
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
pt thick, teal border:
|
||||
pt thick, teal border and 3
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
pt border separation :
|
||||
\begin_inset VSpace defskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
@ -2453,7 +2507,7 @@ Note:
|
||||
\series bold
|
||||
pdfborder
|
||||
\series default
|
||||
affects all link types, not only the menu links.
|
||||
affects all link types, not only the action links.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -2678,12 +2732,12 @@ pdfborder={0 0 1}, menubordercolor={1 0 0}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Dynamic form fields
|
||||
Dynamic form elements
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
It is also possible to have dynamic form fields.
|
||||
This means that depending on the actions of the user fields can (dis)appear
|
||||
It is also possible to have dynamic form elements.
|
||||
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:
|
||||
\end_layout
|
||||
@ -3191,12 +3245,6 @@ General notes
|
||||
Submitting and applying data requires that all form elements have a name.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
All braces, brackets, backslashes and quote characters in form parameters
|
||||
must be inserted as \SpecialChar TeX
|
||||
code!
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Creating a PDF form requires pdflatex or lualatex.
|
||||
Use therefore either the \SpecialChar LyX
|
||||
|
@ -3,7 +3,7 @@
|
||||
\begin_document
|
||||
\begin_header
|
||||
\save_transient_properties true
|
||||
\origin unavailable
|
||||
\origin /systemlyxdir/examples/de/
|
||||
\textclass scrartcl
|
||||
\begin_preamble
|
||||
% used to check for needed LaTeX packages
|
||||
@ -26,10 +26,10 @@
|
||||
this.delay = true;
|
||||
if((event.value == "u") || (event.value == "unbefristet")) {
|
||||
this.getField("von").display = display.hidden;
|
||||
this.getField("an").display = display.hidden;
|
||||
this.getField("bis").display = display.hidden;
|
||||
} else {
|
||||
this.getField("von").display = display.visible;
|
||||
this.getField("an").display = display.visible;
|
||||
this.getField("bis").display = display.visible;
|
||||
this.getField("von").setFocus();
|
||||
}
|
||||
this.delay = false;
|
||||
@ -147,7 +147,6 @@ pdfform
|
||||
\begin_body
|
||||
|
||||
\begin_layout Begin PDF Form
|
||||
|
||||
\begin_inset Argument 1
|
||||
status open
|
||||
|
||||
@ -180,7 +179,7 @@ insdljs
|
||||
\series default
|
||||
installiert sein.
|
||||
Wenn es nicht installiert ist, kann das Dokument zwar exportiert werden,
|
||||
aber das Beispiel im Abschnitt über dynamische Formularfelder wird nicht
|
||||
aber das Beispiel im Abschnitt über dynamische Formularelemente wird nicht
|
||||
in der Ausgabe erscheinen.
|
||||
\end_layout
|
||||
|
||||
@ -227,8 +226,8 @@ PDF
|
||||
|
||||
Formular
|
||||
\family default
|
||||
zu Beginn des Dokuments ein.Wenn nur ein Teil des Dokuments ein Formular
|
||||
werden soll, fügen Sie
|
||||
zu Beginn des Dokuments ein.
|
||||
Wenn nur ein Teil des Dokuments ein Formular werden soll, fügen Sie
|
||||
\family sans
|
||||
Beginne
|
||||
\begin_inset space ~
|
||||
@ -300,7 +299,7 @@ Dies sendet die Formulardaten als Email an
|
||||
\emph on
|
||||
formular@lyx.test
|
||||
\emph default
|
||||
wenn der Nutzer den den Sende-Knopf drückt.
|
||||
wenn der Nutzer den den Sendeknopf drückt.
|
||||
Der Email-Betreff wird
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
@ -309,7 +308,7 @@ Das gesendete PDF-Formular
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
sein und die Sende-Methode ist
|
||||
sein und die Sendemethode ist
|
||||
\series bold
|
||||
post
|
||||
\series default
|
||||
@ -340,7 +339,7 @@ reference "subsec:Sendeknopf"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Formularfelder
|
||||
Formularelemente
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -395,8 +394,8 @@ Geben Sie hier Ihren Namen ein:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Man muss Textfeldern einen Namen geben: Setzen Sie den Cursor in die Einfügung
|
||||
|
||||
Man muss Textfeldern einen Namen geben.
|
||||
Setzen Sie dazu den Cursor in die Einfügung
|
||||
\family sans
|
||||
Parameter
|
||||
\family default
|
||||
@ -424,7 +423,7 @@ Hier sind 2
|
||||
\end_inset
|
||||
|
||||
Felder als Beispiel: Füllen Sie eins und sehen, dass das andere automatisch
|
||||
auch gefüllt wird, sobald Sie außerhalb des Feldes klicken:
|
||||
gefüllt wird, sobald Sie außerhalb des Feldes klicken:
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
@ -522,7 +521,7 @@ status open
|
||||
\begin_layout Plain Layout
|
||||
name=Kunde2, multiline, width=0.6
|
||||
\backslash
|
||||
textwidth, height=3cm, value={Testmann}
|
||||
textwidth, height=3cm, value={vorgeschlagener Text}
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -544,8 +543,8 @@ status open
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Es wird dringend empfohlen, ein einheitliches Aussehen aller Felder in
|
||||
einem Formular zu verwenden.
|
||||
Es wird dringend empfohlen, dass alle Felder in einem Formular einheitliches
|
||||
aussehen.
|
||||
Siehe Kap.
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
@ -570,13 +569,13 @@ Checkbox
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Eine Checkbox wird eingefügt, indem man die benutzerdefinierte Einfügung
|
||||
Eine Checkbox wird erstellt, indem man die benutzerdefinierte Einfügung
|
||||
|
||||
\family sans
|
||||
CheckBox
|
||||
\family default
|
||||
einfügt.
|
||||
Die Beschriftung für den Knopf wird in die Einfügung geschrieben.
|
||||
Die Beschriftung für die Box wird in die Einfügung geschrieben.
|
||||
Hier ist ein Beispiel:
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
@ -639,14 +638,10 @@ Auswahlmenü
|
||||
Eine Beschriftung für das Auswahlmenü wird über das Menü
|
||||
\family sans
|
||||
Einfügen\SpecialChar menuseparator
|
||||
Marke
|
||||
Beschriftung
|
||||
\family default
|
||||
eingefügt.
|
||||
Schreiben Sie die Beschriftung in diese Einfügung.
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
Die verschiedenen Auswahlen werden in die Einfügung als Komma-getrennte
|
||||
Die verschiedenen Auswahlen werden in die Einfügung als Komma-getrennte
|
||||
Liste eingegeben.
|
||||
Es gibt 3
|
||||
\begin_inset space ~
|
||||
@ -665,9 +660,9 @@ Combo Die Auswahlen werden in einer Combobox gelistet aber der Nutzer kann
|
||||
\end_layout
|
||||
|
||||
\begin_layout Description
|
||||
Popdown All Auswahlen sind übereinander gelistet.
|
||||
Wenn das Feld nicht groß genug ist, wir automatisch eine Bildlaufleiste
|
||||
zum Feld hinzugefügt..
|
||||
Popdown Alle Auswahlen sind übereinander gelistet.
|
||||
Wenn das Menü nicht groß genug ist, wir automatisch eine Bildlaufleiste
|
||||
hinzugefügt.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -832,7 +827,7 @@ Parameter
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Es wird empfohlen für jede Auswahl einen kurzen Namen zu vergeben, um auf
|
||||
Es wird empfohlen, für jede Auswahl einen kurzen Namen zu vergeben, um auf
|
||||
sie zugreifen zu können und um zu wissen, welche vom Nutzer ausgewählt
|
||||
wurde.
|
||||
Dazu fügt man
|
||||
@ -924,7 +919,7 @@ Taste
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Ein Taste wird hinzugefügt, indem die benutzerdefinierte Einfügung
|
||||
Ein Taste wird erstellt, indem die benutzerdefinierte Einfügung
|
||||
\family sans
|
||||
Taste
|
||||
\family default
|
||||
@ -989,7 +984,15 @@ status collapsed
|
||||
\end_inset
|
||||
|
||||
Was zur Hölle? Nun haben Sie Ihren Kühlschrank zerstört.
|
||||
Glückwunsch.
|
||||
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
Glückwunsch.
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset ERT
|
||||
status collapsed
|
||||
|
||||
@ -1057,9 +1060,9 @@ status open
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Alle Anführungszeichen in Formularparametern müssen als \SpecialChar TeX
|
||||
-Code eingefügt
|
||||
werden!
|
||||
Die äußeren Anführungszeichen gehören zum JavaScript-Code und müssen als
|
||||
\SpecialChar TeX
|
||||
-Code eingefügt werden!
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -1069,11 +1072,8 @@ Achtung:
|
||||
|
||||
\begin_layout Standard
|
||||
Eine typische Anwendung für Tasten ist, einen Weblink zu öffnen.
|
||||
Solch eine Taste wird erstellt, indem man einen Hyperlink in die
|
||||
\family sans
|
||||
Taste
|
||||
\family default
|
||||
Einfügung einfügt.
|
||||
Solch eine Taste wird erstellt, indem man einen Hyperlink als Tastentext
|
||||
einfügt.
|
||||
Hier ist ein Beispiel:
|
||||
\end_layout
|
||||
|
||||
@ -1108,8 +1108,8 @@ target "http://wiki.lyx.org"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Um den speziellen Rahmen für Weblinks zu entfernen, fügen Sie dies zu den
|
||||
zusätzlichen Optionen in den Dokumenteinstellungen unter
|
||||
Um den voreingestellten Rahmen für Weblinks zu entfernen, fügen Sie dies
|
||||
zu den zusätzlichen Optionen in den Dokumenteinstellungen unter
|
||||
\family sans
|
||||
PDF-Eigenschaften
|
||||
\family default
|
||||
@ -1140,7 +1140,7 @@ name "subsec:Sendeknopf"
|
||||
|
||||
\begin_layout Standard
|
||||
Ein Sendeknopf wird verwendet, um die Formulardaten an einen Server zu schicken.
|
||||
Er wird eingefügt, indem man die benutzerdefinierte Einfügung
|
||||
Er wird erstellt, indem man die benutzerdefinierte Einfügung
|
||||
\family sans
|
||||
Sendeknopf
|
||||
\family default
|
||||
@ -1175,8 +1175,8 @@ Ihre Daten als Email senden
|
||||
Der Sendeknopf erzeugt eine Formulardaten-Datei (FDF) (Dateinamenserweiterung
|
||||
*.fdf), die dann gesendet wird.
|
||||
Die FDF-Datei enthält nur die Formulardaten.
|
||||
Sie können nur in ein Formular gegeben werden, wenn alle Formularelemente
|
||||
einen Namen haben.
|
||||
Sie können später nur dann in ein Formular gegeben werden, wenn alle Formularel
|
||||
emente einen Namen haben.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
@ -1188,8 +1188,8 @@ status open
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Sie können einen Sendeknopf nur verwenden, wenn Sie eine Sende-Methode
|
||||
und ein Ziel in der Einfügung
|
||||
Sie können einen Sendeknopf nur verwenden, wenn Sie eine Sendemethode und
|
||||
ein Ziel in der Einfügung
|
||||
\family sans
|
||||
PDF-Formular-Parameter
|
||||
\family default
|
||||
@ -1206,7 +1206,7 @@ reference "sec:Vorbereitung"
|
||||
|
||||
für die Beschreibung.
|
||||
Gibt es keine Angaben, werden Sie \SpecialChar LaTeX
|
||||
-Fehler bekommen!
|
||||
-Fehler bekommen.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -1221,7 +1221,7 @@ Zurücksetzknopf
|
||||
\begin_layout Standard
|
||||
Ein Zurücksetzknopf wird verwendet, um alle Formularelemente auf den initialen
|
||||
Status zurückzusetzen.
|
||||
Er wird eingefügt, indem man die benutzerdefinierte Einfügung
|
||||
Er wird erstellt, indem man die benutzerdefinierte Einfügung
|
||||
\family sans
|
||||
Zurücksetzknopf
|
||||
\family default
|
||||
@ -1264,7 +1264,7 @@ name "sec:Anpassung-der-Formularelemente"
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Da alle Formularelemente einheitlich aussehen sollten, dann man ihren Stil
|
||||
Da alle Formularelemente einheitlich aussehen sollten, kann man ihr Aussehen
|
||||
mit den folgenden Stilen festlegen:
|
||||
\end_layout
|
||||
|
||||
@ -1304,10 +1304,6 @@ Sendeknopf-Stil
|
||||
Zurücksetzknopf-Stil
|
||||
\end_layout
|
||||
|
||||
\begin_layout Text Field Style
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Der Inhalt der Stile ist eine Komma-getrennte Liste von Parametern.
|
||||
Die möglichen Parameter sind in Kap.
|
||||
@ -1315,11 +1311,15 @@ Der Inhalt der Stile ist eine Komma-getrennte Liste von Parametern.
|
||||
\end_inset
|
||||
|
||||
6.2
|
||||
\begin_inset Quotes eld
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang english
|
||||
Forms optional parameters
|
||||
\begin_inset Quotes erd
|
||||
\lang ngerman
|
||||
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
der Dokumentation des \SpecialChar LaTeX
|
||||
@ -1350,45 +1350,91 @@ Hier sind einige Beispiele:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Text Field Style
|
||||
|
||||
print, bordercolor=red, borderstyle=U, backgroundcolor=lightgray, color=lime,
|
||||
maxlen=10, align=2, charsize=16pt
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Der Parameter
|
||||
\series bold
|
||||
borderstyle
|
||||
\series default
|
||||
kann
|
||||
\series bold
|
||||
U
|
||||
\series default
|
||||
(unterstrichen),
|
||||
\series bold
|
||||
S
|
||||
\series default
|
||||
(durchgezogen),
|
||||
\series bold
|
||||
D
|
||||
\series default
|
||||
(gestrichelt),
|
||||
\series bold
|
||||
B
|
||||
\series default
|
||||
(geschrägt) oder
|
||||
\series bold
|
||||
I
|
||||
\series default
|
||||
(umgekehrt geschrägt) sein.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Check Box Style
|
||||
|
||||
print, borderstyle=S, checkboxsymbol=
|
||||
\backslash
|
||||
ding{55}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Combo Box Style
|
||||
|
||||
print, bordercolor={0.33 0.66 0.33}, borderstyle=D
|
||||
\end_layout
|
||||
|
||||
\begin_layout Popdown Box Style
|
||||
|
||||
print, menulength=2
|
||||
\begin_inset Note Note
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Der Parameter
|
||||
\series bold
|
||||
menulength
|
||||
\series default
|
||||
legt die Anzahl an angezeigten Menüeinträgen fest.
|
||||
Aufgrund eines Fehlers im \SpecialChar LaTeX
|
||||
-Pakets
|
||||
\series bold
|
||||
hyperref
|
||||
\series default
|
||||
funktioniert er momentan nicht.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Radio Box Style
|
||||
|
||||
print, borderstyle=I, radiosymbol=3
|
||||
\end_layout
|
||||
|
||||
\begin_layout Push Button Style
|
||||
|
||||
print, borderstyle=B, bordercolor=lime
|
||||
\end_layout
|
||||
|
||||
\begin_layout Submit Button Style
|
||||
|
||||
print, borderwidth=0, bordercolor=white
|
||||
\end_layout
|
||||
|
||||
\begin_layout Reset Button Style
|
||||
|
||||
print, bordercolor=lime
|
||||
\end_layout
|
||||
|
||||
@ -1465,44 +1511,6 @@ Randfarbe für Felder bei Mauskontakt anzeigen
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
Die Option
|
||||
\series bold
|
||||
borderstyle
|
||||
\series default
|
||||
kann
|
||||
\series bold
|
||||
U
|
||||
\series default
|
||||
(unterstrichen),
|
||||
\series bold
|
||||
S
|
||||
\series default
|
||||
(durchgezogen),
|
||||
\series bold
|
||||
D
|
||||
\series default
|
||||
(gestrichelt),
|
||||
\series bold
|
||||
B
|
||||
\series default
|
||||
(geschrägt) oder
|
||||
\series bold
|
||||
I
|
||||
\series default
|
||||
(umgekehrt geschrägt) sein.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
@ -1561,14 +1569,19 @@ Nummer
|
||||
\begin_inset space ~
|
||||
\end_inset
|
||||
|
||||
2 von
|
||||
2 der Dokumentation des \SpecialChar LaTeX
|
||||
-Pakets
|
||||
\series bold
|
||||
pifont
|
||||
\series default
|
||||
aufgelistet sind,
|
||||
\begin_inset CommandInset citation
|
||||
LatexCommand cite
|
||||
key "pifont"
|
||||
|
||||
\end_inset
|
||||
|
||||
aufgelistet sind.
|
||||
.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
@ -1667,7 +1680,7 @@ status open
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Die Optionen
|
||||
Die Parameter
|
||||
\series bold
|
||||
borderstyle B
|
||||
\series default
|
||||
@ -1732,6 +1745,48 @@ Geschlecht:
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace defskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Die Parameter
|
||||
\series bold
|
||||
backgroundcolor
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
color
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
height
|
||||
\series default
|
||||
und
|
||||
\series bold
|
||||
width
|
||||
\series default
|
||||
haben keinen Effekt für Tasten, Sende- und Zurücksetzknöpfe.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Stattdessen kann man eine farbige Box und/oder farbigen Text in einer Box
|
||||
verwenden.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Taste mit geschrägtem Rand und farbigem Text:
|
||||
\begin_inset VSpace defskip
|
||||
@ -1810,48 +1865,10 @@ Nicht auf diese Taste klicken!!!
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset VSpace defskip
|
||||
\begin_inset VSpace bigskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Note Greyedout
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\series bold
|
||||
Achtung:
|
||||
\series default
|
||||
Die Optionen
|
||||
\series bold
|
||||
backgroundcolor
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
color
|
||||
\series default
|
||||
,
|
||||
\series bold
|
||||
height
|
||||
\series default
|
||||
und
|
||||
\series bold
|
||||
width
|
||||
\series default
|
||||
haben keinen Effekt für Tasten, Sende- und Zurücksetzknöpfe.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Stattdessen kann man einen farbige Box und/oder farbigen Text in einer Box
|
||||
verwenden.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
@ -1878,6 +1895,25 @@ name=senden2
|
||||
\end_inset
|
||||
|
||||
|
||||
\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
|
||||
\begin_inset Box Frameless
|
||||
position "c"
|
||||
hor_pos "c"
|
||||
@ -1893,7 +1929,7 @@ thickness "0.4pt"
|
||||
separation "3pt"
|
||||
shadowsize "4pt"
|
||||
framecolor "black"
|
||||
backgroundcolor "cyan"
|
||||
backgroundcolor "none"
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
@ -1908,6 +1944,11 @@ Ihre Daten als Email senden
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset VSpace bigskip
|
||||
\end_inset
|
||||
|
||||
@ -1972,17 +2013,24 @@ Formular zurücksetzen
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
\begin_inset Newpage newpage
|
||||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
PDF-Betrachter Aktionsknöpfe
|
||||
PDF-Aktionsknöpfe
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Man benötigt oft, dass das PDF-Betrachtungsprogramm grundlegende Funktionen
|
||||
ausführt.
|
||||
Zum Beispiel, das Drucken des Formulars.
|
||||
Solche PDF-Programm-spezifischen Funktionen können ausgelöst werden, indem
|
||||
ausführt, zum Beispiel das Drucken des Formulars.
|
||||
Solche PDF-Programm-spezifi\SpecialChar softhyphen
|
||||
schen Funktionen können ausgelöst werden, indem
|
||||
man die benutzerdefinierte Einfügung
|
||||
\family sans
|
||||
PDF-Aktion
|
||||
@ -2013,11 +2061,15 @@ Aktion
|
||||
\end_inset
|
||||
|
||||
5
|
||||
\begin_inset Quotes eld
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
|
||||
\lang english
|
||||
Acrobat-specific behavior
|
||||
\begin_inset Quotes erd
|
||||
\lang ngerman
|
||||
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
der Dokumentation des \SpecialChar LaTeX
|
||||
@ -2237,7 +2289,6 @@ Formular speichern unter
|
||||
\end_layout
|
||||
|
||||
\begin_layout PDF Link Setup
|
||||
|
||||
pdfborder={0 0 0}
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
@ -2259,7 +2310,15 @@ Um die Randfarbe, -dicke und den Abstand zum Rand anzupassen, ändert man
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
pt dickem, blaugrünem Rand:
|
||||
pt dickem, blaugrünem Rand und 3
|
||||
\begin_inset space \thinspace{}
|
||||
\end_inset
|
||||
|
||||
pt Rahmenabstand:
|
||||
\begin_inset VSpace defskip
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
@ -2360,7 +2419,7 @@ Achtung:
|
||||
\series bold
|
||||
pdfborder
|
||||
\series default
|
||||
betrifft alle Linktypen, nicht nur Menülinks.
|
||||
betrifft alle Linktypen, nicht nur Aktionslinks.
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -2369,7 +2428,6 @@ pdfborder
|
||||
\end_layout
|
||||
|
||||
\begin_layout PDF Link Setup
|
||||
|
||||
pdfborder={0 0 4}
|
||||
\end_layout
|
||||
|
||||
@ -2461,7 +2519,6 @@ menubordercolor
|
||||
\end_layout
|
||||
|
||||
\begin_layout PDF Link Setup
|
||||
|
||||
pdfborder={0 0 1}, menubordercolor={0.1 0.9 0.5}
|
||||
\end_layout
|
||||
|
||||
@ -2527,7 +2584,6 @@ Um die Hintergrundfarbe zu ändern, verwendet man eine farbige Box.
|
||||
\end_layout
|
||||
|
||||
\begin_layout PDF Link Setup
|
||||
|
||||
pdfborder={0 0 0}
|
||||
\end_layout
|
||||
|
||||
@ -2585,18 +2641,17 @@ Formular speichern unter
|
||||
\end_layout
|
||||
|
||||
\begin_layout PDF Link Setup
|
||||
|
||||
pdfborder={0 0 1}, menubordercolor={1 0 0}
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
Dynamische Formularfelder
|
||||
Dynamische Formularelemente
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Es ist auch möglich dynamische Formularfelder zu haben.
|
||||
Das bedeutet, dass je nachdem, was der Nutzer macht, Felder verschwinden/ersche
|
||||
inen oder ihr Aussehen verändern können.
|
||||
Es ist auch möglich dynamische Formularelemente zu haben.
|
||||
Das bedeutet, dass je nachdem, was der Nutzer macht, Elemente verschwinden/ersc
|
||||
heinen oder ihr Aussehen verändern können.
|
||||
Um dieses Feature zu nutzen, fügen Sie diese Zeilen zu Ihrem LaTeX-Vorspann
|
||||
hinzu:
|
||||
\end_layout
|
||||
@ -2705,7 +2760,7 @@ begin{insDLJS}[exaaae]{exaaae}{JavaScript}
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
this.getField("an").display = display.hidden;
|
||||
this.getField("bis").display = display.hidden;
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
@ -2720,7 +2775,7 @@ begin{insDLJS}[exaaae]{exaaae}{JavaScript}
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
this.getField("an").display = display.visible;
|
||||
this.getField("bis").display = display.visible;
|
||||
\end_layout
|
||||
|
||||
\begin_layout Plain Layout
|
||||
@ -2902,7 +2957,7 @@ name=von,width=10em
|
||||
\begin_inset Text
|
||||
|
||||
\begin_layout Plain Layout
|
||||
An:
|
||||
Bis:
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -2919,7 +2974,7 @@ status open
|
||||
status open
|
||||
|
||||
\begin_layout Plain Layout
|
||||
name=an,width=10em
|
||||
name=bis,width=10em
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -3085,7 +3140,6 @@ fi
|
||||
\end_layout
|
||||
|
||||
\begin_layout End PDF Form
|
||||
|
||||
\begin_inset Note Note
|
||||
status open
|
||||
|
||||
@ -3107,12 +3161,6 @@ Das Senden und Anwenden von Daten setzt voraus, dass alle Formularelemente
|
||||
Namen haben.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Alle geschweiften und eckigen Klammern, Backslashs und Anführungszeichen
|
||||
in Formular-Parametern müssen als \SpecialChar TeX
|
||||
-code eingegeben werden!
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
Ein PDF-Formular zu erstellen, benötigt pdflatex oder lualatex.
|
||||
Verwenden Sie daher die \SpecialChar LyX
|
||||
|
Loading…
Reference in New Issue
Block a user