[iText-questions] itext to BIFF (Excel) file format

2006-10-03 Thread Cheenu
Has anybody created or attempted to create a BiffWriter (similar to RtfWriter), to create Excel files?-cheenu - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance

[iText-questions] Font Embedding Question

2006-10-03 Thread Abhishek Srivastava
Hello All,   I am reading a configuration file which can contain the name of the font to be used.   At the startup of my code I register all the fonts in my fonts directory using the font factory class and use the font name which has been specified in the configuration file.   I also want to embed

Re: [iText-questions] How to launch javascript code for PDF formfields event.

2006-10-03 Thread AnhTuan Nguyen
Hi Paulo, Thanks a lot for your help,   According to your reply, i must put the javacript code in XFA ( in case that Designa form was used). I'm wondering that we can use Itext's API to do this? If yes, please help me know some guides.   Best Regards, Tuan Paulo Soares <[EMAIL PROTECTED

Re: [iText-questions] iText sample code for web (preferably PHP)?

2006-10-03 Thread Antoine
On 03/10/06, Bill Ensley <[EMAIL PROTECTED]> wrote: > > > In order for iText to run, you need a Java Virtual Machine running (and > access to it) on the server you are using. Or .net... itextsharp (and others) do the job very nicely! Chrs Antoine -- This is where I should put some witty comment.

Re: [iText-questions] sap.setCertified(true);

2006-10-03 Thread Paulo Soares
Check that you are compiling/running the latest iText release. Paulo - Original Message - From: "Felix Joussein" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 03, 2006 11:00 PM Subject: [iText-questions] sap.setCertified(true); > Hello List, > > How can I apply a sap.setCertified (tr

Re: [iText-questions] using pfx / pkcs12 as keystore

2006-10-03 Thread Paulo Soares
Try with another crypto provider like BouncyCastle. Paulo - Original Message - From: "Felix Joussein" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 03, 2006 10:15 PM Subject: [iText-questions] using pfx / pkcs12 as keystore > Hello List, > > I'm struggling now for almost one day with

[iText-questions] using pfx / pkcs12 as keystore

2006-10-03 Thread Felix Joussein
Hello List, I'm struggling now for almost one day with using an openssl generated .p12 file as my keystore. I tried a lot of things with openssl and no doubt - I learned a lot, but at the end I found out the following: By the way - I'm using TinyCA as openssl frontend - maybe this is the problem

[iText-questions] sap.setCertified(true);

2006-10-03 Thread Felix Joussein
Hello List, How can I apply a sap.setCertified (true); into my document? At http://itextpdf.sourceforge.net/howtosign.html it says: sap.setCertified(true); but when I run my program, I get an exception: Exception in thread "main" java.lang.Error: Unresolved compilation problem: The m

[iText-questions] using pfx / pkcs12 as keystore

2006-10-03 Thread Felix Joussein
Hello List, I'm struggling now for almost one day with using an openssl generated .p12 file as my keystore. I tried a lot of things with openssl and no doubt - I learned a lot, but at the end I found out the following: By the way - I'm using TinyCA as openssl frontend - maybe this is the problem

Re: [iText-questions] Re-sizing Page Size and Cropbox for small <2" x4" input docs

2006-10-03 Thread Webber, David (NIH/OD) [C]
Paulo, OK - we're going to investigate - seems like the right place to start is here: http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfContentByte.html query the current state - then use transform to get to the page size state we want... Thanks, DW -Original Message- From: P

Re: [iText-questions] Copying, printing, saving

2006-10-03 Thread Aaron J Weber
If you sign the document, they'll still be ABLE to modify it, but it will invalidate the signature, so you can easily detect the modification and invalidate their version of the document (so to speak).   -AJ - Original Message - From: Gregory Lawson To: itext-questions@

[iText-questions] Copying, printing, saving

2006-10-03 Thread Gregory Lawson
Hello All, There is a requirement that the user cannot modify the pdf document, with Adobe products or some other third party products. Would using PDFStamper be the way to go. Maybe they don't want to read it either ;)!! Greg __ Do You Yahoo!?

Re: [iText-questions] iText sample code for web (preferably PHP)?

2006-10-03 Thread Bill Ensley
From what I gather from that link, yes, some VM must be running somewhere on the backend for it to work.   Are you stuck with your existing Hosting Provider?  There are many available now that support Java and PHP together.   -Bill From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [iText-questions] iText sample code for web (preferably PHP)?

2006-10-03 Thread Timothy Boyden
Ok perhaps I miss understood the information on this page: http://php-java-bridge.sourceforge.net/ which suggests that the iText library can be accessed from PHP without a VM.   Thanks,   Tim From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill EnsleySent: Tuesday, October

Re: [iText-questions] iText sample code for web (preferably PHP)?

2006-10-03 Thread Bill Ensley
In order for iText to run, you need a Java Virtual Machine running (and access to it) on the server you are using.   That's step 1.  if that cannot be accomplished with your hosting provider, you can't get any further.   -Bill Ensley Bear Printing From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [iText-questions] RtfDirectContent

2006-10-03 Thread Mark Hall
On Tuesday 03 October 2006 16:30, you wrote: > RtfDirectContent rdc = new RtfDirectContent(s); > rdc.setInTable(true); > table.addCell(new Cell(rdc)); > > This renders a blank cell. If I add the same RtfDirectContent to teh > document it appears fine. Hm. Strange. What are you adding in "s"? Gree

Re: [iText-questions] Disabling printing, copying, and saving pdf documents

2006-10-03 Thread Bruno Lowagie (iText)
Gregory Lawson wrote: > Hello All, > > Is there a way with IText, to disable these functions > of Adobe's plugin on the browser. Printing: yes Copying: depends on what you mean by Copying - Copy/paste: yes - SaveAs (complete doc): not possible in PDF Saving: not possible in PDF (NOT EVEN WITH ANY

Re: [iText-questions] Disabling printing, copying, and saving pdf documents

2006-10-03 Thread Paulo Soares
With all those restrictions are you sure you don't want also to disable reading? You can disable printing, for all the other restrictions you'll need specific DRM software like Fileopen. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Greg

[iText-questions] Disabling printing, copying, and saving pdf documents

2006-10-03 Thread Gregory Lawson
Hello All, Is there a way with IText, to disable these functions of Adobe's plugin on the browser. Greg __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [iText-questions] RTF Anchor setReference problem

2006-10-03 Thread Mark Hall
On Monday 02 October 2006 13:58, Alin Popa wrote: > Anchor anch = new Anchor( "Name",RtfFont ); > String string1="FOLDER"; > String string2="STEP_FILE"; > String strTemp=string1+"\\"+string2; > anch.setReference( fileTemp); > > The result for the anchor will be: FOLDER_FILE (without STEP). I will l

Re: [iText-questions] RTF Excel file attach/insert

2006-10-03 Thread Mark Hall
On Monday 02 October 2006 07:20, Alin Popa wrote: > In iText is possible to attach one file (to insert one file) into a > paragraph ? > I want to attach one excel file (or other format) exactly like word > documents. > If this is possible, can someone tell me how please ? You can insert arbitrary c

Re: [iText-questions] RtfDirectContent

2006-10-03 Thread Mark Hall
On Monday 02 October 2006 23:02, bqc wrote: > Any idea how to show RtfDirectContent in a table cell? I'm not quite sure I understand your question. You add the RtfDirectContent to the Cell object Cell cell = new Cell(new RtfDirectContent("...")); table.addCell(cell); This should work. Greeting

[iText-questions] iText sample code for web (preferably PHP)?

2006-10-03 Thread Timothy Boyden
Hello,   Does anyone have a link to example code for using the iText library from PHP? Specifically I'm looking for complete code examples for uploading existing PDF files via a form, encrypting (adding protection) to the existing PDF file using the iText library and then saving the encrypte

Re: [iText-questions] How to reduce the size of the concatinated pdf using iText?

2006-10-03 Thread Leonard Rosenthol
At 7:21 AM -0700 10/2/06, new2pdf wrote: >Does anyone know how to reduce the pdf file size using iText iText doesn't have the types of tools built-in that you need for PDf optimization. You'll want to look at commercial solutions such as PDF Enhancer or PDFCompressor for server-

Re: [iText-questions] How to reduce the size of the concatinated pdf using iText?

2006-10-03 Thread new2pdf
Is there way to compress the fonts using iText? Paulo Soares wrote: > > Where is Acrobat doing the optimizations? In fonts or pictures? > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of new2pdf >> Sent: Monday, October 02, 2006

Re: [iText-questions] How to launch javascript code for PDF formfields event.

2006-10-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of AnhTuan Nguyen > Sent: Tuesday, October 03, 2006 10:21 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] How to launch javascript code > for PDF formfields event.

Re: [iText-questions] How to launch javascript code for PDF form fields event.

2006-10-03 Thread AnhTuan Nguyen
Hi Bruno, Right now, i have found out the way to attach the _javascript_ code for form field event. The method PDFStamper.addScript() and PDF _javascript_ at document level was used to that. The script is below:   var f; var count = 0; for ( var i=0; i    var fname = this.getNthFieldName(i);

[iText-questions] How to create mail-merge form letters using rtf

2006-10-03 Thread Takundwa . Mapfumo
I would like to create form letters from a template whereby i use data from an existing database post the records to the template but creating a diffrent document. i can create a completely new document but is there a way to read and edit an existing rtf document. DISCLAIMER : This email and an

Re: [iText-questions] How would I identify Field name of an text object that does not have /T defined

2006-10-03 Thread Paulo Soares
The answer is no. Paulo - Original Message - From: "Dhakshinamoorthy, S. (Sendil)" <[EMAIL PROTECTED]> To: Sent: Monday, October 02, 2006 10:39 PM Subject: [iText-questions] How would I identify Field name of an text object that does not have /T defined Hello I have a PDF file tha