Hi,
Were extracting the cell contents using <span style=“background-color: rgb(43, 43, 43); color: rgb(169, 183, 198); font-family: “DejaVu Sans Mono”; font-size: 7.6pt;”>cell.getDisplayStringValue() which some times doesn’t return all the text in the cell if the column or row is too small. We have worked around this by ensuring that all cells do not have any rotation set and the rows and columns are fit to their contents.
<span style=“background-color: rgb(43, 43, 43); color: rgb(169, 183, 198); font-family: “DejaVu Sans Mono”; font-size: 7.6pt;”>worksheet.autoFitRows(fitterOptions);
<span style=“background-color: rgb(43, 43, 43); color: rgb(169, 183, 198); font-family: “DejaVu Sans Mono”; font-size: 7.6pt;”>worksheet.autoFitColumns(fitterOptions);
This is working, but can be very slow. The autoFit steps seem to take almost as long as extracting the text.
Is there any way we can get the text content with its number or text formatting applied, but avoid truncation if the cell is too small without the cost of auto fitting the entire sheet.
Can we set the column and row size to their maximum to achieve the same effect?
Nick