tabulapdf / tabula-java

Extract tables from PDF files
MIT License
1.77k stars 412 forks source link

Column width % calculated form area width not page width #498

Open devinoss opened 1 year ago

devinoss commented 1 year ago

If you determine area width (%) then it calculates column widths % weirdly. The basic calculation is [absolute_column_width_cm]/[total_area_width]. Because column sizes are still absolute size and area width is smaller than actual page, you defined column width percentages gets over 100%. It can be frustrating as this is mentioned no where and extra calculation is really bothersome to do if you have large amount of "templates".