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 public class Inline extends FObjMixed { 59 60 public static class Maker extends FObj.Maker { 61 public FObj make(FObj parent, PropertyList propertyList, 62 String systemId, int line, int column) 63 throws FOPException { 64 return new Inline(parent, propertyList, systemId, line, column); 65 } 66 67 } 68 69 public static FObj.Maker maker() { 70 return new Inline.Maker(); 71 } 72 73 public Inline(FObj parent, PropertyList propertyList, 74 String systemId, int line, int column) throws FOPException { 75 super(parent, propertyList, systemId, line, column); 76 if (parent.getName().equals("fo:flow")) { 77 throw new FOPException("inline formatting objects cannot" 78 + " be directly under flow", 79 systemId, line, column); 80 } 81 82 AccessibilityProps mAccProps = propMgr.getAccessibilityProps(); 84 85 AuralProps mAurProps = propMgr.getAuralProps(); 87 88 BorderAndPadding bap = propMgr.getBorderAndPadding(); 90 BackgroundProps bProps = propMgr.getBackgroundProps(); 91 92 95 MarginInlineProps mProps = propMgr.getMarginInlineProps(); 97 98 RelativePositionProps mRelProps = propMgr.getRelativePositionProps(); 100 101 116 } 117 118 public String getName() { 119 return "fo:inline"; 120 } 121 122 } 123 | Popular Tags |