Script functions reference > Script functions in alphabetical order > G > GetDocInsertEquivals

GetDocInsertEquivals
Syntax
GetDocInsertEquivals();
Description
Returns the insert equivalent count for the current document. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Note:
Enveloping must be used and the Count inserts option must be selected.
Returns
num
-1
Failure. Enveloping is not used or the Count inserts options is not selected.
Example
$equivals = GetDocInsertEquivals();
Result:
$equivals = 3.5
OpenText StreamServe 5.6 Updated: 2013-03-01