Skip to content
  • There are no suggestions because the search field is empty.

What is the naming convention for annotations?

What is the algorithm for the naming of the annotation files?

 

Additional Information

 

Goal: What is the algorithm for the naming of the annotation files?

Goal: How are Annotations named in ApplicationXtender?

Goal: How are Annotations named in WebXtender?

Goal: How do I figure out what annotation is associated withan image?

Goal: How do I figure out what annotation is associated withwhich document?

Fact: ApplicationXtender (AX)

Fact: WebXtender (WX)

Fix: Annotation filenames are in the form of pp000000.extwhere pp is the document?s pathid, 000000 is the objectid, and theextension is .ano if the subpagenum is either 1 or 0. If thesubpagenum is not 1 or 0, the 3-digit subpagenum itself will beused. The pathid, objectid, and subpagenum are encoded base 32 asfollows:



Max Pathid 32^2 = 1024

Objectid 32^6 = 1073741824

Subpagenum 32^3 = 32768



When the objectid is greater than or equal to 1073741824, anew encoding scheme is used, the filename will begin with 'ZZ' andno pathid will be added. The number encoded for the objectid willbe less the base of 1073741824.



Example:



Objectid = 1073741825

1073741825 ? 1073741824 = 1

Annotation file name = zz000001.ext



If the subpagenum?s encoded extension name happens to be'.BIN', it will be change to '.BI' to avoid confusion with document.bin files.



Note: Pathid is the document pathid not the annotationpathid.