next up previous contents index


31.2.2.2 Calculation of file name

If a page is saved in the database itself the image file is not named. The file name is calculated on the basis of the field 'Document' and the corresponding page. It works like this:

The image file gets an 'A' in first position. The second to the sixth position are reserved for the document number, the seventh and eighth position gives the current page.

The following example will make this clear.

Document number 84: modulo 26 = 6 (G) remainder, 3 (D) results in: 000DG

Page number 12: modulo 26 = 12 (M) remainder, 0 results in 0M

Thus, the full file name (without extension) looks like A000DG0M.XXX. The extension of the file name is calculated on the basis of field ArchivArt:

  • 0 = BMP/ZIP
  • 1 = TIF
  • 2 = PNG
  • 3 = JPG

If field 'ArchivArt' displays the value '3' all this results in the file name A000DG0M.JPG.