Wiki source code of Word (Fill)


Show last authors
1 {{figure image="word_fill_en.png" clear="h1"}}
2 Configuration UI of //Word (Fill)// actions. The resource file is a //Word document//. The output file is a //PDF document//.
3 {{/figure}}
4
5 {{info}}
6 When a PDF document is generated: To display symbols such as bullet points properly, you may have to install a matching font on the server. (Windows: [[Symbol Font>>url:https://docs.microsoft.com/en-us/typography/font-list/symbol||target="_blank"]], Debian: [[fonts-opensymbol>>url:https://packages.debian.org/bullseye/fonts-opensymbol||target="_blank"]]). Also make sure you do not have any fallback fonts installed that provide no or bad glyphs for these symbol (e.g. //ttf-unitfont// for Debian).
7 {{/info}}
8
9 Actions of type //Word (Fill)// allows the user to fill an existing //Word document// with the data of a submitted form and create a new //Word// or //PDF// document from it.
10
11 For this to work, the Word document needs to be prepared beforehand, see the help pages on [[how to prepare a Word document>>doc:PreparationWord]].
12
13 == Details for Word fill ==
14
15 ; File
16 : The type of file to be used. Available options are [[form files>>Formcycle.UserInterface.MyForms.Files]], [[client files>>Formcycle.UserInterface.FilesAndTemplates.Files]], or external resources allowing you to retrieve data from a URL.
17 ; Ressource URL
18 : The URL with the external resource to load
19 ; Output file name
20 : The file name of the Word document to be generated. Please note that the file name extension pdf (output as PDF document) or docx (output as Word document) determines the type of file, i.e. it must end in //.pdf //or //.doc// or //.docx//. It is also possible to create other formats such as HTML, XML, etc. Basically everything can be used as a Word document can be saved.
21
22 == Storage options for the created files ==
23
24 ; Attach file to form record
25 : If this option is selected, files created in this action will be attached to the form record. Otherwise, they are only available for other actions within the workflow processing in the same state.