public String toString() { StringBuffer result = new StringBuffer(); result.append("InlineLayoutBox: "); if (getElement() != null) { result.append("<"); result.append(getElement().getNodeName()); result.append("> "); } else { result.append("(anonymous) "); } if (isStartsHere() || isEndsHere()) { result.append("("); if (isStartsHere()) { result.append("S"); } if (isEndsHere()) { result.append("E"); } result.append(") "); } result.append("(baseline="); result.append(_baseline); result.append(") "); result.append("(" + getAbsX() + "," + getAbsY() + ")->(" + getInlineWidth() + " x " + getHeight() + ")"); return result.toString(); }
public String toString() { StringBuffer result = new StringBuffer(); result.append("InlineLayoutBox: "); if (getElement() != null) { result.append("<"); result.append(getElement().getNodeName()); result.append("> "); } else { result.append("(anonymous) "); } if (isStartsHere() || isEndsHere()) { result.append("("); if (isStartsHere()) { result.append("S"); } if (isEndsHere()) { result.append("E"); } result.append(") "); } result.append("(baseline="); result.append(_baseline); result.append(") "); result.append("(" + getAbsX() + "," + getAbsY() + ")->(" + getInlineWidth() + " x " + getHeight() + ")"); return result.toString(); }
remainingWidth -= firstLetter.getInlineWidth(); if (currentIB.isStartsHere()) { pendingLeftMBP -= currentIB.getStyle().getMarginBorderPadding( c, maxAvailableWidth, CalculatedStyle.LEFT); remainingWidth -= inlineText.getWidth(); if (currentIB.isStartsHere()) { int marginBorderPadding = currentIB.getStyle().getMarginBorderPadding( if (currentIB != null && currentIB.isStartsHere()) { pendingLeftMBP -= currentIB.getStyle().getMarginBorderPadding( c, maxAvailableWidth, CalculatedStyle.LEFT);
remainingWidth -= firstLetter.getInlineWidth(); if (currentIB.isStartsHere()) { pendingLeftMBP -= currentIB.getStyle().getMarginBorderPadding( c, maxAvailableWidth, CalculatedStyle.LEFT); remainingWidth -= inlineText.getWidth(); if (currentIB.isStartsHere()) { int marginBorderPadding = currentIB.getStyle().getMarginBorderPadding( if (currentIB != null && currentIB.isStartsHere()) { pendingLeftMBP -= currentIB.getStyle().getMarginBorderPadding( c, maxAvailableWidth, CalculatedStyle.LEFT);