Next in thread → Next in month →

Re: [docbook-apps] vertical line between margin and text

From
Bob Stayton <>
Date
2006-11-10T20:06:14+00:00
ID
0bc801c70503$ade0f370$6400a8c0@totoro
Thread
Re: [docbook-apps] vertical line between margin and text
You can add a border property to the body region to draw the vertical line. 
You will need to create and use a custom page-master.  For more info on 
that, see:

http://www.sagehill.net/docbookxsl/PageDesign.html

This snippet shows how to add border properties to region-body:

    <fo:simple-page-master master-name="my-body-odd"
                           page-width="{$page.width}"
                           page-height="{$page.height}"
                           margin-top="{$page.margin.top}"
                           margin-bottom="{$page.margin.bottom}"
                           margin-left="{$margin.left.inner}"
                           margin-right="{$page.margin.outer}">
      <fo:region-body margin-bottom="{$body.margin.bottom}"
                      margin-top="{$body.margin.top}"
                      column-gap="{$column.gap.body}"
                      column-count="{$column.count.body}"
                      border-start-color="black"
                      border-start-width="0.5pt"
                      border-start-style="solid">
      </fo:region-body>

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Kamil Dedecius" <>
To: <>
Sent: Wednesday, November 08, 2006 8:16 AM
Subject: [docbook-apps] vertical line between margin and text


> Hello,
>
> I have following problem: I'd like to insert a vertical line between
> text body and left margin. On the left margin, there will be an image
> in header and a short text on footer. The actual problem for me is how
> to add that vertical line (from the top to the bottom of page). I use
> Norman's XSL stylesheets for FO.
>
> Could anyone help me?
>
> Thanks in advance.
>
> -- Kamil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →