[iText-questions] Missing Table.WidthPercentage and Table.SpaceBetweenCells

2008-07-23 Thread Ziga Janez
Hi, when upgrading itextsharp from version 3.0.10.0 to version 4.1.2.0 i got some errors like: TextSharp.text.Table does not contain a definition for 'WidthPercentage' same error for SpaceBetweenCells. I have looked Releases History and not found any changes in these way. Žiga

[iText-questions] how to set the orientation of paper when printing by itext

2008-07-23 Thread liuchangliang
Hello itext helper, I have a problem, the code is PdfAction jAction = PdfAction.javaScript("this.print(true);\r",writer); I could not set the orientation of paper when printing, Would you tell me how to set it using itext. Thank you! Best regar

Re: [iText-questions] Signature appearance like Adobe signing?

2008-07-23 Thread 021336
Will do...thanks for pointing me in the right direction. Paulo Soares wrote: > > See PdfSignatureAppearance.setAcro6Layers() and > PdfSignatureAppearance.setRender(). > > Paulo > > - Original Message - > From: "021336" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, July 23, 2008 10:2

Re: [iText-questions] How to get the image in line with text

2008-07-23 Thread pattyc
Ok, thanks. I just wanted to know if there was something one could do in iText. I'll look at more converters now. -- View this message in context: http://www.nabble.com/How-to-get-the-image-in-line-with-text-tp18619863p18622585.html Sent from the iText - General mailing list archive at Nabble.

[iText-questions] Signing with iText gives invalid sig when "mark read-only Signed" event set

2008-07-23 Thread Paul and Jenny Ryan
Hi, We're investigating usage of Acrobat Professional 8.0 to design a "Staff Leave" form with multiple signature fields (employee, supervisor and a certifying signature).  The following high-level steps have been followed in order to demonstrate the problem I'm encountering: Within Acrobat Profe

Re: [iText-questions] How to get the image in line with text

2008-07-23 Thread Paulo Soares
iText can't control the way things are converted, it's the responsability of the converter to answer your question. Paulo - Original Message - From: "pattyc" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 23, 2008 10:24 PM Subject: [iText-questions] How to get the image in line with tex

Re: [iText-questions] Nested PdfPTable table memory leak

2008-07-23 Thread Paulo Soares
There's no leak there, just a lot of memory needed to hold 165000 cells. There are ways to reduce the memory needed, see the book or the tutorial. Paulo - Original Message - From: "Biswa" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2008 10:39 PM Subject: [

Re: [iText-questions] Signature appearance like Adobe signing?

2008-07-23 Thread Paulo Soares
See PdfSignatureAppearance.setAcro6Layers() and PdfSignatureAppearance.setRender(). Paulo - Original Message - From: "021336" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 23, 2008 10:24 PM Subject: [iText-questions] Signature appearance like Adobe signing? I was able to successfull

[iText-questions] Signature appearance like Adobe signing?

2008-07-23 Thread 021336
I was able to successfully create a PDF with an empty signature field. When I digitally sign it within Adobe Reader I get an appearance with the signers name in a large font with all additional details smaller and to the right. When I sign it programmatically within iText I just get a simple text

[iText-questions] How to get the image in line with text

2008-07-23 Thread pattyc
I'm creating a PDF whose lines may have text and images. I'm converting the PDF to a Word doc, and it's mandatory that a user be able to select a whole line all at once (text and images), copy and paste it. When I open the created Word doc, the image has a layout of "behind text". If I right cl

Re: [iText-questions] Mark cell for including signature later

2008-07-23 Thread 021336
Never mind I found an example. 021336 wrote: > > I've seen code snipets for adding fields to create an acroform (but have > not had to do any of this myself yet). I have created a few PDF outputs > using the tables and cells, but I haven't seen examples of placing a > signature field in a cell

[iText-questions] Nested PdfPTable table memory leak

