You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Scott Hofmann <ho...@one.net> on 2001/01/29 19:42:16 UTC
SVG inline
Is it possible to put an <fo:instream-foreign-object> within a <fo:block>
that contains text so the <fo:instream-foreign-object> flow next to the text
rather then going below the text.
Example of the result I want to achieve:
some text <fo:instream-foreign-object> some more text
Example of what I presently get:
some text
<fo:instream-foreign-object>
some more text
Below is what I have in my FO doc:
<fo:block>
<fo:inline>some text</fo:inline> <fo:inline>
<fo:instream-foreign-object>
<svg:svg width=".25cm" height=".25cm">
<svg:rect width=".25cm" height=".25cm"/>
</svg:svg>
</fo:instream-foreign-object>
</fo:inline>
<fo:inline>some more text</fo:inline>
</fo:block>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott Hofmann / hofmanns@one.net
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: SVG inline
Posted by Keiron Liddle <ke...@aftexsw.com>.
Scott,
You can now.
I have put in a first go at placing instream-foreign-object as inline.
instream-foreign-object is an inline object hence does not need to be
wrapped with inline.
Scott Hofmann wrote:
> Is it possible to put an <fo:instream-foreign-object> within a <fo:block>
> that contains text so the <fo:instream-foreign-object> flow next to the text
> rather then going below the text.
>
> Example of the result I want to achieve:
> some text <fo:instream-foreign-object> some more text
>
> Example of what I presently get:
> some text
> <fo:instream-foreign-object>
> some more text
>
> Below is what I have in my FO doc:
> <fo:block>
> <fo:inline>some text</fo:inline> <fo:inline>
> <fo:instream-foreign-object>
> <svg:svg width=".25cm" height=".25cm">
> <svg:rect width=".25cm" height=".25cm"/>
> </svg:svg>
> </fo:instream-foreign-object>
> </fo:inline>
> <fo:inline>some more text</fo:inline>
> </fo:block>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scott Hofmann / hofmanns@one.net
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org