Skip to content

Commit a4e0d6c

Browse files
committed
prepare for 1.0.4 release
1 parent 98c7143 commit a4e0d6c

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

README.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ tabula-java [![Build Status](https://travis-ci.org/tabulapdf/tabula-java.svg?bra
33

44
`tabula-java` is a library for extracting tables from PDF files — it is the table extraction engine that powers [Tabula](http://tabula.technology/) ([repo](http://github.com/tabulapdf/tabula)). You can use `tabula-java` as a command-line tool to programmatically extract tables from PDFs.
55

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).
97

108
## Download
119

@@ -17,28 +15,28 @@ Download a version of the tabula-java's jar, with all dependencies included, tha
1715

1816
```
1917
$ 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]
2321
2422
Tabula helps you extract tables from PDFs
2523
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
3634
-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
4240
-f,--format <FORMAT> Output format: (CSV,TSV,JSON). Default: CSV
4341
-g,--guess Guess the portion of the page to analyze per
4442
page.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>technology.tabula</groupId>
44
<artifactId>tabula</artifactId>
5-
<version>1.0.4-SNAPSHOT</version>
5+
<version>1.0.4</version>
66
<name>Tabula</name>
77
<description>Extract tables from PDF files</description>
88
<url>http://github.com/tabulapdf/tabula-java</url>

src/main/java/technology/tabula/CommandLineApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public class CommandLineApp {
3131

3232
private static String VERSION = "1.0.4";
33-
private static String VERSION_STRING = String.format("tabula %s (c) 2012-2018 Manuel Aristarán", VERSION);
33+
private static String VERSION_STRING = String.format("tabula %s (c) 2012-2020 Manuel Aristarán", VERSION);
3434
private static String BANNER = "\nTabula helps you extract tables from PDFs\n\n";
3535

3636
private static final int RELATIVE_AREA_CALCULATION_MODE = 0;

0 commit comments

Comments
 (0)