poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 52297] Bullets are not aligned properly while converting ppt slide to image
Date Wed, 02 Jan 2013 14:49:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52297

--- Comment #6 from Jared <daviesja@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


Mime
View raw message