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 Wed, 23 Aug 2000 08:08:15 GMT
check this address : http://tech.irt.org/articles/js176/
it contains everything about SVG...and there are some good links. Maybe it
will help you. 

David

-----Original Message-----
From: Yao, Di [mailto:dyao@profilesys.com]
Sent: 23. august 2000 00:10
To: 'cocoon-users@xml.apache.org'
Subject: RE: display-graphic


Can I specify src=XXXX.svg instead of manually make svg out when I am
producing pdf? If so, how can I do it?
Thanks....another guy failing to insert graphics

	-----Original Message-----
	From:	David Dupuy [SMTP:ddupuy@baan.com]
	Sent:	Monday, August 21, 2000 9:59 AM
	To:	'cocoon-users@xml.apache.org'
	Subject:	RE: display-graphic

	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

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

---------------------------------------------------------------------
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