From a4e0d6c41a06bc6c06ef766562f3eeef5a38c22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Aristar=C3=A1n?= Date: Sat, 22 Aug 2020 20:34:34 -0300 Subject: [PATCH] prepare for 1.0.4 release --- README.md | 40 +++++++++---------- pom.xml | 2 +- .../technology/tabula/CommandLineApp.java | 2 +- 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 76e25663..2a08d3ac 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ] [-b ] [-c ] [-d] [-f - ] [-g] [-h] [-i] [-l] [-n] [-o ] [-p ] [-r] - [-s ] [-t] [-u] [-v] +usage: tabula [-a ] [-b ] [-c ] [-f ] + [-g] [-h] [-i] [-l] [-n] [-o ] [-p ] [-r] [-s + ] [-t] [-u] [-v] Tabula helps you extract tables from PDFs - -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 + -a,--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 Convert all .pdfs in the provided directory. - -c,--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 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 Output format: (CSV,TSV,JSON). Default: CSV -g,--guess Guess the portion of the page to analyze per page. diff --git a/pom.xml b/pom.xml index de437a39..c4d97b4b 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 technology.tabula tabula - 1.0.4-SNAPSHOT + 1.0.4 Tabula Extract tables from PDF files http://github.com/tabulapdf/tabula-java diff --git a/src/main/java/technology/tabula/CommandLineApp.java b/src/main/java/technology/tabula/CommandLineApp.java index 6e26e7cd..e18f603a 100644 --- a/src/main/java/technology/tabula/CommandLineApp.java +++ b/src/main/java/technology/tabula/CommandLineApp.java @@ -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;