fix missing table borders in HTML in Word-to-HTML converter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-21 04:06:36 +00:00
parent a110ea84ae
commit 50b74657bc

View File

@ -46,7 +46,10 @@ public class WordToHtmlUtils extends AbstractWordUtils
}
style.append( ":" );
style.append( getBorderWidth( borderCode ) );
if ( borderCode.getLineWidth() < 8 )
style.append( "thin" );
else
style.append( getBorderWidth( borderCode ) );
style.append( ' ' );
style.append( getBorderType( borderCode ) );
style.append( ' ' );