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

From: Clay Leeds (cleeds@medata.com)
Date: Wed Feb 26 2003 - 07:26:39 PST

  • Next message: Clay Leeds: "Re: [xep-support]Using several alignment methods in one fo:block-container simultaneously."

    Iren,

    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="2.1cm"/>
       <fo:table-column column-width="7.1cm"/>
       <fo:table-column column-width="4cm"/>
       <fo:table-column column-width="3.1cm"/>
       <fo:table-column column-width="3.5cm"/>
       <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@relex.ru <mailto:iren@relex.ru> )
    >

    -- 
    Clay Leeds - cleeds@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@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 : Wed Feb 26 2003 - 07:20:49 PST