Document merge event
Document merge event
Type: a handler of the Pages moved eventThis sample code demonstrates how the “Pages moved” event can be transformed into the “Document merge” event. The logic of this script is as follows: if all pages of the document are moved, then this document is fully embedded into the target document.The script is launched on the event Pages moved. The Events.OnDocumentsMerge procedure is a procedure that handles the “Document merge” event.
Merging document registration parameters on document merge
Merging document registration parameters on document merge
Type: a handler of the Document merge eventThis sample code demonstrates the easiest way to merge document registration parameters on document merge. When merging documents into a target document, only those parameters from new documents are added which were missing in it.The code should be stored in a shared module. The OnDocumentsMerge procedure must called at the moment of merging documents. For details, see the description of the Document merge event.
