tabulapdf / tabula-java

Extract tables from PDF files
MIT License
1.85k stars 430 forks source link

[feature request] Import Tabula GUI templates #321

Open rusosnith opened 5 years ago

rusosnith commented 5 years ago

Ability to load at least coordinates (x1, y1, x2, y2) from a template json file downloaded from Tabula web/gui version.

Easier workaround> add a field in the templates.json from Tabula GUI version that stores the data as tabula command line needs it, so opening json and copy-pasting is really easy.

(in the template the order is x1, x2, y1, y2, but the order needed for the command line is y1,x1,y2,x2)

chezou commented 4 years ago

@rusosnith JFYI, Python wrapper has the feature https://tabula-py.readthedocs.io/en/latest/tabula.html