Hi,

Mahesh Rayudu a écrit :
Hi Pietschmann,
As per your suggestion, I tried to insert background svg image for blocks which do not have span="all" property. But the vertical line is coming twice because we dont know what is the end block for first column in region body. I want to draw vertical line between columns only. Any help would be greatly appreciate. Thanks
Mahesh Rayudu.

On Thu, Jun 4, 2009 at 4:49 PM, Mahesh Rayudu <[email protected] <mailto:[email protected]>> wrote:

    Hi Pietschmann,
Thanks for reply. I an newbie to SVG. if any sample files would be appreciate. Thanks
    Mahesh

    On Thu, Jun 4, 2009 at 4:21 PM, J.Pietschmann <[email protected]
    <mailto:[email protected]>> wrote:

        On 04.06.2009 21:26, MaheshR wrote:

            My problem is that if I have span="none", I want to draw
            vertical line
            between columns.


        The commonly suggested solution is to use a background image
        for the body region. You can try to use an SVG instead of
        a bitmap image. If you have a span="all" block, you should
        give it a white backgound image in order to mask the vertical
        line for this block.

        J.Pietschmann

What JP suggested was:
put a background onto the body region, not directly on to fo:block.
This is why objects with span="all" should be "backgrounded" with white, masking the vertical line.

In fact you have several options to achieve this:
1/ define a background-image for the fo:region-body:
<fo:simple-page-master master-name="xxx">
  <fo:region-body  background-image="image_url"/>
  <!-- the image can be in any format, but svg gives nice result -->
</fo:simple-page-master>
2/ insert a fo:block-container absolutely positionned in one of the static regions (better choice is start-region, since its coordinate origin is the same as the page)
  note that this only works with FOP 0.9x.
in this latter case, an empty fo:b-c (with an empty fo:block) is sufficient, you just need a vertical border on it.

HTH,

Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to