2008-07-23 Thread Biswa
Nested PdfPTable table memory leak. Memory leak while creating a large table with more than 5000 rows and and 3 columns. Each cell of the table will have a nested table of 2 rows and 5 columns each. Could anyone help me with this. This is the piece of code that does the creation of table: import j

Re: [iText-questions] OpenType font subsets not displayed in Adobe Reader 8

2008-07-23 Thread Ulrich Telle
Dmitri Livotov schrieb: > I figured-out the workaround for the problem with hiding text based on > OpenType font with Acrobat 8+, > the exact non-unicode encoding - this solved problem and Acrobat Reader 8 on > Windows/Linux and 9 on Windows are all displaying the text normally: > > BaseFont bf =

Re: [iText-questions] Mark cell for including signature later

2008-07-23 Thread 021336
I've seen code snipets for adding fields to create an acroform (but have not had to do any of this myself yet). I have created a few PDF outputs using the tables and cells, but I haven't seen examples of placing a signature field in a cell of a table. Do you have a sample of this? 1T3XT info w

Re: [iText-questions] How can i set the zoom factor of the opening pdf

2008-07-23 Thread Mark Storer
kishorekandavalli yahoo.co.in> writes: > > > Hello iText Users, > > I would like to have some help from you all, I am > trying to display a jpeg image file in pdf file.But, > when the image is too large, the pdf is showing the > image with very less zoom say for ex. like 12% or so. > I wo

Re: [iText-questions] Annotations (Anchors) and transformations

2008-07-23 Thread Sam Gibson
1T3XT info wrote: > You're mixing things that shouldn't be mixed. > Annotations are not a part of the page content. > That's inherent to PDF. (So no: it's NOT a bug!) So here's the main question, if I have a table of Anchors, and I do a transform before I write, how can I correctly position those

Re: [iText-questions] Mark cell for including signature later

2008-07-23 Thread 1T3XT info
021336 wrote: > If not the cell can I locate an object in the cell as an anchor that I can > then get the coordinates of and place the signature on top? Why don't you just put an empty signature field on that location? -- This answer is provided by 1T3XT BVBA

[iText-questions] (no subject)

2008-07-23 Thread Kiran Jallepalli
I need help with the combining the pdf files. I got the pdf files stored in dataabse as BLOBS.Iam reading those BLOBS as inputstreams and converting them to byte[] and putting them in a list.If it is one pdf ,iam able to view the pdf from the outputstream of the servlet response in the browser.If t

[iText-questions] Mark cell for including signature later

2008-07-23 Thread 021336
We have an application that outputs a PDF file with all the content displayed using tables. After producing the document, I need to digitally sign it. I have a cell in the table where the signature needs to go but the location (from a coordinate system perspective) is not fixed depending on the

Re: [iText-questions] Annotations (Anchors) and transformations

2008-07-23 Thread 1T3XT info
Sam Gibson wrote: > I've confirmed this by doing the following in a PdfPCellEvent: > > Annotation a = new Annotation(llx, lly, urx, ury, value); > writer.getDirectContent().getPdfDocument().add(a); Er... that isn't supposed to work!!! > rect = new Rectangle(llx, lly, urx, ury); >

Re: [iText-questions] About Soft-Mask

2008-07-23 Thread 1T3XT info
Mark Storer wrote: > You mispeledd my last name in the comment I've corrected it, but now Eclipse says: "The word 'Storer' is not correctly spelled" ;-) By the way (and this is a message for everybody): You can download ALL the examples, including the necessary libraries and resources (except for

[iText-questions] Annotations (Anchors) and transformations

2008-07-23 Thread Sam Gibson
Hey all, I'm using annotations to add hyperlinks to a document. I apply a scale transformation to the writer and draw the contents (a table with some links in it). The problem is that the clickable annotation regions don't seem to respect the transformation matrix. I've confirmed this by doing

Re: [iText-questions] About Soft-Mask

