Re: [iText-questions] Tableheader(continued)

2010-12-27 Thread Nurettin DAG
I am sorry but I do not have a code sample for you. Please read chapter 5 and try to familiarize yourself with the use of PdfPTableEvent then come back to read previous message and it should be clear to implement then. Good luck. On Mon, Dec 27, 2010 at 4:20 PM, Siri wrote: > > Hi > Can you giv

Re: [iText-questions] How to convert PPM image to bmp or jpeg images...???

2010-12-27 Thread sam_dev
hi thanks for your replyif i have information about the bpc,height,width of the actual image than whats the way to arrange those colored bytes in proper image format... -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-convert-PPM-image-to-bmp-

Re: [iText-questions] Tableheader(continued)

2010-12-27 Thread Siri
Hi Can you give me some sample code since I am new to iText. I am using version 2.1.7. Thanks Siri. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Tableheader-continued-tp3164941p3165481.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Adding images and text to a PDFPCell.

2010-12-27 Thread Johann Pérez
It is good to be aware that the width of the cell cannot vary and setScaleToFitLineWhenOverflow will be of great help. As for the image it was displaying bad cause the system, which we are fixing, had an old version of iText:S well this was a bit embarassing... :P,

Re: [iText-questions] Adding images and text to a PDFPCell.

2010-12-27 Thread Nurettin DAG
Unfortunately, the width of the cell cannot vary. You have to define the cell width when defining the PdfPTable. Having said that if img is wider than the available cell width it will overflow or may be discarded. Therefore, your image can get as wide as the width of your cell. To control this beha

Re: [iText-questions] Adding images and text to a PDFPCell.

2010-12-27 Thread Johann Pérez
First of all, thanks for the quick response. As for limitations, I don't have any for the image size. I should add the image with "new Chunk(img, 0, 0, true);" as you said so it keeps its original size. What I need is to resize the cell so the content is fully

Re: [iText-questions] Tableheader(continued)

2010-12-27 Thread Nurettin DAG
Reserve space for table header on every page(different mechanisms may be used a simple one could be to have empty table header row) then using a single tableLayout event you can draw the table header on the reserved space using canvases provided as a parameter of tableLayout method. How to differe

Re: [iText-questions] Adding images and text to a PDFPCell.

2010-12-27 Thread Nurettin DAG
I may be able to advise on this but I need to know what your limitations are like "Do you know what the size of the image should be or do you want it to fit the line if larger than the width of full line? What are the limitations for height? Do you want to keep its original height or resize to line

Re: [iText-questions] Unmodifiable radiobuttons/checkboxes in table cell

2010-12-27 Thread Mark Storer
If your CellField event makes a copy, then setting the FF_READ_ONLY flag after creating the event handler won't do you any good. PS: This code won't create radio/check fields. You should at the very least be calling PdfFromField.createButton, createCheckBox or createRadioButton. That or we're mi

[iText-questions] Paul Masterson/Mail is out of the office.

2010-12-27 Thread Paul Masterson
I will be out of the office starting 25/12/2010 and will not return until 04/01/2011. I will respond to your message when I return. If this is urgent, please contact Matt Carolan @ 6112123 -- Learn how Oracle Real Appl

Re: [iText-questions] iTextSharp support for AcrobatReader 10

2010-12-27 Thread Leonard Rosenthol
There is no way to disable "read mode" programmatically. -Original Message- From: daa [mailto:daa_m...@yahoo.com] Sent: Monday, December 27, 2010 5:52 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] iTextSharp support for AcrobatReader 10 Hello, I have PDF docume

Re: [iText-questions] Tableheader(continued)

2010-12-27 Thread Siri
Hi Thanks for your quick response. you are right I could get headers with the example given in iText 2nd edition(page 113) using setHeaderRows(). But my Table has a Header and this Header has to be modified(has to appended with "Continued") if tabled is spilled over more than one page. Can you ple

[iText-questions] Adding images and text to a PDFPCell.

2010-12-27 Thread Johann Pérez
Hello, I need to be able to add images and text to a PDFPCell resizing it accordingly. Right now I am using a Paragraph where I add chunks with images or text to it and finally adding the paragraph to the cell but the problem is that the image appear

Re: [iText-questions] Unmodifiable radiobuttons/checkboxes in table cell

2010-12-27 Thread Johannes Becker
Hi, thanks to your help, I'm able now to to add my checkboxes/radiobuttons/textfields to my table. Only one more thing bugs me: I can't get my fields immutable (except of radiobutton). ... PdfFormField someField = PdfFormField.createEmpty(writer); someField.setFieldName("xxx"); PdfPCell someCe

Re: [iText-questions] How to convert PPM image to bmp or jpeg images...???

2010-12-27 Thread 1T3XT BVBA
Op 27/12/2010 11:51, sam_dev schreef: > ya, i think its the way to get the images back in proper format in which i > had stored in pdf files No, it isn't. Images can be stored in a PDF in different ways; see ISO-32000-1. I've done a search for PPM in ISO-32000-1 and this is what I got: "Reader has

Re: [iText-questions] iTextSharp support for AcrobatReader 10

2010-12-27 Thread 1T3XT BVBA
Op 27/12/2010 11:52, daa schreef: > And now I need a way to disable "Display in Read Mode by Default" setting > for viewing PDF in browser programmatically when generating PDF via IText. > > Thanks in advance for any help! No can do. We don't have the specs that tell us how to do what you achieve.

Re: [iText-questions] Tableheader(continued)

2010-12-27 Thread 1T3XT BVBA
Op 27/12/2010 13:42, Siri schreef: > Hi, > I am sorry if this is already answered. I searched in the forum but couldn’t > find answer so posting it here. Please read the documentation ( http://itextpdf.com/book/ ). You can find an almost literal version of your question, including the answer, on

[iText-questions] Tableheader(continued)

2010-12-27 Thread Siri
Hi, I am sorry if this is already answered. I searched in the forum but couldn’t find answer so posting it here. I have several PdfPTables(with their own headers) to be added to document. If a table does not fit in a page then table has to be spilled over new page and header has to be appended wi

[iText-questions] iTextSharp support for AcrobatReader 10

2010-12-27 Thread daa
Hello, I have PDF documents generated via ITextSharp which are then embedded into asp.net web pages. When generating PDF documents I'm hiding the toolbar and menubar of PDf as I'm creating some custom toolbar for PDF. For versions earlier than Acrobat Reader X(version 10), everything works as expe

Re: [iText-questions] How to convert PPM image to bmp or jpeg images...???

2010-12-27 Thread sam_dev
ya, i think its the way to get the images back in proper format in which i had stored in pdf files -- View this message in context: http://itext-general.2136553.n4.nabble.com/How-to-convert-PPM-image-to-bmp-or-jpeg-images-tp3162969p3164869.html Sent from the iText - General mailing list archive

Re: [iText-questions] How to convert PPM image to bmp or jpeg images...???

2010-12-27 Thread 1T3XT BVBA
Op 27/12/2010 6:40, sam_dev schreef: > hi > Do you know something about ppm file??? No, what is a PPM file? Is it related to PDF? -- Learn how Oracle Real Application Clusters (RAC) One Node allows customer