return ss;
}
if (floatModel.getHeight() == 0 || floatModel.getWidth() == 0) {
return ss;
}
<BUG>int lines = (int) FloatMath.ceil(floatModel.getHeight() / floatModel.getTextLineHeight());
int offset = floatModel.getWidth() + floatModel.getRightMargin();</BUG>
ss.setSpan(MyLeadingMarginSpan2Factory.create(lines, offset), 0, ss.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
return ss;
}

return ss;
}
if (floatModel.getHeight() == 0 || floatModel.getWidth() == 0) {
return ss;
}
int lines = (int) Math.ceil(floatModel.getHeight() / floatModel.getTextLineHeight());
int offset = floatModel.getWidth() + floatModel.getRightMargin();
ss.setSpan(MyLeadingMarginSpan2Factory.create(lines, offset), 0, ss.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
return ss;
}
