I'm trying to create a "certificate" PDF report using xsl-fo, but I
can't get the border to show around the whole page. I am able to get
borders on single cells in a table but not around the whole page.
Does anyone have a simple sample of how this would work?
Here is what I have for the border around a single cell:
<fo:root xmlns:fo="
http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="main"
page-height="11.694in" page-width="8.264in"
margin-top="0.278in" margin-bottom="0.278in"
margin-left="0.417in" margin-right="0.417in">
<fo:region-body margin-top="1in"/>
<fo:region-before extent="1in"/>
<fo:region-after extent="1in"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body"
font-family="Helvetica">
<fo:table border-width="1.5em"
border-style="ridge" border-color="#D52C1E">
<!-- fo:table-column column-width="320pt"/ -->
<fo:table-body>
<#list questionsAndAnswers as qAndA >
<#if qAndA.question.surveyQuestionId == "Q7">
<fo:table-row font-weight="bold"
border-style="ridge" border-width="1.5em">
<fo:table-cell padding="2pt"
background-color="#D4D0C8">
<fo:block font-size="14pt"
font-family="arial">${(qAndA.response.textResponse)?if_exists}</fo:block>
</fo:table-cell>
</fo:table-row>
</#if>
</#list>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
Any suggestions would be appreciated. Also a good website with
samples that work with the latest ofbiz. Most of the samples I have
used are no longer compatible with the ofbiz xsl-fo library.
Thanks in advance,
Brett