pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Problem with two methods
Date Wed, 14 Dec 2016 20:56:23 GMT
Am 14.12.2016 um 20:04 schrieb Alberto Sanmartin:
> Hello:
> I am trying to create a program that converts information from my PDF 
> bills to TXT, I have found and corrected internet code to perform this 
> task but I still have two errors. I leave here a photo with the error 
> code in case someone could help me, the error appears in the functions 
> getAllPages () and getPageFormat ().
Don't bother with "internet code". Download the source code and look at 
the examples there. https://pdfbox.apache.org/download.cgi#20x 
Alternatively, this answer is good too: 
http://stackoverflow.com/a/38806828/535646 to set a specific page, do this:

|pdfStripper.setStartPage(1);pdfStripper.setEndPage(1);|

Tilman
> A greeting and thanks in advance.
> Alberto Sanmartin Martinez.


Mime
View raw message