[iText-questions] table query

2006-05-22 Thread Deepti_Nair
Hi, This is a sample code for the problem am facing with itext, where anything following a table that overflows into the next page, always begins on a new page. Could you please suggest any modifications that may help overcome this. import com.lowagie.text.Cell; import com.lowagie.text.Chapter;

RE: [iText-questions] Color info

2006-05-22 Thread Mark Storer
Not reliably, no... not without a Huge amount of work (or a PDF renderer). You'd have to: 1) Parse all pages' contents looking for color operators. RGB, G, and so forth. 2) Search through all image resources to see what colors they used. 3) There are several kinds of resource that can contain th

[iText-questions] Can iText be used with J#.Net?

2006-05-22 Thread Ibrahim Atoum
Hi,   Can I use iText to generate PDF files using J#.NET 2.0?   Thanks,   Ibrahim Atoum -- Software Engineer Bookette Software Company 22 Lower Ragsdale Dr. Suite E Monterey, CA 93940 T: 831.648.3060 x 5913 F: 831.648.3066   

Re: [iText-questions] Question about PdfPCell

2006-05-22 Thread Joey Watson
Thanks Paulo On 5/23/06, Paulo Soares <[EMAIL PROTECTED]> wrote: Use nested tables. Paulo - Original Message - From: "Joey Watson" <[EMAIL PROTECTED]> To: Sent: Monday, May 22, 2006 5:05 PM Subject: [iText-questions] Question about PdfPCell HI All. It's my first time user iText. I

[iText-questions] How draw a rectange in a Cell.

2006-05-22 Thread Joey Watson
Hello, I want to display a rectange in a cell (I use PdfPTable, PdfPCell) , and I want to make it like a checkbox shape. I know I can use a small picture to make it. but I don't want to use picture. and I studied the iText Demo. but seems there are no graphics can be drawed in a cell. any idea?

Re: [iText-questions] Color info

2006-05-22 Thread Leonard Rosenthol
At 07:31 PM 5/22/2006, Rudi Verago [vlain] wrote: Is there any way to detect if a pdf is color or black/white? FIRST, you have to define what you mean by "color" and what you mean by "black & white"? For example, if I have an object described in RGB with the value [ 1 1 1 ] - is that

[iText-questions] Color info

2006-05-22 Thread Rudi Verago [vlain]
Hi everybody, I'm using itextsharp from 2 days and I find it very useful. In some case I have to find information about pdf files, I correctly detect orientation, size and number of pages but I cannot find any information about color. Is there any way to detect if a pdf is color or black/white?

[iText-questions] PdfPTable across 2 pages

2006-05-22 Thread Doug James
I cannot seem to figure out if and/or how to get a PdfPTable to span 2 pages *horizontally*. Please note this would be 2 pages side by side. Is it possible? Thanks! Doug James Benefitfocus.com, Inc. BEN

RE: [iText-questions] Convert PDF to text

2006-05-22 Thread Mark Storer
> I have tried using a utility called > pdftotext. I does a > pretty good job when invoked with the -layout switch. That > switch preserves > the document layout. However pdftotext produces garbage > characters for some fonts it seems. There are at least three ways of including text in a PDF:

Re: [iText-questions] Question about PdfPCell

2006-05-22 Thread Paulo Soares
Use nested tables. Paulo - Original Message - From: "Joey Watson" <[EMAIL PROTECTED]> To: Sent: Monday, May 22, 2006 5:05 PM Subject: [iText-questions] Question about PdfPCell HI All. It's my first time user iText. I got a problem. When I am using PdfPCell class, I found there are

[iText-questions] Page Break and Page Footers

2006-05-22 Thread Abhinav Sancheti
Hello How can i insert a Page Break in the Document. I have the first page and after a condition I need display the remaining data on the second page, ie I need to create a page Break. I used Document.newPage(), It did solve my purpose but added a bug where my Page Footers do not appear on page

Re: [iText-questions] setting media box different to page size

2006-05-22 Thread Leonard Rosenthol
At 11:17 AM 5/22/2006, Martin Resch wrote: i want to set the media box with negative x and y coordinates, OK. Perfectly legal, albeit unusual. because my point of origin of any elements is relative to the trim box. so the media box has to be larger than the trim box. the pag

[iText-questions] PdfStamper verses Merge?

2006-05-22 Thread Brian
Hello All, I currently have a PDF that I use as a Template, and I then merge data from a text file to create a new PDF file. Would this be the best way to go, or SHould I look at using the PdfStamper ? What's the difference? Thanks in advance for any thought's and or Suggestions. V/R Brian _

[iText-questions] Question about PdfPCell

2006-05-22 Thread Joey Watson
HI All. It's my first time user iText. I got a problem. When I am using PdfPCell class, I found there are a colspan function, but I can not find rowspan function as Cell class. So how can I span cells more than one by PdfPCell? Thanks. ---

[iText-questions] setting media box different to page size

2006-05-22 Thread Martin Resch
hello, i want to set the media box with negative x and y coordinates, because my point of origin of any elements is relative to the trim box. so the media box has to be larger than the trim box. the page size of the document equals the trim box. can i do so or do i have to set the p

[iText-questions] Re: resizing acro textfield depence on stringlength

2006-05-22 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi Bruno, i understand it now. Could you send me a very simple example for xml to pdf with iText? There will be one in my book. is that xml a standard? It can be any XML. In my projects, I write the XML schema based on the requirements. is there a visual editor

Re: [iText-questions] resizing acro textfield depence on stringlength

2006-05-22 Thread bruno
I am very sorry, but I really can't answer these questions for free. It's like you are asking me to teach you, and that is not my task. br, Bruno --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quic

