aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/area/inline/Container.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/area/inline/Container.java')
-rw-r--r--src/org/apache/fop/area/inline/Container.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/org/apache/fop/area/inline/Container.java b/src/org/apache/fop/area/inline/Container.java
index 76c987e21..daf347fff 100644
--- a/src/org/apache/fop/area/inline/Container.java
+++ b/src/org/apache/fop/area/inline/Container.java
@@ -14,10 +14,13 @@ import org.apache.fop.render.Renderer;
import java.util.List;
import java.util.ArrayList;
+// this is an inline area that can have blocks as children
public class Container extends Area {
ArrayList blocks = new ArrayList();
+ int width;
- // this is an inline area that can have blocks as children
+ public Container() {
+ }
public void render(Renderer renderer) {
renderer.renderContainer(this);
@@ -31,4 +34,8 @@ public class Container extends Area {
return blocks;
}
+ public int getWidth() {
+ return width;
+ }
+
}