AW: "number-columns-spanned" and "number-rows-spanned" instead of nested table

"Peter Herweg" <[email protected]> Thu, 9 Oct 2003 22:55:53 +0200
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hello Felipe,

yes i can confirm that behaviour.

Did you think about using "number-columns-spanned" and "number-rows-spanned"
attributes. Maybe you can avoid nested table.

Kind regards
Peter Herweg

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im Auftrag von
[email protected]
Gesendet: Wednesday, October 08, 2003 5:08 AM
An: [email protected]
Betreff: jfor-users digest, Vol 1 #168 - 1 msg


Send jfor-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/jfor-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jfor-users digest..."


Today's Topics:

   1. Nested tables (Felipe de Alvarenga Leite)

--__--__--

Message: 1
Date: Tue, 07 Oct 2003 11:20:52 -0300
From: Felipe de Alvarenga Leite <[email protected]>
To:  [email protected]
Subject: [jfor-users] Nested tables

I know that this project is on a big reformulation and is going to be
integrated with FOP, but I need to generate a RTF and FOP has not yet
this functionality.

I am trying to make some nested tables, but JFOR is having a strange
behavior. It leaves an empty cell over the nested table...

Here is a minimal xsl-fo which causes that:


<fo:root xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master margin-right="1.5cm" margin-left="1.5cm"
margin-bottom="0.3cm" margin-top="0.1cm" page-width="21cm"
page-height="29.7cm" master-name="first">
      <fo:region-body margin-top="2.0cm"/>
      <fo:region-before extent="0.5cm"/>
      <fo:region-after extent="0.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-name="first">
    <fo:flow flow-name="xsl-region-body">

        <!-- Here is the table. The second column should have only one
line, but has two -->
       <fo:table>
       <fo:table-column column-width="9.27cm"/>
       <fo:table-column column-width="9.27cm"/>
       <fo:table-body>
           <fo:table-row>
            <fo:table-cell>
                   <fo:block>empty</fo:block>
             </fo:table-cell>
               <fo:table-cell>
                   <fo:table>
                  <fo:table-column column-width="9.27cm"/>
                  <fo:table-body>
                    <fo:table-row>
                      <fo:table-cell>
                        <fo:block>Nested</fo:block>
                      </fo:table-cell>
                    </fo:table-row>
                  </fo:table-body>
               </fo:table>
             </fo:table-cell>
           </fo:table-row>
       </fo:table-body></fo:table>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


Thanks
Felipe de Alvarenga Leite





--__--__--

_______________________________________________
jfor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfor-users


End of jfor-users Digest



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php