Re: [iText-questions] Tagged PDF

2009-05-20 Thread 1T3XT info
dy2000 wrote: Up to today, iText doesn't seem to be able to set alternative text to an image that can be read out loud by AcrobatReader. image.setAlt() seems to be useless in generated PDF. Might it be a bug? There is a bug in iText 2.1.5 (try iText 2.1.4 or wait for iText 2.1.6). However,

Re: [iText-questions] PDF combine

2009-05-20 Thread 1T3XT info
zoharat wrote: What if we are combining only selected pages from the two documents. Can we select pages when using PdfCopyFields? Yes, if you look at the Javadoc API, you'll find out that there's more than one addDocument method. If you only pass a PdfReader object as parameter, the complete

[iText-questions] How to remove border in RTF/Word using Table

2009-05-20 Thread sushilmuppidi
Hi, Given code snippet is for not affecting the Rectangle.NO_BORDER Tried with Rectangle.NO_BORDER but still its giving border Table t = new Table(2,1); t.setWidths(new int[] {13, 62}); t.getDefaultCell().setBorder(Rectangle.NO_BORDER);

Re: [iText-questions] How to remove border in RTF/Word using Table

2009-05-20 Thread Gunal, Zeynep
Hi, You do realize that the RtfCell objects have their own borders, don't you? -Original Message- From: sushilmuppidi [mailto:smupp...@ctepl.com] Sent: 20 May 2009 06:52 To: itext-questions@lists.sourceforge.net Subject: [iText-questions] How to remove border in RTF/Word using Table

[iText-questions] How to give margins to rtf/word document

2009-05-20 Thread sushilmuppidi
How to give left margin, right margin, top margin, bottom margin to rtf/word document using itext i tried with Document doc = new Document(PageSize.A4, 15, 10, 70, 5); The above code is not affecting properly -- View this message in context:

[iText-questions] Select font at runtime

2009-05-20 Thread beppecosta
Hi, is it possible to have an array of Basefont to use with setFontAndSize and select the font to use at run-time, like in example 131 ? Thanks. Giuseppe. -- View this message in context: http://www.nabble.com/Select-font-at-runtime-tp23632765p23632765.html Sent from the iText - General

Re: [iText-questions] Problem with Signature - Errorcode 4000

2009-05-20 Thread Andreas Kuehne
Hi Barbar, both links end in an error page of your web server. Could you please fix ? Without a sample the problem is hard to analyze ... Greetings Andreas - Original Message From: Ing. Barbara Zussner barbara.zuss...@lfbline.com To: itext-questions@lists.sourceforge.net Sent:

Re: [iText-questions] Select font at runtime

2009-05-20 Thread 1T3XT info
beppecosta wrote: Hi, is it possible to have an array of Basefont to use with setFontAndSize and select the font to use at run-time, like in example 131 ? Let me rephrase the question to see if I have it right: We're talking about this example: http://1t3xt.be/?Xc3 There's an array:

[iText-questions] PdfCopy and xref problems

2009-05-20 Thread Andrea Vacondio
A user reported that Ghostscript and other softwares complains about an invalid xref entry in documents generated using pdfsam merge command. I made some test using the provided PdfCopy example and here is the Ghostscript error: GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex

Re: [iText-questions] PdfCopy and xref problems

2009-05-20 Thread Paulo Soares
I don't see any pdfsam in the iText sources. Paulo -Original Message- From: Andrea Vacondio [mailto:andrea.vacon...@gmail.com] Sent: Wednesday, May 20, 2009 3:29 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] PdfCopy and xref problems A user reported

Re: [iText-questions] Signature not found : Bug or feature ?

2009-05-20 Thread DonCapullo
Hi Michael! We also need a quick fix to the problem - as we do not need any functionality but Signature verification, we do not change the PDf and hence will not have problems with PdfStamper and PdfCopy* classes. Would it be possible to send me the codding of your hepler method? kr Don mkl

Re: [iText-questions] Select font at runtime

2009-05-20 Thread beppecosta
Hi, you understood my question. That's the code I tried this morning, but I coded a wrong Basefont instead of a BaseFont[]. It works fine. Sorry ! Giuseppe. 1T3XT info wrote: beppecosta wrote: Hi, is it possible to have an array of Basefont to use with

Re: [iText-questions] PdfCopy and xref problems

2009-05-20 Thread 1T3XT info
Paulo Soares wrote: I don't see any pdfsam in the iText sources. If I look at http://1t3xt.be/?Xf8 And I look at the xref table, I see: xref 0 17 00 65535 f 00 65536 n 000233 0 n 15 0 n 000145 0 n 001271 0 n 00 65536 n 000593

