Re: [iText-questions] Line drawing

2010-10-11 Thread 1T3XT info
On 12/10/2010 7:49, 1T3XT info wrote: >> However, I am using Chunk and Phrase to write to the document. > > Excellent, if you are using Chunk objects, you can use the > setUnderline() method as shown in Listing 2.5. The name setUnderline may > be somewhat misleading as you can use this method to dr

Re: [iText-questions] Asian font not recognized after update

2010-10-11 Thread 1T3XT info
We will probably ban users with a hotmail or gmail address in the future, so it's probably better to use you Wipro address so that we know who we are talking to, Mr. Supreme... Also: you should subscribe to the list. On 12/10/2010 7:01, supremelmfz wrote: > After I did the update, this line of co

Re: [iText-questions] Convert PDF to Word or RTF

2010-10-11 Thread 1T3XT info
On 12/10/2010 1:29, aforum65 wrote: > Hi, I am have a requirement wherein I have to convert a PDF document > into a RTF document. 1) Is this possible using iText? No. > 2) Can iText read > a pdf file? 3) Can iText read a pdf file Yes, iText 5.0.4 can convert PDF to text. > and use iText RTF API

Re: [iText-questions] Need a sample

2010-10-11 Thread 1T3XT info
On 12/10/2010 0:29, karthick wrote: > > I'd like to see a sample creatin table using ColumnText object. It looks like > PDFPTable doesn't fit for my needs since I have data in a complex hashmap. I > couldn't loop it and render data properly. Thanks. http://code.google.com/p/devoxxguide/ (The code

[iText-questions] Asian font not recognized after update

2010-10-11 Thread supremelmfz
Hi all, I just recently updated the iText.jar for my program from iText 2.1.7 to iText 5.0.4. There had been quite some changes and one of them is bothering me right now and I can't figure out why. I used to be able to have my program function correctly and generates a PDF file with chinese chara

[iText-questions] Out of Bounds error when trying to GetInstance of tiff image

2010-10-11 Thread Mikhail Kogan
Here is there error. Is this a known bug? System.IndexOutOfRangeException: Index was outside the bounds of the array. at iTextSharp.text.pdf.codec.TIFFFaxDecoder.DecodeT6(Byte[] buffer, Byte[] compData, Int32 startX, Int32 height, Int64 tiffT6Options) at iTextSharp.text.pdf.codec.TiffImage.GetTi

[iText-questions] Need a sample

2010-10-11 Thread karthick
I'd like to see a sample creatin table using ColumnText object. It looks like PDFPTable doesn't fit for my needs since I have data in a complex hashmap. I couldn't loop it and render data properly. Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Need-a-sample-

[iText-questions] Convert PDF to Word or RTF

2010-10-11 Thread aforum65
Hi, I am have a requirement wherein I have to convert a PDF document into a RTF document. 1) Is this possible using iText? 2) Can iText read a pdf file? 3) Can iText read a pdf file and use iText RTF API to write to rtf document. Is such conversion possible or easy to write. Is is possible to h

Re: [iText-questions] PDF attachments

2010-10-11 Thread 1T3XT info
On 11/10/2010 15:01, Santosh Ainapur wrote: > Hi, > > I have below questions > > 1. How to attach files to PDF, please provide sample code > > 2. merged PDF lost editable capability, could to please suggest is there > any work around to keep the editable property of the pdf Please read: http://art

Re: [iText-questions] Line drawing

2010-10-11 Thread 1T3XT info
On 12/10/2010 6:07, Michael Lai wrote: > In the book, it uses PdfContentByte's lineTo function to draw a line. That is only one of the many possibilities discussed in the book. > However, I am using Chunk and Phrase to write to the document. Excellent, if you are using Chunk objects, you can us

[iText-questions] Line drawing

2010-10-11 Thread Michael Lai
Hi, I am a newbie to itext so please bear with me. I am converting some documents into PDFs. In some of the documents, they contain the equal characters to simulate a double line (ie, ""). One of the requirements is to make these equal characters into a proper double line. Initially, I

Re: [iText-questions] Clearing a Digital Signature Field's value.

2010-10-11 Thread Paulo Soares
It won't work if you opened the stamper in append mode, you don't call MarkUsed(). Paulo - Original Message - From: djdjdj To: itext-questions@lists.sourceforge.net Sent: Monday, October 11, 2010 8:03 PM Subject: Re: [iText-questions] Clearing a Digital Signature Field's valu

Re: [iText-questions] Not able to generate PDF from existing pdf with bar charts - Could not find the XObject named 'Im0'

2010-10-11 Thread Paulo Soares
That's fixed in 5.0.4. Paulo - Original Message - From: maddyonline To: itext-questions@lists.sourceforge.net Sent: Monday, October 11, 2010 9:17 PM Subject: [iText-questions] Not able to generate PDF from existing pdf with bar charts - Could not find the XObject named 'Im0'

[iText-questions] Problem creating PDF with JTextPane with embedded components

