public static void layoutAbsolute( LayoutContext c, LineBox currentLine, BlockBox box) { MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); box.setContainingBlock(c.getLayer().getMaster()); box.setStaticEquivalent(currentLine); // If printing, don't layout until we know where its going if (! c.isPrint()) { box.layout(c); } else { c.pushLayer(box); c.getLayer().setRequiresLayout(true); c.popLayer(); } c.setCurrentMarkerData(markerData); }
public static void layoutAbsolute( LayoutContext c, LineBox currentLine, BlockBox box) { MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null); if (box.getStyle().isFixed()) { box.setContainingBlock(c.getRootLayer().getMaster().getContainingBlock()); } else { box.setContainingBlock(c.getLayer().getMaster()); } box.setStaticEquivalent(currentLine); // If printing, don't layout until we know where its going if (! c.isPrint()) { box.layout(c); } else { c.pushLayer(box); c.getLayer().setRequiresLayout(true); c.popLayer(); } c.setCurrentMarkerData(markerData); }
FloatLayoutResult result = new FloatLayoutResult(); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null);
FloatLayoutResult result = new FloatLayoutResult(); MarkerData markerData = c.getCurrentMarkerData(); c.setCurrentMarkerData(null);
contentStart += indent; MarkerData markerData = c.getCurrentMarkerData(); if (markerData != null && box.getStyle().isListMarkerInside()) { remainingWidth -= markerData.getLayoutWidth();
contentStart += indent; MarkerData markerData = c.getCurrentMarkerData(); if (markerData != null && box.getStyle().isListMarkerInside()) { remainingWidth -= markerData.getLayoutWidth();