[iText-questions] Data overlapping with header on new page

2011-01-04 Thread Gunjan Mishra
Hi, I am using pdfTable of iTextSharp to write the data on PDF but when my pdfTable's size gets increased and it will continue to next page pdfTable contents gets overlapped with the header. Can you please provide any help regarding this issue? Thanks & Regards, Gunjan Mishra __

[iText-questions] Reader enabled pdf

2011-01-04 Thread Keith D. Moore
Happy New Year! I am trying to create a pdf with some readonly data and some unsigned signatures for external approval. I have read 8.7.1 in the iText in Action book and I am struggling to get around this "Reader Enabled" issue. First off, I am using Seam 2.2 with iText 2.1.2 for this effo

Re: [iText-questions] printing notes

2011-01-04 Thread va
yes, the writeSelectedRows() method. I didn't remember it. I made some attemps and it seems the way to follow. The think that I do not understand is how to put the PdfPTable written with writeSelectedRows() in the first ColumnText to trigger the simulation mode. as a matter of fact there is

Re: [iText-questions] remove watermark layer

2011-01-04 Thread Paul Cooper
Has this issue ever been resolved? I am trying to access a layer in a PDF created by Acrobat. If I execute the following line, I get a java.lang.ClassCastException: com.itextpdf.text.pdf.PRIndirectReference closing the PdfStamper every time, but with the line omitted everything works as expecte

Re: [iText-questions] Problem adding ColumnText onto existing Document

2011-01-04 Thread Dave Shevett
On 1/4/11 11:58 AM, 1T3XT BVBA wrote: >> I'm fishing here :( > OK, my first guess was wrong, but now I see something else that is fishy: > you're nesting text blocks! > You have a BT (beginText()) and an ET (endText()). > In between, you add another BT and ET by using ColumnText. > You shouldn't do

Re: [iText-questions] PHP port in the works

