[iText-questions] Please UNSUBSCRIBE me from this list

2012-01-17 Thread Sailesh K
Please UNSUBSCRIBE me from this list From: Rob To: itext-questions@lists.sourceforge.net Sent: Tuesday, January 17, 2012 6:01 AM Subject: Re: [iText-questions] createInk not displaying in PDF on UbuntuLinux Paulo Soares-3 wrote > > Do you really need an ann

[iText-questions] suppressing security alerts when calling form is submitted using POST

2011-10-28 Thread Sailesh K
Hi,   I have a form that allows a user to submit a form to a servlet, but when I open it i acrobat reader and click submit, it first throws the yellow security warning under the toolbar, and once the user clicks yes, displays a dialog to save the pdf and then goes back to the form without submit

Re: [iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Sailesh K
:  content.setTextRenderingMode(0);   causes the font to disappear altogether. puzzling ... From: Leonard Rosenthol To: Sailesh K ; Post here Sent: Wednesday, October 19, 2011 9:04 AM Subject: Re: [iText-questions] What Text Rendering mode should I use Then don't set the render mod

[iText-questions] What Text Rendering mode should I use

2011-10-19 Thread Sailesh K
Hi,   I have an OCG which I am filling with a background Color. when I then try to add text using contentByte.showTextAligned ...the writing appears with only the  outlines of the writing but the fill color seeping into the lettering itelf. What TextRenderingMode should I be using instead?   cur

Re: [iText-questions] redaction using itext

2011-10-19 Thread Sailesh K
ntent? From: Sailesh K To: "itext-questions@lists.sourceforge.net" Sent: Wednesday, October 19, 2011 7:53 AM Subject: [iText-questions] redaction using itext Can I actually Redact portions of a document using itext? how do I go about it? Any examples in th

[iText-questions] redaction using itext

2011-10-19 Thread Sailesh K
Can I actually Redact portions of a document using itext? how do I go about it? Any examples in the book?   Thanks-- All the data continuously generated in your IT infrastructure contains a definitive record of customers, a

[iText-questions] Button in PdfTableCell dosent align properly

2011-10-12 Thread Sailesh K
Hi, Im creating a form by adding the text fields to a PDFTable and then adding   submit and Reset buttons  at the bottom. However, the submit button seems to stay aligned Right even thought the defualt Cell Horizontal Alignment is set to Center: table.getDefaultCell().setHorizontalAlignment(El

[iText-questions] TextField dosent show up above OCG

2011-10-10 Thread Sailesh K
Hi,   Im creating an OCG in a pdf and looking to add text fields and buttoins to it on top of the OCG. This should theoritically be straight-forward since annotations are supposed tp foat on top of the content, but the annotations dont show up. Currently adding the annotations just before ending

[iText-questions] acroform text field does not get hiden in javascript

2011-10-04 Thread Sailesh K
Hi,   I tried creating an acroform as described in the book using openoffice and exporting as pdf. I then try to set some of the fields to invisible using javascript like:this.getField("sAddress").hidden = true; but the text field only becomes kinda inactive but is still visible. Has anyone run i

[iText-questions] overlay Acrobat form on OCG

2011-10-03 Thread Sailesh K
Hi,   Is there any way to overlay an Acrobat form on an OCG in a pdf? I could just add the text boxes and other fileds to the OCG, but then how do I control the form submission URL, method etc...?   Cheers-- All the data co

Re: [iText-questions] Adding Text to ContentByet.drawTextField

2011-09-27 Thread Sailesh K
Thanks. How about adding text to the text field drawn using ContentByet.drawTextField ? Would you know how I can do that?   Cheers    From: 1T3XT BVBA To: Sailesh K ; Post all your questions about iText here Sent: Tuesday, September 27, 2011 3:30 AM Subject: Re: [iText-questions] Adding Text

[iText-questions] Adding Text to ContentByet.drawTextField

2011-09-26 Thread Sailesh K
Please disregard my previous questions. managed to work them out.   I have currently added a text field to cover certain pages, using the below syntax.   contentByte.drawTextField(rect.getBottom(), rect.getLeft(), rect.getRight(), rect.getTop());   How do I add some text to show up in the above T

[iText-questions] ok to use addOverContent to addOCG?

2011-09-26 Thread Sailesh K
my quest to add a layer to one or more pages of an existing page has led me to try using the stamper.getOverConent method. Is this a valid way to add an OCG. i.e would a layer added in this way be removable(hideable) using javascript getOCG methods?   Thanks---

Re: [iText-questions] hiding page contents by adding an OCG to specifc pages

2011-09-26 Thread Sailesh K
ok, looks like ill have to read the document into a new pdf and add the layer onto the specific pages during that process right? Will try out that approach. Do let me know if that might be wrong.   Thanks From: 1T3XT BVBA To: Sailesh K ; Post all your questions about iText here Sent: Monday

[iText-questions] hiding page contents by adding an OCG to specifc pages

2011-09-26 Thread Sailesh K
Hi,   Ive been trying to add an OCG over speicific page(s) whose contents I want to hide by adding a blue rectangle layer over it. For some reason, the code seems to end up with an unopenable pdf. any pointers? :  PdfReader reader = PdfDictionary dict = reader.getPageN(pageNum); Rectangle rect

[iText-questions] encrypt but allow FORM_FILL

2011-09-24 Thread Sailesh K
Hi,   Based on what I see in pg 388 on, it is possible to encrypt a pdf but allow FORM_FILL by the user. Is it possible to encrypt so that the user can fill the form as soon as he opens the pdf (say by passing the user password as part of a javascript call on Document open) and gets access to

[iText-questions] encrypt/decrypt specific parts of pdf?

2011-09-23 Thread Sailesh K
Hi,   Is it possible to encrypt/decrypt specific parts of a pdf , say from javascript without having the user enter a pwd?  not sure if im being very clear... but the examples I see only seem to allow for pwd based enccryption   Cheers--

[iText-questions] Fw: OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
that comes back to my original question, how do I create an OCG to span multiple pages. (say page 10-20). any code sample for this?   thx From: Leonard Rosenthol To: Sailesh K ; Post here Sent: Wednesday, September 21, 2011 8:02 AM Subject: Re: [iText-questions] OCG spanning multiple pages

Re: [iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
Sent: Wednesday, September 21, 2011 7:04 AM Subject: Re: [iText-questions] OCG spanning multiple pages or template On 21/09/2011 12:51, Sailesh K wrote: > think this would be a standard-ish requirement. any pointers are much > appreciated. It's fairly simple to hide content on a page

[iText-questions] OCG spanning multiple pages or template

2011-09-21 Thread Sailesh K
Hi,   I have a requirement to hide multiple pages in a pdf based on certain actions (possibly triggered from javascript). From reading the book and online resources the two ways to do this is using OCG or templates. the latter would need the end-user to have acrobat (am I right?). My users typical

[iText-questions] hiding specific parts/pages of a pdf

2011-09-20 Thread Sailesh K
Hi,   any pointers as to how to go about hiding specific pages in a pdf, such as say a disclaimer etc .. to be made visible under specific conditions? initial research indicates to make them part of an OCG. Any pointers as to where I can find more info about this? say in the book, online etc... muc

Re: [iText-questions] FDF request handler servlet

2011-09-20 Thread Sailesh K
you mean to say my form can submit forms in HTML and interpret responses in FDF. I need to submit forms in FDF right now because only FDF will allow for a reason code to be populated or a msg box to pop up when the pdf receives the response ...     From: Leonard Rosenthol To: Sailesh K ; Post

[iText-questions] FDF request handler servlet

2011-09-20 Thread Sailesh K
so I guess my problem boils down to being able to process the incomiung FDF request in a servlet and extract the field values from it. the servlet is being called from an acroform.   currently, the servlet is a standard servlet expecting html requests and is erroring out with a nullpointerexcept

Re: [iText-questions] displaying response code from servlet in acroform?

2011-09-19 Thread Sailesh K
any ideas? From: Sailesh K To: "itext-questions@lists.sourceforge.net" Sent: Monday, September 19, 2011 11:57 AM Subject: [iText-questions] displaying response code from servlet in acroform? Hi,   I created a simple form that I plan to merge wit

[iText-questions] displaying response code from servlet in acroform?

2011-09-19 Thread Sailesh K
Hi,   I created a simple form that I plan to merge with a static pdf document that submits data to a servlet to log it to a database and should display a confirmation code for the submission.   I can get as far as calling the servlet, but how do I display the response code in the same form? I am

[iText-questions] any luck with this one - Question regd. chapters 8 & 9

2011-08-24 Thread Sailesh K
or did it get lost in the crowd of questions? From: Sailesh K To: Post all your questions about iText here Sent: Monday, August 22, 2011 9:00 AM Subject: [iText-questions] Question regd. chapters 8 & 9 Hi, Was trying out the examples in chapters 8 and 9 related to acroforms. Where

[iText-questions] Question regd. chapters 8 & 9

2011-08-22 Thread Sailesh K
Hi, Was trying out the examples in chapters 8 and 9 related to acroforms. Where do i enter the url for the servlet to which the form submits the url when clicked/ especially when creating the form using openoffice? also would such a form be concatenatable with regular pdf ? is there a setvisible me

Re: [iText-questions] concatenating an XFA form with static pdf

2011-07-28 Thread Sailesh K
If that's all – then AcroForms are just fine. PDFs can act as a container/package for other files (be they other PDFs or something else). You had trouble because you didn't have an understanding of how things work and other options available to you.  Leonard From: Sailesh K Reply-To:

Re: [iText-questions] concatenating an XFA form with static pdf

2011-07-28 Thread Sailesh K
functional there. As far as merging, why not just create a Package instead of classic merging?? Leonard From: Sailesh K Reply-To: Post here Date: Thu, 28 Jul 2011 03:17:28 -0700 To: Post here Subject: Re: [iText-questions] concatenating an XFA form with static pdf yeah, I have acrobat pro

Re: [iText-questions] concatenating an XFA form with static pdf

2011-07-28 Thread Sailesh K
n Thu, 7/28/11, 1T3XT BVBA wrote: From: 1T3XT BVBA Subject: Re: [iText-questions] concatenating an XFA form with static pdf To: "Post all your questions about iText here" Date: Thursday, July 28, 2011, 8:28 AM On 28/07/2011 5:18, Sailesh K wrote: > can I call a web service from

Re: [iText-questions] concatenating an XFA form with static pdf

2011-07-27 Thread Sailesh K
your questions about iText here" Date: Wednesday, July 27, 2011, 12:01 PM On 27/07/2011 13:13, Sailesh K wrote: > anything wrong with this approach? You're trying something that isn't possible with iText. A form created in Livecycle is an XFA form, not an AcroForm. XFA forms ar

[iText-questions] concatenating an XFA form with static pdf

2011-07-27 Thread Sailesh K
Hi, I recently tried to merge a survey form that I created in Livecycle designer (that makes a web service call) with a static pdf file using the itext api concatenate code. the resulting pdf had the an error page for where the form should have been indicating it would 'appear shortly' but never