[iText-questions] Odd exception

2006-06-01 Thread Amir
Hi, in one of my itext webapps i'm generating pdffiles from xml and everything works fine for awhile but then after a random time i get the following exception. *** java.lang.NullPointerException at com.lowagie.text.FontFactoryImp.getFont(Unknown Source) at com.lowagie.text

Re: [iText-questions] drawing with embedded font

2006-06-01 Thread Leonard Rosenthol
At 03:46 PM 6/1/2006, [EMAIL PROTECTED] wrote: >I would think that if you had a pdf and you added a Text Field to it >in Acrobat >then specified the font to use in this field as *not* one of the >base 14 fonts, >it would embed the entire font not a subset. That is EXACTLY what Adobe Acr

Re: [iText-questions] drawing with embedded font

2006-06-01 Thread Paulo Soares
You can only use the font in the same document with PdfStamper. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 01, 2006 8:46 PM Subject: [iText-questions] drawing with embedded font >I would think that if you had a pdf and you add

Re: [iText-questions] Nested PdfPTables

2006-06-01 Thread Paulo Soares
Add the nested table with PdfPCell.addElement(PdfPTable). Paulo - Original Message - From: "Jay McDougal" <[EMAIL PROTECTED]> To: Sent: Thursday, June 01, 2006 9:20 PM Subject: [iText-questions] Nested PdfPTables Hoping someone can provide a little help. I can't seem to get rid of t

[iText-questions] Nested PdfPTables

2006-06-01 Thread Jay McDougal
  Hoping someone can provide a little help.   I can't seem to get rid of the "extend last row" behavior for a nested set of tables. I've set "extend last Row" to false for both the parent and child tables. (Although this appears to be the default as well) but when the PDF renders the last row on

[iText-questions] drawing with embedded font

2006-06-01 Thread junk
I would think that if you had a pdf and you added a Text Field to it in Acrobat then specified the font to use in this field as *not* one of the base 14 fonts, it would embed the entire font not a subset. Also, I get that kerning information is not saved for text on a page as it is rendered as spe

Re: [iText-questions] PDF -> Tiff conversion possible?

2006-06-01 Thread Antoine
On 30/05/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote: > Anybody else have any suggestions? > Ghostscript - not java, but usable from and is not slow. Cheers Antoine ps. One of these days I am going to work on some code that will turn G4 compressed B&W to tiff G4... I am sure it ain't that hard...

[iText-questions] Bug

2006-06-01 Thread Waldo Nell
Hi, I could not find where to post bug reports so I'll send email. I am pretty sure I found (and fixed) a bug in iTextsharp: using (MemoryStream memStream = new MemoryStream()) { PdfStamper stamper = PdfStamper.CreateSignature(reader, memStream, '\0');

Re: [iText-questions] Converting word comments to PDF Comments

2006-06-01 Thread Aloizio Pereira da Silva
Bill Easly Thank you I am checking it now. * * Federal University of Minas Gerais* * Department of Computer Science * * Master Degree in Computer Science

Re: [iText-questions] Converting word comments to PDF Comments

2006-06-01 Thread Bill Ensley
www.wotsit.org Look up the word specification jakarta.apache.org Look at the POI project. -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aloizio Pereira da Silva Sent: Thursday, June 01, 2006 11:02 AM To: itext-questions@li

Re: [iText-questions] Converting word comments to PDF Comments

2006-06-01 Thread Aloizio Pereira da Silva
I don't know anything about word format. Could you give some references? * * Federal University of Minas Gerais* * Department of Computer Science * * Maste

[iText-questions] Added support for certified PDFs