2011-01-04 Thread wizonesolutions
Thanks - yes, I know. I was more asking to see if any of the people who tried still frequented the boards and could give an idea as to its pulse, in the off chance I or someone else wanted to try picking up what was done and fleshing it out, or at least to understand the issues that were faced. Ma

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 18:59, Johannes Becker schreef: > Hi, > > thanks again for the quick reply. > > > so whatever problem there was: it's already fixed ;-) > Good job. > > Since I'm stuck to an old version, might there be a > workaround (i.e. wrapping my tables in some other object)? Not that I know of

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread Johannes Becker
Hi, thanks again for the quick reply. > so whatever problem there was: it's already fixed ;-) Good job. Since I'm stuck to an old version, might there be a workaround (i.e. wrapping my tables in some other object)? Thanks Jonny Am 04.01.2011 18:10, schrieb 1T3XT BVBA: > /* in_action/chapter1

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 17:51, Johannes Becker schreef: Hi, thanks for the quick reply. Does the problem also exist in the most recent iText version? Yes it does (iText 5.0.5). It doesn't in the SNAPSHOT version of iText 5.0.6. See attached code sample as well as the resulting PDF, so whatever proble

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 17:51, Johannes Becker schreef: > Hi, > > thanks for the quick reply. > >> Does the problem also exist in the most recent iText version? > Yes it does (iText 5.0.5). OK, I'll test it to see if you've found a bug. (It looks like one, but I need to make sure.)

Re: [iText-questions] Problem adding ColumnText onto existing Document

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 17:52, Dave Shevett schreef: > It's weird, this is only happening when the 'block' section is > triggered - what I"m thinking is that the columnText is pushing all > the rest of hte content off the 'page', as opposed to overlaying it? > > I'm fishing here :( OK, my first guess was wr

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread Johannes Becker
Hi, thanks for the quick reply. > Does the problem also exist in the most recent iText version? Yes it does (iText 5.0.5). Thanks Jonny Am 04.01.2011 17:37, schrieb 1T3XT BVBA: > Op 4/01/2011 14:45, Johannes Becker schreef: >> Hi all, >> >> thanks to help of you (especially 1T3XT BVBA) I'm n

Re: [iText-questions] Problem adding ColumnText onto existing Document

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 14:23, Dave Shevett schreef: > I do this - the full code of the print routine is now here: > http://pastebin.stonekeep.com/11528 I'm pretty sure that you're adding all the data, but that you're covering most of the data with an Image. You should realize that parameters such as Image.UN

Re: [iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 14:45, Johannes Becker schreef: > Hi all, > > thanks to help of you (especially 1T3XT BVBA) I'm now able to create > tables with PdfFormFields in them. > > But now I'm having a strange side-effect: > The code attached generates the attached pdf. As you can see, the > PdfFormFields of

Re: [iText-questions] Letter Tag with XML Implementation

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 15:44, david100 schreef: > Thanks for the response. I did some more searching in the code and found that > the tag maps to ElementTags.ITEXT. In what code? I assume you're referring to YOUR code. Or are you referring to some existing example? You're not being clear. I know iText, but

Re: [iText-questions] printing notes

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 15:43, va schreef: > I need to mantaint a tabular structure. one PdfPTable per row? my good! Not necessarily: I overlooked the fact that you were using a PdfPTable. Why don't you add the table row per row using writeSelectedRows. Use a ColumnText object for the notes (all in simulation

Re: [iText-questions] Letter Tag with XML Implementation

2011-01-04 Thread david100
Thanks for the response. I did some more searching in the code and found that the tag maps to ElementTags.ITEXT. I looked in the javadoc and it said that ElementTags.ITEXT is the "root tag." Would the root tag translate to being a Document or Paragraph object or something else? If I applied two X

Re: [iText-questions] printing notes

2011-01-04 Thread va
ok, but the table it's added to the first ColumnText all in one go when it is compleatly loaded (ct.addElement(t)), and then starts the ColumnText loop that tries to flash the entire table, doasn't manage to and split it across n° pages. In this case I would have to say to the ColumnText to try to

[iText-questions] Tables and FormFields: Is this a bug?

2011-01-04 Thread Johannes Becker
Hi all, thanks to help of you (especially 1T3XT BVBA) I'm now able to create tables with PdfFormFields in them. But now I'm having a strange side-effect: The code attached generates the attached pdf. As you can see, the PdfFormFields of the last table are drawn on the second page, not in the t

Re: [iText-questions] Problem adding ColumnText onto existing Document

2011-01-04 Thread Dave Shevett
On 1/4/11 4:01 AM, 1T3XT BVBA wrote: > Op 4/01/2011 6:18, Dave Shevett schreef: >> 1) I create PdfContentByte 'cb' on a Document > This is not consistent with the way I interpret your requirement. > I assumed that you were talking about an EXISTING FORM. > Now I see that you create PdfContentByte o

Re: [iText-questions] Letter Tag with XML Implementation

2011-01-04 Thread 1T3XT BVBA
Op 3/01/2011 23:37, david100 schreef: > I have a webapp which uses a SAXParser to build a PDF document based on an > XML file. The entire XML file is enclosed with a and > tag. Does the tag close the Document object? What does the > tag do? Is it equivalent to ending a Paragraph? This is a ver

[iText-questions] Letter Tag with XML Implementation

2011-01-04 Thread david100
I have a webapp which uses a SAXParser to build a PDF document based on an XML file. The entire XML file is enclosed with a and tag. Does the tag close the Document object? What does the tag do? Is it equivalent to ending a Paragraph? I'm also trying to modify this webapp to build multi-page

Re: [iText-questions] printing notes

2011-01-04 Thread 1T3XT BVBA
Op 3/01/2011 23:56, va schreef: > thanks in advance, expecially to 1T3XT BVBA that helped me in the first > part. you are the welcomed here! I think this isn't something you can solve in an onEndPage method. I think you should go for a solution where you take control over the distribution of the c

Re: [iText-questions] Problem adding ColumnText onto existing Document

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 6:18, Dave Shevett schreef: > 1) I create PdfContentByte 'cb' on a Document This is not consistent with the way I interpret your requirement. I assumed that you were talking about an EXISTING FORM. Now I see that you create PdfContentByte on a Document object. This is strange for two r

Re: [iText-questions] PHP port in the works

2011-01-04 Thread 1T3XT BVBA
Op 4/01/2011 9:32, wizonesolutions schreef: > I was also wondering the progress of the iText-to-PHP port. Is there a > publicly-accessible repository where the current code could be checked out? > I'd be willing to help test as I'm the real new maintainer of Fill PDF > (Drupal) :) The official deve

Re: [iText-questions] PHP port in the works

2011-01-04 Thread wizonesolutions
I was also wondering the progress of the iText-to-PHP port. Is there a publicly-accessible repository where the current code could be checked out? I'd be willing to help test as I'm the real new maintainer of Fill PDF (Drupal) :) -- View this message in context: http://itext-general.2136553.n4.n