Subject: [xsl] borders around body region From: <Tom.Fritz@xxxxxxxx> Date: Thu, 9 Mar 2006 10:54:53 +0100 |
Hi, I wanted to know how you can specify borders around a region. I did the following but it seems not to work because no borders are present in my pdf file. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="first-page"> <fo:region-body margin="1in" border-width="0.1cm" border-color="green" border-style="solid" padding="6pt"/> </fo:simple-page-master> <fo:simple-page-master master-name="all-pages"> <fo:region-body margin="1in"/> </fo:simple-page-master> <fo:page-sequence-master master-name="my-sequence"> <fo:single-page-master-reference master-reference="first-page"/> <fo:repeatable-page-master-reference master-reference="all-pages"/> </fo:page-sequence-master> </fo:layout-master-set> <fo:page-sequence master-reference="my-sequence"> <fo:flow flow-name="xsl-region-body"> <fo:block space-before="2in" space-after="2in"> First block </fo:block> <fo:block space-before="2in" space-after="2in"> Second block </fo:block> <fo:block space-before="2in" space-after="2in"> Third block </fo:block> </fo:flow> </fo:page-sequence> </fo:root> What can be the mistake. Thanks Tom ########################################### CONFIDENTIALITY: This e-mail and any attachments are confidential and may also be privileged. If you are not the designated recipient, please notify the sender immediately by reply e-mail and destroy all copies (digital and paper). Any unauthorized disclosure, distribution, copying, storage or use of the information contained in this e-mail or any attachments is strictly prohibited and may be unlawful.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] print quotes in the outpu, cknell | Thread | Re: [xsl] borders around body regio, G. Ken Holman |
[xsl] print quotes in the output CS, Sundeep | Date | Re: [xsl] plea for help..., Andrew Franz |
Month |