Beschreibung
Der ActionHandler MergePDFDocumentsHandler führt alle PDF-Dokumente, die an eine Prozessinstanz angehängt sind, in einem Dokument zusammen und entfernt möglicherweise die Originaldokumente.
Wenn ein Original-PDF Formularelemente enthält, werden diese vor dem Zusammenführen deaktiviert und in normale, einfache, nicht bearbeitbare PDFs konvertiert. Der Inhalt der Formularfelder wird als normaler Text an das endgültige PDF übergeben.
...
Description
The ActionHandler MergePDFDocumentsHandler merges all PDF documents attached to a process instance into one document and may remove the original documents.
If an original PDF contains form elements, they are deactivated before the merging process and converted to normal, plain, non-editable PDFs. The content of the form fields are passed to the final PDF as normal text.
...
Class
Code Block |
---|
com.dooris.bpm.actionhandler.MergePDFDocumentHandler |
Parameter
Parameter name |
---|
Default value |
---|
Description |
---|
Valid examples |
---|
|
Enthält den Namen der neu erstellten Seriendruckdokumente.
testReport
addTimestampToDescription
false
Boolescher Wert (true/false). Fügt einen Zeitstempel in das Dokument ein.
true
overwriteExisting
false
Boolescher Wert (true/false). Soll ein vorhandenes Dokument mit dem gleichen Namen wie das generierte Dokument überschrieben werden?
Wenn dieser Wert auf false gesetzt ist, werden alle aktuell angehängten PDF-Dateien zusammengeführt (einschließlich derer, die bereits zusammengeführt wurden). Wenn das bereits zusammengeführte Dokument nicht erneut zusammengeführt werden soll, kann der Parameter excludedDocuments verwendet werden.
Bei Festlegung auf true werden alle aktuell angehängten PDF-Dateien, die noch nicht zusammengeführt wurden, zusammengeführt. Dokumente, die bereits zusammengeführt wurden, werden nicht erneut zusammengeführtThis parameter is used to set the name of the newly created merged documents. |
| ||
|
| This parameter is used to decide if an existing document with the same name as the generated document should be overwritten. If set to false, all currently-attached PDF files will be merged (including those that have already been merged). If the document that has already been merged should not be merged again, the parameter If set to true, all currently-attached PDF files that have not already been merged will be merged. Documents that have already been merged will not be merged again. |
|
|
| This parameter is used to insert a time stamp to the document. It will insert a timestamp if it is set to |
|
|
|
Boolescher Wert (true/false). Soll die Reihenfolge im neuen Beleg durch den Namen der zu bearbeitenden Dokumente bestimmt werden?
Wenn auf false gesetzt, werden die Dokumente entsprechend dem Erstellungsdatum angehängt. Das älteste Dokument wird ganz am Anfang stehen.
false
excludedDocuments
Gibt es Dokumente, die von der Zusammenführung ausgeschlossen werden sollen?
Angebot
Beispielsweise werden alle Dokumente mit "Angebot" im Dateinamen vom Zusammenführungsprozess ausgeschlossen
sortChronological
true
Dieser Parameter wird nur berücksichtigt, wenn der Parameter sortDocuments auf false festgelegt ist.
Wenn sortChronological auf true festgelegt ist, werden die ältesten Dokumente ganz am Anfang und die neuesten Dokumente am Ende des Dokuments eingefügt.
Wenn sortChronological auf false festgelegt ist, wird die Situation umgekehrt, und die neuesten Dokumente werden ganz am Anfang und die ältesten Dokumente am Ende des Dokuments eingefügtThis parameter is used to decide if the order in the new document be determined by the name of the documents to be processed. It will sort the documents by their name if it is set to If it is set to |
| ||
|
| This parameter is only considered if the parameter If If |
|
|
|
This parameter is used to decide if the attached .docx, .pptx |
and .xlsx |
files should be converted to PDFs, and be included in the merging process. |
|
deleteOriginalOfficeFiles
true
|
|
Boolescher Wert (true/false). Sollten konvertierte .docx-, .pptx- und .xlsx Dateien gelöscht werden?
This parameter is used to decide if the attached .txt files should be converted to PDFs, and be included in the merging process. | |||||
|
| This parameter is used to decide if the attached .csv files should be converted to PDFs, and be included in the merging process. | |||
|
| This parameter is used to decide if the original .docx, .pptx, .xlsx files that are used for the merge should be deleted. |
| ||
|
| This parameter is used to decide if the original files that are used for the merge should be deleted.
|
| ||
|
| This parameter is used to set a specific string to exclude the documents which contain this string value in their names. |
All documents with "Offer" in the file name are excluded from the merging process |