diff options
-rw-r--r-- | STATUS | 1 | ||||
-rw-r--r-- | src/org/apache/fop/fo/flow/ListBlock.java | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -37,6 +37,7 @@ basic support for padding-{top,left,bottom,right} on blocks. implemented simple-link (don't think it works, though) XTCommandLine now works again background color works on list-block +list-blocks can now be in table-cell Done for 0.12.0 release: diff --git a/src/org/apache/fop/fo/flow/ListBlock.java b/src/org/apache/fop/fo/flow/ListBlock.java index cad844d3e..723b7d4d9 100644 --- a/src/org/apache/fop/fo/flow/ListBlock.java +++ b/src/org/apache/fop/fo/flow/ListBlock.java @@ -145,6 +145,12 @@ public class ListBlock extends FObj { startIndent += bodyIndent + distanceBetweenStarts; bodyIndent = startIndent; } + + if (this.isInTableCell) { + startIndent += forcedStartOffset; + endIndent += area.getAllocationWidth() - forcedWidth - + forcedStartOffset; + } } BlockArea blockArea = |