2008-07-23 Thread Mark Storer
1T3XT info 1t3xt.info> writes: > > ??? wrote: > > (hmm... I really ought to charge for this stuff ;) > > Yes, we should start charging for iText... > Which is why you founded 1t3xt.com, IIRC. Not to "charge for iText" per se, but for enhancements, classes, and so forth. > In the second exam

[iText-questions] get the zoom factor from a PDF file

2008-07-23 Thread kishorekandavalli
Hello iText Users, How to get the zoom factor from a PDF file using iText? -- View this message in context: http://www.nabble.com/get-the-zoom-factor-from-a-PDF-file-tp18612262p18612262.html Sent from the iText - General mailing list archive at Nabble.com. ---

[iText-questions] How can i set the zoom factor of the opening pdf

2008-07-23 Thread kishorekandavalli
Hello iText Users, I would like to have some help from you all, I am trying to display a jpeg image file in pdf file.But, when the image is too large, the pdf is showing the image with very less zoom say for ex. like 12% or so. I would like to display everything in pdf in 100% zoom factor.

[iText-questions] Is it possible to get the responce object in pdf, which will show the message data has been updated successfully?

2008-07-23 Thread Manoj Sagar
Hi, I have created one pdf form with 4 text fields and one submit button using itext API. I want to submit the form data from acrobat reader to tomcat server. After submitting the pdf form, is it possible to get the responce object in pdf, which will show the message data has been updated succes

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-23 Thread Nguyen Tran Sy
oh, now i can do a submit as PDF with another PDF, the real one that i must handle in my program. Many thanks again for your emails. - Original Message From: 1T3XT info <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Wednesday, July 23, 2008 1:45:57 PM Subject

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread VTARIN
iText had been modified to show the signature in every page of the doc, but it was using a Rectangle calculated only for page 1 (A4 non-rotated), so i have had to keep a Rectangle for each pagea bit weird ,i must say. glen.hamel wrote: > > So what was the problem.. Curious minds wanna know

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread glen . hamel
So what was the problem.. Curious minds wanna know.. ;) Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fax 905.274.3912 http://www.auricnet.ca From: VTARIN <[EMAIL PROTECTED]> To: itext-questions@

Re: [iText-questions] absolute position of paragraphs when converting HTML to PDF

2008-07-23 Thread 1T3XT info
rajeshkatkam wrote: > thank for your response. I need to give 3 different positions for 3 > paragraphs. Is it possible with the setsimplecolumn method? Have you looked at the parameters of setSimpleColumn? Or is this a trick question? -- This answer is provided by 1T3XT BVBA --

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-23 Thread 1T3XT info
Nguyen Tran Sy wrote: > Can you try the code posted ? No, please ask somebody else. -- This answer is provided by 1T3XT BVBA - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest L

Re: [iText-questions] What is the difference between PDF/A and PDF/X? Which one does iText produce?

2008-07-23 Thread 1T3XT info
Sumeet Gupta wrote: > DocumentException: com.lowagie.text.pdf.PdfXConformanceException: All the > fonts must be embedded. You are using a font that isn't embedded; probably in the part of your code where it says "// adding the contents to the pdf". > Does having PDF version 1.4 mean that the PDF

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread VTARIN
I know, i know :-) Finally i've found where was the problem. Thank you for your help and for iText, is a superb tool. Paulo Soares-3 wrote: > > If you're using a modified iText you are on your own. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTE

Re: [iText-questions] OpenType font subsets not displayed in Adobe Reader 8

