https://bz.apache.org/bugzilla/show_bug.cgi?id=60985
Bug ID: 60985
Summary: HSSFPrintSetup throws NPE when accessing print
settings of existing XLS
Product: POI
Version: 3.15-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34911
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34911&action=edit
attachment
The following code throws NPE.
Workbook workbook = document.getWorkbook();
Sheet sheet = workbook.getSheetAt(0);
HSSFPrintSetup ps = (HSSFPrintSetup) sheet.getPrintSetup();
ps.setLandscape(true);
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]