Re: [iText-questions] Select font at runtime

2009-05-20 Thread 1T3XT info
beppecosta wrote: Hi, you understood my question. That's the code I tried this morning, but I coded a wrong Basefont instead of a BaseFont[]. It works fine. OK, I'm glad the problem is resolved; sometimes a second pair of eyes can help ;-) -- This answer is provided by 1T3XT BVBA

[iText-questions] PdfReader hates me

2009-05-20 Thread BCCanuck
I have a wee program : public static void main(String[] args) { try { 35 PdfReader reader = new PdfReader(new FileInputStream(/home/dkr/Downloads/t4flat-fill-06b.pdf)); PdfStamper stamp = new PdfStamper(reader, new FileOutputStream(/home/dkr/newStuff.pdf));

Re: [iText-questions] PdfReader hates me

2009-05-20 Thread Andrea Vacondio
You are missing a couple of jars, try searching org/bouncycastle/asn1/ASN1OctetString on the mailing list. BCCanuck wrote: I have a wee program : public static void main(String[] args) { try { 35 PdfReader reader = new PdfReader(new

Re: [iText-questions] PdfCopy and xref problems

2009-05-20 Thread Andrea Vacondio
pdfsam is the software I'm maintaining and it uses PdfCopy to concatenate documents. A user reported me this issue so I made some tests using the examples found here: http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php and I found that Ghostscript (and others) complains also opening

[iText-questions] iText on SourceForge

2009-05-20 Thread 1T3XT info
Hello all, if you go to 1t3xt.com or 1t3xt.info, and you look at the navigation bar to the left, you'll see a logo for the Community Choice Awards. If you're an iText user, please nominate iText. It doesn't cost anything, but the project with the most nominations will be finalist, and it would

[iText-questions] rtf headings in multiple threads

2009-05-20 Thread Scott Miller
Hi Everyone, I'm working on a deployment of iText that will be generating multiple reports, possibly on multiple threads. My understanding is that all of the mutable state of the document and writer objects are self-contained. If that's true, I believe that it should be fine for multiple

[iText-questions] Why doesn't this code work?

2009-05-20 Thread Bordeman, Chris
acrofieldsobj.SetFieldProperty(_Name, fflags, PdfFormField.Q_RIGHT, null); It returns true but then I flatten the fields and the field comes out left aligned... -- Crystal Reports - New Free Runtime and 30 Day Trial

Re: [iText-questions] Signature not found : Bug or feature ?

2009-05-20 Thread mkl
Don, DonCapullo wrote: Hi Michael! We also need a quick fix to the problem - as we do not need any functionality but Signature verification, we do not change the PDf and hence will not have problems with PdfStamper and PdfCopy* classes. Would it be possible to send me the codding of

Re: [iText-questions] Signature PDF. How obtain Original PDF

2009-05-20 Thread mkl
Oscar, Oscar P wrote: Hi again, thaks for all answer. how i can sign in append mode to obtain original PDF? I sign with this code: PdfReader reader; PrivateKey privateKey = null; Certificate[] chain = null; privateKey =

[iText-questions] PdfStamper doesn't respect anchors in document within ByteArrayOutputStream

2009-05-20 Thread Colin Freas
I've created an apparently valid document using a ByteArrayOutputStream. The entire contents of this document are anchors with some text and links. When I use PdfStamper to insert this document into an existing pdf file, the anchors cease to function as anchors: only the anchor text seems to

[iText-questions] For those that need reporting

2009-05-20 Thread David Thielen
Hi; This is my quarterly plug for Windward Reports. If you need a reporting system, we have one where you design in Microsoft Office. And the PDF output is via iText. Details at http://www.windwardreports.com/?source=tdivadid=Putm_source={source}utm_campaign=tdivad (the params in the link

Re: [iText-questions] PdfStamper doesn't respect anchors in document within ByteArrayOutputStream

2009-05-20 Thread 1T3XT info
Colin Freas wrote: I've created an apparently valid document using a ByteArrayOutputStream. The entire contents of this document are anchors with some text and links. When I use PdfStamper to insert this document into an existing pdf file, the anchors cease to function as anchors: only

Re: [iText-questions] Why doesn't this code work?

2009-05-20 Thread 1T3XT info
Bordeman, Chris wrote: acrofieldsobj.SetFieldProperty(_Name, fflags, PdfFormField.Q_RIGHT, null); It returns true but then I flatten the fields and the field comes out left aligned... You have already posted this question less than a month ago. It's a little bit sad when people do an effort