keep-with-next, keep-with-previous do work for table rows.  That is part of the reason why I now have multi-layered tables in my .fo files.  It's a bit slow but it works.


From: Raphael Parree (Triveratech) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 1:45 PM
To: [EMAIL PROTECTED]
Subject: RE: List problem

No particular reason for using list other than what I need is what a list offers (in XSL-FO spec). I will consider refractoring it to a table, however tables make my transformation slow.

Does someone know how this is resolved in a next version of FOP. Also will keep-with next etc be supported?

 

tx.,

 

 

 

Raphaël Parrée

Director Courseware & Consulting Services         

Principal Consultant

 

Direct phone:     +33 498 050075

Voice mail         +33 683 468663

 

Trivera Technologies

Global J2EE Education, Mentoring, Courseware & Consulting Services

 

                                            

Trivera Technologies EMEAA                 Trivera Technologies

Europe, Middle East, Africa &                USA & Canada

Asia Pacific                                           

P +33 442 163594                                     P 1 609 953 1515

F +33 442 163509                                     F +1 609 953 6886

Espace Cézanne                                        135 Meeshaway Trail

14, Parc Golf du Club                                 Medford Lakes

13856 Aix-en-Provence (France)                 NJ08055 (USA)

 

URL http://www.triveratech.com

 

 

Disclaimer ..

"This email transmission (including attachments, if any) is confidential and intended solely for the person or organization to whom it is addressed and may contain information that is privileged, proprietary or confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any distribution, dissemination or copying of the information is strictly prohibited including taking any action in reliance of it. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of any organization or employer. If you wish to forward or otherwise use all of part of the content of this message, you need sender's written permission prior to forwarding or using the content. If you have received this message in error, do not open any attachment but please notify the sender (above) deleting this message from your system. Please rely on your own virus checking, no responsibility is taken by the sender for any damage rising out of any bug or virus infection."

 

-----Original Message-----
From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 09, 2004 20:31
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: List problem

 

Any particular reason you don't just make a table with 2 columns, the first column being your fo:list-item-label body?  It may get around certain limitations in fop 0.20.5.

 

A few other comments on your tables from my recent dive into using them:

<fo:table width="100%"> is not supported AFAICT in fop 0.20.5.  I have to specify exact width in inches/mm/etc to avoid getting a warning. 

Your <fo:table-column column-number="1"> (column-number attrib not supported in fop), use <fo:table-column column-width="proportional-column-width(1)"/> and provide column entries in left to right order.

 

In general, I've found that tables don't like to play nice with other enclosing elements and now have heavily nested tables to preserve layouts on my pages.  It slows down processing but I get the layouts in my PDFs that I want.

 

 


From: Raphael Parree (Triveratech) [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 3:48 PM
To: [EMAIL PROTECTED]
Subject: List problem

Hi

 

I am having a problem making a list. I am using the XSL below to create a list.

 

 

  <fo:list-item>

                <fo:list-item-label>

                    <fo:block end-indent="label-end()">-</fo:block>

                </fo:list-item-label>

                <fo:list-item-body start-indent="body-start()">

                    <fo:block>

                        <fo:table width="100%" table-layout="fixed">

                            <fo:table-column column-number="1"/>

                            <fo:table-body>

                                <fo:table-row keep-together="always">

                                    <fo:table-cell>

                                        <fo:block>

                                            <xsl:apply-templates select="FOO"/>

                                            <xsl:apply-templates select="BAR"/>

                                        </fo:block>

                                    </fo:table-cell>

                                </fo:table-row>

                            </fo:table-body>

                        </fo:table>

                    </fo:block>

                </fo:list-item-body>

            </fo:list-item>

 

 

 

What happens sometimes is that the “-“ w/out any body is on one page and the body is on the next page without a “-“.

 

Any ideas?

 

Tx.,

 

 

 

Raphael

 

 

<<image001.gif>>

<<image002.gif>>

Reply via email to