Re: [iText-questions] Perfomance Question - ByteArray vs Files

2010-03-22 Thread warren
Thanks! That tells me I have to study both approaches. I'll run some tests to see if I can figure out where the tipping point is between files and memory. -- Download Intel#174; Parallel Studio Eval Try the new

[iText-questions] Document instance from existing document?

2010-03-22 Thread egarrulo
Hello, I can't find a way to get an instance of Document from an existing PDF file. How can I accomplish that? Thanks. -- View this message in context: http://old.nabble.com/%22Document%22-instance-from-existing-document--tp27987784p27987784.html Sent from the iText - General mailing list

[iText-questions] How to eliminate the white space

2010-03-22 Thread justgame
Hello guys, Pls help me, I try to generate a dynamic pdf nested table. But some unexpected white space comes out,which is marked by red line as the image shows. How can the white space be eliminated? http://old.nabble.com/file/p27987290/whitespace.png If more information is

[iText-questions] how to read pdf file using iTextsharp

2010-03-22 Thread rao sahib
sir i am using iTextSharp last 2 days i can not read pdf file plz tell me how can i read pdf file? is it possible to read pdf file like reading a steam e.g ReadLine() -- Download Intel#174; Parallel Studio Eval

[iText-questions] iText and repeating fields

2010-03-22 Thread Van den Eynde Wim
We have a PDF file which is generated by BI Publisher. This file contains repeating fields, this means that in PDF created one field is specified and this field is copied en filled in in BI Publisher for as much occurences there are for an element in the data providing xml file. However, If we

[iText-questions] Secure pdf problem

2010-03-22 Thread Peter Macko
Hello I trying to use your iText 5.0.0.1 java Library for Secured my PDFs. I tried this example: PdfEncryptor.encrypt(new PdfReader(/home/pmacko/PDF/DBS.pdf), new FileOutputStream(/home/pmacko/PDF/DBS2.pdf),

Re: [iText-questions] unsubscribe

2010-03-22 Thread Sandy Shah
Thanks, I had the wrong user email. I believe it should work now! _ From: Brigit Ananya [mailto:bri...@ananya.com] Sent: Sunday, March 21, 2010 2:42 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] unsubscribe On the webpage

[iText-questions] Determining viewer preference for 'Show Cover page during 2-Up'

2010-03-22 Thread Matthew Richer
Hello, I'm new to the mailing list (although I've used iText for a little while now). I've looking at extract the viewer preferences from a PDF document (particular the ones used in Acrobat Reader - i.e. One-Up, Two-Up, Show Cover page during 2-Up (yes/no)). I've found the viewer

[iText-questions] Itext in Action 2nd Edition - PDF Packages - Portable Collections

2010-03-22 Thread vasantha sriram
Hello,  I have book the electronic version of the second edition of this book.  The books has a topic on Portable Collections which I guess has not been added yet. I have scoured the net for examples on creating Portable Collections. Some of the links to your wiki sites are no longer working.  

[iText-questions] xsd file

2010-03-22 Thread tdelville
Hello, I'm interesting by creating PDF documents from XML files. I need to describe this XML by hand rather by than API based code. As I'm using Visual Studio 2005 to write my XML, so I found easier to write my file by being helped with the auto-completion. But to enable it, I need to assign an

[iText-questions] pdf convertor

2010-03-22 Thread yamini gupta
i have selected the pdf convertor as my mini project i need algorithms and code to convert text and html files to pdf in java -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed

Re: [iText-questions] Determining viewer preference for 'Show Cover page during 2-Up'

2010-03-22 Thread Leonard Rosenthol
Did you consult ISO 32000-1:2008 for the possible values? Perhaps iText hasn't predefined all of them? From: Matthew Richer [mailto:matthew.ric...@conceptshare.com] Sent: Monday, March 22, 2010 11:36 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Determining viewer

Re: [iText-questions] Document instance from existing document?

2010-03-22 Thread Paulo Soares
You can't but I'm sure that you can use something else. If only we knew what you're trying to do... Paulo -Original Message- From: egarrulo [mailto:egarr...@gmail.com] Sent: Monday, March 22, 2010 3:15 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Document

Re: [iText-questions] How to eliminate the white space

