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.

Footnote.java 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001-2002 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. // may combine with before float into a conditional area
  9. /**
  10. * Footnote reference area.
  11. * This areas holds footnote areas and an optional separator area.
  12. */
  13. public class Footnote extends BlockParent {
  14. private Block separator = null;
  15. // footnote has an optional separator
  16. // and a list of sub block areas that can be added/removed
  17. // this is the relative position of the footnote inside
  18. // the body region
  19. private int top;
  20. /**
  21. * Set the separator area for this footnote.
  22. *
  23. * @param sep the separator area
  24. */
  25. public void setSeparator(Block sep) {
  26. separator = sep;
  27. }
  28. /**
  29. * Get the separator area for this footnote area.
  30. *
  31. * @return the separator area
  32. */
  33. public Block getSeparator() {
  34. return separator;
  35. }
  36. }