2006-06-01 Thread Paulo Soares
I got a contribution from Antonio Iacono (http://opensignature.sourceforge.net/english.php) about certified PDFs and it's available in the CVS. The create a certified document just call PdfSignatureAppearance.setCertified(true) and sign the PDF as usual. The created certified PDF doesn't allow any

[iText-questions] PDF Filename and diferents application servers

2006-06-01 Thread Lamberto
Hello, I can´t set the correct filename to my generated pdf when use Acrobat button 'save' or 'save as ...'. When I use this buttons, in Save dialog box appears my package name where is my servlet. For example:"org.xxx.[1]" My code has this header (to open inside browser): response.setHea

Re: [iText-questions] Keeping things together

2006-06-01 Thread Paulo Soares
You have to discard the ColumnText used to test and create a new one.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael CaletkaSent: Thursday, June 01, 2006 6:03 PMTo: Post all your questions about iText hereSubject: Re: [iText-questions] Kee

Re: [iText-questions] Keeping things together

2006-06-01 Thread Michael Caletka
But there IS an output on the next page! Bruno had explained, that the ct.go(true) can be used to see, if the elements fit on a page, and if not I can create a new page and put the whole elements that should be kept together there. If I ALWAYS get an output of what is left on the next page, this is

Re: [iText-questions] Keeping things together

2006-06-01 Thread Paulo Soares
ct.go(true) does exactly the same thing as the regular go() with the exception that there's no output. This means that it consumes the text and whatever is left will be used next. You'll have to create a new ColumnText or use the copy constructor just for testing.   Paulo From: [E

Re: [iText-questions] PDF Encryption and Metadata

2006-06-01 Thread Leonard Rosenthol
At 10:06 AM 6/1/2006, Craig wrote: >I'm using iText to encrypt PDF documents. The problem I'm running >into is that >the metadata seems to be encrypted as well. I know Acrobat 6 and later can >encrypt a PDF's contents without encrypting the metadata. Does iText support >similar functionality?

[iText-questions] PDF Encryption and Metadata

2006-06-01 Thread Craig
I'm using iText to encrypt PDF documents. The problem I'm running into is that the metadata seems to be encrypted as well. I know Acrobat 6 and later can encrypt a PDF's contents without encrypting the metadata. Does iText support similar functionality? Thanks...

[iText-questions] Getting Error with PdfPTable

2006-06-01 Thread Srinivas P
      Hi,   I am getting the below exception when running the program, I still able to compile successfully   java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfPTable.getRows()Ljava/util/ArrayList;       Can any one know why it was occuring?     Srini 

[iText-questions] Get page and coordinates

2006-06-01 Thread Eliasen Jan
Hi   I have been playing with iTextSharp for a while now... and I have a problem.   I have a PDF formular, and on this is a button which has the fieldname "ida". I need to find the page this button is on (it is only on one page!) and also its coordinated. I don't know how to get to these inf

Re: [iText-questions] Rotate Pdf Pages

2006-06-01 Thread Develop
Do you same some example code how can I do this? This is because I'm new using this library.   Thanks   RodrigoPaulo Soares <[EMAIL PROTECTED]> escreveu: That can only be done after the doc is created using PdfStamper and adding a the key /Rotate 180 in the page dictionary.Paulo- Original

[iText-questions] Cells not completed when table doesn ´t fit in one page

2006-06-01 Thread Fer
Hello, I have a problem. When a table not fit into one page, table breaks in two pages, but cells in the same row, shows in the first page and others in the second page. ¿how can i solve it? ___ iText-questions mailing list iText-questions@lists.so

Re: [iText-questions] Pdf from extracted pages

2006-06-01 Thread beppe costagliola
If I open it with AcroProf and I save it I don't get any message. When I run ghostscript on it there are no warnings anymore. I will try to find a place where I can put the 6 pages (original) I extract from. (btw the generated pcl prints fine, I was only try to avoid this warning that can be a li

[iText-questions] Getting Error with PdfPTable

2006-06-01 Thread Srinivas P
  Hi,   I am getting the below exception when running the program, I still able to compile successfully   java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfPTable.getRows()Ljava/util/ArrayList;       Can any one tell why it was occuring     Srini 

Re: [iText-questions] Image in Signature [Complete]

2006-06-01 Thread Anja Kaiser
Hi, is ist also possible that the image will be set as a watermark. Like this, you cann't read the signature field anymore. Greetings Anja >  Original-Nachricht > Datum: Wed, 31 May 2006 07:21:15 + (UTC) > Von: Khurram Saleem <[EMAIL PROTECTED]> > An: itext-questions@lists.

Re: [iText-questions] RE : RE : Dashed table cell border

2006-06-01 Thread bruno
YOUSFI Khaled wrote: >Hi, > >I'm using a PdfPTable to display several data rows and I would like that the >last row of my table doesn't fill the remaining space in its container >(another PdfPTable). >Although I set my table like the following >pdfPTable.setExtendLastRow(false), the last row is u

Re: [iText-questions] Pdf from extracted pages

2006-06-01 Thread Paulo Soares
You don't need the reader.selectPages(SELECTION), you can just add the pages you want in PdfCopy, but that's not a bug. Open the file in Acrobat professional and close it to see if it offers to save it indicating a rebuild. You can also post the file somewhere and post a link to it here. Paulo >

Re: [iText-questions] Pdf from extracted pages

2006-06-01 Thread beppe costagliola
> Either you didn't extract it correctly, forgeting a > close, for example, Paulo, this is the code I'm using: // create a reader for the input document PdfReader reader = new PdfReader(FROMPDF); // retrieve the selected pages reader.selectPages(SELECTION); int pages = reader.getNumberOfPages()

Re: [iText-questions] Pdf from extracted pages

2006-06-01 Thread Paulo Soares
Either you didn't extract it correctly, forgeting a close, for example, of the file was corrupted on its way to the pcl converter. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of beppe costagliola > Sent: Thursday, June 01, 2006 10:25 AM

Re: [iText-questions] Nutze PDFGraphics2D um PDFs zu erzeugen - max. dpi einstellbar ???

2006-06-01 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bruno > Sent: Thursday, June 01, 2006 10:03 AM > To: Post all your questions about iText here; [EMAIL PROTECTED] > Subject: Re: [iText-questions] Nutze PDFGraphics2D um PDFs zu > erzeugen - max.

[iText-questions] Pdf from extracted pages

2006-06-01 Thread beppe costagliola
I've extracted a page from a pdf and when I try to convert it into pcl I get this warning: Warning: File has an invalid xref entry: 2. Rebuilding xref table. This file had errors that

Re: [iText-questions] Nutze PDFGraphics2D um PDFs zu erzeugen - max. dpi einstellbar ???

2006-06-01 Thread bruno
Paulo Soares wrote: > (This is an English language list) > iText won't change the image resolution. You'll have to do it > externally with JAI or something else. I have seen this question on news://comp.text.pdf The OP has a PDF containing only images, one per page. The page size is very big; I

Re: [iText-questions] Keeping things together

2006-06-01 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bruno > Sent: Thursday, June 01, 2006 8:44 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Keeping things together > > Michael Caletka wrote: > > > Sorry, AddE

Re: [iText-questions] Nutze PDFGraphics2D um PDFs zu erzeugen - max. dpi einstellbar ???

2006-06-01 Thread Paulo Soares
(This is an English language list) iText won't change the image resolution. You'll have to do it externally with JAI or something else.   Paulo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas SchmidtSent: Thursday, June 01, 2006 2:56 AMTo: itext-quest

Re: [iText-questions] Keeping things together

2006-06-01 Thread Michael Caletka
Please let me know, when the book will be available. I will order a copy for sure!Many thanks againMichael2006/6/1, bruno <[EMAIL PROTECTED] >:Michael Caletka wrote:> Sorry, AddElement DOES do the job! Somehow I must have been confused a > little.It is very important not to mix setText and addEleme

Re: [iText-questions] Keeping things together

2006-06-01 Thread bruno
Michael Caletka wrote: > Sorry, AddElement DOES do the job! Somehow I must have been confused a > little. It is very important not to mix setText and addElement. I explain this in my book (that will probably be released in November), but it's difficult to explain in a few sentences in a mail. br

Re: [iText-questions] ITextSharp help required.

2006-06-01 Thread Bruno Lowagie
Davide wrote: >Hi, > I've recently tried to apply that technic as well, with no success. >If the form pdf has been realised using acrobat pro 7 than I get my code >executed successfully but the form field is still empty. >That behaviour does not occur if I use older pdf format (v. 1.4 or pr

Re: [iText-questions] Keeping things together

2006-06-01 Thread Michael Caletka
Sorry, AddElement DOES do the job! Somehow I must have been confused a little...Thanks again  Michael2006/5/31, bruno <[EMAIL PROTECTED] >:Michael Caletka wrote:> As far as I can see in the examples of the tutorial, you always have > to give the Column a rectangle in absolute positions. I don't

Re: [iText-questions] Keeping things together

2006-06-01 Thread Michael Caletka
Dear Bruno,Thanks for your patience, examples and explanations. Now I think at last I'm getting somewhere - thank you very much! Just one final question: How can I add PdfPtable-objects to the ColumnText? AddElement didn't do the job, nor adding the table to a Phrase or Paragraph first. What am I d