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=3329

*** shadow/3329 Tue Aug 28 22:21:55 2001
--- shadow/3329.tmp.21245       Tue Aug 28 22:21:55 2001
***************
*** 0 ****
--- 1,50 ----
+ +============================================================================+
+ | background-color not working within fo:region-body                         |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3329                        Product: Fop                     |
+ |       Status: NEW                         Version: all                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: page-master/layout      |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                       |
+ |  Reported By: [EMAIL PROTECTED]                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ It doesn't seem possible to set the color of the page using the background-
+ color attribute of fo:region-body, fo:region-before, fo:region-after.  The 
+ following example should create a red page with some text, but doesn't using 
+ FOP 0.19.0-CVS or FOP 0.20.1.
+ 
+ <?xml version="1.0" encoding="utf-8"?>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
+       <fo:layout-master-set>
+               <fo:simple-page-master master-name="simple"
+                       background-color="#FFFF00"
+                       page-height="29.7cm" 
+                       page-width="21cm"
+                       margin-top="2.5cm" 
+                       margin-left="2.5cm" 
+                       margin-right="2.5cm">
+               <fo:region-body
+                       background-color="#FF0000"
+                       margin-top="1cm"/>
+               <fo:region-before
+                       background-color="#FF0000"
+                       extent="1cm"/>
+               <fo:region-after
+                       background-color="#FF0000"
+                       extent="1.5cm"/>
+               </fo:simple-page-master>
+       </fo:layout-master-set>
+       <fo:page-sequence master-name="simple">
+               <fo:flow flow-name="xsl-region-body">
+                       <fo:block font-size="18pt">
+                               In this example, the page should be red.
+                       </fo:block>
+               </fo:flow>
+       </fo:page-sequence>
+ </fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to