Hai all
The following is my code snippet for handling img tag.I has some problem
with image path.
I have created a servlet to
converting a web page into pdf.For this i have used a button on my page
to invoke the servlet and gets the pdf of
current web page.Here i am
used the image
/
ExampleXML2PDF.java?rev=1.10
On 12.10.2004 12:27:27 Eldho George wrote:
Hai all
The following is my code snippet. I want to create a pdf file using fop
output.
But it is not working .i am trying to open that pdf with adobe acrobat
6.0.
It showing some message like this is not a supported file type
You can try this also
xsl:attribute-set name=table-structure
xsl:attribute name=table-layoutfixed/xsl:attribute
xsl:attribute name=space-before0pt/xsl:attribute
xsl:attribute name=space-after0pt/xsl:attribute
xsl:attribute name=border2px/xsl:attribute
Hai all
The following is my code snippet.Here I am passing html string for making
its xhtml
But its showing error like the function should return string.A tried with
diff possibilities.But its not get solved .If anyone know please help me
Public String makeXhtml(String pageContent)
{
Hi all
I created one xsl file for converting a html page into pdf.(Using xsl-fo).It
works fine.
Here I am producing the formatting object tree using xhtml and my xsl-fo
file.I am not storing the fo in
Hard disk.I am directly apply it to the driver.
I would like to know ,using fop what are the
I have a problem with font.The following is my font template
fo:inline font-size={$size} font-family={$face}
color={$color} line-height=12pt
xsl:apply-templates select=*|text()/
/fo:inline
I have problem with large font size .Suppose I am using the size as 12pt,if
the content is
Hai all
Thanks to Chris,
Thanks to all for your reply.
I got the output with both xml and xsl as string.Instead of XsltInputHandler
i am used
javax.transformer.
The following code will work perfectly.
Source xmlSrc = new StreamSource(new StringReader(xml));
Source xslSrc = new
Hi all
I have the url content in a string.That means string contains html code.I want to pass it to w3c tidy ,perform clean and
stored it in a byte array.I tried with following code
snippet.But it showing error message and output some
junk data. Instead of byte array I tried with
Hi all,
I have problem with XsltInputHandler. I tried with the
following code.But its not working.I
worked with XsltInputHandler (file,file)constructor.
It worked fine.Please tell me what is the problem.I want to pass xml and xsl
as string.Please help me.Thanks
in advance
xsl is a
Hai all
Hai all
Thanks in advance
I have also tried with the following code snippet.But I could not get the
pdf.Please help me .What is the actual problem.If I use both xml and xsl as
file it will work properly
xsl is a string variable that conatins my xsl contents
Hai all
I have problem with table.For
building table column i am using the following style.
xsl:for-each
select=tr/th|tr/td|thead/tr/th|thead/tr/td
fo:table-column/
/xsl:for-each
It will work properly if all the tr contain same number of td/th.
I want to work with different
Hai all
I have some problem with image border.If
border attribute is present in image; the PDF will show the image border on the
entire page width.
That means, at the right hand side of the image, the image
border drawn up to the end of the page width. How can I solve this
the border in the
image directly.
On 09.09.2004 09:13:44 Eldho George wrote:
I have some problem with image border.If border attribute is present in
image; the PDF will show the image border on the entire page width.
That means, at the right hand side of the image, the image border drawn up
Hi all
I have some problem with table .It showing the table with entire page
width. That means suppose I have created only one column, it will occupy the
entire page width and show the column with that much of width. I want to make
the table according to the table content.(That
this problem
Thanks and Regards
Eldho George
Junior Software Engineer
Ocwen Financial Solution Pvt.Ltd.
Ph:56671234-1050
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 11:09 PM
To: [EMAIL PROTECTED]
Subject: Re: how can I create template
style sheet present in the html page? Is it possible?
Eldho George wrote:
I would like to know *how can I create template for manipulating
embedded and external style sheet present in the html page? Is it
possible?*
Google for html2fo and/or xhtml2fo. First hit
http://html2fo.sourceforge.net
Hai all
I have some problem with image border.If border attribute is
present in image; the PDF will show the image width on the entire page width.
That means, at the right hand side of the image, the image
border drawn up to the end of the page width. How can I solve this
-progression dimension='100%'.
Eldho George wrote:
|
|
| Hi,
|
|
|
|
|
| I would like to know *how can I create template for manipulating
| embedded and external style sheet present in the html page? Is it
| possible?*
|
|
|
| *Please help meplease tell me is it possible with
| xslt
Hi all,
How can i adjust the table width and height according to table content?
Suppose I am not specifying the table width and height in table element, the
table will be displayed on the entire page width. (It occupying entire page
width.)How can I adjust table width and height? For solving this
Hi,
I am working with the project of converting a web Page into PDF.I am
using FOP.I am creating the formatting object tree using xslt.I already create
template for most of the html 4.0 tags and everything this working
perfectly.But I have problem with table .It showing the
I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is it possible?
Please help meplease
Thanks in advance
George
**
Hi,
I would like to know how can I create template
for manipulating embedded and external style sheet present in the html page? Is it possible?
Please help meplease tell me is it possible with xslt+xsl-fo? I
already created template for processing inline style
Hi,
I am working with the project of converting a web Page into PDF.I am
using FOP.I am creating the formatting object tree using xslt.I already create
template for most of the html 4.0 tags and everything this working perfectly.But
I have problem with table .It showing the table
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
Hi,
How can i convert xml file to xsl-fo without giving any xslt.
Actually my problem is i have to convert one html to pdf format using fop.I
tried with fop example.But there is a need to supply xsl file.
can i directly convert xml to pdf without spacifying any xslt.
I am new in fop and
25 matches
Mail list logo