mirror of
https://github.com/apache/poi.git
synced 2026-02-27 12:30:08 +08:00
parent
8cdcda2873
commit
df2d5d62d9
@ -264,9 +264,10 @@ public class ColumnHelper {
|
||||
CTCol col = getOrCreateColumn1Based(index+1, false);
|
||||
col.setBestFit(bestFit);
|
||||
}
|
||||
public void setCustomWidth(long index, boolean bestFit) {
|
||||
|
||||
public void setCustomWidth(long index, boolean useCustomWidth) {
|
||||
CTCol col = getOrCreateColumn1Based(index+1, true);
|
||||
col.setCustomWidth(bestFit);
|
||||
col.setCustomWidth(useCustomWidth);
|
||||
}
|
||||
|
||||
public void setColWidth(long index, double width) {
|
||||
@ -330,4 +331,4 @@ public class ColumnHelper {
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user