Browse Source

bug 61454: add column width to example Spreadsheet ToHtml; thanks to Christian Froehler

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808817 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_0_0_FINAL
Javen O'Neal 6 years ago
parent
commit
7d8f31d4a4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java

+ 1
- 1
src/examples/src/org/apache/poi/ss/examples/html/ToHtml.java View File

@@ -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;
}

Loading…
Cancel
Save