]> source.dussan.org Git - xmlgraphics-fop.git/commit
For area.Blocks created in BlockLayoutManager.getParentArea(), I set the
authorGlen Mazza <gmazza@apache.org>
Sun, 25 Apr 2004 04:45:28 +0000 (04:45 +0000)
committerGlen Mazza <gmazza@apache.org>
Sun, 25 Apr 2004 04:45:28 +0000 (04:45 +0000)
commit333a1dc61ccb85e4a68f484c8cb2e6b8aa734a67
tree7a4349e7f8489ce445f88d8901441db387c5c738
parent89b2a81f40aaa909bba0194f7418567f44d5c6c3
For area.Blocks created in BlockLayoutManager.getParentArea(), I set the
width of the Block to that of its parent block.

This fixes a layout problem where

<fo:table-cell><fo:block border-bottom="1pt solid black">some text</ ></ >

was causing a line to draw across the entire page, because the cell width present in
fo:table-cell's Block was not copied into the inner fo:block's Block.  (This problem did not
occur if the border-bottom attribute was set in fo:table-cell.)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197539 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/area/inline/TextArea.java
src/java/org/apache/fop/fo/FObj.java
src/java/org/apache/fop/layoutmgr/AddLMVisitor.java
src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
src/java/org/apache/fop/layoutmgr/TextLayoutManager.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/xml/XMLRenderer.java