[iText-questions] collections.zip
I'm having an awful time finding the collections.zip file neede for JDK 1.1 support. Please help. The file is no longer available for download from Sun Java site as referenced on so many pages, including Paulos. I'm under the gun to produce a proof-of-concept for use of iText in a JDK 1.1 environment. We'll eventually move towards 1.2 but that won't relieve my stress for now. How can I get the collections.zip file? Thanks SO much for your time and consideration of this!!! --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Multiple requests to Server from IE for dynamic PDF from iText
See http://www.hanselman.com/blog/CommentView.aspx?guid=453 and MS knowledgebase article http://support.microsoft.com/default.aspx?scid=kb;en-us;293792 The fix they suggest in the knowledgebase (using an object tag so the browser doesn't have to determine which plugin to use) seems to work fine. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:06 PM Subject: [iText-questions] Multiple requests to Server from IE for dynamic PDF from iText Hi, I am using iText PDF library to generate dynamic PDF using Java Stored Procedure which called by Java Script. The browser I am using is IE 6.0. I found that for every single request, I get minimum 2 requests always to my server.This is resulting in lot of performance overhead, to end user i.e. user is waiting twice the time for every request. I tried setting content length but did not help. Any one has some clues/solution to fix it ? Thank much Surendra --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Enhanced generic tag
The chapter and section objects have behavior that interfered with the formatting of my document, so I attempted to use the generic tag feature. I ran into a limitation in the generic tag in that there was no way to determine the level of the tag in the onGenericTag event handler. So I created a GenericTag object that has two properties, a text property (String) and a level (int) property. I modified the rest of the source code to accommodate the new GenericTag object, including the onGenericTag method which now requires a GenericTag object instead of a string. This change has made creating an outline of unlimited levels without changing the formatting of my document very easy. It even works when I have much of the document content in tables. So far I havent run into any problems. I think this enhancement would be of benefit to many users. Best regards, Kim Turner
[iText-questions] indenting text
Is there a way to haveall lines(other than the first)indent? I'm currently using paragraphs and adding them to cells of a PdfPTable thanks, seth == This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure. ==
[iText-questions] PDF Reader
Hi, I have down loaded itext-paulo-jdk1.1-127.jar file to read pdf files. When I try to compile the Chap13_pdfreader.java which is provided in examples I am getting the following errors. Chap13_pdfreader.java:22: Package com.lowagie.text not found in import. import com.lowagie.text.*; ^ Chap13_pdfreader.java:23: Package com.lowagie.text.pdf not found in import. import com.lowagie.text.pdf.*; ^ 2 errors I have added itext-paulo-jdk1.1-127.jar in the class path. Do I need to add anything else? Lak attachment: winmail.dat
[iText-questions] landscape and portrait in the same rtf file
hello. is it possible to have landscape and portrait formatted pages in a rtf file? when i try this with itext the whole document is formatted with the last document size i set. one other question: does any body have a more complete documentation how to create rtf documents with itext. i'm trying to figure out how to create a toc and how to add pages numbers. thanks in advance for any information. greetings, adrian. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] edit a pdf
Title: RE: [iText-questions] edit a pdf Use PdfStamper. See the example stamped.java in itextpdf.sf.net. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Rhodri Davies Sent: Wednesday, January 28, 2004 19:06 To: [EMAIL PROTECTED] Subject: [iText-questions] edit a pdf Hi guys I'm a newbie to iText so sorry if this is too simple for some of you...: I'm just looking at for a code snippet to edit an existing PDF doc. I have looked at PdfStamper / PdfReader / PdfWriter, but can't quite work it out. I would like the documents reference code to be printed in the bottom corner of each page of the existing document... I like HeaderFooter, but I can't get it working with existing PDF's. Thanks in advance. Rhodri D
RE: [iText-questions] getRowHeight()
Title: RE: [iText-questions] getRowHeight() You must call setTotalWidht() first. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Turetsky, Seth Sent: Wednesday, January 28, 2004 21:14 To: [EMAIL PROTECTED] Subject: [iText-questions] getRowHeight() How do you get the height of a row on a pdfPTable with multiple columns? getRowHeight(rowNumber) didn't work for me, it returned 0.0 for each, but there is data. Note: I was able to get the size() of the pdfPTable Thanks in advance, Seth == This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure. == --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] problem with concat pdf files into a LEGAL size document
Title: RE: [iText-questions] problem with concat pdf files into a LEGAL size document Use PdfCopy. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Rémi Guilbert Sent: Wednesday, January 28, 2004 19:49 To: itext Subject: [iText-questions] problem with concat pdf files into a LEGAL size document Hi, I try to concat a LETTER size document, LEGAL size document and other documents larger than LEGAL. I use this mehod to concat files. public void concatPDF (String args[], Log log) { try { int f = 1; // we create a reader for a certain document PdfReader reader = new PdfReader(args[f]); // we retrieve the total number of pages int n = reader.getNumberOfPages(); // System.out.println(There are + n + pages in the original file.); // step 1: creation of a document-object Document document = new Document(PageSize.LEGAL); // step 2: we create a writer that listens to the document PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(args[0])); // step 3: we open the document document.open(); PdfContentByte cb = writer.getDirectContent(); PdfImportedPage page; int rotation; // step 4: we add content while (f args.length) { int i = 0; while (i n) { i++; document.setPageSize(PageSize.LEGAL); document.newPage(); page = writer.getImportedPage(reader, i); rotation = reader.getPageRotation(i); float height = reader.getPageSize(i).height(); float width = reader.getPageSize(i).width(); if (width height) { cb.addTemplate(page, 0, -1f, 1f, 0, 0, 1000); } else { cb.addTemplate(page, 0, 0); } } f++; if (f args.length) { reader = new PdfReader(args[f]); // we retrieve the total number of pages n = reader.getNumberOfPages(); } } // step 5: we close the document document.close(); } catch(Exception e) { log.enregistrerMessage(Message d'erreur de la méthode concatPDF : + e.getMessage(),dev); //System.err.println(e.getClass().getName() + : + e.getMessage()); } } The result pdf files is not correct. The header of each LEGAL size document doesn't appear. Only the LETTER size document seems ok. Can you help me ? Thank's !! Rémi
[iText-questions] Another test, disregard
testing __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Re: collections.zip
Elizabeth Mertz Castelli wrote: I'm having an awful time finding the collections.zip file neede for JDK 1.1 support. Please help. The file is no longer available for download from Sun Java site as referenced on so many pages, including Paulos. I'm under the gun to produce a proof-of-concept for use of iText in a JDK 1.1 environment. We'll eventually move towards 1.2 but that won't relieve my stress for now. How can I get the collections.zip file? Thanks SO much for your time and consideration of this!!! Don't know if it's the right one, but I just managed to download this: ftp://ftp.javasoft.com/pub/beans/1.1collections.zip br, Bruno --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] pdf forms - itext newbie
Hi, iText newbie for about 20 minutes :-) be kind. If I have a pdf form with one field called myfield and I have a hashmap like so Map myMap = new HashMap(); myMap.put( myfield, Web Guy ); myMap.put( address, 1 Main St. ); and I want to loop over my hashmap and fill the forms field , if it exists, and save the resulting pdf to disk, what is the code with iText ?? Are there any good PDF forms with iText articles / tutorials / examples out there. WG --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] problem with concat pdf files into a LEGAL size document
Title: RE: [iText-questions] problem with concat pdf files into a LEGAL size document Hi, I not sure to understand. I want to different concat pdf files into a LEGAL document. Do you mean to use PdfCopy inside concatPDF method ? I don't know witch method of PdfCopyyou want that I use. Could you explain more your suggestion please ? Rémi - Original Message - From: Paulo Soares To: Rémi Guilbert ; itext Sent: Thursday, January 29, 2004 6:20 AM Subject: RE: [iText-questions] problem with concat pdf files into a LEGAL size document Use PdfCopy. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Rémi Guilbert Sent: Wednesday, January 28, 2004 19:49 To: itext Subject: [iText-questions] problem with concat pdf files into a LEGAL size document Hi, I try to concat a LETTER size document, LEGAL size document and other documents larger than LEGAL. I use this mehod to concat files. public void concatPDF (String args[], Log log) { try { int f = 1; // we create a reader for a certain document PdfReader reader = new PdfReader(args[f]); // we retrieve the total number of pages int n = reader.getNumberOfPages(); // System.out.println("There are " + n + " pages in the original file."); // step 1: creation of a document-object Document document = new Document(PageSize.LEGAL); // step 2: we create a writer that listens to the document PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(args[0])); // step 3: we open the document document.open(); PdfContentByte cb = writer.getDirectContent(); PdfImportedPage page; int rotation; // step 4: we add content while (f args.length) { int i = 0; while (i n) { i++; document.setPageSize(PageSize.LEGAL); document.newPage(); page = writer.getImportedPage(reader, i); rotation = reader.getPageRotation(i); float height = reader.getPageSize(i).height(); float width = reader.getPageSize(i).width(); if (width height) { cb.addTemplate(page, 0, -1f, 1f, 0, 0, 1000); } else { cb.addTemplate(page, 0, 0); } } f++; if (f args.length) { reader = new PdfReader(args[f]); // we retrieve the total number of pages n = reader.getNumberOfPages(); } } // step 5: we close the document document.close(); } catch(Exception e) { log.enregistrerMessage("Message d'erreur de la méthode concatPDF : " + e.getMessage(),"dev"); //System.err.println(e.getClass().getName() + ": " + e.getMessage()); } } The resultpdf files is not correct. The header of each LEGALsize documentdoesn't appear. Only the LETTER size document seems ok. Can you help me ? Thank's !! Rémi
[iText-questions] Disregard, just testing
Title: Disregard, just testing Just testing
Re: [iText-questions] Problems opening PDF's
Thanks for all the suggestions. I should have mentioned the first time that both of the servers in question can serve up 'regular' PDFs without much trouble, and I can usually open PDFs in both of my browsers without issue. However when I got onto another machine I was able to open my test PDF without a problem, and now that I try it again today I can get it to open fine in IE6 from IIS, and from Netscape7 from both IIS and Apache, now that I have restarted my machine, so the Acrobat plug-in must have got severely upset somehow. Does this ring any bells with anyone, or do I just carry on and ignore this? Mike Message: 10 From: Eric West [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [iText-questions] Problems opening PDF's Date: Wed, 28 Jan 2004 08:33:19 -0800 Mike- How are you opening them using your browser? Are you attempting to view them remotely (via an http connection) or locally (via File : Open from the browser)? If you are attempting to remotely view them, be sure that the content-type of the response is set to application/pdf in your server-side handlingcode. In either case, be sure that your browser is properly configured with the Acrobat plugin. Hope this helps, Eric Check planning applications from your office or home www.edinburgh.gov.uk/planning Pay for on-street parking in central Edinburgh from your mobile phone www.edinburgh.gov.uk/mpark More at www.edinburgh.gov.uk/onlineservices ** This Email and files transmitted with it are confidential and are intended for the sole use of the individual or organisation to whom they are addressed. If you have received this Email in error please notify the sender immediately and delete it without using, copying, storing, forwarding or disclosing its contents to any other person. The Council has endeavoured to scan this Email message and attachments for computer viruses and will not be liable for any losses incurred by the recipient. ** --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Multiple requests to Server from IE for dynamic PDF from iText
Quoting [EMAIL PROTECTED]: Hi, I am using iText PDF library to generate dynamic PDF using Java Stored Procedure which called by Java Script. The browser I am using is IE 6.0. I found that for every single request, I get minimum 2 requests always to my server.This is resulting in lot of performance overhead, to end user i.e. user is waiting twice the time for every request. I tried setting content length but did not help. Any one has some clues/solution to fix it ? It's a typical MSIE thing. The only workaround I know of, is to work with the PDF embedded in an HTML file as described in the FAQ: http://www.lowagie.com/iText/faq.html#msie br, Bruno --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] How can isert a global summary??
I didn't find any method to write a summary? Could someome suggest the best way to do that? Thanks --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] PdfPTable
Title: RE: [iText-questions] PdfPTable Render it to a template, make an image out of it and create a Chunk with that image. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Ujjwala Kadam Sent: Wednesday, January 28, 2004 6:28 To: [EMAIL PROTECTED] Subject: [iText-questions] PdfPTable Hi, Is there any way to append a PdfPTable to a phrase or a chunk? Thanks and regards Ujjwala --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions