Quantcast
Channel: PTC Community: Message List - Arbortext
Viewing all articles
Browse latest Browse all 3717

Using fo:instream-foreign-object to create an svg ellipse around a step number

$
0
0

Itseems easy to usesvg withininstream-foreign-object to create an ellipse around a step number in XSL FO. However, Arbortext publishing engine seems toonly publish the svg text element with the step number and I'm not seeing any attempt at the svg ellipse. I can make this work in another rendering tool. It's entirely possible that the other tool I'm using to test my XSL FO just renders the svg ellipse differently -- so perhaps the size and coorinates just happen to work foranother renderingtool, but are not correct within thearbortext interpretation **OR** Arbortext just doesn't do svg other than the text elementin instream-foreign-object. Does anyone know if svg in instream-foreign-objectis supposed to work?

 

<fo:instream-foreign-object< font="> content-height="10pt"><svg:svg< font="> xmlns:svg="http://www.w3.org/2000/svg"
height="50" width="150" viewBox="0 0 100 50"><svg:circle< font="> r="50" fill="red" stroke="black" stroke-width="3"/><svg:ellipse< font="> cx="25" cy="25" rx="40" ry="25"
fill="none" stroke="black" stroke-width="3"/><text< font="> x="10" y="40" font-family="Arial" font-size="50" fill="black" ><xsl:number< font="> count="crewDrillStep" level="any" from="crewDrill|subCrewDrill" format="1."/></text></svg:svg></fo:instream-foreign-object>

 

Thanks in advance,

Kathy


Viewing all articles
Browse latest Browse all 3717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>