poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1808817 - /poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java
Date Tue, 19 Sep 2017 03:27:40 GMT
Author: onealj
Date: Tue Sep 19 03:27:40 2017
New Revision: 1808817

URL: http://svn.apache.org/viewvc?rev=1808817&view=rev
Log:
bug 61454: add column width to example Spreadsheet ToHtml; thanks to Christian Froehler

Modified:
    poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java

Modified: poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java?rev=1808817&r1=1808816&r2=1808817&view=diff
==============================================================================
--- poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java (original)
+++ poi/trunk/src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java Tue Sep 19 03:27:40
2017
@@ -391,7 +391,7 @@ public class ToHtml {
         tableWidth += headerColWidth;
 
         for (int i = firstColumn; i < endColumn; i++) {
-            int colWidth = poiWidthToPixels(sheet.getColumnWidth(i));
+            int colWidth = widthToPixels(sheet.getColumnWidth(i));
             ret.put(i, colWidth);
             tableWidth += colWidth;
         }



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


Mime
View raw message