[iText-questions] Question : Readonly PDF

2013-03-31 Thread Anil Kumar
Hi, I am using the below code to concatenate pdf's: but the question is how would i make sure the concatenated PDF is a read-only pdf. Please advise. import java.io.*; import com.itextpdf.text.*; import com.itextpdf.text.pdf.*; public class PickTray { /** * @param args */

[iText-questions] problem displaying tick mark image in PDF page using iText

2011-01-30 Thread Anil Kumar
Hello All, Iam using iText5.0 jar. I have a requirement wherein i need to display a checkbox (unchecked and checked) in my PDF as a list symbol. What is the best way to move forward ?. Should i use a check box image (.JPG) and add to chunk ? I have tried this approach but the image is not

[iText-questions] Creating TextFields in Itext 5.0

2010-07-12 Thread Anil Kumar
Hello, Can anyone pls let me know the best way to create text fields. I am required to create plenty of them in a PDF page. One more problem is that iam not able to place them besides Static text. Thanks, Anil. -- This

[iText-questions] Newspaper style text formatting in iText 5.0.2

2010-07-08 Thread Anil Kumar
Hello, can anybody pls let me know the way to implement the newspaper style formatting in itext. Something like shown below. Only 2 columns in a page. Apart from using PdfPtable any other solution. Iam new to iText. | Column 1 | | Column 2 | || || |

[iText-questions] Spacing between Tables in iText5.0.2

2010-06-30 Thread Anil Kumar
Hello, Iam using iText 5.0.2 version for my PDF generation. There is no space between the tables by default. If i use document.add(Chunk.NEWLINE); or document.add(new Phrase( )); the spacing is more for my liking. How can i control the space between tables ? Pls help. Thanks in advance, Anil.

[iText-questions] Creating Rectangle at relative position.

2010-06-30 Thread Anil Kumar
Hello, How can i create Rectangle and Line at relative position in the PDF using iText 5.0.2 ? Iam new to iText. Pls help. Thanks, Anil. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the

[iText-questions] creating footer in PDF using iText 5.0.2

2010-06-30 Thread Anil Kumar
Hello, How do i add a footer to my PDF using iText 5.0.2 ? setFooter() method doesn't seem to exist in iText 5.0.2. I need to write the copyright information in the footer. Pls help. Thanks, Anil. -- This SF.net email

[iText-questions] RTF : Image in PageHeader

2008-03-19 Thread Anil Kumar
Is it possible to use Image like Company Logo in page header of RTF document ? Regards Anil - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.

Re: [iText-questions] RTF : Image in PageHeader

2008-03-19 Thread Anil Kumar
Found the solution to problem, I was using the old RtfHeaderFooter class, new class works fine. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anil Kumar Sent: Wednesday, 19 March 2008 2:07 PM To: 'Post all your questions about iText here' Subject: [iText-questions

Re: [iText-questions] RTF Merge

2008-02-28 Thread Anil Kumar
Thanks Howard, I will try it. Regards Anil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Shank Sent: Friday, 29 February 2008 4:26 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] RTF Merge Anil, I have updated the

Re: [iText-questions] RTF Add Image Line Break

2008-02-26 Thread Anil Kumar
); image.scalePercent(percent, percent); Document document = (Document) documentObj; document.add(new Chunk(image,0,0)); Thanks Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 February 2008 8:39 PM To: Post all your questions about iText here Cc: Anil Kumar Subject: Re

[iText-questions] RTF: Page Border

2008-02-26 Thread Anil Kumar
Hello, I am trying to get a Top-Left border on a page, is there a way to get border like attached file? Regards Anil Border.rtf Description: MS-Word document - This SF.net email is sponsored by: Microsoft

Re: [iText-questions] RTF Add Image Line Break

2008-02-26 Thread Anil Kumar
Sorry for the cross-posting, I modified the code of RtfTable and it did the trick. Thanks for help. - Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 February 2008 10:40 AM To: 'Post all your questions about iText here' Cc: Anil Kumar Subject: Re

Re: [iText-questions] RTF: Page Border

2008-02-26 Thread Anil Kumar
)); document.add(shape); Regards Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 February 2008 10:43 AM To: itext-questions@lists.sourceforge.net Cc: Anil Kumar Subject: Re: [iText-questions] RTF: Page Border Hi, no that is not supported. You might try

[iText-questions] RTF Add Image Line Break

2008-02-25 Thread Anil Kumar
There is one automatic line-break / CR gets added after image, is there anyway to stop this happening. I am using this code. Image image = Image.getInstance(imageData); int percent = (int)(100 * (PageSize.A4.width()-100) / image.width()); mage.scalePercent(percent, percent);

Re: [iText-questions] RTF Merge

2008-02-21 Thread Anil Kumar
Message From: Anil Kumar [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 20, 2008 7:03:15 AM Subject: Re: [iText-questions] RTF Merge Thanks for the help Mark. I tried new source, but I am unable to find a way around encoding issue faced when using

Re: [iText-questions] RTF Merge

2008-02-20 Thread Anil Kumar
Hi Mark Do you have an example for this based on SVN code ? Regards Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 February 2008 3:24 PM To: Post all your questions about iText here Cc: Anil Kumar Subject: Re: [iText-questions] RTF Merge Hi

Re: [iText-questions] RTF Merge

2008-02-20 Thread Anil Kumar
. Is this the correct way of importing RTF documents ? Thanks Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 February 2008 3:24 PM To: Post all your questions about iText here Cc: Anil Kumar Subject: Re: [iText-questions] RTF Merge Hi, wait for the next

[iText-questions] RTF Merge

2008-02-19 Thread Anil Kumar
Hi, I am trying to merge multiple RTF file in to one, file contains mixture of text and images. I tried using RtfDirectContent but colors and font gets mixed up and if I tried using importDocument then faced with encoding issues for RTF with images when using readers. Please help what is the

[iText-questions] Multiple PDF Merge

2004-01-25 Thread Anil Kumar
Hi, I want to merge several PDF into a one PDF, I can do that with existing PDFCopy but only problem is that I want to start next PDF from same page of result page in place of next page, kind of word normal layout with no page breaks. How can I achieve it ? Thanks for the help. Regards, Anil