how can i convert html /jsp to pdf using fop

2004-08-06 Thread Eldho George
Hi, I am working with a project of converting a web page (html/jsp) to pdf format.I am trying with fop.But how can i convert html /jsp to pdf using fop.Is there any api availablr for converting html to pdf.can i directly convert xml to pdf without giving any xslt using java coding?if method

Re: how can i convert html /jsp to pdf using fop

2004-08-06 Thread Niklas Koponen
On Fri, Aug 06, 2004 at 10:27:52AM +0530, Eldho George wrote: Hi, I am working with a project of converting a web page (html/jsp) to pdf format.I am trying with fop.But how can i convert html /jsp to pdf using fop.Is there any api availablr for converting html to pdf.can i directly convert

table-row height

2004-08-06 Thread Alexander Lohse
Hi, I am search for a way to correctly print on address-labels, which have fixed sizes. Is there a way to stop FOP from resizing a table-row, when the content would need more height than specified? Here is my code: xsl:template match=address fo:table-row height=40mm fo:table-cell

RE: how to pass param to template that will be used as an tag att ribu te

2004-08-06 Thread Robert . Walker
-Original Message- From: Jim Hopp [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: Re: how to pass param to template that will be used as an tag attribu te xsl:with-param name=col_alignment select='left'/ Jim, I tried

Re: generating PDFs in non-english

2004-08-06 Thread Clay Leeds
On Aug 6, 2004, at 10:36 AM, Nuno Lopes wrote: Hello, I was trying to make some PDFs of the PHP manual when I got some problems. The manual is written in docbook and then I have a XSL sheet. I can generate the manual in english, portuguese, french,... but not in russian. When I open the file I

Re: table-row height

2004-08-06 Thread J.Pietschmann
Alexander Lohse wrote: I am search for a way to correctly print on address-labels, which have fixed sizes. Is there a way to stop FOP from resizing a table-row, when the content would need more height than specified? No. You have to resort to an absolutely placed block-container. There's still

Re: how to pass param to template that will be used as an tag attribu te

2004-08-06 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: hi all, how can I call a template passing in a value that will be used as an attribute to a tag in that template, for example, something like I'm not sure what your problem is, probably: xsl:with-param name=col_alignment select=left/

Re: how to pass param to template that will be used as an tag attribu te

2004-08-06 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: fo:block font-weight=bold text-align=$col_alignment Ah, the real problem: Either use fo:block font-weight=bold text-align={$col_alignment} (Google for attribute value template) or use the more verbose form (which allows for dynamic attribute names): fo:block

RE: how to pass param to template that will be used as an tag att ribu te

2004-08-06 Thread Robert . Walker
J.Pietschmann/anyone, can you point me to an example I already have ticks around the value I am using xsl:with-param name=col_alignment select='left'/ but in the template definition, i use xsl:template name=ROW_HEADER xsl:param name=col_alignment/ fo:block

RE: how to pass param to template that will be used as an tag att ribu te

2004-08-06 Thread Robert . Walker
thats the ticket, thank you, i looked in my book but could not find -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 4:31 PM To: [EMAIL PROTECTED] Subject: Re: how to pass param to template that will be used as an tag attribu te [EMAIL