RE: [iText-questions] parse error

2005-11-10 Thread Dawn
Bill, Thank you! It works now when I use \\ instead of \ : ) --- Bill Ensley <[EMAIL PROTECTED]> wrote: > Use / instead of \ or use \\ instead of \ > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dawn > Sent: Thursday, November 10, 2005 11:

RE: [iText-questions] parse error

2005-11-10 Thread Bill Ensley
Use / instead of \ or use \\ instead of \ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dawn Sent: Thursday, November 10, 2005 11:31 AM To: Bruno Lowagie Cc: itext-questions@lists.sourceforge.net Subject: [iText-questions] parse error Hi, I am having a

[iText-questions] parse error

2005-11-10 Thread Dawn
Hi, I am having a difficult time to parse the xml file. if the xml file in the local folder, it will be ok, like: parser.parse("test.xml", getXmlHandler(document)); But if the xml file in other folder, I am not able to parse: for example: parser.parse("\C:\iText\test.xml", getXmlHandler(document)

Re: [iText-questions] using an Annotation like an anchor

2005-11-10 Thread Antoine
On 10/11/05, Paulo Soares <[EMAIL PROTECTED]> wrote: > http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.htm > l#pageevents Thanks guys - I'm almost there... I just can't seem to work out the best way to get the PDFAnnotation in... I know it's bad - I don't have much OO experien

[iText-questions] Re: Reg: pdf with external signature

2005-11-10 Thread Tamas Nemeth
Well, I think you copies the wrong array into your pdf. You should copy 'out' into the contents field and not the 'sg' array. Your code: dic2.put(PdfName.CONTENTS, new PdfString(sg).setHexWriting(true)); Correct code: dic2.put(PdfName.CONTENTS, new PdfString(out).setHexWriting(true)); Regards, T

RE: [iText-questions] Formatting text in iText

2005-11-10 Thread Paulo Soares
- a PdfPTable - two Paragraph with leading==0 - ColumnText.showTextAligned() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jody Weisbaum > Sent: Thursday, November 10, 2005 3:15 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-q

Re: [iText-questions] Formatting text in iText

2005-11-10 Thread bruno
Jody Weisbaum wrote: Hi, I am trying to create a PDF using iText. I want to create a line like: x yy where the x's are justified left and the y's are centered, both on the same line. How do I do this? With a PdfPTable. Remove the borders with

[iText-questions] Formatting text in iText

2005-11-10 Thread Jody Weisbaum
Hi, I am trying to create a PDF using iText.  I want to create a line like: x                       yy where the x's are justified left and the y's are centered, both on the same line. How do I do this? Thanks, Jody Weisbaum --

[iText-questions] iText - keeping tables on one page + patch

2005-11-10 Thread Bram
Hi, I've been trying to generate PDF documents using a combination of iText and UJAC. The documents have multiple tables, always nested inside other containers. I noticed that, even though UJAC has a keepTogether attribute for tables, that tables are still split across two pages even if it would

RE: [iText-questions] using an Annotation like an anchor

2005-11-10 Thread Paulo Soares
http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.htm l#pageevents > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Antoine > Sent: Thursday, November 10, 2005 2:20 PM > To: itext-questions@lists.sourceforge.net > Subject: [iTe

Re: [iText-questions] Convert HTML to PDF problem

2005-11-10 Thread bruno
Alex Chew wrote: Sure, i am on the way. Would you please show me several candidates? HtmlDoc converts complete HTML files into PDF. What i want is convert html fragements into pdf That wasn't what you asked for. If you stay with iText, you need HtmlWorker, not HtmlParser. br, Bruno -

Re: [iText-questions] using an Annotation like an anchor

2005-11-10 Thread bruno
Antoine wrote: Hi, I am trying to write a comma separated list of filenames and each will have a file attachment behind it - only problem is that I would like the position of the rectangle that I need to assign it to to be decided by, for example, where I put the text in a table. Could someone p

[iText-questions] using an Annotation like an anchor

2005-11-10 Thread Antoine
Hi, I am trying to write a comma separated list of filenames and each will have a file attachment behind it - only problem is that I would like the position of the rectangle that I need to assign it to to be decided by, for example, where I put the text in a table. Could someone point me in the rig

Re: [iText-questions] Re: Reg: pdf with external signature

2005-11-10 Thread Leonard Rosenthol
At 11:09 PM 11/9/2005, Sivakumar Balakrishnan wrote: Also, I have read article on Adobe working towards a plugin which allows for validation of signatures signed by CA's via OCSP call when used with the Adobe. Is anyone aware of that kind of product? It's built into Acrobat 7..

Re: [iText-questions] Convert HTML to PDF problem

2005-11-10 Thread bruno
Alex Chew wrote: Hay, guys I try to generate pdf from html In my application but cannot come over. I used htmlparser, and using html stream(String/StringBuffer) as input. Any advice? Don't use iText for HTML parsing unless you know what you're doing. Look for another tool if you want an o

RE: [iText-questions] Re: Re: getInstance and tranparency of Image

2005-11-10 Thread Paulo Soares
Post a small complete example so that we can reproduce the result. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marco > Sent: Thursday, November 10, 2005 10:32 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Re: Re

[iText-questions] Re: Re: getInstance and tranparency of Image

2005-11-10 Thread Marco
> You'll have to explain better, I didn't understand a thing. Excuse for my English. I inserted in a pdf an Image (200x200 pixels) whith a backround 0xDCFFDC color and some black lines. I want see the green rectangle and lines too, but 0xDCFFDC color must not cover watermark. If I use com.low

[iText-questions] Convert HTML to PDF problem

2005-11-10 Thread Alex Chew
Hay, guys   I try to generate pdf from html In my application but cannot come over.  I used htmlparser, and using html stream(String/StringBuffer) as input. Any advice?   Thanks.

[iText-questions] problem: document has been altered

2005-11-10 Thread hans lux
hello again, i'm still trying to use the pkcs#1 signature generated on the smart card. the signature is added to the pdf, but acrobat says, that the signature is invalid, because the document has been altered. can somebody give m a hint why that is ? hans = code

RE: [iText-questions] Re: getInstance and tranparence of Image

2005-11-10 Thread Paulo Soares
You'll have to explain better, I didn't understand a thing. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marco > Sent: Thursday, November 10, 2005 6:08 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Re: getInstanc

Re: [iText-questions] Basic Ques?

2005-11-10 Thread Mark Hall
On Thursday 10 November 2005 04:46, Vikas Bali wrote: > I am looking for RTF generator API in Java, Is this iText jar is best for > this. > > Kindly tell me also, Is this free of cost for commercial purposes also. iText is licensed under MPL 1.1 or LGPL depending on what you prefer. You will want

Re: [iText-questions] invalid signature with smart card

2005-11-10 Thread hans lux
I'm not sure. that part is from an example that came with the OCF driver for the smart card. can anybody else answer that question ? hans could it be that the problem liest within the ASN hex value ? h.entsorger >hello again, > > i'm still trying to use the pkcs#1 signature > generated

[iText-questions] Re: Need help regarding iText RTF.

2005-11-10 Thread Mark Hall
On Thursday 10 November 2005 08:44, [EMAIL PROTECTED] wrote: > I am using iText 1.2.2 for my project to generate a RTF file. There was a bug in the table handling in that version. Please upgrade to the latest release, which should fix the problem. Greetings, Mark -- If you think last Tuesday was