Hello,
we realized that calling autofitrow changes standard height of w worksheet. Here is a snippet:
Workbook w1 = new Workbook();
System.out.println(w1.getWorksheets().get(0).getCells().getStandardHeight());
Style style = w1.getWorksheets().get(0).getCells().get("A1").getStyle();
style.setTextWrapped(true);
w1.getWorksheets().get(0).getCells().get("A1").setStyle(style);
w1.getWorksheets().get(0).getCells().get("A1").setValue("LOOOOOOOOOOOOOOOOOONG TEEEEEEEEEEXT");
w1.getWorksheets().get(0).getCells().get("A2").setValue("SOME OTHER LOOOOOOOOOOOOOOOOOONG TEEEEEEEEEEXT");
w1.getWorksheets().get(0).autoFitRow(0);
System.out.println(w1.getWorksheets().get(0).getCells().getStandardHeight());
The result would be printing:
12.75
11.25
I guess it’s not the desired behaviour to modify this property. The intention was just to modify the height of one specific row, not all of them.