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 Colin Savage <CS...@RUBICO.COM> on 2001/09/06 17:37:29 UTC

block-container with block

I am trying to figure out if it is possible to implement the following
within fo:flow ?:

<fo:block line-height="20">
	<fo:block-container position="absolute" top="5" left="5" width="10"
height="10">Some stuff</fo:block-container>
</fo:block>

In org.apache.fop.fo.flow.BlockContainer.Java, the area object is cast to
AreaContainer to get the X and Y coords of the container. Then adds the left
and top attributes for use with the new AreaContainer Constructor.
BlockArea doesn't implement AreaContainer, but does it have a an X and Y
position within the region body?
Help please?
Colin.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org