[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
bobs@sagehill.net
----- Original Message -----
From: "Kamil Dedecius" <k.dedecius@sh.cvut.cz>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]