aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-09-13 08:21:55 +0000
committerKeiron Liddle <keiron@apache.org>2002-09-13 08:21:55 +0000
commit6e820767d19b85e1475c6560a887bda5698120d2 (patch)
tree123e44a06a1b0c28197d91b9406ea1603d0949d5 /src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
parentcbfb6d81293a14bee16b2a3c41d7fd72bf92ec85 (diff)
downloadxmlgraphics-fop-6e820767d19b85e1475c6560a887bda5698120d2.tar.gz
xmlgraphics-fop-6e820767d19b85e1475c6560a887bda5698120d2.zip
starting implementation of tables
fixed some more styling errors git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195177 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java')
-rw-r--r--src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java b/src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
index 1b091a662..249500931 100644
--- a/src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
+++ b/src/org/apache/fop/layoutmgr/BlockStackingLayoutManager.java
@@ -1,6 +1,6 @@
/*
* $Id$
- * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
+ * Copyright (C) 2002 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
*/
@@ -48,8 +48,6 @@ public abstract class BlockStackingLayoutManager extends AbstractLayoutManager {
this.parentArea = parentArea;
}
-
-
protected MinOptMax resolveSpaceSpecifier(Area nextArea) {
SpaceSpecifier spaceSpec = new SpaceSpecifier(false);
// Area prevArea = getCurrentArea().getLast();
@@ -126,8 +124,9 @@ public abstract class BlockStackingLayoutManager extends AbstractLayoutManager {
* Force current area to be added to parent area.
*/
protected boolean flush() {
- if (getCurrentArea() != null)
+ if (getCurrentArea() != null) {
return parentLM.addChild(getCurrentArea());
+ }
return false;
}