Re: [iText-questions] Slow parsing of rtf files even if they are small.

2008-05-14 Thread Søren Laursen
Merging 4-5 files where the size is 618 chars (on an average) it takes up to 5 seconds. I have to mention than it is a iterative merge because I have to check if the merged size is larger than 3K (database restrictions) before I add a new document. Tried a new approach where I set up RtfWrite2

Re: [iText-questions] Question abt itext silent printing

2008-05-14 Thread 1T3XT info
SVD wrote: > 1.Can we give the printer details like printer name and tray in the pdf > generation? Can you provide some code sample for this. Do you know what the P in PDF stands for? It stands for Portable; adding printer details would break a PDFs portability. In the past there have been ways t

Re: [iText-questions] adding through direct content on multiple pages

2008-05-14 Thread 1T3XT info
Andrzej Semeniuk wrote: > Hi, > I browsed through the FAQ and archives and didn't find relevant posts about my > problem. It's obvious that you haven't been looking at: http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php#pdfstamper > I'm new to iText and have the following problem:

Re: [iText-questions] Can iText notify a browser when the pdf is done loading?

2008-05-14 Thread wasegraves
-- Original message -- From: ambassador <[EMAIL PROTECTED]> > > > I am streaming a dynamic iText pdf to a web browser. Is there something I > can put in the pdf that will notify the browser when the pdf is done > downloading? Other than the EOF marker that the PDF

Re: [iText-questions] Can iText notify a browser when the pdf is done loading?

2008-05-14 Thread Howard Shank
That's a function of the browser. I've never seen a "download" launch another process or notify the user. That would be a security risk. Howard - Original Message From: ambassador <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Wednesday, May 14, 2008 6:59:42 PM Subj

[iText-questions] Can iText notify a browser when the pdf is done loading?

2008-05-14 Thread ambassador
I am streaming a dynamic iText pdf to a web browser. Is there something I can put in the pdf that will notify the browser when the pdf is done downloading? I know pdf's use javascript, but I'm not sure pdf javascript can communicate with browser javascript. My browser needs to know when the pdf

[iText-questions] adding through direct content on multiple pages

2008-05-14 Thread Andrzej Semeniuk
Hi, I browsed through the FAQ and archives and didn't find relevant posts about my problem. I'm new to iText and have the following problem: I'm trying to add content to a PDF document by using PdfContentByte on multiple pages, but am only able to add content to the first page -- only the first pa

[iText-questions] Question abt itext silent printing

2008-05-14 Thread SVD
Hi , I have couple of questions about itext silent printing. 1.Can we give the printer details like printer name and tray in the pdf generation? Can you provide some code sample for this. 2. Is it possible in itext to print on the client printer? I have a requirement that when cli

[iText-questions] (no subject)

2008-05-14 Thread eldjon kepucka
Hi , i am a java developer and right now im writing an eclipse plugin which uses iText library to generate pdf documentation. at one point i got a weird problem. the integrated plugin is not able to create PdfWriter.the second line of this code appears to generate exeptions. in a stand alo

Re: [iText-questions] iText to Java2D

2008-05-14 Thread Leonard Rosenthol
On May 14, 2008, at 3:08 PM, jeffupt wrote: > Is there an easy way to use iText to convert PDF data into Java2D > geometry > objects ( ie GeneralPath etc. ) > No, there isn't - mostly because the PDF imaging model is richer than Java2D. There are, however, some other libraries

[iText-questions] iText to Java2D

2008-05-14 Thread jeffupt
Is there an easy way to use iText to convert PDF data into Java2D geometry objects ( ie GeneralPath etc. ) -- View this message in context: http://www.nabble.com/iText-to-Java2D-tp17238712p17238712.html Sent from the iText - General mailing list archive at Nabble.com. -

[iText-questions] amount format lost when writing to pdf

2008-05-14 Thread ayeen
hi, we have this field in our source.pdf called total_amount... in acrobat we have manually set the property of total_amount like this: Category: Number (1,234.00) Number Options: Decimal places : 2 Currency symbol : none Separator style: 1,234.56

Re: [iText-questions] Unix

2008-05-14 Thread Paulo Soares
Yes. I use it with websphere and aix since 1999 (different versions of websphere, aix and iText as time goes by, of course). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gerald Bourgault > Sent: Wednesday, May 14, 2008 6:31 PM > To: it

