Return-Path: X-Original-To: apmail-poi-commits-archive@minotaur.apache.org Delivered-To: apmail-poi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BA916252 for ; Thu, 21 Jul 2011 03:55:18 +0000 (UTC) Received: (qmail 24651 invoked by uid 500); 21 Jul 2011 03:55:16 -0000 Delivered-To: apmail-poi-commits-archive@poi.apache.org Received: (qmail 24606 invoked by uid 500); 21 Jul 2011 03:55:14 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 24595 invoked by uid 99); 21 Jul 2011 03:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 03:55:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 03:55:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A2A6323888CB for ; Thu, 21 Jul 2011 03:54:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1149030 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/WordToHtmlUtils.java Date: Thu, 21 Jul 2011 03:54:48 -0000 To: commits@poi.apache.org From: sergey@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110721035448.A2A6323888CB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sergey Date: Thu Jul 21 03:54:46 2011 New Revision: 1149030 URL: http://svn.apache.org/viewvc?rev=1149030&view=rev Log: fix CSS for subscript/superscript in Word-to-HTML converter 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=1149030&r1=1149029&r2=1149030&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 Thu Jul 21 03:54:46 2011 @@ -83,12 +83,12 @@ public class WordToHtmlUtils extends Abs } 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 ) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org