d.append("</span>");
Utils.writeSpanWithStyleAttributePostfix(d, label.getStyle());
    protected void writeText(Device d, SLabel label)        throws IOException    {        String text = label.getText();        if (text != null && text.trim().length() > 0) {            boolean noBreak = label.isNoBreak();            d.append("<span");            Utils.writeStyleAttribute(d, label.getStyle());            d.append(">");            if (noBreak)                d.append("<nobr>");            d.append(text);            if (noBreak)                d.append("</nobr>");            d.append("</span>");        }    }