PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3207 *** shadow/3207 Tue Aug 21 09:22:43 2001 --- shadow/3207.tmp.4158 Tue Aug 21 09:22:43 2001 *************** *** 0 **** --- 1,80 ---- + +============================================================================+ + | Does not keep fonts size in region-before area. | + +----------------------------------------------------------------------------+ + | Bug #: 3207 Product: Fop | + | Status: NEW Version: all | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: page-master/layout | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Software used: XALAN Java2, FOP 0.20.1 + Problem: + In my xsl:fo file, I have defined my lay-out with a region-before. In this area + I have put the different info I want to get in my future pdf file. When I get + my pdf file, the first page is OK, but the in the following pages, the fonts + size has been changed in the region-before area...It seems that the process + works for the first page and then is not able to re-use the instructions (font- + size, font-weight....). + What is surprising, is that it happens only for the "hardcoded" information, + but not for the information fetched from the xml document.... + Example of xsl:fo file: + + <!--***************************************************--> + <!--*** ***--> + <!--*** FORMATTING THE HEADER ***--> + <!--*** ***--> + <!--***************************************************--> + + <fo:static-content flow-name="xsl-region-before"> + <fo:block text-align="start"> + <fo:external-graphic src="Solaglas Logo.gif" width="4.3cm" height="1.5cm"/> + </fo:block> + <fo:table space-before.optimum="0.4cm"> + <fo:table-column column-width="14cm"/> + <fo:table-column column-width="5cm"/> + <fo:table-body> + <fo:table-row height="0.25cm"> + <fo:table-cell border-right-style="hidden" border-right- + width="0.0mm" padding-top="0.0mm" padding-left="0.0mm" text- + align="start"> + <fo:block font-size="8pt" line-height="10pt" + text-align="start" text-align-last="start" + space-before.optimum="2pt"> + <!--Solaglas Branch--><xsl:apply-templates select="Supplier"/> + <!-- Address--></fo:block> + </fo:table-cell> + <fo:table-cell border-right-style="hidden" border-right- + width="0.0mm" padding-top="0.0mm" padding-left="0.5cm" text- + align="start"> + <fo:block font-size="16pt" line-height="20pt" + text-align="start" text-align-last="start" + font-weight="bold" space-before.optimum="2pt" + font-variant="small-caps"> + <!--Sol Invoice No--> <xsl:text>invoice: </xsl:text> + <!-- value from xml--><fo:inline font-size="12pt" font- + weight="normal"><xsl:value-of + select="InvoiceReferences/SuppliersInvoiceNumber"/></fo:inline> + </fo:block> + <fo:block font-size="16pt" line-height="20pt" + text-align="start" text-align-last="start" + font-weight="bold" space-before.optimum="2pt"> + <!--Archive--> <xsl:text>*** Archive ***</xsl:text> + </fo:block> + </fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> + + More info: + In the above example, the word "Invoice:" will be on 16 bold onthe first page + and then 18 bold on the following pages??? I do not understand why the size has + changed? The info from the xml file is always well formatted on all pages... + + Thank you for your help. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]