You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Granchak, Tanya" <TG...@ActiveWebServices.com> on 2003/03/27 12:15:13 UTC
Text and picture alignment
Hello,
May be somebody knows how to solve it:
The following xsl fo statement
<fo:block color="black" border-top-style="none" border-bottom-style="none"
border-left-style="none" border-right-style="none" font-family="Times New
Roman" font-size="12pt" font-style="normal" text-align="justify"
line-height="normal" space-before="0pt" space-after="0pt" start-indent="0pt"
end-indent="0pt" border-width="5px" border-style="none"
font-weight="normal">For example, a single <fo:external-graphic
src="url(C:/Temp\img0.gif)" width="auto" height="auto" content-width="auto"
content-height="auto" display-align="before"></fo:external-graphic> database
system can enforce the ACID rules when it holds all the data involved in a
transaction. In the case of SQL Server, there is an internal transaction
manager that provides commit and rollback behavior.</fo:block>
looks like:
text....text *************** text ...text
* *
* picture *
* *
***************
I want the text bottom to be on one level with the picture bottom. How I
should change the xsl fo statement?
Thank you,
Tanya Granchak
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Text and picture alignment
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Granchak, Tanya wrote:
> I want the text bottom to be on one level with the picture bottom. How I
> should change the xsl fo statement?
The spec has area alignment properties to control this:
http://www.w3.org/TR/xsl/slice7.html#area-alignment
You'll probably need alignment-adjust="bottom", but in your context
the behaviour you need should be the default anyway. Unfortunately,
this and most other alignment properties are not implemented
and are unlikely to be implemented in the code from the
maintenance branch. Unless the redesigned code from CVS HEAD is
usable for you, you are hosed.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org