arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide  
 
Appendix A - Rectangle Commands 
 
ProvideBaseFilename  
Takes the specified string parameter entered and uses it as the base filename of any split output 
files.  
  
ProvideFilename  
Whatever text falls inside the rectangle (see runs of text) is used as the file name for the fragment. 
If this command appears more than once in the coordinate file, the last provideFilename command 
will overwrite any other provideFilename commands.  
  
ProvideFilenameIfStringInBox  
The text inside the rectangle on a page is searched for the specified parameter. If the string 
parameter is found inside the rectangle, then all the text inside the rectangle box on the first page 
of the split output file is used as the output filename  
  
ProvideFilenameFromFirstWord  
The first word of the text inside the rectangle (or start of the text run) is appended to the output 
filename. Any initial spaces are skipped, and the word continues until a space or the end of the run 
of text.   
  
ProvideFilenameFromSelectedWord  
This looks at the text inside the rectangle and takes the word of text determined by the value 
specified. The word is appended to the output filename.  
  
ProvideFilenameFromRangeOfCharacters  
This looks at the text inside the rectangle and takes a range of characters from that text and 
appends the characters to the output filename. The range of characters is specified by two values, 
firstNum and lastNum.   
  
ProvideFilenameAfterString  
This is similar to the providefilename command, except that the software searches the text inside 
the rectangle for string, and if it finds the string, only the text inside the rectangle that comes after 
string is used for the file name. If string is not found, nothing is appended to the file name.  
  
ProvideFilenameAfterStringInBox  
The text inside the rectangle on a page is searched for the specified parameter. If the string 
parameter is found inside the rectangle, then the text after the string parameter and inside the 
rectangle box on the first page of the split output file is used as the output filename.   
  
AddToFilename  
This command adds the string parameter to the output filename.  
  
addToFilenameTextInBox  
This command adds all text inside the rectangle box to the output filename.  
  
addToFilenameIfStringInBox  
This searches inside the rectangle for the string parameter. If the string parameter is found, it adds 
the text within the rectangle box to the output filename.