Return-Path: Delivered-To: apmail-xmlgraphics-fop-commits-archive@www.apache.org Received: (qmail 97268 invoked from network); 16 Jun 2005 09:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2005 09:48:56 -0000 Received: (qmail 267 invoked by uid 500); 16 Jun 2005 09:48:55 -0000 Delivered-To: apmail-xmlgraphics-fop-commits-archive@xmlgraphics.apache.org Received: (qmail 110 invoked by uid 500); 16 Jun 2005 09:48:54 -0000 Mailing-List: contact fop-commits-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-dev@xmlgraphics.apache.org Delivered-To: mailing list fop-commits@xmlgraphics.apache.org Received: (qmail 99929 invoked by uid 500); 16 Jun 2005 09:48:53 -0000 Delivered-To: apmail-xml-fop-cvs@xml.apache.org Received: (qmail 99903 invoked by uid 99); 16 Jun 2005 09:48:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Jun 2005 02:48:52 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6059F3D6 for ; Thu, 16 Jun 2005 10:54:53 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: fop-cvs@xml.apache.org Date: Thu, 16 Jun 2005 08:54:53 -0000 Message-ID: <20050616085453.18359.34245@ajax.apache.org> Subject: [Xmlgraphics-fop Wiki] Update of "TableLayout/BreakHandling" by JeremiasMaerki X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification. The following page has been changed by JeremiasMaerki: http://wiki.apache.org/xmlgraphics-fop/TableLayout/BreakHandling The comment on the change is: Some notes. ------------------------------------------------------------------------------ It is best to look at the most complex case first, which are the breaks on table-cell content. I expect the rest to automatically click into place after that. The only non-trivial place will be the breaks on fo:table-row if a row is inside a multi-row row group in which case the problem is similar to the breaks inside table-cell content. + == Details == + + So far, I've identified the starting point for handling breaks. This would be TableStepper.getNextStep() where the element lists are checked for possible break points. An additional check for penalties with p=-INFINITE reveals the hard breaks. I've added a boolean array for signalling hard break situations. It is quite easy to halt further processing from there, the difficulty is to figure out how to store the state and restart processing at the right point, since this hard break somewhat disrupts the flow of the algorithm. More to come.... + --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org