arts-pdf split pro assistant 1.4 User Manual

Page of 21
ARTS Split Pro 1.4 
 
 
4.1  Structure of commands 
 
The structure for a complete rectangle command as it appears within the co-ordinate file 
is shown below: 
 
Command [space] left co-ordinate  [space] top co-ordinate [space] bottom co-ordinate 
[space] right co-ordinate [space] “string“ 
 
 
Example: 
 
splitiftextcontainedinbox 70.093918 736.859451 141.122421 703.214371 "arts" 
 
Where: 
Command = splitiftextcontainedinbox 
Left co-ordinate = 70.093918 
Top co-ordinate = 736.859451 
Bottom co-ordinate = 141.122421 
Right co-ordinate = 703.214371 
String parameter = arts 
 
 
Co-ordinates (left, top, bottom and top) are used to view the rectangle using ARTS Split 
Pro Assistant.  It is the rectangle that is used to look at text in a PDF page used for the 
splitting of PDFs.  Text within a rectangle area can be compared against the specified 
string parameter passed. 
 
 
Example: 
 
splitiftextcontainedinbox 70.093918 736.859451 141.122421 703.214371 "arts" 
 
The rectangle co-ordinates, 70.093918 736.859451 141.122421 703.214371, form a 
rectangle.  The rectangle area is viewable on a PDF page using ARTS Split Pro 
Assistant.  A rectangle can be viewed on each page of the PDF document. Depending 
on where the text run begins on the page, this rectangle may have text inside it.  Using 
the splitIfTextContainedInBox command, if ARTS Split Pro finds that the “arts” string is 
found inside the rectangle area then the PDF will split at that page (i.e. PDF will split if 
the word “arts” is found within the text inside the rectangle).  
  
 
 
 
ARTS Split Pro Assistant Documentation 
Page 8 of 21 
 
Copyright © 1998 – 2003 A Round Table Solution