newBox.setStyle(box.getStyle());
    public InlineBox copy() {        InlineTextBox newBox = new InlineTextBox();        InlineTextBox box = this;        newBox.x = box.x;        newBox.y = box.y;        newBox.contentWidth = box.contentWidth;        newBox.leftPadding = box.leftPadding;        newBox.rightPadding = box.rightPadding;        newBox.height = box.height;        newBox.element = box.element;        newBox.master = box.master;        newBox.pseudoElement = box.pseudoElement;        return newBox;    }