Re: [iText-questions] Itext and ASP.NET (VB)

2006-08-14 Thread Antoine
On 14/08/06, Paulo Soares <[EMAIL PROTECTED]> wrote: > You have examples in VB in the itextsharp site. If that's not enough you > probably need to learn a bit more about VB. Have they been updated? I was told at some point that they were old and not supported at all (being contribs that's logical)

Re: [iText-questions] question about splitted pdf

2006-08-14 Thread Leonard Rosenthol
At 03:48 PM 8/14/2006, Paulo Soares wrote: >Some PDFs, like those created by Open Office put all the resources shared by >all the pages. Yeah, it's VERY annoying for processing PDFs... >This is not illegal but the result is that getting a single >page will fetch all the resources result

Re: [iText-questions] question about splitted pdf

2006-08-14 Thread Paulo Soares
Some PDFs, like those created by Open Office put all the resources shared by all the pages. This is not illegal but the result is that getting a single page will fetch all the resources resulting in almost the same doc size. Paulo - Original Message - From: "er doctor" <[EMAIL PROTECTE

Re: [iText-questions] Detecting blank pages

2006-08-14 Thread Mark Storer
> I am currently using iText to create and copy > PDFs. I have some pdfs that have blank pages > (no text, no image), and I would like to detect > and remove those pages when I come across them. > If I can detect them, then I can remove them, > however I've had trouble detecting them. Any >

[iText-questions] PDF streaming and problem with Mozilla

2006-08-14 Thread Fabio Lissi
Hi Guys,   I have an odd problem here. I have  a servlet that generates a pdf, which is stored into a ByteArrayOutputStream, similar to the ProgreServlet. Everything works fine in IE, but mozilla gives me an error "The file is damages and could not be repaired". The odd thing is if I keep the PDF

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Leonard Rosenthol
At 11:09 AM 8/14/2006, Johan Vromans wrote: >Also, if the client intercepts the printer spool file, she can make as >many prints as she likes. Or for that matter, they can photocopy the printout - or scan it back in. >In short, you can only annoy honest people, while you cannot avoid >

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Johan Vromans
Vikrama Sanjeeva <[EMAIL PROTECTED]> writes: > I have generated a PDF document using iText. Which is displayed on > client's screen inside browser. Now I want to allow client to > print this document "only once". And after that, the print button > should be disabled. If the client printer gets a

[iText-questions] question about splitted pdf

2006-08-14 Thread er doctor
Hello, I'm working on a java program that split a pdf in different pdf. Here is my problem, all PDF that i create have nearly the same size has the original. The sample, for spliting pdf, found in the itext website has the same problem. Is there a solution ? Thanks Orlando Jacob

Re: [iText-questions] Inconsistency in PDF RTF and HTML

2006-08-14 Thread Mark Hall
On Wednesday 09 August 2006 11:19, Michael Gantman wrote: > I have created a Document in iText and registed it with PDF, RTF and > HTML writers. For some reason the resultant PDF RTF and HTML files look > very inconsistent. PDF file actually looks as expected. HTML file > doesn't display any change

Re: [iText-questions] Save pdf as jpg or gif

2006-08-14 Thread Leonard Rosenthol
At 10:00 AM 8/14/2006, Birthe Berland wrote: >Is it possible to save the generated pdf document as an image that >can be displayed on a web site. I still Sure - but not using iText. Try JPEDAL. Leonard --

[iText-questions] Save pdf as jpg or gif

2006-08-14 Thread Birthe Berland
Is it possible to save the generated pdf document as an image that can be displayed on a web site. I still need the pdf document to send as an email. Birthe - Using Tomcat but need to do more? Need to support web services,

Re: [iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Beate Niendorf
Hi Damien, Thanks alot! This was a great help :) Br, Bea > Hi Bea, > First, you need to configure the geometry of your column : > t.setSimpleColumn(left, bottom, top, right); Then add your > content using t.addElement(). When you're done adding content > to it, call t.go() to render the cont

Re: [iText-questions] Encrypted PDF document

2006-08-14 Thread Leonard Rosenthol
At 04:34 AM 8/14/2006, Sergey Kling wrote: >I shall admit have the encrypted pdf document and we wish to receive >the information on its internal structure without extraction of its >contents. OK - no problem there UNLESS the PDF uses PDF 1.6 "compressed object streams". >Under specifi

Re: [iText-questions] why rowspan is disabled for PdfPCell

2006-08-14 Thread Paulo Soares
If you need rowspan in PdfPTable use nested tables. It will work beter than rowspan as you'll be able to control precisely the layout. Paulo - Original Message - From: "Michael Gantman" <[EMAIL PROTECTED]> To: Sent: Monday, August 14, 2006 9:03 AM Subject: [iText-questions] why rowspan

Re: [iText-questions] A question about PdfPTable

2006-08-14 Thread Paulo Soares
- Original Message - From: "李伏琼" <[EMAIL PROTECTED]> To: Sent: Monday, August 14, 2006 2:41 AM Subject: [iText-questions] A question about PdfPTable Hi All, I know that we can fill a pdfptable row by row through addCell() method,Can we fill the pdfptable column by column? No.

Re: [iText-questions] A question about PdfPTable

2006-08-14 Thread Paulo Soares
- Original Message - From: "李伏琼" <[EMAIL PROTECTED]> To: Sent: Monday, August 14, 2006 2:41 AM Subject: [iText-questions] A question about PdfPTable Hi All, I know that we can fill a pdfptable row by row through addCell() method,Can we fill the pdfptable column by column? No.

Re: [iText-questions] Itext and ASP.NET (VB)

2006-08-14 Thread Paulo Soares
You have examples in VB in the itextsharp site. If that's not enough you probably need to learn a bit more about VB. Paulo - Original Message - From: "PoisonElves" <[EMAIL PROTECTED]> To: Sent: Sunday, August 13, 2006 8:43 PM Subject: [iText-questions] Itext and ASP.NET (VB) > Hi I h

[iText-questions] Encrypted PDF document

2006-08-14 Thread Sergey Kling
Hello! I use iText for the development, but have collided with one not clear moment: I shall admit have the encrypted pdf document and we wish to receive the information on its internal structure without extraction of its contents. Under specification PDF of a format at enciphering information abou

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Leonard Rosenthol
At 08:11 AM 8/14/2006, Vikrama Sanjeeva wrote: >Thanks Leonard. Just as a reminder, I am generating PDF from Java >code. Will it still possible to use "Adobe's LiveCycle Policy Server >or FileOpen's Publisher" from Java code and achieve the required functionality. Sure. Both o

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Vikrama Sanjeeva
Thanks Leonard. Just as a reminder, I am generating PDF from Java code. Will it still possible to use "Adobe's LiveCycle Policy Server or FileOpen's Publisher" from Java code and achieve the required functionality. Leonard Rosenthol <[EMAIL PROTECTED]> wrote: At 07:45 AM 8/14/2006, Vikrama S

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Leonard Rosenthol
At 07:45 AM 8/14/2006, Vikrama Sanjeeva wrote: >Which DRM's are best suitable for my scenario? Kindly name them. My >scenario is here: I would recommend either Adobe's LiveCycle Policy Server or FileOpen's Publisher. Leonard ---

Re: [iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Damien Drix
errata : I meant t.setSimpleColumn(left, bottom, *right*, *top*); - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Downlo

Re: [iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Damien Drix
Hi Bea, First, you need to configure the geometry of your column : t.setSimpleColumn(left, bottom, top, right); Then add your content using t.addElement(). When you're done adding content to it, call t.go() to render the content. The return code from this method tells you whether everything could

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Vikrama Sanjeeva
Which DRM's are best suitable for my scenario? Kindly name them. My scenario is here: >I have generated a PDF document using iText. Which is displayed on > client's screen inside browser. Now I want to allow client to print > this document "only once". And after that, the print b

Re: [iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Beate Niendorf
Hi Damien, Thanks for your answer - but I couldn't get along with it. This is what I tried: ColumnText t=new ColumnText(content); t.addText(paragraph); t.addText(new Chunk("This is a test")); stamp.close(); But it doesn't work well :( (there's no exception but also there's no list in the result

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Leonard Rosenthol
At 05:18 AM 8/14/2006, Vikrama Sanjeeva wrote: >Thanks for the correction of the question. How about Adobe >Javascript? It it helpful in this case? You could do a VERY limited implementation using JavaScript... >What is DRM? And in what sense it is expenisve? Money or Code efforts?

Re: [iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Damien Drix
Hello, I would suggest creating a ColumnText that uses your PdfContentByte, and then adding the paragaphs and lists to the ColumnText. ColumnText is one of two iText classes which know how to layout content on a page, the other being Document. Alternately, you can do it the other way round, and

[iText-questions] Adding Paragraph to existing pdf

2006-08-14 Thread Beate Niendorf
Hello, I'm trying to add a Paragraph with a list to an existing PDF-File. Therefore I take this example: Paragraph paragraph = new Paragraph("Things to show in the list"); com.lowagie.text.List list = new com.lowagie.text.List(false, 10); list.add("first"); list.add("second"); list.add("thir

Re: [iText-questions] Disabling print button after one print.

2006-08-14 Thread Vikrama Sanjeeva
Thanks for the correction of the question. How about Adobe _javascript_? It it helpful in this case?    What is DRM? And in what sense it is expenisve? Money or Code efforts?Looking forward for help.Bruno Lowagie <[EMAIL PROTECTED]> wrote: Vikrama Sanjeeva wrote:>> I have generat

[iText-questions] why rowspan is disabled for PdfPCell

2006-08-14 Thread Michael Gantman
Hello. I am working on creating pdf documents with iText. I need to support documents with tables that can contain cells that span over several rows. I noticed that PdfPCell doesn’t have this functionality (it does have column span functionality). But class Cell supports such feature. Thus