AW: JPEG external graphic works, but SVG external graphic doesn't.

2002-04-04 Thread Sam Prokop
] Gesendet: Donnerstag, 4. April 2002 01:17 An: '[EMAIL PROTECTED]' Betreff: JPEG external graphic works, but SVG external graphic doesn't. Hi, I am having problems with external svg files in my fo file when generating PDFs using FopServlet. I am using fop-0.20.3 specifically, I

RE: JPEG external graphic works, but SVG external graphic doesn't .

2002-04-04 Thread Carter, Will
:54 AM To: [EMAIL PROTECTED] Subject: AW: JPEG external graphic works, but SVG external graphic doesn't. i use the following workaround: fo:instream-foreign-object image width=xxx height=xxx xsl:attribute name=xlink:hrefPathToImage.svg/xsl:attribute /image

Re: SVG external graphic doesn't show in FopServlet?

2002-04-04 Thread J.Pietschmann
Carter, Will wrote: I am having problems with external svg files in my fo file when generating PDFs using FopServlet. ... This doesn't workgeneratedsvg.svg is in the same directory as generatedjpg.jpg. the resulting pdf has a blank space where the svg should be. First: Can you view the SVG

external-graphic : protocol error

2002-03-29 Thread RAYMOND Romain
Hello, I cannot access images while building my PDF throught FOP, return error is no protocol . Althought I used (as in the examples) a file:path ... What is the synthax ? The FopServlet example use an absolute path to get the fo file, but I generate the fo in memory ... my output PDF is good

Re: external-graphic : protocol error

2002-03-29 Thread J.Pietschmann
RAYMOND Romain wrote: I cannot access images while building my PDF throught FOP, return error is no protocol . Althought I used (as in the examples) a file:path ... What is the synthax ? The URL syntax for files on the local machine is file:///some/path/to/file.ext Note the triple slash. FOP

Re: Rendered SVG does not contain images from xsl:fo external-graphic/

2002-03-13 Thread Keiron Liddle
like to know if there is a convenient way to make preview images from xsl:fo documents. I tried rendering to SVG and feeding to Batik's JPEG transcoder, but it seems that the rendered SVG does not contain images specified with external-graphic/ in xsl:fo. Is this a bug or a not yet implemented

Re: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me the syntax to using fo:external-graphic?? I have an image in the same directory as the stylsheet and have tried this syntax: fo:block text-align=center

SV: SV: external-graphic src syntax

2002-03-13 Thread Klosa Uwe
: Michael Engelhart [mailto:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me the syntax to using fo:external-graphic?? I have an image in the same directory as the stylsheet and have tried this syntax: fo:block

Re: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
only with fop0_19_0. All fop0_20_x has the same error. I've tried it in two days now. Uwe -Ursprungligt meddelande- Fran: Michael Engelhart [mailto:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me the syntax

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
PROTECTED] Magnus Sjoberg Skickat: den 13 mars 2002 12:58 Till: [EMAIL PROTECTED] Amne: Re: SV: external-graphic src syntax I use Fop 0.20.2 and as long as the path to the imagefile is absolute, it works. Like so: fo:external-graphic src=file:/abs/path/to/images/image.jpg/ Also

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
Thanks Mangus, That's great info. (Maybe we can get it stuck into the FAQ? ) I know have 2 working fine. 1 and 3 I still can't get to work My question about #1 is, how do you know what the relative path is relative too?? I my mind it should be relative to the stylesheet that's calling it but

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Magnus Sjöberg
That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current directory: current_dir java org.apache.fop.apps.Fop -xml test.xml -xsl test.xsl -pdf test.pdf All images in the xml are added to the fo

AW: SV: SV: external-graphic src syntax

2002-03-13 Thread S. Jayaraman
2002 15:59 An: [EMAIL PROTECTED] Betreff: Re: SV: SV: external-graphic src syntax That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current directory: current_dir java org.apache.fop.apps.Fop -xml

AW: SV: SV: external-graphic src syntax

2002-03-13 Thread S. Jayaraman
Gesendet: Mittwoch, 13. März 2002 15:59 An: [EMAIL PROTECTED] Betreff: Re: SV: SV: external-graphic src syntax That's bizarre, I 'assumed' FOP used the current directory as its base dir... I ran the following command with test.xml, test.xsl and image.jpg in the current directory: current_dir

Re: SV: SV: external-graphic src syntax

2002-03-13 Thread Michael Engelhart
I have the same setup but I'm calling FOP from an embedded application (NOT a web application - no tomcat or other server). Here's the code from my render() method: ByteArrayOutputStream out = new ByteArrayOutputStream(); DOMResult xslFODomResult =

external-graphic src syntax

2002-03-12 Thread Michael Engelhart
Can someone show me the syntax to using fo:external-graphic?? I have an image in the same directory as the stylsheet and have tried this syntax: fo:block text-align=center fo:external-graphic src=logo.jpg/ /fo:block this syntax: fo:block text-align=center fo:external-graphic

SV: external-graphic src syntax

2002-03-12 Thread Klosa Uwe
-Ursprungligt meddelande- Fran: Michael Engelhart [mailto:[EMAIL PROTECTED] Skickat: den 12 mars 2002 16:28 Till: [EMAIL PROTECTED] Amne: external-graphic src syntax Can someone show me the syntax to using fo:external-graphic?? I have an image in the same directory as the stylsheet

Re: SV: external-graphic src syntax

2002-03-12 Thread Michael Engelhart
Thanks - i guess for now I'll run a web server on the local machine. For some reason that doesn't hang my application but when I reference it to an external URL, it hangs. Mike On Tuesday, March 12, 2002, at 10:45 AM, Klosa Uwe wrote: It works only with fop0_19_0. All fop0_20_x has the same

Rendered SVG does not contain images from xsl:fo external-graphic/

2002-03-12 Thread Andrius Sabanas
Hello, I would like to know if there is a convenient way to make preview images from xsl:fo documents. I tried rendering to SVG and feeding to Batik's JPEG transcoder, but it seems that the rendered SVG does not contain images specified with external-graphic/ in xsl:fo. Is this a bug

Re: FOP, SVG and external-graphic Question

2001-08-22 Thread Keiron Liddle
Fred, The xml markup between the svg:svg and /svg:svg must be valid svg markup. The example you have is not valid. eg. the markup should be able to work standalone as an svg document. If you want to put a graphic inside svg then you need to use the svg:image tag. I am having trouble

<    1   2