Re: Open PDDocument warning and null PDField

2015-04-30 Thread Tilman Hausherr
Am 30.04.2015 um 18:43 schrieb Maruan Sahyoun: 3. One thing adds to the confusion: this code I inserted System.out.println("templateField0_null: " + templateField0_null); prints "null" even if the variable isn't null. The toString() method of PDField is public String toString() {

Re: Open PDDocument warning and null PDField

2015-04-30 Thread Maruan Sahyoun
Hi, > Am 26.04.2015 um 21:32 schrieb Maruan Sahyoun : > > Hi, > >> Am 26.04.2015 um 19:59 schrieb Tilman Hausherr : >> >> Hi, >> >> 1. >> thanks for starting a new "clean" thread. >> >> >> 2. >> About the code: templateField0_null is null because you ask for >> templateAcroForm.getField("fi

Re: Custom glyph maps for a fonts

2015-04-30 Thread John Hewson
> On 30 Apr 2015, at 05:19, Zeev Sands wrote: > >> On 04/29/2015 09:54 PM, John Hewson wrote: >> I’m not quite sure what you mean, do you mean the last-resort case where if >> we fail to find a mapping we simply coerce the PDF character code to >> Unicode? (Yes, it’s a bad idea, but it’s what

Re: Compressing PDF files

2015-04-30 Thread Tilman Hausherr
Hi, They are usually nicely compressed. The only place where you may have to finetune is when creating a content stream, there's a parameter that tells whether to compress or not. Not compressing is useful for debugging. Tilman Am 30.04.2015 um 11:34 schrieb phi...@free.fr: Hello, is there

Re: Custom glyph maps for a fonts

2015-04-30 Thread Zeev Sands
On 04/29/2015 09:54 PM, John Hewson wrote: I’m not quite sure what you mean, do you mean the last-resort case where if we fail to find a mapping we simply coerce the PDF character code to Unicode? (Yes, it’s a bad idea, but it’s what Acrobat does). If so, that code can be found in PDFTextStrea

Re: "Empty" AcroFields

2015-04-30 Thread Maruan Sahyoun
Hi, > Am 30.04.2015 um 11:31 schrieb phi...@free.fr: > > > Hello, > > I have solved my problems by re-creating my template from scratch with > OpenOffice and exporting it to PDF, instead of using a template created by > one of my colleagues using an MS Word file which he imported into Acrobat

Compressing PDF files

2015-04-30 Thread phiroc
Hello, is there a way to compress PDF files generated with PDFBox before saving them? Many thanks. Philippe - To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache

Re: "Empty" AcroFields

2015-04-30 Thread phiroc
Hello, I have solved my problems by re-creating my template from scratch with OpenOffice and exporting it to PDF, instead of using a template created by one of my colleagues using an MS Word file which he imported into Acrobat Pro. Case closed. Philippe - Mail original - De: phi...@