/** * @return the table style name, if set * @since 3.17 beta 1 */ public String getStyleName() { if (styleName == null && ctTable.isSetTableStyleInfo()) { setStyleName(ctTable.getTableStyleInfo().getName()); } return styleName; }
/** * @param stylesTable * @param tableStyleInfo */ public XSSFTableStyleInfo(StylesTable stylesTable, CTTableStyleInfo tableStyleInfo) { this.columnStripes = tableStyleInfo.getShowColumnStripes(); this.rowStripes = tableStyleInfo.getShowRowStripes(); this.firstColumn = tableStyleInfo.getShowFirstColumn(); this.lastColumn = tableStyleInfo.getShowLastColumn(); this.style = stylesTable.getTableStyle(tableStyleInfo.getName()); this.stylesTable = stylesTable; this.styleInfo = tableStyleInfo; }
/** * @return the table style name, if set * @since 3.17 beta 1 */ public String getStyleName() { if (styleName == null && ctTable.isSetTableStyleInfo()) { setStyleName(ctTable.getTableStyleInfo().getName()); } return styleName; }
/** * @param stylesTable * @param tableStyleInfo */ public XSSFTableStyleInfo(StylesTable stylesTable, CTTableStyleInfo tableStyleInfo) { this.columnStripes = tableStyleInfo.getShowColumnStripes(); this.rowStripes = tableStyleInfo.getShowRowStripes(); this.firstColumn = tableStyleInfo.getShowFirstColumn(); this.lastColumn = tableStyleInfo.getShowLastColumn(); this.style = stylesTable.getTableStyle(tableStyleInfo.getName()); this.stylesTable = stylesTable; this.styleInfo = tableStyleInfo; }