From: Alexander Peshkov (peshkov@renderx.com)
Date: Fri Apr 04 2003 - 04:24:05 PST
Hello Jan,
Vertical text alignment is normally defined for the whole region. To have
parts of text with different alignment you have to use separate
regions. In your case I would suggest the following:
1. Place "Chapter 1" in static content with display-align="before"
specified on fo:region-before and text-align="right" specified on
fo:static-content.
2. Place the rest of the text ("Introductory text") inside normal flow
with display-align="after" specified on fo:region-body.
A code snippet illustrates this:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page">
<fo:region-body margin="1in" display-align="after"/>
<fo:region-before extent="1in" display-align="before"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
<fo:static-content flow-name="xsl-region-before" text-align="right">
<fo:block>Chapter 1</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>Introductory text</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Hope this helps.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
igd> Hi,
igd> we'd like to align a paragraph of text to the bottom of a page.
igd> Example:
igd> Chapter 1 (<- should appear at the topmost right corner of the page)
igd> Introductory text (<- should be aligned to the bottom of the page)
igd> Could you give a code snippet as example how to do this with XEP?
igd> Best regards,
igd> Jan
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Fri Apr 04 2003 - 04:10:14 PST