Re: Extracting non-form checkboxe values

2016-08-24 Thread Maruan Sahyoun
> Am 24.08.2016 um 19:24 schrieb Tilman Hausherr : > > Am 24.08.2016 um 18:22 schrieb Conlin, Joshua [USA]: >> Hello, >> >> >> I am trying to extract checkbox values from a document where the acro form >> is null. I have seen several previous inquiries to this scenario

Re: Extracting non-form checkboxe values

2016-08-24 Thread Tilman Hausherr
Am 24.08.2016 um 18:22 schrieb Conlin, Joshua [USA]: Hello, I am trying to extract checkbox values from a document where the acro form is null. I have seen several previous inquiries to this scenario but haven't found a definitive answer. I was wondering if there is a suggested approach?

Re: Problem with getting page size

2016-08-24 Thread Tilman Hausherr
Your page has also a cropbox. You need to set that as well. Alternatively, just take the widths of the cropbox and use them for the new mediabox. Tilman Am 24.08.2016 um 16:31 schrieb Adam Retter: I am using PDFBox 2.0.2 and trying to add a cover page to my PDF. The Cover Page needs to have

Re: Hi,I have a problem on use pdfbox!

2016-08-24 Thread Tilman Hausherr
Am 24.08.2016 um 16:56 schrieb Diego Azevedo: Can you tell us: - what you are doing (commented piece of code may help) - what version of pdfbox you're using - a URL where we can get a pdf where this error occurs? (atachments will be blocked on the server) I have the PDF, as a

Re: Hi,I have a problem on use pdfbox!

2016-08-24 Thread Tilman Hausherr
The error message (which is non fatal, i.e. only hurts your logfile) no longer appears in the upcoming 2.0.3 version. I suspect one of your fonts has an empty glyf table, despite having one entry. Your PDF (which landed in moderation) is extracted (only the part where it is possible). Tilman

Re: PDFBox 2.1.0

2016-08-24 Thread Tilman Hausherr
Am 24.08.2016 um 13:51 schrieb Petras Petkus: Hello, I noticed that current PDFBox trunk has version 2.1.0, while v2.0.x version is in separate branch. I'm curious what are main changes of v2.1 from v2.0? What is its status? Maybe I can read it about it? Besides what Maruan mentioned, there

Extracting non-form checkboxe values

2016-08-24 Thread Conlin, Joshua [USA]
Hello, I am trying to extract checkbox values from a document where the acro form is null. I have seen several previous inquiries to this scenario but haven't found a definitive answer. I was wondering if there is a suggested approach? Alternatively, Is there a way to extract a subsection

Re: Check for scripts in a PDF

2016-08-24 Thread Tilman Hausherr
Am 24.08.2016 um 15:41 schrieb Davide Zoni: Thank you. This might be helpful but i'm afraid that i would not be able to check every possibility. There's a way to check if a PDF is static (or dynamic)? For our pourpose that shuold be enough. No there is no such method. Tilman Best

Re: PDFBox 2.1.0

2016-08-24 Thread Maruan Sahyoun
Hi, > Am 24.08.2016 um 16:06 schrieb Petras Petkus : > > Thank you, Maruan, for response. I asked because just recently I finished > migration of our tool to PDFBox v2.0. It required some adaptation work, as > in some places we dealt with PDFBox internals to implement

Re: Hi,I have a problem on use pdfbox!

2016-08-24 Thread Diego Azevedo
Can you tell us: - what you are doing (commented piece of code may help) - what version of pdfbox you're using - a URL where we can get a pdf where this error occurs? (atachments will be blocked on the server) On Wed, Aug 24, 2016 at 11:19 AM, John Hewson wrote:

Problem with getting page size

2016-08-24 Thread Adam Retter
I am using PDFBox 2.0.2 and trying to add a cover page to my PDF. The Cover Page needs to have the same dimensions as the first page of the PDF. I am trying to retrieve the size of the first page of the PDF using the following code: PDDocument doc = PDDocument.load(myFile); PDPage

Re: Hi,I have a problem on use pdfbox!

2016-08-24 Thread John Hewson
> On 24 Aug 2016, at 04:13, "zss_...@163.com" wrote: > > Hi,I have a problem! What's the problem? -- John > 八月 24, 2016 7:12:10 下午 org.apache.pdfbox.pdmodel.font.PDCIDFontType2 > 警告: Could not read embedded TTF for font FPWCGE+SimSun > java.io.IOException: glyf is

RE: PDFBox 2.1.0

2016-08-24 Thread Petras Petkus
Thank you, Maruan, for response. I asked because just recently I finished migration of our tool to PDFBox v2.0. It required some adaptation work, as in some places we dealt with PDFBox internals to implement what we need (like signing multiple files, PDF/A-2 & 3 validation, etc.). Therefore was

RE: Check for scripts in a PDF

2016-08-24 Thread Davide Zoni
Thank you. This might be helpful but i'm afraid that i would not be able to check every possibility. There's a way to check if a PDF is static (or dynamic)? For our pourpose that shuold be enough. Best regards. Davide Zoni Cedacri S.p.A. Tel.: 0521807433

Re: PDFBox 2.1.0

2016-08-24 Thread Maruan Sahyoun
Hi, > Am 24.08.2016 um 13:51 schrieb Petras Petkus : > > Hello, > > I noticed that current PDFBox trunk has version 2.1.0, while v2.0.x version > is in separate branch. I'm curious what are main changes of v2.1 from v2.0? > What is its status? Maybe I can read it

PDFBox 2.1.0

2016-08-24 Thread Petras Petkus
Hello, I noticed that current PDFBox trunk has version 2.1.0, while v2.0.x version is in separate branch. I'm curious what are main changes of v2.1 from v2.0? What is its status? Maybe I can read it about it? Sorry if this question was answered earlier, but I couldn't find in mailing list.

Hi,I have a problem on use pdfbox!

2016-08-24 Thread zss_...@163.com
Hi,I have a problem! 八月 24, 2016 7:12:10 下午 org.apache.pdfbox.pdmodel.font.PDCIDFontType2 警告: Could not read embedded TTF for font FPWCGE+SimSun java.io.IOException: glyf is mandatory at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:211) at