arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide  
 
Appendix A - Rectangle Commands 
 
addToFileNameAfterStringInBox  
This searches inside the rectangle for the string parameter. This command adds the text that 
comes after the string parameter to the output filename.  
  
DeleteCharactersFromFilename  
If the specified character is found in the run of text for any of the providefilename or addtofilename 
commands, the character will be deleted as the text is added to the filename. The order of the 
command matters as it will only delete characters from the filename that are added by commands 
that come after this command in the coordinate file. This means that the 
deletecharactersfromfilename command must come before any of the providefilename or 
addtofilename commands that it will operate on.  
  
FilterFilename  
This filters characters from a filename so that the first character specified is replaced by the 
character that follows. The order of the command matters as it will only filter characters from the 
filename that are added by commands that come after this command in the coordinate file. This 
means that the filterfilename command must come before any of the providefilename or 
addtofilename commands that it will operate on.  
  
GetFilenamesFromListInFile  
This command opens a text file that lists the names given to each fragment created. The text file 
should contain one file name per line.  
  
IncludeAll  
Normally, all pages go into one fragment or another, and the commands control where fragments 
end and another fragment starts. Passing a false parameter to the includeall command causes all 
pages to not be included in any fragment unless they are explicitly included by commands such as 
includeiftextispresent and includeiftextcontainedinbox.  
  
IncludeIfTextIsPresent  
All text on the page is searched for the string parameter. If the string parameter is found 
somewhere on the page, then the page will be included in the fragment. Since by default all pages 
go into one fragment or another, this command is only effective if a false parameter is passed to 
the includeall command.  
  
IncludeInASingleFragmentIfTextIsPresent  
If the literal string is found to occur in the text that is inside the rectangle, the page is added to the 
list of pages to be included in a single fragment. This is meaningless unless you set includeall to 
false.  
  
IncludeIfTextContainedInBox  
All text within the rectangle on the page is searched for the string parameter. If the string 
parameter is found somewhere inside the rectangle, then the page will be included in the fragment. 
Since by default all pages go into one fragment or another, this command is only effective if a false 
parameter is passed to the includeall command.