1 51 package org.apache.fop.fo.flow; 52 53 import org.apache.fop.fo.*; 55 import org.apache.fop.layout.*; 56 import org.apache.fop.apps.FOPException; 57 58 60 public class TableAndCaption extends ToBeImplementedElement { 61 62 public static class Maker extends FObj.Maker { 63 public FObj make(FObj parent, PropertyList propertyList, 64 String systemId, int line, int column) 65 throws FOPException { 66 return new TableAndCaption(parent, propertyList, 67 systemId, line, column); 68 } 69 70 } 71 72 public static FObj.Maker maker() { 73 return new TableAndCaption.Maker(); 74 } 75 76 protected TableAndCaption(FObj parent, PropertyList propertyList, 77 String systemId, int line, int column) 78 throws FOPException { 79 super(parent, propertyList, systemId, line, column); 80 } 81 82 public String getName() { 83 return "fo:table-and-caption"; 84 } 85 86 public int layout(Area area) throws FOPException { 87 88 AccessibilityProps mAccProps = propMgr.getAccessibilityProps(); 90 91 AuralProps mAurProps = propMgr.getAuralProps(); 93 94 BorderAndPadding bap = propMgr.getBorderAndPadding(); 96 BackgroundProps bProps = propMgr.getBackgroundProps(); 97 98 MarginProps mProps = propMgr.getMarginProps(); 100 101 RelativePositionProps mRelProps = propMgr.getRelativePositionProps(); 103 104 110 return super.layout(area); 111 } 112 } 113 | Popular Tags |