Re: [iText-questions] Getting java.awt.Image fetch aborted or errored when I try to use a url to access images

2008-10-17 Thread James M Lopes
1T3XT info 1t3xt.info> writes: > > Lopes, James wrote: > > Here’s my code I have searched to archive for a similar instance but > > didn’t find any. I can access the image if I drop the URL in the browser > > address field. > > Suppose you don't use iText, but just > new URL(yourUrl) and open

Re: [iText-questions] Adding Header and Footer to more than one page

2008-10-17 Thread 1T3XT info
chaitu wrote: > > we are using onEndpage event for Adding Header and Footer.Its > working fine for when data exceeds to one page.But we are getting problem > when Data Exceeds more than one page at a time.Its unable to add header and > Footer for the middle pages. That's not our experie

[iText-questions] ExtendLastRow - Causing new Page C#

2008-10-17 Thread Matt Reed
I am currently working on a layout that will force a signature to the bottom of the page on which it is appropriate. This may or may not be every page, and there is not consistent logic to do this as a PDFstamper function. In order to achieve this it seemed reasonable to wrap data in a PDFPTa

Re: [iText-questions] XML to pdf

2008-10-17 Thread 1T3XT info
siva papineni wrote: > Hi, > > I need to generate a pdf document which should contain dynamic > information and has to be formatted like a letter. (like some text need > to be bold , centered, italic , underline etc.,) ,so i created an xml > with few tags and the letter data, and parsed w

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
I finally figured out my last problem. I was writing out a PdfString space and eol rather than just a space and eol into the byte stream. Writing out the characters instead solved the problem. Thanks Paulo for all your help!!! You really bailed me out. Thanks, Doug Carl Zeiss Med

Re: [iText-questions] (no subject)

2008-10-17 Thread 1T3XT info
kashyap mehra wrote: > hi, > i want to detect the bold fonts and extract it into another pdf. > is it possible? That's not a good idea. Most of the times a font is subset. If you want to reuse it in another PDF, you might miss a number of glyphs. -- This answer is provided by 1T3XT BVBA http://w

Re: [iText-questions] FW: java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfContentByte.transform(Ljava/awt/geom/AffineTransform; )V

