Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Thanks, 1T3XT info wrote: deep4u wrote: Hello, Bookmarks are not same as the Table of contents. I need TableOfContents.

Re: [iText-questions] Determine whether font size exceeds acrofield capacity

2009-05-05 Thread 1T3XT info
Bordeman, Chris wrote: I need to determine for a particular field (I have Acrofield object) whether a given font size would cause a certain string value to be too large to fit. How can this be done? Field size: AcroFields.getFieldPositions() String size: BaseFont.getWidthPoint() Compare

Re: [iText-questions] read char by char

2009-05-05 Thread 1T3XT info
Ragia Ibrahim wrote: Hi can i read the pdf file text char by char and determine if there's space or not can i read new line...if i read it char by char PDF doesn't work with newline characters. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

[iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
But I can see lot of tools that can convert an pdf to html. I also have a tool called cambridge docs which converts an existing pdf to html , So you say they all are stupid to write and show you the implementation ? What I need was how they do it and it is possible in i-text .. if not sorry dear

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
Thanks for the info Raheem. I will look on it. Sure Ragia I will send you the info. On Tue, May 5, 2009 at 11:31 AM, itext-questions-requ...@lists.sourceforge.net wrote: Html to Pdf (1T3XT info) -- !-- Mehmood.Z --

Re: [iText-questions] iText-questions Digest, Vol 36, Issue 12

2009-05-05 Thread DHANU BUDIREDDI
Hello, I want to call a java method from pdf push button. Actually my requirement is one SaveAs button is presented on merged pdf and when i clicke on that button i need to generate one more pdf with some edited values (this is as functionality as SaveAs). Is this possible

[iText-questions] Is this possible to call java method from Pdf push button?

2009-05-05 Thread DHANU BUDIREDDI
Hello, I want to call a java method from pdf push button. Actually my requirement is one SaveAs button is presented on merged pdf and when i clicke on that button i need to generate one more pdf with some edited values (this is as functionality as SaveAs). Is this possible

[iText-questions] cpu load

2009-05-05 Thread Rajiv Sabat
Hi, Could any one answer that using more number of document.add() method will decrese the performance? i followed the example document.add(table); table.deleteBodyRows(); i can see 100% cpu load during pdf processing. -- Rajiv Lochan Sabat +919986050873

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: But I can see lot of tools that can convert an pdf to html. I also have a tool called cambridge docs which converts an existing pdf to html , So you say they all are stupid to write and show you the implementation ? You could rasterize the PDF into images and make an HTML page

Re: [iText-questions] Is this possible to call java method from Pdf push button?

2009-05-05 Thread Patrick Valsecchi
Dhanu, Yes, sure, just write your own PDF reader in Java and add this functionality. ;-) No, seriously, when the PDF is displayed to the screen (by acroread or whatever), there is no java anymore. So you cannot call java methods from within your PDF. CU On Tuesday 05 May 2009 10.56:23

Re: [iText-questions] Is this possible to call java method from Pdf push button?

2009-05-05 Thread 1T3XT info
DHANU BUDIREDDI wrote: Hello, I want to call a java method from pdf push button. Push button in PDF: visible in Adobe Reader on the client side Java method: somewhere in a jar in an application server on server side. First answer: call an URL that triggers a Servlet. Actually

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Raheem Rufai
Hi Ragia, Here's the link to the project page: http://incubator.apache.org/pdfbox/ Raheem 2009/5/5 Ragia Ibrahim ragi...@hotmail.com Hi, Reham ...mohammed please if you have further refrences about PDBox how it works how does it read the pdf send it Ragia

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: Hi , The main requirement for me is to show the pdf in a swing based application. I tried Jpedal open source version but the main work for us will be to select the text first, extract the selected text and apply xml tags for it using the tool. (...) So knowing my

Re: [iText-questions] problem with submitting the pdf form

2009-05-05 Thread 1T3XT info
DHANU BUDIREDDI wrote: Hello, While submitting the pdf form , getting the following error An error occurred during the submit process. Cannot process content of type text/html. . can any body suggest me what is the problem with the pdf form ?

Re: [iText-questions] cpu load

2009-05-05 Thread Mike Marchywka
Date: Tue, 5 May 2009 14:32:07 +0530 From: To: itext-questions@lists.sourceforge.net Subject: [iText-questions] cpu load Could any one answer that using more number of document.add() method will decrese the performance? document.add(table);

[iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread George Pitcher
Hi, I have for several years, been using iText on a Windows NT server in a PHP application to split, join and encrypt pdfs. I have been using an early version of iText and j2re1.4.2_16. The usage has been by executing a shell command such as: $z = exec(java

Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Thanks, deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf

[iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread Mehmood
Hi, Thanks . Let me look on the other alternatives. Thanks for the input. Raheem, PDFBOX is not complete even to the PDF to text is not there . Anyways will work on their source code . Thanks. On Tue, May 5, 2009 at 4:47 PM, itext-questions-requ...@lists.sourceforge.net wrote: Send

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread Paulo Soares
There are several questions here. As for the problem with Acrobat 9 files at the time a file was requested and denied, we're not psychic to solve things that we can't see. You are insisting a lot on the Toolbox, perhaps expecting that it's some kind of command line utility. The Toolbox is a

Re: [iText-questions] Html to Pdf

2009-05-05 Thread 1T3XT info
deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents are not working.How to resolve this. Write your own (X)HTML handler to deal with this. This was answered before. Please don't repeat this question or

Re: [iText-questions] Html to Pdf (1T3XT info)

2009-05-05 Thread 1T3XT info
Mehmood wrote: PDFBOX is not complete even to the PDF to text is not there . Anyways will work on their source code . Thanks. No, it isn't. If you're thinking of writing your own implementation, have a look at the code in com.lowagie.text.pdf.parser It's a first version of iText's PDF

Re: [iText-questions] Html to Pdf

2009-05-05 Thread deep4u
Hello, How to write own (X)HTML handler. For this you have any sample code or any related links please share me. Thanks, 1T3XT info wrote: deep4u wrote: Hello, I need to convert html to pdf, but html having Tabloe of contents after converting pdf the Table of contents

Re: [iText-questions] problem with submitting the pdf form

2009-05-05 Thread Leonard Rosenthol
Can we use that text in the next version of Reader? It's so much more clear and useful ;). (and I especially want to include the don't bother the nice people on the iText mailing list part!!) Leonard On 5/5/09 11:16 AM, 1T3XT info i...@1t3xt.info wrote: DHANU BUDIREDDI wrote: Hello,

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread Leonard Rosenthol
And since you're moving platforms, then moving to the latest version of iText would also be a good thing - as there have been NUMEROUS improvements... Leonard On 5/5/09 12:23 PM, Paulo Soares psoa...@glintt.com wrote: There are several questions here. As for the problem with Acrobat 9 files

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread George Pitcher
Re: [iText-questions] Advice sought on using Split, Concat and EncryptLeonard, I agree, and that would be my plan. However, I do need to find a command-line way of achieving what I want. I've looked through the book for examples, and can see that the closest I get is '...tools.plugins.Concat'

Re: [iText-questions] problem with submitting the pdf form

2009-05-05 Thread glen . hamel
Leonard, Sounds like a good plan to me!! Go for it!! LOL 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: Leonard Rosenthol lrose...@adobe.com To:

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread Leonard Rosenthol
My recommendation would be to write your OWN command line tool (in Java) that calls on iText to do EXACTLY what you need it to do... On 5/5/09 1:26 PM, George Pitcher george.pitc...@publishingtechnology.com wrote: Leonard, I agree, and that would be my plan. However, I do need to find a

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread George Pitcher
Re: [iText-questions] Advice sought on using Split, Concat and EncryptLeonard, Sounds great. The only drwback is that I know almost nothing about Java. I'm now going to see if there are any alterntives available out there. Cheers George -Original Message- From: Leonard Rosenthol

Re: [iText-questions] Html to Pdf

2009-05-05 Thread 1T3XT info
deep4u wrote: Hello, How to write own (X)HTML handler. For this you have any sample code or any related links please share me. I repeat: Go to the keywords page: http://1t3xt.be/?X0004c8 Do Ctrl+F to search for the words writing your own Handler. Click on those words and you'll find:

Re: [iText-questions] problem with submitting the pdf form

2009-05-05 Thread 1T3XT info
Leonard Rosenthol wrote: Can we use that text in the next version of Reader? It’s so much more clear and useful ;). I thought to add that Acrobat Reader can do HTML, but I knew you'd complete the answer. (and I especially want to include the “don’t bother the nice people on the iText

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread 1T3XT info
George Pitcher wrote: Leonard, I agree, and that would be my plan. However, I do need to find a command-line way of achieving what I want. See http://1t3xt.be/?Z000609 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Advice sought on using Split, Concat and Encrypt

2009-05-05 Thread George Pitcher
Ok, thanks for pointing me in the general direction of the three Java apps that look as though they will do what I want. However the documentation is all about using them in a Java context and not from the command line. I'm going to muddle about and try different things. Firstly, on a brand new

[iText-questions] Imported PDF pages are too slow

2009-05-05 Thread Kruzic, Alex x55204
Hi everyone, I am having a performance issue with iText that I need help with. All I want to do is pull out various pages from a large PDF to create many smaller PDF's. For my test, the large PDF is 22,000 pages, and I'd like to split it such that every two pages or so is placed in to it's own

[iText-questions] Excel-like table cell text wrapping

2009-05-05 Thread Bruno Laturner
I'd like to reproduce the text wrapping behavior of MS Excel when you fill cell A1 with a long text, larger than the column's width and any text in cell A2. A2 will hide any overflowing content of A1. A1 doesn't even go over its own margin. I've read that it can be done using fixedHeight, leaving

[iText-questions] Dynamic XFA fill while preserving user permissions

2009-05-05 Thread Simon Freiberg
Hi, I was wondering if anyone can help me combine the techniques shown in http://1t3xt.info/examples/browse/?page=example http://1t3xt.info/examples/browse/?page=exampleid=433 id=433 and http://1t3xt.info/examples/browse/?page=example http://1t3xt.info/examples/browse/?page=exampleid=348