Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread 1T3XT info
Mike Ferrando wrote: > However, since I am transforming from xhtml to pdf, maybe I can still use > ITEXT to create the document. That's one option. The other option is to use PdfCopy. I know that the book says that you can't add any content to a file when you use PdfCopy, but development of iText

Re: [iText-questions] iText-questions Digest, Vol 27, Issue 43

2008-08-14 Thread 1T3XT info
Kevin Yu wrote: > we need to hide a save button when the user click on the save button and > submit the xml/xfdf back to the server, With iText you can add JavaScript to a form, change the Submit URL of a button, change the properties of fields, etc... So maybe you are overlooking something. If

Re: [iText-questions] Footer placed on page header

2008-08-14 Thread Udkik.dk
Hi NomadeWolf, Just do as described in the manual chapter 14. Best regards, Allan Unnerup > I can't use classes, i'm programing in jsp. What i need is a procedure > oriented example. > My doubt is, where/how i set the page event, where/how i set the code to > execute. > Anyone willing to help? >

Re: [iText-questions] iText & multithreading delays

2008-08-14 Thread Edward W. Rouse
Oops, step 3 is missing a bit. I continue to process the original file, creating many intermediate size pdfs until the entire original pdf is parsed, THEN I release the original reader to free up the memory. Edward W. Rouse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread Mike Ferrando
1T3XT info, I see now that although I have achieved the first goal (tagged pdf), I have lost alot in the process. PdfWriter is the only class that allows setTagged. Which means all the interactive features are lost. (_ITEXT in Action_ Table 2.2) There is also this thread: http://www.mail-archi

Re: [iText-questions] iText & multithreading delays

2008-08-14 Thread Edward W. Rouse
Well, the results are in. As long as the file can be handled by iText, which means under 2Gb, my new process is several times faster than the old one. The general steps are: 1) Preprocess the pages into a HashMap 2) Use the bookmarks to determine which pages go into what end result pdf, remove foun

Re: [iText-questions] itextsharp support on dynamic form

2008-08-14 Thread Sr. Miguel
Hi, To control field properties, why don“t you add script to the form (into the right event) that will look for the fields you want and then change it properties? If you do this iTExt will still be a great help. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Thu, 14 Aug 2008 14:06:36 -0400S

Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread Mike Ferrando
1T3XT info, With the information you provided and the "document.newPage()" code, I was able to add tags to the PDF which consisted of pages imported from another pdf. I appreciated the tip for info from Chapter 10 (10.4.1: CTM; 10.4.2: PdfTemplates). I had read over these chapters (the index p

[iText-questions] itextsharp support on dynamic form

2008-08-14 Thread Kevin Yu
hi all, does iTextsharp support dynamic form? or dynamic form field (e.g. show/hide field, make it readonly) the current itextsharp release support setting the field value. but not modifying field properties like setting button field submission url. thanks Kevin ___

Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread 1T3XT info
Mike Ferrando wrote: > Friends, > Ok, I guess I will have to start over. (not enough info) > > 1. The most basic problem I am having is that I need to import pages as > PageSize.A4 > > The HelloWorldWriter does not import pages (using PdfContentByte) with the > addTemplate > method settings. >

Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread Mike Ferrando
Friends, Ok, I guess I will have to start over. (not enough info) 1. The most basic problem I am having is that I need to import pages as PageSize.A4 The HelloWorldWriter does not import pages (using PdfContentByte) with the addTemplate method settings. cb.addTemplate(page, -0.5f, 0f, 0f, -0.5

Re: [iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Howard Shank
Try splitting the logic up into manageable sections ad write little short documents until you find an offending section, then continue to slice it up into smaller pieces till you find the offending elements. Sorry I can't be of much more assistance at this point. Howard Shank - Original

Re: [iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Howard Shank
There should be no limitation on document size except for memory/disk space you have available.. maybe a 2gb limitation but I don't know for certain. Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday

Re: [iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Le Doyen, Loic
In fact, I have developped a javascript API for licensed software and, the code of the API is about 1200 lines, and the script using it about 3000 lines. In an other part, the script uses classes which are part of the sofware and you will not able to run it. So even if I send you the code, I don

Re: [iText-questions] Reduce PDF Trime Size

2008-08-14 Thread Bill Ensley
>On Aug 14, 2008, at 5:01 AM, Byomokesh Sahoo wrote: >> I have received PDF file from our client. We need to reduce >trime size >> and page size without reflecting text, image, etc.. plz give some >> example using jave through iText. I believe what he is asking is how do you crop the page to a

Re: [iText-questions] iText & multithreading delays

2008-08-14 Thread Edward W. Rouse
We are having issues trying to multi-thread iText due to memory issues. When we parse through normal size files, our single and multi-threaded programs work fine. Once the file sizes get bigger (1.5Gb in some cases) even the single-threaded program can run out of memory. With a 500Mb file anything

Re: [iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Howard Shank
That is something I'd have to see all the code to debug. Usually it means you've placed an element in another element that isn't supported. Howard Shank - Original Message From: "Le Doyen, Loic" <[EMAIL PROTECTED]> To: Post all your questions about iText here Sent: Thursday, August

Re: [iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread 1T3XT info
Mike Ferrando wrote: > I have worked with some of the examples. > > ReadOutLoud http://1t3xt.info/examples/browse/?page=example&id=292 > MarkedContent http://1t3xt.info/examples/browse/?page=example&id=274 > HelloWorldWriter http://1t3xt.info/examples/browse/?page=example&id=29 > However, I

[iText-questions] Limitation problem with RTF using Document ?

2008-08-14 Thread Le Doyen, Loic
Hi, One more time, thank you for all the past help, but I am now in front of a new problem. Actually, when I use the method close() on a Document, this error message appears : "Wrapped java.lang.IndexOutOfBoundsException: Index: 0, Size: 0". Is there a limitation of size in the Document class ?

[iText-questions] Tagged PDF (Re-send)

2008-08-14 Thread Mike Ferrando
Friends, I am trying to add tags to an existing PDF. I have the ITEXT in Action book and I have worked with some of the examples. ReadOutLoud MarkedContent HelloWorldWriter However, I have not been able to get my code to work. HelloWorldWriter is alot like what I want to do, but the pages are

[iText-questions] Tagged PDF

2008-08-14 Thread Mike Ferrando
Friends, I am trying to add tags to an existing PDF. I have the ITEXT in Action book and I have worked with some of the examples. ReadOutLoud MarkedContent HelloWorldWriter However, I have not been able to get my code to work. HelloWorldWriter is alot like what I want to do, but the pages are

Re: [iText-questions] Re ading and writing Javascript

2008-08-14 Thread 1T3XT info
Joachim Sieglen wrote: > Hello everybody, > > I have to change (reading, modifiying and writing back) Javascript which is > no document-level Javascript but lies behind a button (and is executed when > the button is clicked). Is there a way to do this programmatically using > iText? Your question

Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-08-14 Thread Paulo Soares
If you can't read the image to a byte[], neither can iTextSharp. The problem is somewhere else and we don't have access to your working environment. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of indy.gill > Sent: Thursday, August 14, 2008

Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-08-14 Thread indy.gill
My server is pretty basic Windows 2003 Server (standard Edition) running .Net 3.5 I even put the image locally on the server to see if it woudl find it but no joy. Im really stuck on how to resolve it, any help would be much appreciated Paulo Soares-3 wrote: > > Looks like a security thing.

Re: [iText-questions] java.lang.VerifyError:(class : com/lowagie/text/pdf/PageResources,: translate Name signature: (Lcom/lowagie/text/pdf/PdfName; )Lcom/lowagie/text/pdf/PdfName; )

2008-08-14 Thread SK
Did you find a solution to this? I am experiencing the same issue. Thank you for your help. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Mo

[iText-questions] Re ading and writing Javascript

2008-08-14 Thread Joachim Sieglen
Hello everybody, I have to change (reading, modifiying and writing back) Javascript which is no document-level Javascript but lies behind a button (and is executed when the button is clicked). Is there a way to do this programmatically using iText? Thanks a lot for help. Joachim Sieglen -- View

Re: [iText-questions] Reduce PDF Trime Size

2008-08-14 Thread Leonard Rosenthol
On Aug 14, 2008, at 5:01 AM, Byomokesh Sahoo wrote: > I have received PDF file from our client. We need to reduce trime size > and page size without reflecting text, image, etc.. plz give some > example > using jave through iText. Do you mean that you aren't allowed to scale the text/ima

Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-08-14 Thread Paulo Soares
Looks like a security thing. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of indy.gill > Sent: Thursday, August 14, 2008 11:08 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Image.GetInstance() error on > Pro

Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-08-14 Thread indy.gill
Hi I tried to read the image in by system.io.stream but i get an "Object not set to an instance" error Could it be a security thing, also does teh image have to be on teh same server? As im calling an image from another server eg. http://www.mydomain.com/logo.gif But it all works ok on my deve

Re: [iText-questions] Signature not found by getSignatureNames()

2008-08-14 Thread Paulo Soares
Without looking at the PDF your guess is as good as mine. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of akuehne > Sent: Thursday, August 14, 2008 11:33 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature n

Re: [iText-questions] ExceptionConverter:java.io.IOException:Thedocument has no pages.

2008-08-14 Thread SK
Bruno Lowagie (iText lowagie.com> writes: > > Feld, David E wrote: > > Yeah, I am talking to IBM about this. When I was doing the building of > > the itext jar, I had to get the following additional jars in order to > > get the successful build, do you guys know if those were built with JDK > >

[iText-questions] Signature not found by getSignatureNames()

2008-08-14 Thread akuehne
Hi folks, I got a 'special interest' problem regarding a signed PDF : A doument contains a signature that didn't get found by getSignatureNames(), presumably because it isn't assigned to a page. My question now is : Is this a broken signature in terms of the PDF spec, or is it just a strange wa

[iText-questions] Reduce PDF Trime Size

2008-08-14 Thread Byomokesh Sahoo
Hi All, I have received PDF file from our client. We need to reduce trime size and page size without reflecting text, image, etc.. plz give some example using jave through iText. Thanks Byomokesh Sahoo Om Trayambakam Yajaamahe Sugandhim Pushtivardhanam Urvaarukamiva Bandhanan Mrytor Muksheeya M

Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-08-14 Thread Paulo Soares
Can you read the image to a byte[]? Paulo - Original Message - From: "indy.gill" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 13, 2008 10:14 PM Subject: [iText-questions] Image.GetInstance() error on Production Server but not dev machine Hi I am building a Asp.Net 3.5 applicatio