You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Sharma, Siddharth" <Si...@FMR.COM> on 2002/12/31 17:51:18 UTC

Keep properties

Hi,

I'm a complete newbie with FOP.

I am using FOP to create a legal PDF document. 
Right at the bottom of the document there is Attorney and Judge information.
Since most data is dynamic, this last information appears at different
locations in the document. 
Even worse, sometimes the judge's name appears on the previous page, but
his/her address flows to the next page.

Is there any way to build presentation intelligence that if there are 2
inches (say) left on the page, flow to the next page and render content
there. 
Otherwise simply render content on the current page?

I understand from an FOP developer that there are keep properties with table
rows that always binds this information together.
Does anybody have the xsl code for the same?

Thanks,
Sid



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


Re: Keep properties

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Sharma, Siddharth wrote:

> I understand from an FOP developer that there are keep properties with table
> rows that always binds this information together.
> Does anybody have the xsl code for the same?
E.g. to keep foo and bar together you can use the following fo snippet:
	    <fo:table>
                 <fo:table-column column-width="50mm"/>
                 <fo:table-body>
                     <fo:table-row keep-together="always">
                         <fo:table-cell>
                             <fo:block>foo</fo:block>
                             <fo:block>bar</fo:block>
                         </fo:table-cell>
                     </fo:table-row>
                 </fo:table-body>
             </fo:table>

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


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