You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/01/02 15:49:18 UTC

[Bug 52297] Bullets are not aligned properly while converting ppt slide to image

https://issues.apache.org/bugzilla/show_bug.cgi?id=52297

--- Comment #6 from Jared <da...@saic.com> ---
TextPainter.java, line ~143, added nested if inside of _bullet nullcheck.  This
fixes the text/bullet offset issues in the presentation, still working out the
vertical spacing fix.

if(elem[i]._bullet != null){
    graphics.drawString(elem[i]._bullet.getIterator(), (float)(pen.x +
elem[i]._bulletOffset), (float)pen.y);
    if (elem[i]._textOffset < elem[i]._bulletOffset) 
        elem[i]._textOffset+= elem[i]._bulletOffset+5;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org