When calling setTextWrapped(true) for a couple of cells in a sheet, textboxes on the affected rows are shrunken even though they are placed in completely different columns. Setting text wrap from Excel does not give the same error.
I have attached a sample program that generates the error:
public static void asposeWrapWithTextBoxTest(String fileName, String
saveAs) {
Your fix solved the problem. However, when we tried your fix we discovered another bug. When modifying a sheet all rows that doesn’t contain any values (except formatting information) are loosing their heights. Instead they are given the default row height.
The following code sample reproduces the bug (see the attached input and output files):
Please try this fix .We don't auto set row to use default row height when setting Text Wrapped . But another problem occures,the text wrapped will not auto effect . In order to make the text wrapped effect , you should custom the row height or set row to use the default row height .
Now we plan to support Worksheet.autoFitRow() method to auto fit the row height.And it will take us about a month to do.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.