Create a fillable form in Writer - LibreOffice 6
Page in Work!
- 1 Foreword
- 2 Link to the video
- 3 Create a sales contract form
- 4 Use existing document for the form
- 5 Controls (fillable fields) insert
- 6 Save document
- 7 Export PDF / Save
- 8 Fill out the PDF form
- 9 Additional Information
- 10 Used working documents
- 11 Dependence of the height of the fields on the font size
This description refers to the version LibreOffice 6.
The video ″Ein ausfüllbares Formular erstellen V6″-[DE] ("Create a fillable form V6") links to this page here for more information and details.
The document used in the video can be downloaded here.
Link to the video
Link to the video [in German DE]: "Ein ausfüllbares Formular erstellen in Writer - LibreOffice 6"
Create a sales contract form
LibreOffice 6 - Create a purchase contract as a fillable form in Writer as ODT and export to PDF for use.
Use existing document for the form
To show how to create a fillable form, we take a ready-made ODT file Bill of sale about used item_V6.odt.
The captions and required text passages have already been created in this file.
The contained "framed boxes" are all tables.
Controls (fillable fields) insert
In Writer we can now insert so-called controls in the open file.
To do this we select the menu▸ ▸ and get the toolbar, see picture right:
Here the text field is often used - Beispiel: Textfeld.
This switches to the "Edit form fields" or "View form fields" work mode.
If the control icons are greyed out, click on "Design Mode" toggle.
The cursor changes its appearance, becomes a crosshair with a small rectangle next to it.
We position the crosshairs on the imaginary upper left corner of the text field to be created.
Holding down the left mouse button, we open a text box and let go.
In the sidebar, click the "Sidebar Settings" icon to make the properties sidebar visible).
There the width and height of the text field can be adjusted, if the text field was raised and marked.
Double-clicking on the text field opens the Dialog box "Properties: Text Box".
Here also the width and height can be set, as well as further specifications for the text field are made.
For our form we set the height of all text fields to 0.60 cm.
The width is adapted to the circumstances.
For the given height of 0.60 cm the font "Calibri" and a font size of 9 pt are set.
In order to avoid having to adjust all values for the text fields, we copy the inserted text field and insert the next placeholder.
For a clear assignment of the text fields, the name of the text field should be changed (for example: text field 1, text field 2, text field 3, etc.).
So now all required text fields are inserted and possibly even in width still adapted.
Here are the entries for the text fields:
|Entries for :||Text field 1 bis 12||Text field 13 bis 16||Text field 17 bis 19||Text field 20 bis 22||Text field 23 bis 25||Text field 26||Text field 27 bis 29|
|Width||8,00 cm||13,60 cm||16,60 cm||16,60 cm||16,60 cm||13,60 cm||6,60 cm|
|Height||0,60 cm||0,60 cm||0,60 cm||0,60 cm||0,60 cm||0,60 cm||0,60 cm|
This is required for the stated EURO amounts (shown in numbers, for example "200.00").
This excludes that a text is entered from provided.
We also adjust the numerical fields in height, width and font, like the text fields in the Dialog box: "Properties: Numeric Field".
Here the orientation is set to "Left".
Here are the entries for the numerical fields:
|Entries for:||Numeric field 1||Numeric field 2|
|Width||5,20 cm||5,20 cm|
|Height||0,60 cm||0,60 cm|
Furthermore, we still need three date fields.
The further adjustments in the dialog box:
"Properties: Date Field" we take, as stated above, before.
Alignment here also "left".
For the "date format" we indicate in the dialog box "DD/MM/YYYY".
Here are the other entries for the date fields:
|Entries for:||Date field 1||Date field 2||Date field 3|
|Width||6,60 cm||6,60 cm||6,60 cm|
|Höeight||0,60 cm||0,60 cm||0,60 cm|
After all fields have been inserted, the document must now be saved under a new name if possible, for example: "Bill of sale about used item_V6 - fillable.odt".
Export PDF / Save
In the next step, we conclude with Writer▸ ▸ .
In the Dialog box that opens "PDF Options" be careful that at a check mark is placed.
We click on.
In the following Dialogue box "Export" we select our storage location, enter a name and click on.
Now we can close Writer.
Fill out the PDF form
We now open the exported PDF file (see: Used working documents) and can now fill out the form.
After the completed filling it is essential to save the PDF file under a new name, e.g. "My completed form".
The Form Controls and Other Controls toolbars let you choose from a variety of controls:
- Text Box
- Check Box
- Option Button
- List Box
- Combo Box
- Push Button
- Image Button
- Formatted Field
- Date Field
- Numeric Field
- Group Box
Select from the Form Controls toolbar the Symbol "More Controls". You have in the "More Controls"-toolbar any other choses.
- Time Field
- Currency Field
- Pattern Field
- Navigation Bar
- Imagel Control
- File Selection
And select from the "More Controls" toolbar, click the down arrow "▼". And you have any other choses.
- Spin Button
Used working documents
working document used
Notes on the forms used here
Please note: As the basis of this form the form "Allgemeiner Kaufvertrag von privat" of markt.de was used and can be downloaded for free by anyone.
Please refer: http://www.markt.de/contentId,AllgemeinerKaufvertrag/inhalt.htm there at "Allgemeiner Kaufvertrag von privat - Muster zum Download".
The form used here is only a demonstration of how fillable forms can be created in LibreOffice.
Dependence of the height of the fields on the font size
When using the control fields, make sure that there is a dependency between font size and type with the field height.
In our example of use, the font "Calibri" and font size of "9 point" were used for the "Text fields", "Numeric fields" and "Date fields".
Some combinations with font size and type and field height
Examples, see picture: Size combinations for text fields
The values do not always agree 100%.
If in doubt, a test with the desired combination of font, size, etc. should be carried out beforehand.
Übersetzung Datei > Translation file | DE > EN : Wolfgang J.