[iText-questions] Line spacing changes on repeater page

2010-10-12 Thread kaladoti
I am experiencing a problem whereby the line spacing seems to be automagically changing when the content overflows to a new page. Here's the code I've been using: ByteArrayOutputStream ba = new ByteArrayOutputStream(); Document document = new Document(); PdfWriter w

[iText-questions] Problem with JRE version 1.4

2010-10-12 Thread Ankit Gupta
Hi All, Please tell me which version of itext jar file is compatible with jre1.4 (142_08). When I use iText-5.0.4.jar I get the following error in my application - com/itextpdf/text/pdf/PdfReader (Unsupported major.minor version 49.0) Please help in resolving this. Cheers, Ankit

Re: [iText-questions] Line drawing

2010-10-12 Thread 1T3XT info
On 12/10/2010 22:59, Nurettin DAG wrote: > I think you could also utilize LineSeparator.java that you can add to > Chunk or paragraph. paragraph.add(new LineSeperator()) I am not sure if > you would be able to draw double lines I forgot about this option, but it's certainly a good idea. You could

Re: [iText-questions] Older Itext sourceforce, version 2.17.

2010-10-12 Thread Me Myself and I
IS version 2.1.7 iText RTF, as available from sourceforce: http://en.sourceforge.jp/projects/sfnet_itext/releases/ such an older and unsupported version, that may be used commercially? -If I am not reprogramming the library itself, and am leveraging it with my own code, is it still the case t

[iText-questions] Itext rtf 2.17 and reading/editing inplace of an RTFDocument.

2010-10-12 Thread Me Myself and I
-Is this the place to ask questions about the older versions ot IText, particularly 2.1.7? -In order to reader and edit a document in place, Does one call RTFDocument.mapElement(Chunk.class); to get an aggregate Chunk of Chunks which represents the entirely of the RTF? -When one calls RTFDoc

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

2010-10-12 Thread Mark Storer
What he said... plus PdfContentByte.transform() will take an AfineTransform for its parameter, which will handle the vast majority of the math for you. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; ___

Re: [iText-questions] Line drawing

2010-10-12 Thread Nurettin DAG
I think you could also utilize LineSeparator.java that you can add to Chunk or paragraph. paragraph.add(new LineSeperator()) I am not sure if you would be able to draw double lines but it has a constructor that takes in offset etc so from Bruno's explanation you should be able to. On Tue, Oct 12,

Re: [iText-questions] Older Itext sourceforce, version 2.17.

2010-10-12 Thread Mark Storer
1) iText is still an open source project. However, if you want to use it in a commercial context, you need to: a) use an older/unsupported version b) pay for it. c) make your source available to everyone who receives the output of that source (the PDFs) as required by the AGPL. 2) RTF suppor

Re: [iText-questions] Line drawing

2010-10-12 Thread Michael Lai
Thank you for the clarification. I misunderstood about Chunk's setUnderline(). I thought It needs a character for it to do underline. This makes it so much easier. On 2010-10-11, at 11:44 PM, 1T3XT info wrote: > On 12/10/2010 7:49, 1T3XT info wrote: >>> However, I am using Chunk and Phrase to

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

2010-10-12 Thread djdjdj
Scratch that. I just realized I'm running version 4.1.2 I just compared versions 4.1.2 and 4.1.6, MarkUsed was added in 4.1.6 so I obviously don't have that method in the version I'm using. Also, I noticed that the MarkUsed method comments say that this method has been used in itextsharp since

Re: [iText-questions] Fields with same name?