[iText-questions] iText 1.4.1

2006-05-22 Thread bruno
Hello all, I have just release iText1.4.1. For more info, please read the history file: http://www.lowagie.com/iText/history.html#V150 br, Bruno --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickl

Re: [iText-questions] resizing acro textfield depence on stringlength

2006-05-22 Thread ch . schmidt
Hi Bruno, i understand it now. Could you send me a very simple example for xml to pdf with iText? is that xml a standard? is there a visual editor for this xml? what do you think about this? http://jasperreports.sourceforge.net/ is that a solution for us? Gruß Christian Schmidt

Re: [iText-questions] resizing acro textfield depence on stringlength

2006-05-22 Thread bruno
[EMAIL PROTECTED] wrote: Hi Bruno, there is realy no posibility to change the width of an textfield dynamicaly? YES, you CAN change the width of a TextField dynamically. But that was NOT your question. Why do you keep changing the question??? the problem with xml is, that only developper

Re: [iText-questions] resizing acro textfield depence on stringlength

2006-05-22 Thread bruno
[EMAIL PROTECTED] wrote: Has anybody here a very simple code example that compiles and runs and which resize a acro form field (textfield) depence on the stringlength? Now I realize that you have been asking the wrong question all along. PdfReader reader = new PdfReader(in_pdf); PdfStamper s

[iText-questions] resizing acro textfield depence on stringlength

2006-05-22 Thread ch . schmidt
Hi Mailinglist, sorry for asking two times, but i get not answer which solve my problem Has anybody here a very simple code example that compiles and runs and which resize a acro form field (textfield) depence on the stringlength? up today i fill the form field right now: PdfReader reader = ne

Re: [iText-questions] Re: printDocumentSilent-troubles

2006-05-22 Thread Michael Caletka
Dear Thomas,Thanks for your comment. The screen was not the splash-screen, but  the remaining Acrobat-Window after printing. I have now updated my version to 7.07 and used the tool pdfp.exe for printing the files - and it finally works! Thank you very very much, because it helped me solving a very

[iText-questions] Problem with tabular cell

2006-05-22 Thread Srinivas P
Hi,   I want to display the text in a Tabular cell with out wrapping down, Say for example if I have 100 characters text , it has to be displayed in one line with out wrapping down. How can I achieve this……?   Srini “The information contained in this communication is intended solely

Re: [iText-questions] Sample PDF

2006-05-22 Thread bruno
sooraj kk wrote: Hi, I found that i can use iText for printing the PDF file.Can u please send me some sample java program. Define 'print'. If you have a PDF file that you want to send to the printer, you need another tool. If you have data that you want to render in the Portable Document Fo

[iText-questions] Sample PDF

2006-05-22 Thread sooraj kk
Hi, I found that i can use iText for printing the PDF file.Can u please send me some sample java program. Thanks, -Sooraj __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --

Re: [iText-questions] setFieldProperty - Question by resizing an textfield

2006-05-22 Thread bruno
[EMAIL PROTECTED] wrote: Hi Bruno, i have no idea. the conflicts were with the arrays. PdfArray fieldRect = (PdfArray) fldItem.widgets[0].get(PdfName.BBOX); the is a conflict, but i dont know how could i resolve that is there any solution to convert an ArrayList to an array? widgets is an

Re: [iText-questions] setFieldProperty - Question by resizing an textfield

2006-05-22 Thread ch . schmidt
Hi Bruno, i have no idea. the conflicts were with the arrays. PdfArray fieldRect = (PdfArray) fldItem.widgets[0].get(PdfName.BBOX); the is a conflict, but i dont know how could i resolve that is there any solution to convert an ArrayList to an array? Gruß Christian Schmidt bruno <[EMAI

Re: [iText-questions] setFieldProperty - Question by resizing an textfield

2006-05-22 Thread bruno
[EMAIL PROTECTED] wrote: Hi bruno, thanks for help, but the code example doesn't compile successfully. Mark wrote it down from memory. He warned about that. do you know where were the misstakes? i get this failure notice: java.lang.Error: Unresolved compilation problems: The type

Re: [iText-questions] setFieldProperty - Question by resizing an textfield

2006-05-22 Thread ch . schmidt
Hi bruno, thanks for help, but the code example doesn't compile successfully. do you know where were the misstakes? i get this failure notice: java.lang.Error: Unresolved compilation problems:         The type of the _expression_ must be an array type but it resolved to ArrayList         The c

Re: [iText-questions] Convert PDF to text

2006-05-22 Thread bruno
Daniel Haglund wrote: Hi. I tried searching the archive but could not find a suitable answer. That's because there is none. I would like to know if it is possible to convert a simple (i.e. no images) PDF-file to text? I have tried using a utility called pdftotext. I does a pretty good job

Re: [iText-questions] Reg Help in iText :: Adding Header Page and Footer page in an Existing PDF file

2006-05-22 Thread bruno
Balajiviswanathan V wrote: Hai All, My Requirement is that we have created lots of PDF's in a Batch using iText, but unfortunatly we forget to create a Banner Page just like 1st Page of Book contains Title last Page contains index. Now is it possible to open the existing PDF and add 1st Pag

Re: [iText-questions] setFieldProperty - Question by resizing an textfield

2006-05-22 Thread bruno
[EMAIL PROTECTED] wrote: Hi Paulo, could you make me a very simple code example for solving this problem. http://article.gmane.org/gmane.comp.java.lib.itext.general/22998 br, Bruno --- Using Tomcat but need to do more? Need to support we