-
Bug
-
Resolution: Unresolved
-
Normal
-
5.9.0, 5.12.2
-
None
-
None
Steps to Reproduce
- import keikai-746.xlsx
- enlarge the 1st row height
- export it
- check the exported file in Excel
Current Result
the 1st row height doesn't change
Expected Result
the 1st row height changed
Root Cause
- keikai blocks the action without checking allowed actions:
public void setRowSize(String sheetId, int row, int newsize, int id, boolean hidden, boolean isCustom) { ... Sheet sheet = new SheetImpl(new SimpleRef<SBook>(xsheet.getBook()),new SimpleRef<SSheet>(xsheet)); if(sheet.isProtected()){ return; }
Workaround
if(sheet.isProtected() && !xsheet.getSheetProtection().isFormatRows()){ return; }