[iText-questions] Unix

2008-05-14 Thread Gerald Bourgault
Does the iText execute well on a Unix Platform with WebSpere server ? Thanks ! Gerry - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/v

Re: [iText-questions] Tiff to pdf conversion - CCITT Fax Group 4 compression

2008-05-14 Thread wasegraves
Jamal, Please see inline responses below. Best regards, Bill Segraves P.S. FYI, this is a discussion list, not a help desk, so your prioriies may not be the same as those of other participants. Use of "High Priority" is disrespectful of other participants, as it shows you may have little or no

Re: [iText-questions] Tiff to pdf conversion - CCITT FaxGroup4compression

2008-05-14 Thread Paulo Soares
If the tiff files are exactly the same I don't see any reason for this to happen. Big and little endian don't matter here. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jamal Mohideen > Sent: Wednesday, May 14, 2008 5:17 PM > To: Post al

Re: [iText-questions] Tiff to pdf conversion - CCITT Fax Group4compression

2008-05-14 Thread Jamal Mohideen
Thanks for your comments, is there are any possiblity to resolve this issue? Thanks and Regards, Jamal Mohideen - Original Message - From: "Howard Shank" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Wednesday, May 14, 2008 5:49 PM Subject: Re: [iText-question

Re: [iText-questions] Tiff to pdf conversion - CCITT Fax Group 4compression

2008-05-14 Thread Howard Shank
My thoughts are the files may have a different bit order (big-endian vs. little-endian) in some cases depending on OS and the TIF generator. Howard Shank - Original Message From: Paulo Soares <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Wednesday, May 14, 200

Re: [iText-questions] Tiff to pdf conversion - CCITT Fax Group 4compression

2008-05-14 Thread Paulo Soares
I'm not surprised that some tiffs may fail but I'm really surprised that they work in Windows but not in Linux. I only use Windows, I can't test this. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jamal Mohideen > Sent: Wednesday, May 1

Re: [iText-questions] RtfShape line width

2008-05-14 Thread Michael Stevens
2008/5/13 Howard Shank <[EMAIL PROTECTED]>: > Hi Michael, > > RtfShapes are controlled by properties. Properties are added using the > setProperty() method of the shape. The "lineWidth" property uses a > measurement unit of EMU. > >shape.setProperty(new RtfShapeProperty("lineWidth", 9

Re: [iText-questions] Reader Enable & Signing PDFs

2008-05-14 Thread Bruno Lowagie
Mitchell B. Goldstein wrote: > Hello, > > Can your library be used to "Reader Enable" and existing PDF file? How many times do we have to repeat this??? PDF files can only be Reader Enabled with Adobe products. NO OTHER company can offer you Reader Enabling!!! If you'd know what Reader Enabling

[iText-questions] Reader Enable & Signing PDFs

2008-05-14 Thread Mitchell B. Goldstein
Hello, Can your library be used to "Reader Enable" and existing PDF file? How about Digitally Sign and existing PDF file? Or do we need to create the PDF with your library also? Thanks, Mitch - This SF.net email is spon

Re: [iText-questions] extracting pages from a PDF document (with bookmarks)

2008-05-14 Thread Edward W. Rouse
It isn't quite finished yet, but I have created a class that has that functionality in it as well as a little more. The TestSplit class shows how to use the split by outline bits. The only thing that might seem odd is the setLevel(int). This sets the bookmark level that is used to make the split.

Re: [iText-questions] Cell Height

2008-05-14 Thread glen . hamel
Thanks Paulo, I has assumed that setWidthPercentage would be the same as setTotalWidth.. Once I added the total width, I got it working.. Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.39

Re: [iText-questions] (no subject)

2008-05-14 Thread Bruno Lowagie
Fabian Franco-Roldan wrote: > I really dont want to have to use a LiveCycle server:/ Why not? I recently recommended LiveCycle server in a project at Ghent University. I've seen several demos and based on what I've seen, I'd say it's a great product. Adobe really needed a server side solution and

Re: [iText-questions] Slow parsing of rtf files even if they are small.

2008-05-14 Thread Howard Shank
Hi Søren, I have not tested the C# port personally, but the Java version as written does not exhibit the massive memory use you describe. What version are you using? As for being slow, are we talking seconds or minutes or hours? I can tell you this. As you import additional documents, the requir

[iText-questions] Slow parsing of rtf files even if they are small.

2008-05-14 Thread Søren Laursen
Hi, I was looking at itextsharp for generating pdf files and found out that it also could be used for parsing/generationg rtf files. So I have been using itextsharp to merge rtf files. The rtf files are very small and have almost no advance features, just text and color. Even thou when I am

Re: [iText-questions] (no subject)

2008-05-14 Thread Fabian Franco-Roldan
I really dont want to have to use a LiveCycle server:/ Leonard Rosenthol wrote: > The only tool that can do tht is Adobe LiveCycle ES. > > Leonard > > > On May 14, 2008, at 4:04 AM, Fabian Franco-Roldan wrote: > > >> Hi, >> >> Is there any way that IText can read or convert an XFA based PDF to

Re: [iText-questions] Changing xml-part of PDF and inject it to the final PDF file

2008-05-14 Thread Leonard Rosenthol
I wrote what I meant - what you WANT to do in order to accomplish your task... How do you do it? Start by reading the PDF Reference to understand the minimal amount of PDF "stuff" necessary to get Acrobat/Reader to process it and how XFA information is contained inside a PDF. Then use Adob

Re: [iText-questions] (no subject)

2008-05-14 Thread Leonard Rosenthol
The only tool that can do tht is Adobe LiveCycle ES. Leonard On May 14, 2008, at 4:04 AM, Fabian Franco-Roldan wrote: > Hi, > > Is there any way that IText can read or convert an XFA based PDF to an > image, or is there any tool out there that can do there. > > -

Re: [iText-questions] fetching the index and the information contents

2008-05-14 Thread 1T3XT info
Agraj Agranayak wrote: > Hello, > > I was working on a project where I need to fetch information like the > 'index' and the 'contents of the page' of a well structured pdf document. Why the past tense? Are you no longer working on that project? Note that you are currently not subscribed to the ma

[iText-questions] fetching the index and the information contents

2008-05-14 Thread Agraj Agranayak
Hello, I was working on a project where I need to fetch information like the 'index' and the 'contents of the page' of a well structured pdf document. iText provides the functionality to read the bookmarks, how do I fetch the required information mentioned above using iText. Waiting for a

Re: [iText-questions] One question about the Reading of Pagenumber using iText

2008-05-14 Thread 1T3XT info
Vunnam Satyanarayana, Noida wrote: > Hi, > > I am working on the project which deals with the pdf files. I am not > able to read the page number from the existing pdf file. > > Is there option in itext to read the page number? It depends. [1] Normally you use getImportedPage(reader, pagenumbe

Re: [iText-questions] Changing xml-part of PDF and inject i t to the final PDF file

2008-05-14 Thread Ricardo Matos
Leonard Rosenthol pdfsages.com> writes: > On May 13, 2008, at 6:23 AM, Ricardo Matos wrote: > > Then, I grab that temporary file and I try using a PDFCopy object > > to simply > > copy the useful pages to a final output pdf. > > PDFCopy is for copying REAL PDF pages - you are working wit

[iText-questions] One question about the Reading of Pagenumber using iText

2008-05-14 Thread Vunnam Satyanarayana, Noida
Hi, I am working on the project which deals with the pdf files. I am not able to read the page number from the existing pdf file. Is there option in itext to read the page number? Thanks & Regards satya DISCLAIMER: ---

[iText-questions] (no subject)

2008-05-14 Thread Fabian Franco-Roldan
Hi, Is there any way that IText can read or convert an XFA based PDF to an image, or is there any tool out there that can do there. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Stud

Re: [iText-questions] I hope I'm not imposing / quick iText question

2008-05-14 Thread Bruno Lowagie
First this: you've send your mail to [EMAIL PROTECTED] This devnull address is a reference to /dev/null See http://en.wikipedia.org/wiki/Dev/null In other words: it's a Trash bin address and mails sent to that address are hardly ever read. It's an address to fool SPAM engines. I thought it wouldn'

Re: [iText-questions] Loading PDF files for concatenating from jar

2008-05-14 Thread 1T3XT info
Peter Rait wrote: > Hi, > > I am distributing my application in a jar file. In this application I have to > merge a dynamically created PDF with some already existing PDF files which > are actually in the same directory as the jar file. I have also a csv file > used for PDF creation in this dir