Uses of Class
org.openxava.util.jxls.JxlsStyle
Packages that use JxlsStyle
-
Uses of JxlsStyle in org.openxava.util.jxls
Fields in org.openxava.util.jxls with type parameters of type JxlsStyleMethods in org.openxava.util.jxls that return JxlsStyleModifier and TypeMethodDescriptionJxlsWorkbook.addClonedStyle(String name, JxlsStyle style) Creates a JxlsStyle based upon another existing JxlsStyle which can be referenced when using sheet.setValue(column, row, value, style)JxlsWorkbook.addClonedStyle(JxlsStyle style) JxlsWorkbook.addStyle(int type) Creates a JxlsStyle which can be referenced when using sheet.setValue(column, row, value, style)Creates a JxlsStyle which can be referenced when using sheet.setValue(column, row, value, style)protected JxlsStyleJxlsStyle.clone(JxlsWorkbook workbook, String name) JxlsWorkbook.getDefaultDateStyle()JxlsWorkbook.getDefaultFloatStyle()JxlsWorkbook.getDefaultStyle()JxlsCell.getStyle()JxlsStyle.setAlign(short align) Sets the justification to use to render the content of the cellJxlsStyle.setBold()Make the cell using this style boldJxlsStyle.setBold(boolean isBold) Make the cell using this style bold or notJxlsStyle.setBorder(short place, short borderStyle) Sets the borders for some of the sides of the cellJxlsStyle.setBorderColor(short borderColor) Sets the border color for the 4 sides of the cellJxlsStyle.setBorders(short top, short bottom, short left, short right) Sets the borders for the 4 sides of the cellJxlsStyle.setCellColor(short bgColor) Sets the color to use to render the background of the cellJxlsStyle.setFontName(String fontName) Sets the font name to use in this styleJxlsStyle.setFontSize(int fontSize) Sets the font size to use in this styleSets the format to use to display numbers using this styleJxlsStyle.setTextColor(short textColor) Sets the color to use to render the writing of the cellJxlsStyle.setWrap(boolean wraps) Make the cell wraps its contentMethods in org.openxava.util.jxls with parameters of type JxlsStyleModifier and TypeMethodDescriptionJxlsWorkbook.addClonedStyle(String name, JxlsStyle style) Creates a JxlsStyle based upon another existing JxlsStyle which can be referenced when using sheet.setValue(column, row, value, style)JxlsWorkbook.addClonedStyle(JxlsStyle style) JxlsSheet.setColumnStyles(int column, JxlsStyle... styles) Sets the width of one or more columnsJxlsSheet.setFormula(int column, int row, String formula, JxlsStyle style) Sets the formula at column,rowsheet.setFormula(1, 1, "=A1+$A2+$R1C3+R1$C4");voidJxlsSheet.setHeaders(int startColumn, int row, JxlsStyle style, String... headers) Sets column headers Usage:// set the first column header as "Invoice" with style // do not set any header for the second column // set the third column as "Customer" with style and a width of 20 // set the fourth column as "Customer" with style, right alignment and a width of 10 setHeaders(1, 1, style, "Invoice", null, "Customer|20", "Cost|r", "Margin|r|10");Sets the style of the cellSets the value at column,rowMethod parameters in org.openxava.util.jxls with type arguments of type JxlsStyleModifier and TypeMethodDescriptionprotected voidJxlsCell.createPOICell(JxlsWorkbook workbook, org.apache.poi.ss.usermodel.Sheet sheet, Map<Integer, JxlsStyle> columnStyles) Constructors in org.openxava.util.jxls with parameters of type JxlsStyleModifierConstructorDescriptionprotectedprotectedprotectedprotected