1 51 package org.apache.fop.fo.flow; 52 53 import org.apache.fop.fo.*; 55 import org.apache.fop.apps.FOPException; 56 57 public class TableFooter extends AbstractTableBody { 58 59 public static class Maker extends FObj.Maker { 60 public FObj make(FObj parent, PropertyList propertyList, 61 String systemId, int line, int column) 62 throws FOPException { 63 return new TableFooter(parent, propertyList, 64 systemId, line, column); 65 } 66 67 } 68 69 public static FObj.Maker maker() { 70 return new TableFooter.Maker(); 71 } 72 73 public TableFooter(FObj parent, PropertyList propertyList, 74 String systemId, int line, int column) 75 throws FOPException { 76 super(parent, propertyList, systemId, line, column); 77 } 78 79 public String getName() { 80 return "fo:table-footer"; 81 } 82 83 public int getYPosition() { 84 return areaContainer.getCurrentYPosition() - spaceBefore; 85 } 86 87 public void setYPosition(int value) { 88 areaContainer.setYPosition(value + 2 * spaceBefore); 89 } 90 91 } 92 | Popular Tags |