You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/09/04 10:50:02 UTC

[DO NOT REPLY: Bug 3400] New: A table with spanning cell that is bigger than the page produces an endless loop

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

*** shadow/3400	Tue Sep  4 01:50:02 2001
--- shadow/3400.tmp.21561	Tue Sep  4 01:50:02 2001
***************
*** 0 ****
--- 1,143 ----
+ +============================================================================+
+ | A table with spanning cell that is bigger than the page produces an endles |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3400                        Product: Fop                     |
+ |       Status: NEW                         Version: all                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: pdf renderer            |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: fop-dev@xml.apache.org                                       |
+ |  Reported By: alec@compunet.comch.ru                                       |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ A table with spanning cell that is bigger than the page produces an endless 
+ loop.
+ 
+ This xml file produce the endless loop. I use FOP 0.20.1, command line is
+ java -cp %FOP_CP% org.apache.fop.apps.Fop report.fo report.pdf
+ 
+ <?xml version="1.0" encoding="UTF-8"?>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-size="10pt">
+ 
+ <fo:layout-master-set>
+ 	<fo:simple-page-master master-name="first" page-height="5cm" page-
+ width="29.7cm" margin-top="1.5cm" margin-bottom="1.5cm" margin-left="1.5cm" 
+ margin-right="1.5cm">
+ 		<fo:region-before extent="1cm"/>
+ 		<fo:region-body margin-top="1cm"/>
+ 	</fo:simple-page-master>
+ </fo:layout-master-set>
+ 
+ <fo:page-sequence master-name="first">
+ 	<fo:static-content flow-name="xsl-region-before">
+ 		<fo:block text-align="end">
+ 			- <fo:page-number/> -
+ 		</fo:block>
+ 	</fo:static-content>
+ 	
+ 	<fo:flow flow-name="xsl-region-body">
+ 		<fo:block space-after.optimum="6pt" text-align="center">
+ 			Report
+ 		</fo:block>
+ 		
+ 		<fo:table border-color="black" border-width="0.5pt" border-
+ style="solid">
+ 			<fo:table-column column-width="5cm"/>
+ 			<fo:table-column column-width="5cm"/>
+ 			
+ 			<fo:table-body>
+ 				<fo:table-row>
+ 					<fo:table-cell number-rows-spanned="10" 
+ border-width="0.5pt" border-style="solid">
+ 						<fo:block text-
+ align="center">General cell</fo:block>
+ 					</fo:table-cell>
+ 					
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 1.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 2.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 3.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 4.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 5.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 6.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 				
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 7.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 8.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 9.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 
+ 				<fo:table-row>
+ 					<fo:table-cell border-width="0.5pt" 
+ border-style="solid">
+ 						<fo:block text-
+ align="center">Cell 10.1</fo:block>
+ 					</fo:table-cell>
+ 				</fo:table-row>
+ 			</fo:table-body>
+ 
+ 		</fo:table>
+ 	</fo:flow>
+ </fo:page-sequence>
+ </fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org