You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Span.java 694B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area;
  8. import java.util.ArrayList;
  9. // this is a reference area block area with 0 border and padding
  10. public class Span extends Area {
  11. // the list of flow reference areas in this span area
  12. ArrayList flowAreas = new ArrayList();
  13. int height;
  14. public int getColumnCount() {
  15. return flowAreas.size();
  16. }
  17. public int getHeight() {
  18. return height;
  19. }
  20. public Flow getFlow(int count) {
  21. return (Flow) flowAreas.get(count);
  22. }
  23. }