1 17 18 19 20 package org.apache.fop.layoutmgr; 21 22 import java.util.LinkedList ; 23 import java.util.List ; 24 25 import org.apache.fop.area.Area; 26 import org.apache.fop.datatypes.PercentBaseContext; 27 import org.apache.fop.fo.FObj; 28 29 32 public interface LayoutManager extends PercentBaseContext { 33 34 40 void setParent(LayoutManager lm); 41 42 46 LayoutManager getParent(); 47 48 52 void initialize(); 53 54 59 PageSequenceLayoutManager getPSLM(); 60 61 66 void resetPosition(Position position); 67 68 74 boolean isFinished(); 75 76 83 void setFinished(boolean isFinished); 84 85 93 Area getParentArea(Area childArea); 94 95 102 void addChildArea(Area childArea); 103 104 112 void addAreas(PositionIterator posIter, LayoutContext context); 113 114 119 boolean createNextChildLMs(int pos); 120 121 124 List getChildLMs(); 125 126 132 void addChildLM(LayoutManager lm); 133 134 138 void addChildLMs(List newLMs); 139 140 148 LinkedList getNextKnuthElements(LayoutContext context, int alignment); 149 150 185 LinkedList getChangedKnuthElements(List oldList, int alignment); 186 187 191 int getContentAreaIPD(); 192 193 197 int getContentAreaBPD(); 198 199 203 boolean getGeneratesReferenceArea(); 204 205 209 boolean getGeneratesBlockArea(); 210 211 215 boolean getGeneratesLineArea(); 216 217 221 FObj getFObj(); 222 223 229 Position notifyPos(Position pos); 230 } 231 | Popular Tags |