Skip to content

Commit

Permalink
upgrade version from 4.5.2 to 4.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
liaochong committed Oct 10, 2024
1 parent 36a249a commit 92e96cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.github.liaochong</groupId>
<artifactId>myexcel</artifactId>
<version>4.5.1</version>
<version>4.5.3</version>
<packaging>jar</packaging>

<name>myexcel</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ private void setColumnWidth(Map<Integer, Integer> colWidthMap, Td td) {
int width = TdUtil.getValue(widthStr);
if (width >= 0) {
colWidthMap.put(td.col, width);
if (td.colSpan > 1) {
for (int j = 1, span = td.colSpan; j < span; j++) {
int colIndex = td.col + j;
colWidthMap.put(colIndex, width);
}
}
}
}
}
Expand Down

0 comments on commit 92e96cf

Please sign in to comment.