/** * Flag indicating whether summary columns appear to the right of detail in an outline, when applying an outline. * * <p> * When true a summary column is inserted to the right of the detailed data being summarized * and a new outline level is established on that column. * </p> * <p> * When false a summary column is inserted to the left of the detailed data being * summarized and a new outline level is established on that column. * </p> * @return <code>true</code> if col summaries appear right of the detail in the outline */ @Override public boolean getRowSumsRight() { CTSheetPr sheetPr = worksheet.getSheetPr(); CTOutlinePr outlinePr = (sheetPr != null && sheetPr.isSetOutlinePr()) ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance(); return outlinePr.getSummaryRight(); }
/** * Flag indicating whether summary columns appear to the right of detail in an outline, when applying an outline. * * <p> * When true a summary column is inserted to the right of the detailed data being summarized * and a new outline level is established on that column. * </p> * <p> * When false a summary column is inserted to the left of the detailed data being * summarized and a new outline level is established on that column. * </p> * @return <code>true</code> if col summaries appear right of the detail in the outline */ public boolean getRowSumsRight() { CTSheetPr sheetPr = worksheet.getSheetPr(); CTOutlinePr outlinePr = (sheetPr != null && sheetPr.isSetOutlinePr()) ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance(); return outlinePr.getSummaryRight(); }
/** * Get whether to display the guts or not, * default value is true * * @return boolean - guts or no guts */ public boolean getDisplayGuts() { CTSheetPr sheetPr = getSheetTypeSheetPr(); CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr(); return outlinePr.getShowOutlineSymbols(); }
/** * Get whether to display the guts or not, * default value is true * * @return boolean - guts or no guts */ @Override public boolean getDisplayGuts() { CTSheetPr sheetPr = getSheetTypeSheetPr(); CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr(); return outlinePr.getShowOutlineSymbols(); }
/** * Flag indicating whether summary columns appear to the right of detail in an outline, when applying an outline. * * <p> * When true a summary column is inserted to the right of the detailed data being summarized * and a new outline level is established on that column. * </p> * <p> * When false a summary column is inserted to the left of the detailed data being * summarized and a new outline level is established on that column. * </p> * @return <code>true</code> if col summaries appear right of the detail in the outline */ @Override public boolean getRowSumsRight() { CTSheetPr sheetPr = worksheet.getSheetPr(); CTOutlinePr outlinePr = (sheetPr != null && sheetPr.isSetOutlinePr()) ? sheetPr.getOutlinePr() : CTOutlinePr.Factory.newInstance(); return outlinePr.getSummaryRight(); }
/** * Get whether to display the guts or not, * default value is true * * @return boolean - guts or no guts */ @Override public boolean getDisplayGuts() { CTSheetPr sheetPr = getSheetTypeSheetPr(); CTOutlinePr outlinePr = sheetPr.getOutlinePr() == null ? CTOutlinePr.Factory.newInstance() : sheetPr.getOutlinePr(); return outlinePr.getShowOutlineSymbols(); }