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.

TableFooter.java 746B

12345678910111213141516171819202122232425262728293031
  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.fo.flow;
  8. // FOP
  9. import org.apache.fop.fo.*;
  10. import org.apache.fop.fo.properties.*;
  11. import org.apache.fop.datatypes.*;
  12. import org.apache.fop.layout.*;
  13. import org.apache.fop.apps.FOPException;
  14. public class TableFooter extends TableBody {
  15. public int getYPosition() {
  16. return areaContainer.getCurrentYPosition() - spaceBefore;
  17. }
  18. public void setYPosition(int value) {
  19. areaContainer.setYPosition(value + 2 * spaceBefore);
  20. }
  21. public TableFooter(FONode parent) {
  22. super(parent);
  23. }
  24. }