Re: [iText-questions] iText Solaris Issue

2005-03-11 Thread Paulo Soares
Make sure you don't have other iText jar in the classpath. Use the iText version from http://itextpdf.sf.net, it will have line numbers the stack trace. - Original Message - From: "Kevin Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Friday, March 11, 2005 9:47 PM Subject:

Re: [iText-questions] iText Solaris Issue

2005-03-11 Thread Paulo Soares
Make sure you don't have other iText jar in the classpath. Use the iText version from http://itextpdf.sf.net, it will have line numbers the stack trace. - Original Message - From: "Kevin Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Friday, March 11, 2005 9:47 PM Subject:

Re: [iText-questions] iText Solaris Issue

2005-03-11 Thread Kevin Anderson
I have tried that and am still getting the same error.  Any other suggestions?  I am thinking it may be the pdf form...though I am still not sure why it would work on my windows machine and not work on Solaris with the same exact iText.jar file.

Re: [iText-questions] iText Solaris Issue

2005-03-11 Thread Paulo Soares
Use the latest iText release. - Original Message - From: "Kevin Anderson" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 8:25 PM Subject: [iText-questions] iText Solaris Issue > My problem seems to only occur when I port my web application to a > Solaris server. Using iText I a

[iText-questions] iText Solaris Issue

2005-03-11 Thread Kevin Anderson
My problem seems to only occur when  I port my web application to a Solaris server.  Using iText I am filling out a pdf form and then writing it to the response stream.  When I run it locally in Weblogic on my windows machine it works just fine, but when I deploy the application on the Solaris Se

Re: [iText-questions] Clarification -- CJK

2005-03-11 Thread Paulo Soares
That's the way to go. - Original Message - From: "Frank Blair" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 6:42 PM Subject: [iText-questions] Clarification -- CJK > Greetings. > > I am using iText successfully now to create PDF and > everything is working fine. I have a new

Re: [iText-questions] Modifying Form Fields and preserving document save rights

2005-03-11 Thread Paulo Soares
Sorry, only Adobe can turn the rights back on after modification. - Original Message - From: "Ron McCamish" <[EMAIL PROTECTED]> To: Sent: Friday, March 11, 2005 7:34 PM Subject: [iText-questions] Modifying Form Fields and preserving document save rights > Hello, > > I used the code sni

[iText-questions] Modifying Form Fields and preserving document save rights

2005-03-11 Thread Ron McCamish
Hello, I used the code snip below to modify a PDF with fill-in forms. The original PDF has document rights turned on to allow the PDF to be saved. I use iText to fill in a form values. When I view the modified PDF in Adobe Reader, the following text is shown in a popup: This document cont

[iText-questions] Clarification -- CJK

2005-03-11 Thread Frank Blair
Greetings. I am using iText successfully now to create PDF and everything is working fine. I have a new requirement to be able to create a PDF based on some database queries that could contain both western European and CJK characters, but is not guaranteed which it will be. Based on testing, i

RE: [iText-questions] create link to page not made yet

2005-03-11 Thread Paulo Soares
Use a named destination. > -Original Message- > From: Hwaseong Lee [mailto:[EMAIL PROTECTED] > Sent: Friday, March 11, 2005 4:59 PM > To: Paulo Soares > Cc: iText-questions@lists.sourceforge.net > Subject: Re: [iText-questions] create link to page not made yet > > Thank you... > > and

Re: [iText-questions] create link to page not made yet

2005-03-11 Thread Hwaseong Lee
Thank you... and I have one more question. i.e. The link in page 1 has the destination page 4. While page 2 is creating, the text in page 2 overflowed then additional page created. now, the destination page of the link in page 1 need to be page 5. Namely, when the link creates, the link cannot kno

RE: [iText-questions] create link to page not made yet

2005-03-11 Thread Paulo Soares
PdfAction.gotoLocalPage(int page,PdfDestination dest,PdfWriter writer) The page can be in the future. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Hwaseong Lee > Sent: Friday, March 11, 2005 4:39 PM > To: iText-questions@lists.sourceforge.net

[iText-questions] create link to page not made yet

2005-03-11 Thread Hwaseong Lee
Hello all, I want to make the link to another page in a same document. But when the link is creating, the destination page is not made yet. i.e. the link is located in page 1, but its destination page is page 4. In that case, I cannot make PdfDestination or etc. How can I do this? Thank you in adv

RE: [iText-questions] Text on multipage with background page from other file

2005-03-11 Thread Paulo Soares
That's an easy one. You have a layer1 for the document.add() and a layer2 on top of it for the writer.getDirectContent(). The result is in order of appearance in writting: template -> layer2 paragraph1 -> layer1 showTextAligned ->layer2 Reordering for what is actually seen: paragraph1 -> layer1

[iText-questions] Text on multipage with background page from other file

2005-03-11 Thread ibrahim
Hi all, I'm trying to make a little application, using iText, that shall write text in a new pdf file putting it in a rectangle space on the page (the rectangle on the top of the page in the attached file) using a page from another file as background. I have a strange result. I'm getting a part

RE: [iText-questions] Re: wrong element placement?

2005-03-11 Thread Paulo Soares
Paragraph has leading. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Przemek Klein > Sent: Friday, March 11, 2005 11:38 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Re: wrong element placement? > > Thank You, bu

[iText-questions] Re: wrong element placement?

2005-03-11 Thread Przemek Klein
Thank You, but can You tell me WHY? I mean what is the rule; do I have to enclose anything in Paragraph? Both Paragraph and Chunk classes implement Element interface, and Document.add requires instance of Element so both of them should work. Przemek On Fri, 11 Mar 2005 11:29:32 - "Paulo So

RE: [iText-questions] Keep together, Chunk

2005-03-11 Thread Paulo Soares
setKeepTogether() will work in ColumnText and PdfPtable. You may have problems with Table, though. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric ... > Sent: Thursday, March 10, 2005 4:08 PM > To: itext-questions@lists.sourceforge.net > Sub

RE: [iText-questions] wrong element placement?

2005-03-11 Thread Paulo Soares
Use pdfDoc.add(new Paragraph(theChunk)) instead of pdfDoc.add(theChunk). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Przemek Klein > Sent: Friday, March 11, 2005 10:57 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-question

[iText-questions] Re: iText - placing barcode

2005-03-11 Thread Przemek Klein
HHHAAANNN:) Przemek On Fri, 11 Mar 2005 10:48:55 - "Paulo Soares" <[EMAIL PROTECTED]> wrote: > You don't have to position it absolutely. Call > Barcode.createImageWithBarcode() as use it as any other image. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [ma

[iText-questions] wrong element placement?

2005-03-11 Thread Przemek Klein
Hi All. My PDF document consists of: 1. page header 2. table with 100 rows 3. text (chunk) Every element is added using Document.add(Element) method. In generated document text appears over last table row instead of under the table. Below is a code I use do generate PDF. Thanks in advance, Prz

RE: [iText-questions] iText - placing barcode

2005-03-11 Thread Paulo Soares
You don't have to position it absolutely. Call Barcode.createImageWithBarcode() as use it as any other image. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Przemek Klein > Sent: Friday, March 11, 2005 10:37 AM > To: itext-questions@lists.sourc

[iText-questions] iText - placing barcode

2005-03-11 Thread Przemek Klein
Hi All, I have a question connected with iText PDF library. I want to add barcode in generated document. I know how to generate it properly, and I know that I have to position it absolutely. But how to guess proper coordinates? Below is a snippet of my code: // my pdf document Document pdfDoc

RE: [iText-questions] bug: Table with header - when row crosses page boundary

2005-03-11 Thread Paulo Soares
Use a PdfPTable. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Baltej SIngh > Sent: Friday, March 11, 2005 2:12 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] bug: Table with header - when row > crosses page bound

[iText-questions] bug: Table with header - when row crosses page boundary

2005-03-11 Thread Baltej SIngh
Hi, I get the following behaviour with table headers: Without Headers I get: -- Page 1: Header Row Row Row Row Row Row Page 2: Row Row Row -- With Headers I get: ---