Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Parametername

Parameter name

Standardwert

Default value

Beschreibung

Description

Gültige Beispiele

Valid examples

mergeDocumentName

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ührt

This parameter is used to set the name of the newly created merged documents.

testReport

overwriteExisting

false

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 excludedDocuments can be used. 

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.

true

addTimestampToDescription

false

This parameter is used to insert a time stamp to the document. It will insert a timestamp if it is set to true.

true

sortDocuments

false

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ügt

This 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 true.

If it is set to false, the documents will be attached in accordance with the date of creation. The oldest document will come at the very beginning.

false

sortChronological

true

This parameter is only considered if the parameter sortDocuments is set to false.

If sortChronological is set to true, the oldest documents will be inserted at the very beginning and the newest documents will be inserted at the end of the document.

If sortChronological is set to false, the situation is reversed and the newest documents will be inserted at the very beginning and the oldest documents will be inserted at the end of the document.

true

convertOfficeFilesToPdf

false

Boolescher Wert (true/false). Sollten angehängte .docx-

This parameter is used to decide if the attached .docx, .pptx

- und

and .xlsx

-Dateien in PDFs konvertiert und als solche in den Zusammenführungsprozess einbezogen werden?

files should be converted to PDFs, and be included in the merging process.

true

deleteOriginalOfficeFilestrue

convertTxtFilesToPdf

false

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.

convertCsvFilesToPdf

false

This parameter is used to decide if the attached .csv files should be converted to PDFs, and be included in the merging process.

deleteOriginalOfficeFiles

false

This parameter is used to decide if the original .docx, .pptx, .xlsx files that are used for the merge should be deleted.

true

deleteOriginalFiles

null

This parameter is used to decide if the original files that are used for the merge should be deleted.

Info

This parameter has higher priority in decision over the deleteOriginalOfficeFiles. If deleteOriginalFiles is set to null, the value of the deleteOriginalOfficeFiles will be applied.

true → Original documents will be deleted.

false → Original document won’t be deleted.

null → Value of the deleteOriginalOfficeFiles will be considered.

excludedDocuments

null

This parameter is used to set a specific string to exclude the documents which contain this string value in their names.

Offer

All documents with "Offer" in the file name are excluded from the merging process