@@ -3,9 +3,7 @@ tabula-java [ ([ repo] ( http://github.com/tabulapdf/tabula ) ). You can use ` tabula-java ` as a command-line tool to programmatically extract tables from PDFs.
5
5
6
- (This is the new version of the extraction engine; the previous code can be found at [ ` tabula-extractor ` ] ( http://github.com/tabulapdf/tabula-extractor ) .)
7
-
8
- © 2014-2018 Manuel Aristarán. Available under MIT License. See [ ` LICENSE ` ] ( LICENSE ) .
6
+ © 2014-2020 Manuel Aristarán. Available under MIT License. See [ ` LICENSE ` ] ( LICENSE ) .
9
7
10
8
## Download
11
9
@@ -17,28 +15,28 @@ Download a version of the tabula-java's jar, with all dependencies included, tha
17
15
18
16
```
19
17
$ java -jar target/tabula-1.0.2-jar-with-dependencies.jar --help
20
- usage: tabula [-a <AREA>] [-b <DIRECTORY>] [-c <COLUMNS>] [-d] [-f
21
- <FORMAT>] [-g] [-h] [-i] [-l] [-n] [-o <OUTFILE>] [-p <PAGES>] [-r]
22
- [-s <PASSWORD>] [-t] [-u] [-v]
18
+ usage: tabula [-a <AREA>] [-b <DIRECTORY>] [-c <COLUMNS>] [-f <FORMAT>]
19
+ [-g] [-h] [-i] [-l] [-n] [-o <OUTFILE>] [-p <PAGES>] [-r] [-s
20
+ <PASSWORD>] [-t] [-u] [-v]
23
21
24
22
Tabula helps you extract tables from PDFs
25
23
26
- -a,--area <AREA> Portion of the page to analyze. Example: --area
27
- 269.875,12.75,790.5,561. Accepts
28
- top,left,bottom,right i.e. y1,x1,y2,x2 where all
29
- values are in points relative to the top left
30
- corner. If all values are between 0-100
31
- (inclusive) and preceded by '%', input will be
32
- taken as % of actual height or width of the page.
33
- Example: --area %0,0,100,50. To specify multiple
34
- areas, -a option should be repeated. Default is
35
- entire page
24
+ -a,--area <AREA> -a/--area = Portion of the page to analyze.
25
+ Example: --area 269.875,12.75,790.5,561.
26
+ Accepts top,left,bottom,right i.e. y1,x1,y2,x2
27
+ where all values are in points relative to the
28
+ top left corner. If all values are between
29
+ 0-100 (inclusive) and preceded by '%', input
30
+ will be taken as % of actual height or width
31
+ of the page. Example: --area %0,0,100,50. To
32
+ specify multiple areas, -a option should be
33
+ repeated. Default is entire page
36
34
-b,--batch <DIRECTORY> Convert all .pdfs in the provided directory.
37
- -c,--columns <COLUMNS> X coordinates of column boundaries where values
38
- are in points and relative to the left of the
39
- page. Example --columns 10.1,20.2,30.3
40
- -d,--debug Print detected table areas instead of
41
- processing.
35
+ -c,--columns <COLUMNS> X coordinates of column boundaries. Example
36
+ --columns 10.1,20.2,30.3. If all values are
37
+ between 0-100 (inclusive) and preceded by '%',
38
+ input will be taken as % of actual width of
39
+ the page. Example: --columns %25,50,80.6
42
40
-f,--format <FORMAT> Output format: (CSV,TSV,JSON). Default: CSV
43
41
-g,--guess Guess the portion of the page to analyze per
44
42
page.
0 commit comments