2008-07-23 Thread Dmitri Livotov
I figured-out the workaround for the problem with hiding text based on OpenType font with Acrobat 8+, the exact non-unicode encoding - this solved problem and Acrobat Reader 8 on Windows/Linux and 9 on Windows are all displaying the text normally: BaseFont bf = BaseFont.createFont("GFSDidot.otf",

Re: [iText-questions] What is the difference between PDF/A and PDF/X? Which one does iText produce?

2008-07-23 Thread Sumeet Gupta
1T3XT info wrote: > > Sumeet Gupta wrote: >> hi, >> >> I have generated a PDF using iText version 2.0.8. However, i want to know >> as >> to which PDF standard does this PDF conform to. > > Thanks Bruno, I need to adhere to PDF/A. When i did some more search, i > came across > http://article.g

Re: [iText-questions] absolute position of paragraphs when converting HTML to PDF

2008-07-23 Thread rajeshkatkam
1T3XT info wrote: > > rajeshkatkam wrote: >> Hello, >> I have three html(paragraph) strings which i have to display in PDF.I >> am >> using HTMLWorker to parse the text and i am using columntext to add >> elements >> to PDF. >> If Not objects Is Nothing Then >>

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread Paulo Soares
If you're using a modified iText you are on your own. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of VTARIN > Sent: Wednesday, July 23, 2008 10:37 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Visible Signa

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-23 Thread Nguyen Tran Sy
Many thanks for your answer. I'm using Acrobat Professional 7.0. I wonder if this is the full Acrobat as you mentioned ? Can you try the code posted ? (All the needed files are in attachments in my last email.) It will generate a new PDF "submit_new.pdf". You will see a button "Upload Document"

Re: [iText-questions] getPageAsImage(), PdfPatternPainter and setPatternFill problem

2008-07-23 Thread Laurent Godard
Hi > yes, it uses jpedal > thanks paolo, i'll ask jpedal forum just a brief update the problem was a jpedal bug it has been solved by using the 3.51 version instead of 3.40 thanks again for your help Laurent - This SF.Net

Re: [iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-23 Thread 1T3XT info
Nguyen Tran Sy wrote: > My purpose is that the new pushbutton will allow me to click on it to submit > all the PDF to an URL Read p491: Basically, you can submit an AcroForm four ways: as an HTML query string, as a Forms Data Format (FDF) form, as an XFDF form, and as PDF if you're using the full

Re: [iText-questions] absolute position of paragraphs when converting HTML to PDF

2008-07-23 Thread 1T3XT info
rajeshkatkam wrote: > Hello, > I have three html(paragraph) strings which i have to display in PDF.I am > using HTMLWorker to parse the text and i am using columntext to add elements > to PDF. > If Not objects Is Nothing Then > For k As Integer = 0 To objects.Count

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread VTARIN
Im using a modified version of itext2.0.7 (legacy code), with the method preClose modified like this: if (!isInvisible()){ int pages = writer.reader.getNumberOfPages(); for (int i = 1; i <= pages; i++) { PdfForm

[iText-questions] absolute position of paragraphs when converting HTML to PDF

2008-07-23 Thread rajeshkatkam
Hello, I have three html(paragraph) strings which i have to display in PDF.I am using HTMLWorker to parse the text and i am using columntext to add elements to PDF. If Not objects Is Nothing Then For k As Integer = 0 To objects.Count - 1 Di

[iText-questions] Problem Pushbutton with PdfAction.createSubmitForm SUBMIT_PDF

2008-07-23 Thread Nguyen Tran Sy
Dear sirs, I had problems with the following code extracted from the class PushbuttonExample in attachments. -- FileOutputStream out = new FileOutputStream("submit_new.pdf"); PdfReader reader = new PdfReader("submit_template.pdf"); PdfStamper stamper = new PdfSta

Re: [iText-questions] About Soft-Mask

2008-07-23 Thread 1T3XT info
??? wrote: > (hmm... I really ought to charge for this stuff ;) Yes, we should start charging for iText... I made 2 examples that explain different principles. In the first example, I create a mask as done in chapter 5 of the book. I use an image with one component and 2 bits per component as ma

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-23 Thread Paulo Soares
It works for me. Posta a small standalone example with any need files so that the problem can be reproduced. Paulo - Original Message - From: "VTARIN" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 23, 2008 7:17 AM Subject: Re: [iText-questions] Visible Signature Positioning with differ