fix CSS for subscript/superscript in Word-to-HTML converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5561ba40b3
commit
ee1624ad5b
@ -83,12 +83,12 @@ public class WordToHtmlUtils extends AbstractWordUtils
|
||||
}
|
||||
if ( characterRun.getSubSuperScriptIndex() == 1 )
|
||||
{
|
||||
style.append( "baseline-shift:super;" );
|
||||
style.append( "vertical-align:super;" );
|
||||
style.append( "font-size:smaller;" );
|
||||
}
|
||||
if ( characterRun.getSubSuperScriptIndex() == 2 )
|
||||
{
|
||||
style.append( "baseline-shift:sub;" );
|
||||
style.append( "vertical-align:sub;" );
|
||||
style.append( "font-size:smaller;" );
|
||||
}
|
||||
if ( characterRun.getUnderlineCode() > 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user