Re: [iText-questions] Fwd: how can I create template?

2008-07-29 Thread 1T3XT info
krishna itest wrote: > Is it possible? Yes, and NIIT has received sufficient info to achieve this. -- This answer is provided by 1T3XT BVBA - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [iText-questions] Graphics2D not working

2008-07-29 Thread 1T3XT info
Neel Parekh wrote: > So I'm just trying to start out using the Graphics2D version of iText, > and for some reason, I'm not seeing anything showing up... the pdf is > created, but it's blank. My code is below. Any help you could offer > would be greatly appreciated. > > FYI... I'm using iText

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread 1T3XT info
Ranginani, Archana wrote: > I need to remove the header and footer from each page of an existing pdf > file? How can this be done? Do you need to remove it from the file? (That's difficult.) Or do you need to hide it from the screen/printer? (That's easy.) > I tried to set the reduce the boundin

[iText-questions] [NEWBIE] Re: File does not begin with %PDF

2008-07-29 Thread 1T3XT info
Jonathan Romley wrote: > Hi, > > I have Acrobat7.0 install in my computer. I want to generate a PDF > document. i have the following code in java to generate > the PDF. The library that i am using is iText-2.0.8. You say you are using iText, but that doesn't show in your code! > if(format.equa

[iText-questions] Left align a PDFPTable

2008-07-29 Thread Sumeet T
Is it possible to left align a table ? -- View this message in context: http://www.nabble.com/Left-align-a-PDFPTable-tp18726878p18726878.html Sent from the iText - General mailing list archive at Nabble.com. - This SF.Net

[iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread Ranginani, Archana
I need to remove the header and footer from each page of an existing pdf file? How can this be done? I tried to set the reduce the boundingBox of the imported page but that doesn't work int n = reader.getNumberOfPages(); PdfImportedPage page; for (int i = 0; i < n; ) {

[iText-questions] Type 3 Font Problem

2008-07-29 Thread Jerold Sampson
Hi, I am having some trouble converting an IBM AFP raster font to a Type 3 font using iText. I do this quite often with no difficulty however I have encountered a strange problem. The IBM font defines more than one whitespace character in many of its codepages, in this case 0x40 and 0x41 (these

[iText-questions] File does not begin with %PDF

2008-07-29 Thread Tanmayee Sahoo
Hi, I have Acrobat7.0 install in my computer. I want to generate a PDF document. i have the following code in java to generate the PDF. The library that i am using is iText-2.0.8.jar if(format.equalsIgnoreCase("pdf")) { response.setContentType("application/pdf"); File file = new Fi

[iText-questions] File does not begin with %PDF

2008-07-29 Thread Tanmayee Sahoo
Hi, I have Acrobat7.0 install in my computer. I want to generate a PDF document. i have the following code in java to generate the PDF. The library that i am using is iText-2.0.8.jar if(format.equalsIgnoreCase("pdf")) { response.setContentType("application/pdf"); File file = new Fi

[iText-questions] Graphics2D not working

2008-07-29 Thread Neel Parekh
So I'm just trying to start out using the Graphics2D version of iText, and for some reason, I'm not seeing anything showing up... the pdf is created, but it's blank. My code is below. Any help you could offer would be greatly appreciated. FYI... I'm using iText version 1.4.1, but I tried it with

[iText-questions] adobe bug & iText workaround

2008-07-29 Thread Mark Storer
Under Strange Circumstances, Acrobat/Reader 7 (and other versions one would presume) will incorrectly mangle radio/check fields. Take the following field: <> /AS/Yes /Rect[...] /Subtype/Widget /DR<<...>> /MK<> /DA(/ZaDb 0 Tf 0 0 0 rg )>> Looking at the /CA-ption, we see a Unicode string, with the

[iText-questions] removing header and footer from each page of an existing pdf

2008-07-29 Thread Archana Ranginani
I need to remove the header and footer from each page of an existing pdf file? How can this be done? I tried to reduce the boundingBox of the imported page but that doesn’t work   int n = reader.getNumberOfPages(); PdfImportedPage page; Rectangle newBounds = bounds.rectangle(bounds.getTop()-40,

[iText-questions] File does not begin with %PDF

2008-07-29 Thread Jonathan Romley
Hi, I have Acrobat7.0 install in my computer. I want to generate a PDF document. i have the following code in java to generate the PDF. The library that i am using is iText-2.0.8. if(format.equalsIgnoreCase("pdf")) { response.setContentType("application/pdf"); File file = new File(docPath); if

Re: [iText-questions] PDF fusion

2008-07-29 Thread 1T3XT info
bokc bokc wrote: > Sorry. I only read the summury. And I misunderstood your question. I thought you wanted to merge paragraphs from one document with paragraphs from another and have the whole content reflowed. That would be very difficult to achieve, if not impossible. -- This answer is provided

[iText-questions] Copying and pasting from iText documents

2008-07-29 Thread John Lamont
I would be grateful for your advice please: I have tried copying and pasting from a 'PDF' document produced with iText and whether I paste 'unformatted' or 'formatted' I get a string of letters with no spaces as if the words are 'concatenated'. When doing the same action with a 'PDF' document pr

Re: [iText-questions] PDF fusion

2008-07-29 Thread bokc bokc
Sorry. I only read the summury. Ok I will try. Thanks. BokC 2008/7/29 Paulo Soares <[EMAIL PROTECTED]> > Did you read the javadoc? > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of bokc bokc > > Sent: Tuesday, July 29, 2008 5:23

Re: [iText-questions] PDF fusion

2008-07-29 Thread Paulo Soares
Did you read the javadoc? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bokc bokc > Sent: Tuesday, July 29, 2008 5:23 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] PDF fusion > > No. I don't want to rep

Re: [iText-questions] PDF fusion

2008-07-29 Thread bokc bokc
No. I don't want to replace the page but I want to merge it BokC. 2008/7/29 Paulo Soares <[EMAIL PROTECTED]> > PdfStamper.replacePage() > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of bokc bokc > > Sent: Tuesday, July 29, 2008

Re: [iText-questions] PDF fusion

2008-07-29 Thread Paulo Soares
PdfStamper.replacePage() Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bokc bokc > Sent: Tuesday, July 29, 2008 5:14 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] PDF fusion > > Hi, > > Ok, I have 2 PDF

Re: [iText-questions] PDF fusion

2008-07-29 Thread bokc bokc
Hi, Ok, I have 2 PDF. The first have Field (check box/radio button/...) and XML data in the PDF file. It never change. The second PDF have the label of this feeld and backgroud image. This one have made by a software and I can't change it. So I have to merge the both. BokC 2008/7/29 <[EMAIL PRO

Re: [iText-questions] PDF fusion

2008-07-29 Thread wasegraves
-- Original message -- From: "bokc bokc" <[EMAIL PROTECTED]> > > Thanks for your answer. > > 1) I don't understand why it's not possible... Can't we use each pdf like a > layer and superimpose each layer and the merge them? > What happened when you tried it? Simi

Re: [iText-questions] PDF fusion

2008-07-29 Thread bokc bokc
Thanks for your answer. 1) I don't understand why it's not possible... Can't we use each pdf like a layer and superimpose each layer and the merge them? 2) I don't want to transform the XM to PDF but include the xml in the pdf file. Bokc 2008/7/29 1T3XT info <[EMAIL PROTECTED]> > bokc bokc wro

Re: [iText-questions] PDfStamper and protected documents

2008-07-29 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Karol Bryd > Sent: Tuesday, July 29, 2008 2:46 PM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] PDfStamper and protected documents > > Hello > > This is my case: > > * my w

Re: [iText-questions] PDF fusion

2008-07-29 Thread 1T3XT info
bokc bokc wrote: > Hi I now to iText and I try to determinate if It can help me to do what > I want. > > * Is it possible with iText to make a merge of to 2 pdf document? > But I dont want to concatenate pdf but realy merge it : The 2 fist > page have to be merge in a new first pa

[iText-questions] PDF fusion

2008-07-29 Thread bokc bokc
Hi I now to iText and I try to determinate if It can help me to do what I want. - Is it possible with iText to make a merge of to 2 pdf document? But I dont want to concatenate pdf but realy merge it : The 2 fist page have to be merge in a new first page, same for the 2 seconds page,...

[iText-questions] PDfStamper and protected documents

2008-07-29 Thread Karol Bryd
Hello This is my case: * my watermarking application was able to apply watermarks and change security settings using old iText release ( itext-paulo-153) even on password protected documents (screenshot of document properties window is here: http://urtica.linuxnews.pl/~kbryd/itext_protected.png

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-29 Thread wasegraves
-- Original message -- From: Ning Zhao <[EMAIL PROTECTED]> > > Hi Allan, > > I'm not sure whether the getWidth() method was already available in > version 2.0.6. Ellen, Allan will find it instructive to look up for himself, in the sources, when the methods left,

Re: [iText-questions] How to keep image as background on the text in RTF document?

2008-07-29 Thread Sai Pradeep
Hi Howard Shank, Thanks for giving reply. Ok then I will try with what you said and see whether I could solve this solution. But please let me know the solution when you are free. Thanks, Pradeep DISCLAIMER and CONFIDENTIALITY CAUTION: This e-mail and any a

Re: [iText-questions] iText-questions Digest, Vol 26, Issue 92

2008-07-29 Thread Sai Pradeep
Hi Howard Shank, Thanks for giving reply. Ok then I will try with what you said and see whether I could solve this solution. But please let me know the solution when you are free. Thanks, Pradeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [E

Re: [iText-questions] How to keep image as background on the text in RTF document?

2008-07-29 Thread Howard Shank
What you want to do is rather complex and will probably require the use of direct content, shapes objects, images and tables. There is no current example that I know of on how to accomplish this. I currently, do not have time to generate an example. Howard Shank - Original Message F

Re: [iText-questions] How to set data in rtf document?

2008-07-29 Thread Howard Shank
iText will not do that, at least not the way you probably want to do it. Do you need to add or remove cells or just place text in cells? If you need to do any images or manipulation other than text you are probably better off just building the entire document with iText if you can. Howard Shan

Re: [iText-questions] attaching files to PDF

2008-07-29 Thread Leonard Rosenthol
Yes, certainly possible. I believe there is a sample/example in the book. Look for attachments or embedded files. Leonard On Jul 28, 2008, at 5:21 PM, Luke Evans wrote: Hi, I want to add an attachment to a PDF using iText. The only way I’ve found to do this so far is by using PdfAnnota

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-29 Thread Ning Zhao
Hi Allan, I'm not sure whether the getWidth() method was already available in version 2.0.6. You can try to download the latest version 2.1.3, it should work. Or if you cannot upgrade your iText lib, try the getLeft() and getRight() methods of the Rectangle class. You can get the width by sayi

[iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-29 Thread Udkik.dk
Hi community, I need your help. I have an exception error regarding "Rectangle.getWidth()", I cannot solve myself. The exception, and the Java source is listed below. iText version: 2.0.6 java.vm.version: 1.4.2_09-b05 Apache Tomcat/5.0.30 If you need other systems values, please look here: http:/

[iText-questions] How to set data in rtf document?

2008-07-29 Thread soumyanil
Hi friends, I have a rtf document can anyone suggest how to set data in cells of an rtf document?Is there any way? Thanks in advance.. Regards , Soumyanil -- View this message in context: http://www.nabble.com/How-to-set-data-in-rtf-document--tp18705539p18705539.html Sent from the iText - Gener

[iText-questions] How to keep image as background on the text in RTF document?

2008-07-29 Thread Sai Pradeep
Hi, I am new to iText. I am using iText to generate the rtf document. My issue is, the user will enter the document name in the text box and clicks go button. That document name should appear on the header of the generated document..,With "company logo band" image as background. Can an