Re: [iText-questions] A problem with pdfpcell and splitting rows

2008-03-13 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Hi, > > I'm new to iText and I need your help. I try to create a document with > several tables. I use pdfptable for that. > Each table should come right after the previous table. > My problem is, that a row will not be started on one page if it doesn't > fit on the pa

[iText-questions] A problem with pdfpcell and splitting rows

2008-03-13 Thread mib80
Hi, I'm new to iText and I need your help. I try to create a document with several tables. I use pdfptable for that. Each table should come right after the previous table. My problem is, that a row will not be started on one page if it doesn't fit on the page. If the row is too long to fit on an

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
Attached is a zip file with a modified version of DocumentFont.java implementing the naive solution and a diff of the changes. As I mentioned, a more elegant approach might be to change the IntHashtable implementation. Cheers, and thanks for taking time to look into this. Gavin - Original

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Paulo Soares
Send me your changes and we'll go from there. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin Disney > Sent: Thursday, March 13, 2008 6:42 PM > To: iText Questions > Subject: Re: [iText-questions] Bug in DocumentFont when > loading

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
Okay, and thanks for the quick response. The problem occurs when a substitution is being made that replaces a high unicode value with a low unicode value. Consider the font dictionary: key: /R10value: Dictionary of type: /Font key: /BaseFontvalue: /Times-Roman key: /Typevalue

Re: [iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gavin Disney > Sent: Thursday, March 13, 2008 5:39 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] Bug in DocumentFont when loading > Differences > > Hi iText Develop

[iText-questions] Bug in DocumentFont when loading Differences

2008-03-13 Thread Gavin Disney
Hi iText Developers There seems to be a minor bug in the processing of Differences from the Encoding dictionary when creating a DocumentFont for Type 1 fonts. The bug is quite subtle, and depends on the substitutions being made and the encoding being used. It is straightforward to correct - I'

Re: [iText-questions] XFA iText

2008-03-13 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > bonjour, > > Existe t-il un parser XFA permettant de construire un PDF avec iText ? Non. Demandez Adobe. -- This answer is provided by 1T3XT BVBA - This SF.net email is sponsored by: Microsoft Def

Re: [iText-questions] Question on ColumnText

2008-03-13 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Hi all, > > I'm having a problem trying to format a pdf report according to what the > business needs. I was able to create the pdf without any issues, with a > header/footer, "page X of Y", etc... However, I'm having trouble > displaying groups. For example, let'

[iText-questions] XFA iText

2008-03-13 Thread maccoy54
bonjour, Existe t-il un parser XFA permettant de construire un PDF avec iText ? BACQ JS Merci - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/v

[iText-questions] Question on ColumnText

2008-03-13 Thread upc212k
Hi all, I'm having a problem trying to format a pdf report according to what the business needs. I was able to create the pdf without any issues, with a header/footer, "page X of Y", etc... However, I'm having trouble displaying groups. For example, let's say I have the following, a "name" w

Re: [iText-questions] Contents doesn't fit into a PdfPCell!

2008-03-13 Thread 1T3XT info
Eric Summkeller wrote: > I create a Paragraph with a special underlined font and add this Paragraph > into a PdfPCell. The problem is, that the underline and the dots of the > letters "ÄÖÜ" overlap the PdfPCell. What can I do, that the Paragraph > complety > fits into the PdfPCell? The dots ov

Re: [iText-questions] creating a report with multiple pages with different alignments(jasperserver report)

2008-03-13 Thread 1T3XT info
Prashanth Talkad wrote: > hi, i'm trying to get a two page report, one in landscape and one in > portrait mode. This is possible with iText. > can i achieve this with a cingle jrxml? That's a question for the iReport people. It's possible with iText, but I don't know if it's supported in iRepor

Re: [iText-questions] PdfPTable, Fixed height of Cell

2008-03-13 Thread 1T3XT info
Ekta Agarwal wrote: > Hello: > > I am trying to construct a table which has two columns and one row. The > cells in in each column of the same row are required to have a different > height. Is this possible? When I set fixed height of the cell, the > entire row has the same height. Is there a

[iText-questions] pdf error

2008-03-13 Thread Edward W. Rouse
This is somewhat off topic but I'm going to ask anyway :) I have a pdf file that looks ok but generates an error, 'problem reading this document (135)', which is less than helpful. Is there a program/product out that will parse/verify a pdf and let me know where in the document the error is? I

Re: [iText-questions] Problem with the Background of a Chunk object!

2008-03-13 Thread Bruno Lowagie
Eric Summkeller wrote: > But I have still one question. How can I get the information how much the > offset has to be? I mean how can I get the coordinates where the underline > starts. iText already does this for you: float fontSize = chunk.font().size(); float ascender = chunk.font().getFo

