Skip to content

Commit

Permalink
prepare for 1.0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzido committed Aug 22, 2020
1 parent 98c7143 commit a4e0d6c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
40 changes: 19 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ tabula-java [![Build Status](https://travis-ci.org/tabulapdf/tabula-java.svg?bra

`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.

(This is the new version of the extraction engine; the previous code can be found at [`tabula-extractor`](http://github.com/tabulapdf/tabula-extractor).)

© 2014-2018 Manuel Aristarán. Available under MIT License. See [`LICENSE`](LICENSE).
© 2014-2020 Manuel Aristarán. Available under MIT License. See [`LICENSE`](LICENSE).

## Download

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

```
$ java -jar target/tabula-1.0.2-jar-with-dependencies.jar --help
usage: tabula [-a <AREA>] [-b <DIRECTORY>] [-c <COLUMNS>] [-d] [-f
<FORMAT>] [-g] [-h] [-i] [-l] [-n] [-o <OUTFILE>] [-p <PAGES>] [-r]
[-s <PASSWORD>] [-t] [-u] [-v]
usage: tabula [-a <AREA>] [-b <DIRECTORY>] [-c <COLUMNS>] [-f <FORMAT>]
[-g] [-h] [-i] [-l] [-n] [-o <OUTFILE>] [-p <PAGES>] [-r] [-s
<PASSWORD>] [-t] [-u] [-v]
Tabula helps you extract tables from PDFs
-a,--area <AREA> Portion of the page to analyze. Example: --area
269.875,12.75,790.5,561. Accepts
top,left,bottom,right i.e. y1,x1,y2,x2 where all
values are in points relative to the top left
corner. If all values are between 0-100
(inclusive) and preceded by '%', input will be
taken as % of actual height or width of the page.
Example: --area %0,0,100,50. To specify multiple
areas, -a option should be repeated. Default is
entire page
-a,--area <AREA> -a/--area = Portion of the page to analyze.
Example: --area 269.875,12.75,790.5,561.
Accepts top,left,bottom,right i.e. y1,x1,y2,x2
where all values are in points relative to the
top left corner. If all values are between
0-100 (inclusive) and preceded by '%', input
will be taken as % of actual height or width
of the page. Example: --area %0,0,100,50. To
specify multiple areas, -a option should be
repeated. Default is entire page
-b,--batch <DIRECTORY> Convert all .pdfs in the provided directory.
-c,--columns <COLUMNS> X coordinates of column boundaries where values
are in points and relative to the left of the
page. Example --columns 10.1,20.2,30.3
-d,--debug Print detected table areas instead of
processing.
-c,--columns <COLUMNS> X coordinates of column boundaries. Example
--columns 10.1,20.2,30.3. If all values are
between 0-100 (inclusive) and preceded by '%',
input will be taken as % of actual width of
the page. Example: --columns %25,50,80.6
-f,--format <FORMAT> Output format: (CSV,TSV,JSON). Default: CSV
-g,--guess Guess the portion of the page to analyze per
page.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>technology.tabula</groupId>
<artifactId>tabula</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.0.4</version>
<name>Tabula</name>
<description>Extract tables from PDF files</description>
<url>http://github.com/tabulapdf/tabula-java</url>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/technology/tabula/CommandLineApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public class CommandLineApp {

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

private static final int RELATIVE_AREA_CALCULATION_MODE = 0;
Expand Down

0 comments on commit a4e0d6c

Please sign in to comment.