Search in sources :

Example 1 with CTSheetFormatPr

use of org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetFormatPr in project poi by apache.

the class SXSSFSheet method setWorksheetOutlineLevelRow.

private void setWorksheetOutlineLevelRow() {
    CTWorksheet ct = _sh.getCTWorksheet();
    CTSheetFormatPr pr = ct.isSetSheetFormatPr() ? ct.getSheetFormatPr() : ct.addNewSheetFormatPr();
    if (outlineLevelRow > 0) {
        pr.setOutlineLevelRow((short) outlineLevelRow);
    }
}
Also used : CTWorksheet(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheet) CTSheetFormatPr(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetFormatPr)

Aggregations

CTSheetFormatPr (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheetFormatPr)1 CTWorksheet (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheet)1