diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-03-05 18:22:06 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-03-05 18:22:06 +0000 |
commit | 77c8566a57472e33049c8e02dd753dd79944e2ad (patch) | |
tree | d8b4f12d368f8f247e16772a2053b2e9b1c373b5 /src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java | |
parent | 3fc5d3af38b065c8298c1f56efbc810f399213c7 (diff) | |
download | xmlgraphics-fop-77c8566a57472e33049c8e02dd753dd79944e2ad.tar.gz xmlgraphics-fop-77c8566a57472e33049c8e02dd753dd79944e2ad.zip |
- Fixed the rendering of the area of a table corresponding to border-separation, which must be filled with the background of the table, and not the rows.
- Improved conformance: even if a table-cell spans several rows its background must correspond to the first row spanned.
- Added support for background on fo:table-column and fo:table-header/footer/body
TODO more testcases needed, especially tables with collapsing border model and tables broken over pages
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633961 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java b/src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java index e702c58a9..db34764b1 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableContentPosition.java @@ -22,6 +22,7 @@ package org.apache.fop.layoutmgr.table; import java.util.List; import org.apache.fop.fo.flow.table.EffRow; +import org.apache.fop.fo.flow.table.TableBody; import org.apache.fop.layoutmgr.LayoutManager; import org.apache.fop.layoutmgr.Position; @@ -79,6 +80,10 @@ class TableContentPosition extends Position { return row; } + TableBody getTableBody() { + return ((CellPart) cellParts.get(0)).pgu.getTableBody(); + } + /** * Returns a flag for this GridUnit. * @param which the requested flag |