This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl-fo problem, when I force page break my footers and headers default to black color
- From: "Bryan Rasmussen" <bry at itnisk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 14 Feb 2002 15:37:19 +0100
- Subject: [xsl] xsl-fo problem, when I force page break my footers and headers default to black color
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
I'm using Fop, in my fo I have a break-before="page" at every table, my
xsl-regions before and after are pretty similar, here is an example:
<fo:static-content flow-name="xsl-region-after-right">
<fo:block it:id="filefooterblockodd1" it:class="filefooterblockodd"
width="7.5in" height="2in" font-weight="bold" line-height="35pt"
text-align="left" background-color="#71879A" color="#901E19" font-size="7pt"
font-family="Times" border-color="#324C63" border-style="groove"
border-width="1pt" letter-spacing="2" padding-after="3" padding-before="5"
space-after.optimum="1pt">
<fo:table width="6in">
<fo:table-column column-width="3in"/>
<fo:table-column column-width="3in"/>
<fo:table-body><fo:table-row><fo:table-cell>
<fo:block it:class="regionbeforeblockodd"
text-align="left">
some text</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block it:class="regionbeforeblockodd" text-align="left">
C company name
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:static-content>
now when it breaks to the next page to render my table it goes ahead and
makes my headers with for example the proper layout, the background-color is
maintained but the color defaults back to black, and suggestions?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list