[xep-support]Using several alignment methods in one fo:block-container simultaneously.

Clay Leeds cleeds at medata.com
Wed Feb 26 07:29:06 PST 2003


Iren,

Oops! I left too many fo:table-column items. Sorry. Also, I'm not sure 
the fo:block-container tag is needed, as I believe the default is 
writing-mode="lr" (unless you change that somewhere else in your document).

Cheers!

#*#*#*#

Sounds like what you need is a table.

<fo:static-content flow-name="xsl-region-before">
<fo:block>
<fo:block-container relative-position="relative" writing-mode="lr">
<fo:table border="0pt" table-layout="fixed" padding="1pt">
   <fo:table-column column-width="7.9cm"/>
   <fo:table-column column-width="4cm"/>
   <fo:table-column column-width="7.9cm"/>
   <fo:table-body>
     <fo:table-row>
       <fo:table-cell text-align="left" padding="0pt">
         <fo:block>02/25/2003</fo:block>
       </fo:table-cell>
       <fo:table-cell text-align="center" padding="0pt">

<fo:block>Page&#160;<fo:page-number/>&#160;of&#160;<fo:page-number-citation
ref-id="endofdoc"/>
         </fo:block>
       </fo:table-cell>
       <fo:table-cell text-align="right" padding="0pt">
         <fo:block font-weight="bold">Custom Text</fo:block>
       </fo:table-cell>
     </fo:table-row>
   </fo:table-body>
</fo:table>
</fo:block>
</fo:block-container>
<fo:block>
<fo:static-content>

Hope this helps!

Web Maestro Clay
Iren Myagkova wrote:
> Hi,   I use XEP. The task is to place several text blocks in a single 
> line at the Footer of each page.
> E.g.: <Date> - in the left-hand corner, <Page number> - in the center, 
> <Custom Text> - in the right-hand corner.
> The order in which this data is to be displayed on the page is not 
> predefined, since the client wishes to change the data alignment and to 
> affect its appearance in general.
> For instance, <Page number> may be aligned to the left, and <Date> may 
> not be displayed at all.   Could you tell me how it can be done?   I 
> tried using the <fo:block-container tag. However, its 'writing-mode' 
> attribute has no 'center' value. Besides, each <fo:block-container is 
> displayed on a new line. 
>   Example code: <fo:static-content flow-name="xsl-region-before">   
> <fo:block-container relative-position="relative"  writing-mode="lr">
> <fo:block> 02/25/2003</fo:block>
> </fo:block-container>   <fo:block-container relative-position="relative" 
> writing-mode="lr">
> <fo:block>
>   Page <fo:page-number />
> </fo:block>
> </fo:block-container>   <fo:block-container relative-position="relative" 
> writing-mode="rl">
> <fo:block>Custom Text</fo:block>
> </fo:block-container>
> 
> Best regards,
> 
> Myagkova Irina 
> 
> (Relex Inc, Voronezh,  e-mail: iren at relex.ru <mailto:iren at relex.ru>  )
> 


-- 
Clay Leeds - cleeds at medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list