2010-03-22 Thread Paulo Soares
More information is needed (like, I don't know, maybe some code). It would also help to know what end result do you expect. Paulo -Original Message- From: justgame [mailto:foolishdrea...@163.com] Sent: Monday, March 22, 2010 2:43 PM To: itext-questions@lists.sourceforge.net Subject:

Re: [iText-questions] how to read pdf file using iTextsharp

2010-03-22 Thread Paulo Soares
Did you look at the examples, book, etc. (I know you didn't but it's always polite to ask) Paulo From: rao sahib [mailto:raomohsink...@yahoo.com] Sent: Monday, March 22, 2010 10:07 AM To: itext-questions@lists.sourceforge.net;

Re: [iText-questions] iText and repeating fields

2010-03-22 Thread Paulo Soares
Today is the day of cryptic questions. Post the PDF and the code. Paulo From: Van den Eynde Wim [mailto:wim.vandeney...@irelate.be] Sent: Monday, March 22, 2010 8:38 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] iText and repeating

Re: [iText-questions] Secure pdf problem

2010-03-22 Thread Brigit Ananya
Hi, As you can see, on the bottom of the webpage: www.itextpdf.com you also need the http://www.bouncycastle.org/BouncyCastle bcmail-jdk16-145.jar and bctsp-jdk16-145.jar. Well, I am a beginner at iText, but I hope this helps. At 02:27 PM 03/21/10, Peter Macko wrote: Hello I trying to use

Re: [iText-questions] pdf graphics file questions

2010-03-22 Thread Brigit Ananya
Hi, Thanks a lot, Mr. Rosenthol! So, do you mean that the AICB is not private to Adobe, that I could learn it? I will look at the Adobe Illustrator SDK. So, besides trying to learn AICB, my only remaining question is: With iText, Is it possible to read the array of CubicCurve2D.Doubles and the

Re: [iText-questions] Secure pdf problem

2010-03-22 Thread Paulo Soares
Post the PDF. Paulo -Original Message- From: Peter Macko [mailto:pma...@pcrevue.sk] Sent: Sunday, March 21, 2010 9:27 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Secure pdf problem Hello I trying to use your iText 5.0.0.1 java Library for Secured my PDFs. I

Re: [iText-questions] design pattern

2010-03-22 Thread Jason Berk
I understandin the meantime, could you answer this question: if I create one PDF and add 100,000 pages, what will it's file size be relative to creating 100,000 PDFs and using PdfSmartCopy to concat them together? If the difference is a few KB/MB I'll go that route. If it's 10s or 100s

Re: [iText-questions] design pattern

2010-03-22 Thread Paulo Soares
In PdfsmartCopy if the images are the same only one instance will be used but subset fonts won't be merged and you'll end up with an instance per file inserted. It will also use a lot of memory for the generation. iText does a lot of things but it's not particulary efficient memorywise and will

Re: [iText-questions] design pattern

2010-03-22 Thread Leonard Rosenthol
How does SmartCopy determine “image equality”? From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, March 22, 2010 1:55 PM To: Post all your questions about iText here Subject: Re: [iText-questions] design pattern In PdfsmartCopy if the images are the same only one instance will be used

Re: [iText-questions] pdf graphics file questions

2010-03-22 Thread Leonard Rosenthol
You can certainly look into it - it appears that other products support it, so it may be published... Yes, you can use the new content parser classes to find all the vector drawing commands in the PDF - but they are just the series of commands that you will need to turn into something for your

Re: [iText-questions] design pattern

2010-03-22 Thread Jason Berk
Yeah, I'm crafting one nowbut an answer to the question would tell me if my test followed suit. Memory isn't an issue on my hardware...so I'd sacrifice it for speed/resulting file sizeand in the end, a repeatable and well understood process trumps everything. Jason

Re: [iText-questions] design pattern

2010-03-22 Thread Paulo Soares
PdfSmartCopy only compares streams. Paulo From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Monday, March 22, 2010 6:13 PM To: Post all your questions about iText here Subject: Re: [iText-questions] design pattern How does SmartCopy determine image

Re: [iText-questions] design pattern

2010-03-22 Thread Paulo Soares
The question was answered but the results will vary depending on the PDF, there's not a one-answer-fits-all. Paulo From: Jason Berk [mailto:jb...@purdueefcu.com] Sent: Monday, March 22, 2010 6:46 PM To: Post all your questions about iText here Subject: Re:

Re: [iText-questions] design pattern

2010-03-22 Thread Leonard Rosenthol
Brute force and definitely leads to poorer performance. Sometime we should talk about how to optimize such things… From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, March 22, 2010 2:57 PM To: Post all your questions about iText here Subject: Re: [iText-questions] design pattern

Re: [iText-questions] design pattern

2010-03-22 Thread Gylfi Ingvason
Hi Jason, I've had some experience in this regard and with large files in general, and I agree with Paulo/Leonard that this can be a tricky process. My experience is that the file difference is not that great, but it can add up especially if you have a lot of fonts. Font and FontDescriptor