DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37440>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37440

           Summary: The way to eliminate the blank line between the table
                    rows
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


We use FOP to generate the text file. The file contain the table. But there is 
a blank line between the rows. How to eliminate the ?

--Test.fo

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; font="Courier New">
  
  <fo:layout-master-set>
    <fo:simple-page-master master-name="main" 
      margin-top="25pt" margin-bottom="25pt" 
      page-width="8.5in" page-height="11in" 
      margin-left="75pt" margin-right="75pt">
      <fo:region-body margin-bottom="50pt" margin-top="50pt"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  
  <fo:page-sequence master-reference="main">
    <fo:flow flow-name="xsl-region-body">
      <fo:block line-height="1.5" text-align="justify">          
        <fo:table table-omit-footer-at-break="true" table-omit-header-at-
break="true" border-spacing="0">
          <fo:table-column column-width="25cm"/>
          <fo:table-column column-width="25mm"/>
          <fo:table-column column-width="25mm"/>
          <fo:table-column column-width="25mm"/>          
          <fo:table-header>
            <fo:table-row>
              <fo:table-cell>
                <fo:block font-weight="bold">Car</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block font-weight="bold">Price</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block font-weight="bold">Car</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block font-weight="bold">Price</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-header>          
          <fo:table-body>
            <fo:table-row>
              <fo:table-cell>
                <fo:block width="20mm" max-width="20mm" 
visibility="collapse">s</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$50000</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>Volvo</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$50000</fo:block>
              </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
              <fo:table-cell>
                <fo:block>SAAB</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$48000</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>Volvo</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$50000</fo:block>
              </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
              <fo:table-cell>
                <fo:block>SAAB</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$48000</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>Volvo</fo:block>
              </fo:table-cell>
              <fo:table-cell>
                <fo:block>$50000</fo:block>
              </fo:table-cell>
            </fo:table-row>
          </fo:table-body>
        </fo:table>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


-- Result (test.txt)

Car                                     Price
                                                                               
s                                       $50000

SAAB                                    $50000

Volvo                                   $50000

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to