Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread Fabrizio Accatino
Hello, you cannot call iText directly from Classic Asp or VB. But there is a "long" solution walking through iTextSharp and writing an own wrapper COM object. I'm not sure if it works perfectly and if its performances are good or bad. - download iTextSharp (NET version of iText) http://itexts

[iText-questions] Alignment of footer Text

2006-12-03 Thread Patrick Mugabe
I am using the folllowing code to add a header and footer. It works fine except that I am failing to align the text on the footer even after using setAlignment(Element.ALIGN_MIDDLE); Is there something I am missing? Please assist public void onEndPage(PdfWriter writer, Document documen

Re: [iText-questions] Pile up the character string of the date on theimage of the signature.

2006-12-03 Thread [EMAIL PROTECTED]
Thank you for good advice. I confirm the getLayer method. Thank you very much. Paulo Soares wrote: > Look for PdfSignatureAppearance.getLayer(2). I returns a template that you > can fill as you like. > > Paulo > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Post all your

Re: [iText-questions] HTMLWorker pdf jumbled

2006-12-03 Thread Dominic Maricic
Thanks Paulo, That worked great. Now I just need to figure out why the DOM automatically wraps text in paragraph tags (). This is built into the Sun HTMLEditorKit class and is driving me nuts. It makes it impossible to have code on two subsequent lines. Instead every time you hit enter the text is

Re: [iText-questions] Table of contents - RTF

2006-12-03 Thread Mark Hall
On Thursday 30 November 2006 22:23, Henry Lu wrote: > To generate TOC in RTF, does each item in the TOC have to be a new Chapter? > For example, I have 10 different categories; each has its own items. What > I'd like to do is to list these 10 categories in the TOC. Can we do that? http://itextdocs.

Re: [iText-questions] Rtf documents and images

2006-12-03 Thread Mark Hall
On Thursday 30 November 2006 09:46, Manuel EspaƱol wrote: > is it possibe set an absolute position, alignments, ... to a image in a > rtf document? No. This is not possible. Greetings, Mark -- Q: Why did the programmer call his mother long distance? A: Because that was her name. My GPG

Re: [iText-questions] RTF strange space between rows

2006-12-03 Thread Mark Hall
On Wednesday 29 November 2006 21:08, Alin Popa wrote: > I have a strange(?) problem regarding the space between rows from a RTF > document. I'm doing something like that: I think you wish to set the leading with para.setLeading(x). Greetings, Mark -- There are three infallible ways of pleasing an

Re: [iText-questions] header and footer in pdf

2006-12-03 Thread seanka
> > Hi I am new to java and to iText. > > I am making an application in java where I am generating a PDF using > iText. > I am facing some problem with the changing of font size within the > table.The > rows in the table change dynamically. > I can change the other font normally by FontFactory but

Re: [iText-questions] state-based J/NUnit testing of iText considered harmful

2006-12-03 Thread William L. Thomson Jr.
On Sun, 2006-12-03 at 12:10 -0500, steve poling wrote: > > Moreover, when some bozo like me claims something is broken in iText, > you can point to the relevant unit test and ask if that passes on his > machine. If so, he's got the "right" way to do what he wants. I think on Gentoo we are just l

[iText-questions] state-based J/NUnit testing of iText considered harmful

2006-12-03 Thread steve poling
Paolo, I've written unit tests that give false alarms much as you describe. For example, I have a number of NUnit tests that all fail b/c I write a PDF, compare it to a baseline PDF, and they fail, because the iText version number in the header (or something else) changes. It's a pain in the b

Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread aparna jain
Thank you all of you for ur quick response, so i guess the bottom line is that we cannot use iText too easily with VB/ASP and so it is not recommended.. On 12/3/06, Bruno Lowagie <[EMAIL PROTECTED]> wrote: Anton Melser wrote: > Bruno, I think you missed the fact that he wants to use it in >

Re: [iText-questions] leader

2006-12-03 Thread Rick Roen
Correct VB is not case sensitive; anyway it was just pseudo code. I'll check the page events. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Sunday, December 03, 2006 6:56 AM To: Post all your questions about iText here Subject: Re: [

Re: [iText-questions] leader

2006-12-03 Thread Bruno Lowagie
Rick Roen wrote: > Well now that I try to do the footer with a table I am having a problem. > > Here is what I am doing in VB.Net (pseudo code): > > Dim phrase as Phrase = new Phrase() > Dim table as PdfPTable = new PdfPTable(1) > Table.AddCell("footer text") > Phrase.Add(table) > Dim footer as H

Re: [iText-questions] leader

2006-12-03 Thread Rick Roen
Well now that I try to do the footer with a table I am having a problem. Here is what I am doing in VB.Net (pseudo code): Dim phrase as Phrase = new Phrase() Dim table as PdfPTable = new PdfPTable(1) Table.AddCell("footer text") Phrase.Add(table) Dim footer as HeaderFooter = new HeaderFooter(phra

Re: [iText-questions] leader

2006-12-03 Thread Rick Roen
Thanks Bruno, I am new to iText and didn't realize that I could put a table in the footer. >From writing HTML I have had it beaten into me not to use tables for presentation purposes but I forget this is not the case for pdf. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAI

Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread Bruno Lowagie
Anton Melser wrote: > Bruno, I think you missed the fact that he wants to use it in > "classic" VB/ASP - and that means <=VB6. I once studied Visual Basic because I had to teach a course about it. That was back in 1997. I never had a look at VB since. Maybe I shouldn't answer questions about some

Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread Anton Melser
On 03/12/06, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > aparna jain wrote: > > Hello All, > > > > I am a Java developer and I am not very familiar to VB and ASP. I have > > used iText in my java code. Now I need to find out if it can be used in > > VB/ASP. I have read that iText can be used with AS

Re: [iText-questions] header and footer in pdf

2006-12-03 Thread Bruno Lowagie
Sheen wrote: > I am facing some problem with the changing of font size within the table. You add elements like Phrase, Paragraph,... to a PdfPCell. These elements can have different fonts and/or font sizes. It's all explained in the tutorial and in the book. > The rows in the table change dynamic

Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread Paulo Soares
It's not possible to use iTextSharp in classic VB/ASP unless you make a COM wrapper. Paulo - Original Message - From: "aparna jain" <[EMAIL PROTECTED]> To: Sent: Saturday, December 02, 2006 9:12 PM Subject: [iText-questions] iText with VB or ASP > Hello All, > > I am a Java developer

[iText-questions] header and footer in pdf

2006-12-03 Thread Sheen
Hi I am new to java and to iText. I am making an application in java where I am generating a PDF using iText. I am facing some problem with the changing of font size within the table.The rows in the table change dynamically. I can change the other font normally by FontFactory but the same I can

Re: [iText-questions] iText with VB or ASP

2006-12-03 Thread Bruno Lowagie
aparna jain wrote: > Hello All, > > I am a Java developer and I am not very familiar to VB and ASP. I have > used iText in my java code. Now I need to find out if it can be used in > VB/ASP. I have read that iText can be used with ASP.net but question is > regarding using iText with classic VB

Re: [iText-questions] leader

2006-12-03 Thread Bruno Lowagie
Rick Roen wrote: > I want to space two sets of text to the right and left of an area. For > example in the footer I would like something like this: > > > > +++ > > Left aligned text >