Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread rajeshkatkam
rajeshkatkam wrote: > > > > Bruno Lowagie (iText) wrote: >> >> Bruno Lowagie wrote: >>> rajeshkatkam wrote: what is the problem in the given line. Can i change the parameters 0,24 in the function. >>> >>> Some counter-questions: >> >> By the way: my first answer was given a

Re: [iText-questions] Acroform with table

2008-07-09 Thread Bruno Lowagie
Bernd Winterstein wrote: > Hi, > I have an Acroform, generated with Adobe Life Cyle Designer, which I > fill with itext. Works perfect. Now, I added a table with the Designer > which I intended to fill with itext. The problem is, that I have no > idea how to do it. Can anybody give me an hint? How

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread Bruno Lowagie
munlubb wrote: > > Well, we are still using iText version 0.97. And I do not see any scope of > upgrade to the latest version in the near future by the company :-( > > In your example you mentioned about the number of copies, but I am looking > for the number of pages per sheet option. Is it pos

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread rajeshkatkam
Bruno Lowagie (iText) wrote: > > Bruno Lowagie wrote: >> rajeshkatkam wrote: >>> what is the problem in the given line. Can i change the parameters 0,24 >>> in >>> the function. >> >> Some counter-questions: > > By the way: my first answer was given after just one glance > at your code. But

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread Leonard Rosenthol
There is no way to predefine that with PDF (or therefore, iText). You could, however, add a button that would bring up the print dialog with that information filled in. To do this, you would use JavaScript embedded in the PDF. One other question - if this document is JUST going to be printed

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread munlubb
Well, we are still using iText version 0.97. And I do not see any scope of upgrade to the latest version in the near future by the company :-( In your example you mentioned about the number of copies, but I am looking for the number of pages per sheet option. Is it possible in iText (specifical

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread rajeshkatkam
Bruno Lowagie (iText) wrote: > > Bruno Lowagie wrote: >> rajeshkatkam wrote: >>> what is the problem in the given line. Can i change the parameters 0,24 >>> in >>> the function. >> >> Some counter-questions: > > By the way: my first answer was given after just one glance > at your code. But

Re: [iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread Bruno Lowagie
munlubb wrote: > Just like we can set the page size and the orientation (Landscape/Potrait) > can we also set the number of sheets per page so that when we print the pdf > and get the print dialog, it is prefilled? > > The printer settings come in to picture AFTER itext has rendered the pdf > doc

[iText-questions] Can we preset the printer settings when printing a pdf?

2008-07-09 Thread munlubb
Just like we can set the page size and the orientation (Landscape/Potrait) can we also set the number of sheets per page so that when we print the pdf and get the print dialog, it is prefilled? The printer settings come in to picture AFTER itext has rendered the pdf document and should be printe

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
Bruno Lowagie wrote: > rajeshkatkam wrote: >> what is the problem in the given line. Can i change the parameters 0,24 in >> the function. > > Some counter-questions: By the way: my first answer was given after just one glance at your code. But the problem isn't JUST that one line. You should thr

Re: [iText-questions] How Many Lines Left in Page

2008-07-09 Thread Bruno Lowagie
Nuno Furtado wrote: > > Is there any way to find out how much space is left in the current page? As described in chapter 7 of the book, there's a method to get the current Y position on a page, but there are very little valid reasons to use it because most of the times you can achieve whatever yo

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: > what is the problem in the given line. Can i change the parameters 0,24 in > the function. Some counter-questions: Where did you get those parameters in the first place? What is wrong with the documentation? Pick one or more options: - you didn't find any documentation onl

[iText-questions] How Many Lines Left in Page

2008-07-09 Thread Nuno Furtado
Is there any way to find out how much space is left in the current page? Or if a give PdfPTable/Chunk would fit that page or create a new page? - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have sh

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread rajeshkatkam
Bruno Lowagie (iText) wrote: > > rajeshkatkam wrote: >> ct.SetSimpleColumn(document.Left, 0,document.Right , 24); > >> >> This is my code. I am getting the elements into objects arraylist but >> resultant pdf is empty.why? > > Because of the line above. > Read the documentation p

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: > In the above example what is 'size', Is it the maximum size of text and what > is array 'f' That example was sponsored by 'De Persgroep'. They wanted to position advertisements (based on HTML snippets in their database) on specific positions in their news paper. Parameter 'si

Re: [iText-questions] issue with line spacing when converting HTML into PDF using HTMLWorker

2008-07-09 Thread Bruno Lowagie
rajeshkatkam wrote: > ct.SetSimpleColumn(document.Left, 0,document.Right , 24); > > This is my code. I am getting the elements into objects arraylist but > resultant pdf is empty.why? Because of the line above. Read the documentation please! br, Bruno ---