2010-10-12 Thread Mark Storer
I don't know about those made with LiveCycle Designer, but with AcroForm-based forms, fields with the same name (field name) share a value... And this sharing isn't supported properly in iText (we don't create a parent field, though Reader usually cleans things up acceptably well). It's almost uni

Re: [iText-questions] Need a sample

2010-10-12 Thread 1T3XT info
You don't create any goodwill by NOT registering on the list. Only a few days ago, it was explained that people not registering cost time (boring administrative work). Apparently the hint didn't work. Please register... On 12/10/2010 17:58, karthick wrote: > > Thanks. > I tried an example using Co

Re: [iText-questions] Need a sample

2010-10-12 Thread karthick
Thanks. I tried an example using ColumnText I could set and print value. But, how do I create a dynamic table using ColumnText? I want table borders too. An example would be greately appreciated. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Need-a-sample-tp2990806p

Re: [iText-questions] Problem creating PDF with JTextPane with embeddedcomponents

2010-10-12 Thread Mark Storer
Can't you just render it to a PdfGraphics2D? There are several samples using it floating around the web. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Joaquín Pérez Marco [mai

Re: [iText-questions] Symbol Height Resolved, Now Text Display Problem

2010-10-12 Thread Mark Storer
It looks like the different text elements are using different "base lines". Can you post your code? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: prithvi.s [mailto:java.programme...@gmail.c

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

2010-10-12 Thread Mark Storer
The Document.add( /*stuff*/ ) side of iText isn't my strong suit, but here goes: You need two different fonts. One at a reduced size for ZapfDingbats, and (at least) one for your normal text. Font smallZapfFont = ... Font regularFont = ... Paragraph p = new Paragraph(); p.add( /* chunk/phrase fo

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

2010-10-12 Thread Leonard Rosenthol
IF the form is an XFA/Designer form, then you need to extract the XFA (an XML grammar), modify it using your favorite XML tools, and then put it back. You can NOT use the AcroForm APIs. -Original Message- From: kpgraci [mailto:itextsh...@gmail.com] Sent: Tuesday, October 12, 2010 10:1

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

2010-10-12 Thread kpgraci
after looking around it seems I may be dealing with a form created with Designer. Until yesterday I had no idea there was a difference between pdf files, what a mess. My form fields have the form: F[0]..P1[0].[0], that apparently indicate it was created with designer and iText will not work with

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

2010-10-12 Thread djdjdj
Hey Paulo, thanks for replying. I don't believe MarkUsed is accessible from the version of itextsharp I am running (4.1.6). For my own information, what exactly does the markused method accomplish? I had a hunch this was the part of the code that you mentioned before that took the signature fie

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

2010-10-12 Thread Balaji, Madhusudhan (Citco)
Hi Paulo, Thanks for your response. I downloaded 5.0.4 jar and ran the prog. My modified pdf is still without images. Also what I see is, the bar chart axis is visible but the chart has disappeared in one case. Is this dependent on how the original pdf was created? Can this be prob with image lay

[iText-questions] Symbol Height Resolved, Now Text Display Problem

2010-10-12 Thread prithvi.s
Dear All, Yesterday, i posted a question about ZapfDingbatsList symbol height problem. I resolved it somehow, now there is a problem appearing. When i am putting text in the List, it is flowing diagonally. I am attaching a snapshot as well. Please help me where i am committing the mistake? Sample

[iText-questions] Older Itext sourceforce, version 2.17.

2010-10-12 Thread Me Myself and I
Before iText went commercial, it appears that it once was an open source project. Are there older versions, like the ones on sourceforge, which are purely open source, and require no purchase license, and may be leveraged in a commercial context for free? Is this the case for 2.1.7? Can it R

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

2010-10-12 Thread Iliadis Yannis
Dear 1T3XT info, I do feel your despair about the anonymity of a hotmail or gmail account which in most cases is followed by stupid questions (and yes they do exist), but I'm not sure if banning all free mail accounts is quite the solution. For example I use my gmail account, which I used to regi

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

2010-10-12 Thread Paulo Soares
Some images are broken and won't work. It doesn't mean that other readers can't fix them but not iText. Paulo From: Mikhail Kogan [mailto:mko...@kcura.com] Sent: Monday, October 11, 2010 11:54 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions

Re: [iText-questions] question about DSS

2010-10-12 Thread Jan Hudak
Thank for answer, it works. I tried sign it multi time and after each create DSS and validation works offline. But I find out another problem. Where put validation data for normal Timestamp? If I create PAdES Basic T, (PAdES Basic with Timestamp token) and add validation data(certificates, CRL a