arts-pdf split pro 2.0 User Manual

Page of 58
 
ARTS PDF Split Pro™ Guide 
 
Assistant 
 
 
5.1.  What is a Coordinate File? 
 
A coordinate file must be used when performing a ‘Split By Coordinate File’ split method. 
Coordinate files use a .crd file extension but they are plain text files that can be viewed 
or edited with any text editor.  The contents of a coordinate file may contain a single line 
or multiple lines of commands.  An example of a coordinate file is shown below: 
 
splitontextchange 507.406555 56.816055 535.184265 24.408707  
addtofilename 507.406555 56.816055 535.184265 24.408707 "pageno " 
providefilename 504.628784 67.001236 543.517578 21.630936 
 
 
5.1.1.  Inside a Coordinate File 
 
A single line within a coordinate file starts with a rectangle command, followed by 
rectangle coordinates and a string parameter. The structure of a line within a coordinate 
file is as shown below:  
 
rectangle command [space] left rectangle coordinate  [space] top rectangle coordinate 
[space] bottom rectangle coordinate [space] right rectangle coordinate [space] “string“  
 
An example of this is: 
  
splitiftextcontainedinbox 70.093918 736.859451 141.122421 703.214371 "arts"  
  
Where:  
Rectangle Command = splitiftextcontainedinbox  
Left coordinate = 70.093918  
Top coordinate = 736.859451  
Bottom coordinate = 141.122421  
Right coordinate = 703.214371  
String parameter = arts  
 
Rectangle command  
  
Each command line within the coordinate file has a rectangle command related to it, 
which indicates what is required when splitting a PDF file.  Rectangle commands give the 
option to:   
•  split a PDF file if the page contains specific text.  
•  provide output filenames.  
•  exclude or include pages from output files.  
•  read text on a PDF file and export it to a text file.  
 
A full list of available 
 can be found in Appendix A of this document.