Bug 1531 - Cell Spacing
Summary: Cell Spacing
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.15
Hardware: PC All
: P1 critical
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-26 06:19 UTC by rbdave
Modified: 2012-04-01 06:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rbdave 2001-04-26 06:19:15 UTC
I am unable to span rows in tag <table-cell number-rows-spanned="2" />

i tried fop on your sample code "headfoot.fo", it is giving warning as number 
of cells under 'table-row' not equal to 'table-column'.
below is the sample code from your file,
**************
<fo:table>
	<fo:table-column column-width="48pt"/>
	<fo:table-column column-width="48pt"/>
	<fo:table-column column-width="48pt"/>
	<fo:table-column column-width="48pt"/>
	<fo:table-column column-width="48pt"/>
	<fo:table-column column-width="48pt"/>
	<fo:table-body>
	  <fo:table-row>
	    <fo:table-cell number-rows-spanned="1"
		border-width="0.5pt"
		border-style="solid"
		border-color="black" 
		text-align="center" vertical-align="middle"
		background-color="#FF6AC0">
	      <fo:block> 1 - 1</fo:block>
	    </fo:table-cell>
	    <fo:table-cell number-rows-spanned="2"
		border-width="0.5pt"
		border-style="solid"
		border-color="black" 
		text-align="center" vertical-align="middle"
		background-color="#FF6AC0">
	      <fo:block> 1 - 2</fo:block>
	    </fo:table-cell>
	    <fo:table-cell number-rows-spanned="3"
		border-width="0.5pt"
		border-style="solid"
		border-color="black" 
		text-align="center" vertical-align="middle"
		background-color="#FF6AC0"><fo:block> 1 - 3</fo:block>
	    </fo:table-cell>
    
	    <fo:table-cell number-rows-spanned="4"
		border-width="0.5pt"
		border-style="solid"
		border-color="black" 
		text-align="center" vertical-align="middle"
		background-color="#FF6AC0"><fo:block> 1 - 4</fo:block>
	    </fo:table-cell>
    
	    <fo:table-cell number-rows-spanned="5"
		border-width="0.5pt"
		border-style="solid"
		border-color="black" 
		text-align="center" vertical-align="middle"
		background-color="#FF6AC0"><fo:block> 1 - 5</fo:block>
            </fo:table-cell>
	  </fo:table-row>

  
	  <fo:table-row>
	    <fo:table-cell number-rows-spanned="5"
		border-width="0.5pt"
		border-style="solid"
		border-color="black"
		text-align="center" vertical-align="middle"
		background-color="#9BF2E9"><fo:block> 2 - 6</fo:block>
            </fo:table-cell>
	  </fo:table-row>
  
	  <fo:table-row>
	    <fo:table-cell/>
	    <fo:table-cell number-rows-spanned="4"
		border-width="0.5pt"
		border-style="solid"
		border-color="black"
		text-align="center" vertical-align="middle"
		background-color="#9BF2E9"><fo:block> 3 - 6</fo:block>
	    </fo:table-cell>
	  </fo:table-row>
  
	  <fo:table-row>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell number-rows-spanned="3"
		border-width="0.5pt"
		border-style="solid"
		border-color="black"
		text-align="center" vertical-align="middle"
		background-color="#9BF2E9"><fo:block> 4 - 6</fo:block>
	    </fo:table-cell>
	  </fo:table-row>
  
	  <fo:table-row>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell number-rows-spanned="2"
		border-width="0.5pt"
		border-style="solid"
		border-color="black"
		text-align="center" vertical-align="middle"
		background-color="#9BF2E9"><fo:block> 5 - 6</fo:block>
	    </fo:table-cell>
	  </fo:table-row>
  
	  <fo:table-row>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell/>
	    <fo:table-cell number-rows-spanned="1"
		border-width="0.5pt"
		border-style="solid"
		border-color="black"
		text-align="center" vertical-align="middle"
		background-color="#9BF2E9"><fo:block> 6 - 6</fo:block>
	    </fo:table-cell>
	  </fo:table-row>
  
	</fo:table-body>
      </fo:table> 
*********************************

is this property 'number-rows-spanned' not supported?

Awaiting response?

Thanks

Raju Dave
Comment 1 keiron 2002-09-06 09:34:18 UTC
Row spanning is implemented.
Comment 2 Glenn Adams 2012-04-01 06:58:59 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed