cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dupuy <ddu...@baan.com>
Subject RE: display-graphic
Date Mon, 21 Aug 2000 13:58:50 GMT
that's insert a svg file. It's an HTML tag.
<EMBED NAME="SVGTest"  SRC="clock.svg" />

or
The following code is borrowed from a Cocoon example.
...
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:svg="http://www.w3.org/Graphics/SVG/SVG-19990812.dtd">
...
<svg:svg width="400pt" height="200pt">
        <svg:rect x="20pt" y="20pt" width="100pt" height="100pt"/>
        <svg:line x1="20pt" y1="20pt" x2="120pt" y2="120pt"/>
        <svg:line x1="120pt" y1="20pt" x2="20pt" y2="120pt"/>
        <svg:text x="20pt" y="150pt">Hello SVG!</svg:text>
</svg:svg>

David

-----Original Message-----
From: tcurdt@dff.st [mailto:tcurdt@dff.st]
Sent: 21. august 2000 13:46
To: cocoon-users@xml.apache.org; David Dupuy
Subject: RE: display-graphic


> There is also :
> <fo:external-graphic src="file:mypic.jpg"/>
> But I've got this error :
> "Unknown formatting object
> http://www.w3.org/1999/XSL/Format^external-graphic"
> 
> This method is borrowed from an example of FOP itself...maybe it may be
> not implemented yet...but it's declared implemented in the features....

...I tried inline-graphic and external-graphic as well but
I get unknown formatting object, too! Isn't there anybody
that has created a pdf with a image inside?

> Tell me if you succeed in displaying a picture...otherwise there is
> still
> SVG which works.

How can I do this? With a instream-foreign-object?
--
Torsten

>> I don't get pictures to show up in my pdfs.
>> I always get "unsupported bmp format"
>> 
>> I just took this out of the sample...
>> 
>> <fo:display-graphic href="mypic.jpg"/>
>> 
>> (Of course I tried different bmp formats...
>>  which one is the right one?)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message