Browse Source

list-blocks can now go in table-cells (contributed by Eric Schaeffer)


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193266 13f79535-47bb-0310-9956-ffa450edef68
tags/pre-columns
jtauber 24 years ago
parent
commit
67f9eb5352
2 changed files with 7 additions and 0 deletions
  1. 1
    0
      STATUS
  2. 6
    0
      src/org/apache/fop/fo/flow/ListBlock.java

+ 1
- 0
STATUS View File

@@ -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:


+ 6
- 0
src/org/apache/fop/fo/flow/ListBlock.java View File

@@ -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 =

Loading…
Cancel
Save