You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/04/20 18:09:20 UTC
[Bug 1432] New - keep-with-* not functioning for fo:table-row
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1432
*** shadow/1432 Fri Apr 20 09:09:20 2001
--- shadow/1432.tmp.7520 Fri Apr 20 09:09:20 2001
***************
*** 0 ****
--- 1,25 ----
+ +============================================================================+
+ | keep-with-* not functioning for fo:table-row |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1432 Product: Fop |
+ | Status: NEW Version: 0.17 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Linux |
+ | Priority: Component: general |
+ +----------------------------------------------------------------------------+
+ | Assigned To: fop-dev@xml.apache.org |
+ | Reported By: scott@finnerty.org |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Using keep-with-next.within-column or keep-with-previous.within-column is not
+ functioning for fo:table-row's.
+
+ I found that in the TableRow.getKeepValue() method the switch is using literal
+ integers for the cases - instead of the class variables created for
+ the "ALWAYS" and "AUTO" values for this attribute during the codegen phase.
+
+ I was able to fix by replacing "case 2:" with "case Constants.ALWAYS:"
+ and "case 1:" with "case Constants.AUTO:".
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org