2010-10-11 Thread Joaquín Pérez Marco
Hi!! I have a JTextPane full of embedded components (all of them are JPanel, with a JLabel with image and a JTextField with text each one). I'd like to create a PDF that reflects exactly the layout of the JTextPane, I have read tutorials, etc. but I don't get much (with only text in a JTextPane is

[iText-questions] ZapfDingbatsList symbol height problem

2010-10-11 Thread prithvi.s
Hello, I am a new user to iText and working on a pdf layout. Now my layout will contain a symbolic list. I used ZapfDingbatsList for this purpose. I want a bulleted list but now issue is that the symbol height is greater then the text height itself. How can i reduce the symbol height of ZapfDin

Re: [iText-questions] Clearing a Digital Signature Field's value.

2010-10-11 Thread djdjdj
Hello, I have found Paulo's updated code to clear a digital signature. Unfortunately, I cannot update my itextsharp library at this time (using version 4.1.6). So, I have attempted to accomplish the task using a variation of his code posted to the Acrofields.cs file as an update. Again, I'm ca

Re: [iText-questions] Emptying a signature field

2010-10-11 Thread djdjdj
Paulo, No rush, but did you have a chance to look at my digital signature clearing issue this weekend? Thanks! -- View this message in context: http://itext-general.2136553.n4.nabble.com/About-this-mailing-list-tp2968159p2989644.html Sent from the iText - General mailing list archive at Nabbl

[iText-questions] Not able to generate PDF from existing pdf with bar charts - Could not find the XObject named 'Im0'

2010-10-11 Thread maddyonline
Hello, I am new to iText and using PdfReader, PdfStamper to read existing PDF document and trying to add watermarks and secure it. I am using the code below first to secure it. This is before I try to add watermark: Security.addProvider(new BouncyCastleProvider());

[iText-questions] ZapfDingbatsList symbol height problem (Reposted)

2010-10-11 Thread prithvi.s
P.s The network went down when i posted the first message. Sorry. Hello, I am a new user to iText and working on a pdf layout. Now my layout will contain a symbolic list. I used ZapfDingbatsList for this purpose. I want a bulleted list but now issue is that the symbol height is greater then t

[iText-questions] Fields with same name?

2010-10-11 Thread kpgraci
I read this on this mailing list: "As you pointed out: you risk ending up with duplicate names, and that doesn't work. You can have duplicate field names in a PDF form, but fields with the same name, should also have the same content (and that may not be what you want). " I've read similar th

[iText-questions] Renaming acrofields to a different (shorter) name

2010-10-11 Thread kpgraci
Hi all, iTextShart Novice, waiting on my copy of iText 2nd edition... Question 1: I want to rename all the acrofields on a form. I tried this and I can append to a name but I cannot change the name itself. Is there a way to rename a field to a shorter name? Assuming 'No' to Q1: Question 2:

Re: [iText-questions] java version

2010-10-11 Thread Mark Storer
I believe we build iText 5.x for compatibility with Java 1.5 Yep. The ant script calls javac thusly: And in .ant.properties: ... iText.jdk.core=1.5 There you have it. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; >

Re: [iText-questions] addTemplate with custom scaling functionality

2010-10-11 Thread Paulo Soares
That math only works if you're rotating about (0,0), you'll need a matrix multiplication for other points. In reality you don't need to do any calculations, just put the template inside an Image and do the rotation and scaling there. Paulo - Original Message - From: harroot To:

[iText-questions] addTemplate with custom scaling functionality

2010-10-11 Thread harroot
Hi all, I have one problem with PdfContentByte's addTemplate() , I need to perform custom scaling functionality(scale in X axis and y axis separately ) so here is my code float rotate = element.getAngle(); float angle = (float) (-rotate * (Math.PI / 180));

[iText-questions] PDF attachments

2010-10-11 Thread Santosh Ainapur
Hi, I have below questions 1. How to attach files to PDF, please provide sample code 2. merged PDF lost editable capability, could to please suggest is there any work around to keep the editable property of the pdf With Regards, Santosh Ainapur, HCL Technologies Ltd. DHFLVC Jeyab

Re: [iText-questions] java version

2010-10-11 Thread Jens Gruschwitz
Am 11.10.2010 10:14, schrieb Adrian Constantin POPESCU: > *Hi,* > > *Can somebody tell me what java version do you need to use itext jar?* I am using iText 5 with jdk-6u21 Mit freundlichen Grüßen Jens Gruschwitz Software engineer

[iText-questions] java version

2010-10-11 Thread Adrian Constantin POPESCU
Hi, Can somebody tell me what java version do you need to use itext jar? Thank you --- Adrian Popescu -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5,

Re: [iText-questions] FW: About this mailing list

2010-10-11 Thread Jens Gruschwitz
Am 09.10.2010 12:07, schrieb Bruno Lowagie: Hi, everybody, first let me please say, that I am one of those lurkers too, who got some nice ideas from the questions answered so bravely before. This is the reason why I wnat to see this list living a long time. ;-) > Correct. In theory, the archi