poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1145061 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java
Date Mon, 11 Jul 2011 08:14:30 GMT
Author: sergey
Date: Mon Jul 11 08:14:30 2011
New Revision: 1145061

URL: http://svn.apache.org/viewvc?rev=1145061&view=rev
Log:
fix CSS error in word-to-html

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java?rev=1145061&r1=1145060&r2=1145061&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java Mon Jul
11 08:14:30 2011
@@ -122,12 +122,12 @@ public class WordToHtmlUtils extends Abs
         if ( isEmpty( fontFamily ) )
             return;
 
-        style.append( "font-family: " + fontFamily );
+        style.append( "font-family: " + fontFamily + "; " );
     }
 
     public static void addFontSize( final int fontSize, StringBuilder style )
     {
-        style.append( "font-size: " + fontSize );
+        style.append( "font-size: " + fontSize + "; " );
     }
 
     public static void addIndent( Paragraph paragraph, StringBuilder style )



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


Mime
View raw message