transforming fo to pdf

2002-01-31 Thread Katiyar, Bhawana
Hi! I am new to this. I wish to transform FO document (docFo) into PDF. I am using fop.20 I have the following code : -- Document docFo ; //contains a valid fo document

FO - PDF works with Netscape, not with IE

2002-03-04 Thread Katiyar, Bhawana
Hi! I am using version .18 to render PDF from XML. Rendering is fine with Netscape, but doesn't work with IE. Any clues? Thanks Bhawana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL

RE: FO - PDF works with Netscape, not with IE

2002-03-05 Thread Katiyar, Bhawana
(contentSize); Chetan Jim Urban wrote: Be sure you set the content length, otherwise IE has problems. It also helps to call reset to clear any information in the HTTP header before setting your content type or any other values. Jim -Original Message- From: Katiyar

Pie chart in SVG

2002-03-05 Thread Katiyar, Bhawana
Has anyone succesfully generated a pie chart dynamically in SVG? I have one working but it fails sometimes because the calculations of degree to radians are not very accurate. Let me know if you have an algorithm to create accurate pie charts. Thanks Bhawana

JfreeChart

2002-03-06 Thread Katiyar, Bhawana
Has anyone used JFreechart. I wish to use this to create a pie chart and then convert it into jpeg image using an encoder. I want to include this image in my PDF document. Does anyone know how can I convert a chart made of JFreeChart to JPeg. Also, if anyone knows a better way to do this.

including SVG in HTML

2002-03-11 Thread Katiyar, Bhawana
I want to include SVG graphics in HTML. Is there a way in which svg tags be included inside HTML, the way we do in xsl:fo. I wish to create SVG graphics dynamically and include in HTML. Thanks in Advance. Bhawana - To

error while including svg in fop

2002-03-25 Thread Katiyar, Bhawana
I wish to include an external svg file in xsl:fo document. I have the following lines in my xsl file: fo:instream-foreign-object svg:svg svg:image xlink:href=file:d:\circle.svg image-rendering=optimizeQuality x=0 y=0 width=78mm height=78mm/

RE: error while including svg in fop

2002-03-25 Thread Katiyar, Bhawana
yes I declared in the begining in the root. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: Re: error while including svg in fop Katiyar, Bhawana wrote: I wish to include an external svg file

RE: error while including svg in fop

2002-03-25 Thread Katiyar, Bhawana
The absolute path too doesn't work. I am using Fop ver .18, Is that a problem? Bhawana -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 5:33 PM To: [EMAIL PROTECTED] Subject: Re: error while including svg in fop Katiyar, Bhawana wrote

why doesn't fop take relative path for external graphic

2002-04-01 Thread Katiyar, Bhawana
Hi! I am trying to include an image using external-graphic element. It doesn't seem to take relative path. I don't want to specify the absolute path. Any clues? Thanks in advance Bhawana - To unsubscribe, e-mail: [EMAIL

Borders disappeared

2002-04-09 Thread Katiyar, Bhawana
Hi, I was developing with FOP 0.18 and when I switched to the 0.20.2 version, my borders seemed to have disappeared. here's a snippet of code: fo:table-row line-height=12pt border-bottom-width=1pt border-bottom-color=black border-bottom-style=solid fo:table-cell fo:block font-weight=normal

RE: pluggable on-the-fly image generation

2002-04-24 Thread Katiyar, Bhawana
hi, you could try including the svg document as a stream from a servlet and refering this servlet in the src attribute. Something like this: fo:external-graphic src=/servlet/image/chart content-type=content-type:image/svg/ This works for me. Thanks Bhawana -Original Message- From:

RE: stuck on OnTheFlyFopImage implementation

2002-04-25 Thread Katiyar, Bhawana
I don't know, if you would want to do that or not but I have written my own protocol called XYZprotocol, which I use to get the image as ByteInputStream. I use it as : fo:external-graphic src=XYZprotocol:image_0987/ thought it may help you, if you are not looking at using FopImage only.

RE: stuck on OnTheFlyFopImage implementation

2002-04-25 Thread Katiyar, Bhawana
on OnTheFlyFopImage implementation Katiyar, Bhawana ([EMAIL PROTECTED]) wrote To [EMAIL PROTECTED] on Thu, Apr 25, 2002 at 11:16:25AM -0400: I don't know, if you would want to do that or not but I have written my own protocol called XYZprotocol, which I use to get the image as ByteInputStream. I use