[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] XSL-FO: Drawing a line around every page
Subject: [xsl] XSL-FO: Drawing a line around every page From: Florent Georges <lists@xxxxxxxxxxxx> Date: Mon, 2 Apr 2012 12:55:21 +0100 (BST) |
Hi, In XSL-FO, I'd like to add a border around all the pages (the whole pages). That is, give the following simple page master: <fo:simple-page-master master-name="portrait" margin-top="25mm" margin-bottom="25mm" margin-left="25mm" margin-right="25mm" page-height="297mm" page-width="210mm"> <fo:region-body/> </fo:simple-page-master> then I'd like a line to be drawn on each page at 25mm from the page limit (on all top, right, bottom and left sides, that is to draw a rectangle). I don't have any header nor footer. I tried to use a block container in the flow, but this has 2 main drawbacks: 1) if the flow lasts on more than one page, the bottom and top lines between 2 adjacent pages are not drawn, and 2) if the flow ends before the very bottom of the last page, then the bottom line is not drawn at 25mm from the bottom of the page, but before, where the flow ends. Is there any standard XSL-FO way of drawing a line around every page in a document? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Filtering nodes based on , Wendell Piez | Thread | Re: [xsl] XSL-FO: Drawing a line ar, Betty Harvey |
RE: [xsl] Filtering nodes based on , Fabien Tillier | Date | RE: [xsl] is it possible to resize , David Dunkenberger |
Month |