Re: [iText-questions] Combining bytearrayoutputstream in IText

2007-08-23 Thread dreamboy
pls help dreamboy wrote: > > how to combine all bytearrayoutputstream after manipulating the pdf. I > want to get the whole baos that represents the pdf. I need help on this > coz I am getting blank page or corrupted pdf if I use one baos for the > whole passes. In the example in the book, if I

[iText-questions] Bug? PDFSmartCopy importing duplicate pages

2007-08-23 Thread Mark Hall
http://itext.ugent.be/library/com/lowagie/examples/general/copystamp/Con catenate.java Using that sample code above ported to c#. Using iTextSharp. When appending a form made with a pdf form template to another form that already has a completed from made with the same template the concatenate co

[iText-questions] Combining bytearrayoutputstream in IText

2007-08-23 Thread dreamboy
how to combine all bytearrayoutputstream after manipulating the pdf. I want to get the whole baos that represents the pdf. I need help on this coz I am getting blank page or corrupted pdf if I use one baos for the whole passes. In the example in the book, if I used different baos, how to combine t

Re: [iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread William Alexander Segraves
- Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, 23 August, 2007 12:39 PM Subject: Re: [iText-questions] reset coordinate system for different pdfs > Editing the MediaBox is NOT the same as "re-aligning the

[iText-questions] iText with JDK 1.3

2007-08-23 Thread Dhiraj Shrivastava
I was able to compile my code with itext.jar which I compiled with JDK1.3but at runtime it gives NoClassFoundError exception. See the stacktrace below: == com.ibm.ejs.container.CreateFailureException: java.lang.reflect.InvocationTargetException; nested exception is: java.lang.reflect.

[iText-questions] set FileName for pdf

2007-08-23 Thread omnipresent
Hi i have a web project from which when user clicks a link a new window is opened and the pdf is shown (using itext). I use the following code to achieve this: userSession1.setContentType("application/pdf"); userSession1.setHeader("Content-Disposition", "inline;

Re: [iText-questions] Problem creating a pdf to be signed

2007-08-23 Thread Paulo Soares
Only Adobe can do that. Paulo - Original Message - From: "Eduardo Oliveira" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 2:46 PM Subject: [iText-questions] Problem creating a pdf to be signed > Hello, > > I'm trying to generate a pdf that is suposed to be signed by the rece

Re: [iText-questions] One page PDF takes 7-8 minutes to merge ??

2007-08-23 Thread Paulo Soares
In my machine it takes 1 minute and that's already way too long. The reason is that the application that created the PDF is really lousy, it can't even get the syntax right in the creation data. You PDF is composed of 2503 images each one 2 pixels high. It looks like it was built from a striped

Re: [iText-questions] Problem creating a pdf to be signed

2007-08-23 Thread Leonard Rosenthol
Enabling a PDF to allow Reader to sign it can ONLY be done by tools from Adobe. Leonard On Aug 23, 2007, at 9:46 AM, Eduardo Oliveira wrote: > Hello, > > I'm trying to generate a pdf that is suposed to be signed by the > receiver using Adobe Acrobat Reader. > > I've created a signature field

Re: [iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread Leonard Rosenthol
Editing the MediaBox is NOT the same as "re-aligning the origin" of the document, since your content coordinates may/will NOT change to match. Leonard On Aug 23, 2007, at 9:30 AM, William Alexander Segraves wrote: > - Original Message - > From: "Leonard Rosenthol" <[EMAIL PROTECTED]>

Re: [iText-questions] use of spans or other englobing HTML tags and associate with styles with class HtmlParser

2007-08-23 Thread Paulo Soares
HTMLWorker may be better suited for that. Paulo - Original Message - From: "Thierry Clement" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 4:22 PM Subject: [iText-questions] use of spans or other englobing HTML tags and associate with styles with class HtmlParser Hello, I

[iText-questions] One page PDF takes 7-8 minutes to merge ??

2007-08-23 Thread BorisTheCat
We used the examples to create a pdf merge program. We have a one-page PDF, 26Mb in size that contains an image. It is taking 7-8 minutes to merge this PDF. We have written a tiny java app that demonstrates the problem. We stripped the test app down so that it is only processing one input file

[iText-questions] use of spans or other englobing HTML tags and associate with styles with class HtmlParser

2007-08-23 Thread Thierry Clement
Hello, I am an enthousiastic user of iText for generating PDFs from dynamic data, e.g. for websites. I am currently working at Cetim (France), and I have used iText with success for small Intranet applications. Now, I am planning to use it for our Internet site, and I am faced with a little tec

[iText-questions] Problem creating a pdf to be signed

2007-08-23 Thread Eduardo Oliveira
Hello, I'm trying to generate a pdf that is suposed to be signed by the receiver using Adobe Acrobat Reader. I've created a signature field that appears when I open the pdf, but I'm not able to sign the document (the sign option is disabled). Also the security certification says that signing i

Re: [iText-questions] image- how to maintain ratio

2007-08-23 Thread William Alexander Segraves
- Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, 23 August, 2007 6:45 AM Subject: Re: [iText-questions] image- how to maintain ratio > scaletofit keeps the same ratio, scaleabsolute doesn't. > > Paulo scaleAbsol

Re: [iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread William Alexander Segraves
- Original Message - From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Thursday, 23 August, 2007 6:42 AM Subject: Re: [iText-questions] reset coordinate system for different pdfs > Let's rephrase that... > > It is POSSIBLE to reset it - it

Re: [iText-questions] How to set PDFPtable cell's width

2007-08-23 Thread sunil.belurgikar
Yes ,I have calculated the width according to textlength and converting it to percents and setting it by table.setwidths(float w[]) but still there is lot of empty space left in some cells. Paulo Soares wrote: > > The cells width is always fixed. You must calculate the size needed and > then

Re: [iText-questions] Accessing pdf form content using java script in aweb browser

2007-08-23 Thread Paulo Soares
- Original Message - From: "david allen" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 7:59 AM Subject: [iText-questions] Accessing pdf form content using java script in aweb browser > > Is it possible to present the user with an embedded pdf file in a browser > that contain

Re: [iText-questions] ColumnText to Swing conversion

2007-08-23 Thread Paulo Soares
You can do an approximation by the total char width but it will only be an approximation and not a "perfect fit". If you layout allows it you may also scale the font in order to fit in ColumnText. Paulo - Original Message - From: "david allen" <[EMAIL PROTECTED]> To: Sent: Thursday, A

Re: [iText-questions] image- how to maintain ratio

2007-08-23 Thread Paulo Soares
scaletofit keeps the same ratio, scaleabsolute doesn't. Paulo - Original Message - From: "meenakshi thilagam" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 22, 2007 9:54 PM Subject: [iText-questions] image- how to maintain ratio > Hello, > How to scale an image to a given width and

Re: [iText-questions] How to set PDFPtable cell's width

2007-08-23 Thread Paulo Soares
The cells width is always fixed. You must calculate the size needed and then set the cell width. Paulo - Original Message - From: "sunil.belurgikar" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 10:02 AM Subject: [iText-questions] How to set PDFPtable cell's width > > Hi, >

[iText-questions] Hey Itext-questions@lists.sourceforge.net ;)

2007-08-23 Thread Santosh Choudhary
http://www.hi5.com/register/ulgUa?inviteId=A_8d88e73_jMKMh4Pwvpi148409971 Santosh - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configu

Re: [iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread Leonard Rosenthol
Let's rephrase that... It is POSSIBLE to reset it - it's just not trivial. There are software products on the market place today that can "re-align" the MediaBox back to lower-left 0,0. Leonard On Aug 23, 2007, at 7:34 AM, Paulo Soares wrote: > It depends on the mediabox coordinates. Ther

Re: [iText-questions] Accessing pdf form content using java script in a web browser

2007-08-23 Thread Leonard Rosenthol
On Aug 23, 2007, at 2:59 AM, david allen wrote: > Is it possible to present the user with an embedded pdf file in a > browser > that contains a pdf form. Then retrieve the content entered by the > user via > javascript. > Yes. Acrobat JavaScript based into the PDF can get this info an

Re: [iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread Paulo Soares
It depends on the mediabox coordinates. There's no way to reset it. Paulo - Original Message - From: "lzhu" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 8:06 AM Subject: [iText-questions] reset coordinate system for different pdfs > > hi all, > > i found that some different

Re: [iText-questions] iText Multilingual Support

2007-08-23 Thread Paulo Soares
iText supports all the languages except the Indic ones. The encoding to use is Identity-H. Paulo - Original Message - From: "srinivas prasad" <[EMAIL PROTECTED]> To: Sent: Thursday, August 23, 2007 11:23 AM Subject: [iText-questions] iText Multilingual Support Hi, I would like t

[iText-questions] iText Multilingual Support

2007-08-23 Thread srinivas prasad
Hi, I would like to know, what are all the international languages iText supports and their corresponding font encoding. My project requires PDFs in different international languages and we are using iText to generate PDFs. Its very important and urgent. please get back to me at the e

[iText-questions] reset coordinate system for different pdfs

2007-08-23 Thread lzhu
hi all, i found that some different pdfs have different coordinate x, y system, some (0,0) is in the bottom left corner, but some (0, 0) are in the central pdf. is there any way that i could reset (0,0) to top left corner or bottom left corner for different pdfs? Thx in advance Lei -- View th

[iText-questions] Accessing pdf form content using java script in a web browser

2007-08-23 Thread david allen
Is it possible to present the user with an embedded pdf file in a browser that contains a pdf form. Then retrieve the content entered by the user via javascript. The reason I am asking is that I create a pdf file based on user input but the user input must fit within a certain part of the pdf fil

[iText-questions] ColumnText to Swing conversion

2007-08-23 Thread david allen
I have code that generates a pdf file which contains a ColumnText object. The text that is used for this pdf file is obtained from an applet. The ColumnText object is of a fixed size and I need to ensure that the text sent to the server fits perfectly within the ColumnText object. I need to make

[iText-questions] How to set PDFPtable cell's width

2007-08-23 Thread sunil.belurgikar
Hi, In my application I am adding a PDFPTAble of 5columns and 2 rows.I don't want to set width of table Cells. I want PDFPCell width to be according to the contents of the cells.PDFPCElls shouldn't increase or decrease or shouldn't have fixed widths. so I have not set width of table Cells But a