CIB pdf toolbox 2 technical documentation

4. Usecases

4.19. PDF overlays

You can merge the content of several PDF pages of different pdf document to one. By this you can e.g. add a stationery to a PDF document. Merging is done by the PageContentMerge property.

Property

Meaning

Type

PageContentMerge

A JSON array of JSON objects, which define  merge opertation. A merge operation is a JSON object with following keys:

  • File: the file from which the content is merged (mergesource-Document)
  • Password: the password of the file, if encrypted
  • InsideBackground: A JSON Boolean flag, which indicates, if the content should be inside the background (default) or foreground.
  • Repitition: Following repetition types are defined:
  • All: First page of the mergesource-Document is merged on all pages of the pdf document.
  • Identitiy: Each page of the mergesource-Document is merged on the equivalent page with same page number of the pdf document.
  • First: First page of the mergesource-Document is merged on the first page of the pdf document.

Examples:

First;All: First page of the mergesource-Document ist merged on the first page of the document, the second page of the mergesource-document is merged on all other pages of the pdf document.

Set