2008-10-17 Thread 1T3XT info
Ramos, Enio wrote: > Hi folks, > > I would like to know if you can help me > I have installed an SAP Enterprise Portal 6.0 on new server. When trying > to print a document I received the error below : > java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfContentByte.transform > (Ljava/awt/geom/

Re: [iText-questions] Borders in tables

2008-10-17 Thread 1T3XT info
Karthik.Gopalakrishnan wrote: > I am trying to create a rtf file which has a content organized as tables > I read through this forum to find out how to create a table with no > borders. > I tried Table.setBorder(Rectangle.NO_BORDER); > and also did the same for the Cel

Re: [iText-questions] Getting java.awt.Image fetch aborted or errored when I try to use a url to access images

2008-10-17 Thread 1T3XT info
Lopes, James wrote: > Here’s my code I have searched to archive for a similar instance but > didn’t find any. I can access the image if I drop the URL in the browser > address field. Suppose you don't use iText, but just new URL(yourUrl) and openStream(); Can you read the bytes? I guess not. Fir

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
So, here is what I came up with using pdfObject.toPdf, but it still doesn't produce readable output. Does anyone see where my mistake is? I tried it adding spaces and eol and not, neither of which produces readable output. Help! I am not sure what to try next. import com.lowagie.text.Docume

[iText-questions] Getting java.awt.Image fetch aborted or errored when I try to use a url to access images

2008-10-17 Thread Lopes, James
Here's my code I have searched to archive for a similar instance but didn't find any. I can access the image if I drop the URL in the browser address field. /* * This fails in com.lowagie.text.Image.getInstance with "java.awt.Image fetch aborted or errored" * during run of app but works if

Re: [iText-questions] Is there a way to set field values without losingformatting?

2008-10-17 Thread Bordeman, Chris
OK, short of this, does anyone know how to read the formatting of a field, esp. numeric and decimal formatting beforehand so it can be applied via the SetField(field, value, format)? The input PDFs are unknown and won't be using any 'custom' formatting, just the standard stuff in Acrobat. Chris B

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Paulo Soares
> -Original Message- > From: Lim, Doug [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 5:38 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Editing PDF Stream > > > So I would create and use a PdfWriter instead of a PdfStamper? > No. Mak

Re: [iText-questions] Any Progress on the RadioButton AcroForm"Expected a name object" Issue?

2008-10-17 Thread Brian Ogden
Hey I found the problem...it was a grouping of radiobuttons with the same name that didn't have the correct property in Acrobat checked. On Fri, Oct 17, 2008 at 1:47 AM, Paulo Soares <[EMAIL PROTECTED]> wrote: > Works for me. Post a small but complete standalone example with any PDFs > needed to

[iText-questions] Is there a way to set field values without losing formatting?

2008-10-17 Thread Bordeman, Chris
Is there any class or method to do this in iText? Failing that, assuming I'm NOT using flattening, is there a way to reapply formatting after using PdfStamper's SetField()? - This SF.Net email is sponsored by the Moblin Your

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Lim, Doug
So I would create and use a PdfWriter instead of a PdfStamper? toPdf(PdfWriter writer, OutputStream os) Thanks, Doug Carl Zeiss Meditec, Inc. Research and Development Senior Staff Software Engineer 5160 Hacienda Drive Dublin, CA 94568 D o u g L i m Phone: +1 925.557.4453 Fax: +1

[iText-questions] Borders in tables

2008-10-17 Thread Karthik.Gopalakrishnan
I am trying to create a rtf file which has a content organized as tables I read through this forum to find out how to create a table with no borders. I tried Table.setBorder(Rectangle.NO_BORDER); and also did the same for the Cells added using Cell.setBorder(Rectangle

Re: [iText-questions] Unable to validate eID signature through iText

2008-10-17 Thread Fhomasp
Some new issues have come to light. I strongly feel the need to post this. I was searching for a way to check Revocation lists programatically, with changing success. Eventually my eye fell on OCSP, as the Belgian Government provides an OCSP Server, so all I needed to do was write a client. Th

[iText-questions] FW: java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfContentByte.transform(Ljava/awt/geom/AffineTransform; )V

2008-10-17 Thread Ramos, Enio
Hi folks, I would like to know if you can help me ... I have installed an SAP Enterprise Portal 6.0 on new server. When trying to print a document I received the error below : java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfContentByte.transform (Ljava/awt/geom/AffineTransform;)V I was ab

Re: [iText-questions] Easy reading RTF document and saving to TXT

2008-10-17 Thread Howard Shank
The conversion functionality is not complete at this time. When it does function it is intended to create a PDF file, not a TXT file. I do not know what tool will create a text file of the textual contents of a RTF. Howard Shank - Original Message From: Radekor <[EMAIL PROTECTED]> T

Re: [iText-questions] Disabling pdf print

2008-10-17 Thread Leonard Rosenthol
On Oct 16, 2008, at 2:06 PM, [EMAIL PROTECTED] wrote: > I need to prevent that it can be printed more than a copy of a pdf. > Apparently it is not possible to obtain this without a DMR, correct? > You mean DRM - but yes, that's correct. Leonard --

Re: [iText-questions] Disabling pdf print

2008-10-17 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2008 7:06 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Disabling pdf print > > Hi all: > > I need to prevent that it can be printed more than a copy of

Re: [iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Paulo Soares
ArialMT is the postscript arial name and is correct. Post the pdf generated in Unix and the pdf generated in Windows. Paulo > -Original Message- > From: Rai [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 10:17 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iT

[iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Rai
Hi, I am getting error message while opening a PDF/A compliant pdf file on Windows machine. Error messages are attached with this post. This pdf file was generated through iText on Unix machine. The code used to generate this pdf file is: ---

Re: [iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Rai
The error message I am getting while opening the pdf (generated on Unix machine using iText) is "Cannot extrac the embedded font ‘VZUDNW+ArialMT’. Some characters may not display or print correctly." Though I am using true type font 'arial', why this error is having ArialMT. Can it be helpful to

Re: [iText-questions] Adding a jpeg to a pdf

2008-10-17 Thread Paulo Soares
Image pdfImage = Image.getInstance(filePath); Paulo > -Original Message- > From: Warren Bell [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 2:34 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Adding a jpeg to a pdf > > I want to insert a jpg imag

Re: [iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Paulo Soares
I only work in Windows, can't test in Unix. I don't see the error message. Paulo > -Original Message- > From: Rai [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 8:26 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Getting error while opening a >

Re: [iText-questions] Editing PDF Stream

2008-10-17 Thread Paulo Soares
Use PdfObject.toPdf() to output the object. Paulo > -Original Message- > From: Lim, Doug [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2008 2:07 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Editing PDF Stream > > > I think I figured out wh

Re: [iText-questions] Any Progress on the RadioButton AcroForm"Expected a name object" Issue?

2008-10-17 Thread Paulo Soares
Works for me. Post a small but complete standalone example with any PDFs needed to reproduce the problem. Paulo > -Original Message- > From: sweetog [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2008 11:03 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-q

[iText-questions] Easy reading RTF document and saving to TXT

2008-10-17 Thread Radekor
hi, pls, is it possible easy read RTF document and save text to TXT file? I dont know, where I make mistake, but there is exception: "java.lang.NullPointerException" in method "convertRtfDocument" { // Create Document object Document RTFDoc = new Document(); RTFDoc.o

[iText-questions] Adding a jpeg to a pdf

2008-10-17 Thread Warren Bell
I want to insert a jpg image into a pdf. The image was created from a document that was scanned in. I am doing it this way: Document document = new Document(PageSize.LETTER, 0, 0, 0, 0); PdfWriter.getInstance(document, new FileOutputStream("C:\\test.pdf")); document.open(); java.

[iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Rai
Hi, I am getting error message while opening a PDF/A compliant pdf file on Windows machine. Error messages are attached with this post. This pdf file was generated through iText on Unix machine. The code used to generate this pdf file is: ---

[iText-questions] Getting error while opening a PDF/A compliant pdf file

2008-10-17 Thread Rai
Hi, I am getting error message while opening a PDF/A compliant pdf file on Windows machine. Error messages are attached with this post. This pdf file was generated through iText on Unix machine. The code used to generate this pdf file is: ---