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
This commit is contained in:
parent
7a52b8c93b
commit
4835636fed
@ -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…
Reference in New Issue
Block a user