7.6

Table Of Contents
String value to store in the data page.
Code Sample Example
This example is taken for an OnReadDataPage event for a user defined emulation. It shows how to store lines of text in the cur-
rent data page. It searches for a formfeed, increases the current line, stores the string, executes the document, resets the
page, and then ends the search.
Example
search(&str,'\014')
set(&current.line,&current.line+1)
store(&current.line,&str)
doform()
clearpage()
endsearch()
Data Destined for PlanetPress Image, PlanetPress Fax and PlanetPress Search
DefineImageIndex (procedure)
Defines a PlanetPress Search index term. PlanetPress Image uses this information to generate the .PDI file it creates for each
PDF file it creates. You use SetImageIndex (procedure) to associate a data value with the index term.
Syntax
defineimageindex( name, [length] )
Arguments
name
String value specifying a name for the index term.
length
String value specifying a length for the index term.
Code Sample Examples
Example 1
This example defines the index term 'PONumber' and assigns it a length of 8 characters. The PDI file generated by PlanetPress
Image contains the line: ~IndexName=PONumber,8.
defineimageindex( 'PONumber', '8')
©2010 Objectif Lune Inc - 616 -