Re[2]: [xep-support] fo:inline-container

From: Alexander Peshkov (peshkov@renderx.com)
Date: Mon Dec 15 2003 - 06:20:04 PST

  • Next message: Andrzej Jan Taramina: "Re: [xep-support] ANN: RenderX XSLT/SVG Barcode Library"

    Hello Oliver,

    OK, now I can see the point. You can achieve desired effect using side
    floats as shown in the following code snippet:
    ...
      <fo:block clear="both">And this is the normal text flow of this page.</fo:block>
      <fo:float float="inside">
        <fo:block-container width="100pt" margin="0pt" padding="10pt">
          <fo:block text-align="start">This is text. This is text. This is text. </fo:block>
        </fo:block-container>
      </fo:float>
      <fo:block clear="both">And this is the normal text flow of this page.</fo:block>
      <fo:float float="inside">
        <fo:block-container width="100pt" margin="0pt" padding="10pt">
          <fo:block text-align="start">This is more text. This is more text. This is more text. </fo:block>
        </fo:block-container>
      </fo:float>
      <fo:block clear="both">And this is the normal text flow of this page.</fo:block>
    ...

    Note that 'inside' and 'outside' values of 'float' property are
    Renderx extensions to XSL FO spec.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX
      
    OB> Hi Alexander,

    >> We do not plan to support fo:inline-container in the next release.

    OB> what a pity.

    >> However your requirements are not quite clear to me. Why do you need
    >> fo:inline-container? Text can be aligned to the 'inner' side with
    >> use of simple fo:block. What do you mean by "blocks with different
    >> widths"?

    OB> Using one fo:block with text-align="inside" would produce this layout:

    OB> +---------------------+ +---------------------+
    OB> | This is text. This | | This is text. This |
    OB> | is text. This is | | is text. This is |
    OB> | text. This is text. | | text. This is text. |
    OB> +---------------------+ +---------------------+

    OB> That means, the text flow will be aligned to the inner side.
    OB> I want a block whose inner text align is left (start), but the block itself
    OB> should be aligned inside:

    OB> +----- page width ----+ +---------------------+
    OB> | This is more | | This is more |
    OB> | text. This is | | text. This is |
    OB> | more text. | | more text. |
    OB> | | | |
    OB> | And this is the | | |
    OB> | normal text flow of | | |
    OB> | this page. | | |
    OB> +---------------------+ +---------------------+

    OB> I hope you can see what I mean.

    OB> Thanks,
    OB> Oliver

    OB> /-------------------------------------------------------------------\
    OB> | ob|do Dipl.Inf. Oliver Becker |
    OB> | --+-- E-Mail: obecker@informatik.hu-berlin.de |
    OB> | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
    OB> \-------------------------------------------------------------------/

    OB> -------------------
    OB> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    OB> in the body of the message to majordomo@renderx.com from the address
    OB> you are subscribed from.
    OB> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    -------------------
    (*) 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 : Mon Dec 15 2003 - 06:23:42 PST