[iText-questions] How to set font for Paragraph from IAutoTextContent

2014-08-07 Thread Dhulipd2984
How to set font for Paragraph from the existing IAutoTextContent font -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-set-font-for-Paragraph-from-IAutoTextContent-tp4660202.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] How to set font for Paragraph from IAutoTextContent

2014-08-07 Thread Dhulipd2984
Hi How to convert String from autoText.getStyle().getFont() to Itext Font We are using below code to get Font from AutoText but not able to convert String to Font Paragraph para = new Paragraph(); para.setFont(new

Re: [iText-questions] Signing PDF

2014-08-07 Thread Michaël Demey
Hi, I'll try to sign the PDF later, but iText 5.5.2 uses BC 1.49: http://sourceforge.net/p/itext/code/HEAD/tree/trunk/itext/pom.xml#l244 Could you try the 1.49 dependency? Kind regards, Michaël. Valentin Ts. Ivanov schreef op 7/08/2014 12:03: Hi, I use iText5.5.2 and BC1.51 and I found

Re: [iText-questions] Signing PDF

2014-08-07 Thread Andreas Kuehne
Using the correct BC version is a good starting point. But the xml parser is not part of BC ... Greetings, Andreas Hi, I'll try to sign the PDF later, but iText 5.5.2 uses BC 1.49: http://sourceforge.net/p/itext/code/HEAD/tree/trunk/itext/pom.xml#l244 Could you try the 1.49 dependency?

[iText-questions] [SPAM] Re: Signing PDF

2014-08-07 Thread mkl
Valentin, Valentin Ivanov wrote java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V at com.itextpdf.xmp.impl.XMPMetaParser.createDocumentBuilderFactory(XMPMetaParser.java:423) That actually looks like non-matching XML library

Re: [iText-questions] Signing PDF

2014-08-07 Thread Michaël Demey
I know that. Just notifying him about the BC version :) Andreas Kuehne schreef op 7/08/2014 13:59: Using the correct BC version is a good starting point. But the xml parser is not part of BC ... Greetings, Andreas Hi, I'll try to sign the PDF later, but iText 5.5.2 uses BC 1.49:

Re: [iText-questions] method PdfCopy.fixTaggedStructure throws NullPointerException

2014-08-07 Thread iText mailing list
On 8/6/2014 10:01 AM, Pichtchikov, Alexandre wrote: I am merging tagged pdf with untagged pdf. I am getting exception when I close Document object: NullPointerException(PdfCopy.java:890) Call stack com.itextpdf.text.pdf.PdfCopy.fixTaggedStructure(PdfCopy.java:890)

Re: [iText-questions] White Paper on Large Scale pdf rendering using iText?

2014-08-07 Thread Nishant Bulchandani
Thanks Prajit. I am looking for some experience suggestions on using itext for generating Huge numbers of pdf statements - tips for optimizing performance , memory etc. I am going through Bruno's book its great , however i was wondering if there's a white paper published on High Scale

Re: [iText-questions] method PdfCopy.fixTaggedStructure throws NullPointerException

2014-08-07 Thread Pichtchikov, Alexandre
Hello, Thanks a lot for the replay. Yes, my bad, I should include appendPDF method from the beginning. Here is the code : private static final void appendPDF( final PdfCopy target, final PdfReader source ) throws BadPdfFormatException, IOException { final int pages

Re: [iText-questions] method PdfCopy.fixTaggedStructure throws NullPointerException

2014-08-07 Thread Pichtchikov, Alexandre
Hello, Thanks a lot for the replay. Yes, my bad, I should include appendPDF method from the beginning. Here is the code : private static final void appendPDF( final PdfCopy target, final PdfReader source ) throws BadPdfFormatException, IOException { final int pages

Re: [iText-questions] method PdfCopy.fixTaggedStructure throws NullPointerException

2014-08-07 Thread iText mailing list
On 8/7/2014 10:39 AM, Pichtchikov, Alexandre wrote: target.addPage( target.getImportedPage( source, i ) ); This line is wrong, you should add the boolean value that tells iText to preserve the structure. --