Re: [iText-questions] Header Footer with iText on JSP

2008-03-13 Thread davidc2
If you need to do it through Java, one option you have is to do it like they show here: http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.php For Java you can find plenty of details on the web, jsp is a little trickier. dshah wrote: > > I have been struggling with this issue

Re: [iText-questions] Where to download from?

2008-03-13 Thread Alexis Pigeon
http://www.google.com/search?hl=en&q=Where+can+I+download+iText+from%3F+&btnG=Search On 13/03/2008, Emaa A <[EMAIL PROTECTED]> wrote: > Where can I download iText from? > - > This SF.net email is sponsored by: Microsoft > De

[iText-questions] Where to download from?

2008-03-13 Thread Emaa A
Where can I download iText from? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/__

[iText-questions] Contents doesn't fit into a PdfPCell!

2008-03-13 Thread Eric Summkeller
I create a Paragraph with a special underlined font and add this Paragraph into a PdfPCell. The problem is, that the underline and the dots of the letters "ÄÖÜ" overlap the PdfPCell. What can I do, that the Paragraph complety fits into the PdfPCell? Code example: Font font = new Font(Font.getFa

[iText-questions] PdfPTable, Fixed height of Cell

2008-03-13 Thread Ekta Agarwal
Hello: I am trying to construct a table which has two columns and one row. The cells in in each column of the same row are required to have a different height. Is this possible? When I set fixed height of the cell, the entire row has the same height. Is there a workaround that I could use? Maybe c

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread George Bilalis
Hi Bruno, hi Paulo, hi all, thanks again. I have to admit I feel great by talking to the authors (both) of the book and receive such fast and complete reply. My experience with Adobe PDF reference documentation is that it is HUGE, and your reply saved the trouble to search there. Thank you so

Re: [iText-questions] Problem with the Background of a Chunk object!

2008-03-13 Thread Eric Summkeller
Bruno Lowagie lowagie.com> writes: > This is not the only setBackground method. > Read page 117 of the book to find out how to add > a few extra points to the background rectangle. > br, > Bruno > Thanks for your help! You mean the setBackground method with the offset. That's what I need! But I

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread George Bilalis
Hi Fabrizio, that makes sense now: related to Pdf graphic state - Pdf reference from Adobe. I was only looking at the API for documentation, so I will look there for more... no fuss I am new to iText - I bought the book last month while looking for a Java library on PDF, and I learn as I g

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread George Bilalis
Hi Fabrizio, that makes sense now: related to Pdf graphic state - Pdf reference from Adobe. I was only looking at the API for documentation, so I will look there for more... no fuss I am new to iText - I bought the book last month while looking for a Java library on PDF, and I learn as I g

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread Bruno Lowagie
George Bilalis wrote: > Q: What are the exact parameters saved (- or restored by restoreState()) > by this method? You probably know this and it's very obvious, but in case you didn't know: saveState doesn't really save anything in your Java program (in any case: nothing essential). The only impo

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread Paulo Soares
iText saves some parameters for internal use but the greater scope is what the q/Q operators do. See section 4.3 in the pdf reference. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of George Bilalis > Sent: Thursday, March 13, 2008 11:32 AM

Re: [iText-questions] Method Clarification needed

2008-03-13 Thread Fabrizio Accatino
Hi George, save and restoreState are related to Pdf graphic state (see Pdf reference from Adobe for details). When you call a saveState, the current pdf graphic state is saved on a stack. Than you can change it and, at the end, you can return to the previous calling restoreState. Briefly the pdf g

[iText-questions] Method Clarification needed

2008-03-13 Thread George Bilalis
Hi all, I need clarification on the following: In com.lowagie.text.pdf library -> in Class PdfContentByte -> on the method saveState() [as well as on restoreState()] it explains as ... literally : saves the graphic state. Q: What are the exact parameters saved (- or restored by restoreState())

Re: [iText-questions] Problem with the Background of a Chunk object!

2008-03-13 Thread Bruno Lowagie
Eric Summkeller wrote: > I create a Chunk object with a Font that is bold, italic and underlined. The > text of the Chunk object contains German letters like "ÄÖÜ". The problem is > that the background doesn't fill the complete Chunk. The points above > the "ÄÖÜ" and the underline have no backgr

[iText-questions] Problem with the Background of a Chunk object!

2008-03-13 Thread Eric Summkeller
I create a Chunk object with a Font that is bold, italic and underlined. The text of the Chunk object contains German letters like "ÄÖÜ". The problem is that the background doesn't fill the complete Chunk. The points above the "ÄÖÜ" and the underline have no background. Any ideas what I could do