Catalogen

XSSFCellStyle @Cluster 1 (cs, datastyle, headerstyle)


XSSFXMLStyleHelper.java

this method is for the sheet and it # value @ param

30. XSSFCellStyle newStyle = (XSSFCellStyle) style;
31. XSSFFont font = newStyle.getFont();

XSSFXMLStyleHelper.java

this method is for the sheet and it # value @ param

54. XSSFCellStyle newStyle = (XSSFCellStyle) style;
55. XSSFFont font = newStyle.getFont();

CellXSSFImpl.java

if the supplied is shape is based on the chart element , or as from a new one from the underlying { @ link ) } .

159. XSSFCellStyle cellStyle = theCell.getCellStyle();
163. XSSFFont xssfFont = cellStyle.getFont();

CellXSSFImpl.java

if the shape is top - 2 based on the shape we need to be able to reference the content .

211. XSSFCellStyle cellStyle = theCell.getCellStyle();
216.     XSSFColor xssfColour = cellStyle.getFillForegroundXSSFColor();

XSSFStyleHelper.java

this method is for the sheet and it # value @ param

18. XSSFCellStyle newStyle = (XSSFCellStyle) style;
19. XSSFColor colour = newStyle.getFillForegroundXSSFColor();

XSSFXMLStyleHelper.java

this method is used by the xml signature service - either or set of stream . < br > it must be a valid range of cell references . < br > the code here represents a normal poi use case where a spreadsheet is created from scratch .

24. XSSFCellStyle newStyle = (XSSFCellStyle) style;
25. XSSFColor colour = newStyle.getFillForegroundXSSFColor();

CellXSSFImpl.java

sets the line compound style @ param . false , if there is a default ( see # style )

262. XSSFCellStyle style = styles.get(colour);
266.   style.setFillPattern(XSSFCellStyle.SOLID_FOREGROUND );
267.   style.setFillForegroundColor(col);

ExcelFamilieZahlungenB.java

create a new ctworkbook with all values set to default

52. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
53. dataStyle.setWrapText(true);
54. dataStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinZahlungenRD.java

create a new ctworkbook with all values set to default

50. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
51. dataStyle.setWrapText(true);
52. dataStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinnenAN.java

create a new ctworkbook with all values set to default

54. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
55. dataStyle.setWrapText(true);
56. dataStyle.setAlignment(HorizontalAlignment.CENTER);

StyleManagerXUtils.java

creates the

198. XSSFCellStyle cellStyle = (XSSFCellStyle)style;
201.   cellStyle.setFillForegroundColor(xColour);
202.   cellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);

CellXSSFImpl.java

initialize the data on a stream .

139. XSSFCellStyle cellStyle = theCell.getCellStyle();        
144. XSSFFont font = cellStyle.getFont();
147.     cellStyle.setFont(font);

ExcelFamilieBetreuung.java

create a new ctworkbook with all values set to default

56. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
57. dataStyle.setWrapText(true);
58. dataStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinBetreuungAU.java

create a new ctworkbook with all values set to default

51. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
52. dataStyle.setWrapText(true);
53. dataStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinBetreuungAN.java

create a new ctworkbook with all values set to default

51. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
52. dataStyle.setWrapText(true);
53. dataStyle.setAlignment(HorizontalAlignment.CENTER);

RCellBlock.java

sets the shape id .

256. XSSFCellStyle xssfStyle = (XSSFCellStyle)style;
257. xssfStyle.setFillForegroundColor( foreground );
258. xssfStyle.setFillBackgroundColor( background );

ExcelFamilieZahlungenM.java

create a new ctworkbook with all values set to default

52. XSSFCellStyle dataStyle = xssfWorkbook.createCellStyle();
53. dataStyle.setWrapText(true);
54. dataStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelFamilieZahlungenM.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

47. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
48. headerStyle.setFillForegroundColor(LAVENDER.index);
49. headerStyle.setFont(font);
50. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelFamilieBetreuungAU.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

48. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
49. headerStyle.setFillForegroundColor(LAVENDER.index);
50. headerStyle.setFont(font);
51. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinBetreuungAU.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

46. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
47. headerStyle.setFillForegroundColor(LAVENDER.index);
48. headerStyle.setFont(font);
49. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinBetreuungAN.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

46. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
47. headerStyle.setFillForegroundColor(LAVENDER.index);
48. headerStyle.setFont(font);
49. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelFamilieBetreuung.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

51. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
52. headerStyle.setFillForegroundColor(LAVENDER.index);
53. headerStyle.setFont(font);
54. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinZahlungenRD.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

45. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
46. headerStyle.setFillForegroundColor(LAVENDER.index);
47. headerStyle.setFont(font);
48. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelBetreuerinnenAN.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

49. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
50. headerStyle.setFillForegroundColor(LAVENDER.index);
51. headerStyle.setFont(font);
52. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelReport.java

sets the

67. XSSFCellStyle style = dataSheet.getWorkbook().createCellStyle();
68. style.setFont(font);
69.   style.setFillForegroundColor(IndexedColors.ORANGE.getIndex());
70.   style.setFillPattern(CellStyle.SOLID_FOREGROUND);

ExcelBetreuerinnen.java

create a new ctworkbook with all values set to default

47. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
48. headerStyle.setFillForegroundColor(LAVENDER.index);
49. headerStyle.setFont(font);
50. headerStyle.setAlignment(HorizontalAlignment.CENTER);

ExcelFamilieZahlungenB.java

create a new color scale / gradient formatting object if it does not exist , otherwise just return the existing object .

47. XSSFCellStyle headerStyle = xssfWorkbook.createCellStyle();
48. headerStyle.setFillForegroundColor(LAVENDER.index);
49. headerStyle.setFont(font);
50. headerStyle.setAlignment(HorizontalAlignment.CENTER);

XLColorTest.java

creates the

45. XSSFCellStyle cellStyle = sheet.getRow(0).getCell(0).getCellStyle();
49.     System.out.println("Found cellstule with index " + i + " vs. " + cellStyle.getIndex());
51. System.out.println("Fill ID: " + cellStyle.getCoreXf().getFillId());
56.   XSSFCellFill fill = stylesSource.getFillAt(cellStyle.getIndex()+1);
59.     System.out.println("Index: " + cellStyle.getIndex() + " "+ fill.getFillBackgroundColor().getARGBHex());
62.   System.out.println("Index: " +cellStyle.getIndex() + " "+ fill.getFillForegroundColor().getARGBHex());

WriteExcelBook.java

create the . @ param data the byte array to be used by the to this

326. XSSFCellStyle cs = this.wb.createCellStyle();
327.   cs.setWrapText(true);
328.   cs.setBorderBottom(XSSFCellStyle.BORDER_THIN);
329.   cs.setBottomBorderColor(IndexedColors.BLACK.getIndex());
330.   cs.setBorderLeft(XSSFCellStyle.BORDER_THIN);
331.   cs.setLeftBorderColor(IndexedColors.BLACK.getIndex());

CellRenderer.java

set a boolean value for the property specifying whether to use italics or not if omitted , the default value is true . @ param to use

221. XSSFCellStyle xssfCellStyle = (XSSFCellStyle) cellStyle1;
223. if (xssfCellStyle.getBorderTop()!=BorderStyle.NONE) {
224.   topBorder = BorderFactory.createMatteBorder(getThickness(cellStyle1.getBorderTop()), 0, 0, 0, awtColor(xssfCellStyle.getTopBorderXSSFColor(), java.awt.Color.BLACK));
227.   bottomBorder = BorderFactory.createMatteBorder(0, 0, getThickness(cellStyle1.getBorderBottom()), 0, awtColor(xssfCellStyle.getBottomBorderXSSFColor(), java.awt.Color.BLACK));
231.   leftBorder = BorderFactory.createMatteBorder(0, getThickness(cellStyle1.getBorderLeft()), 0, 0, awtColor(xssfCellStyle.getLeftBorderXSSFColor(), java.awt.Color.BLACK));
234.   rightBorder = BorderFactory.createMatteBorder(0, 0, 0, getThickness(cellStyle1.getBorderRight()), awtColor(xssfCellStyle.getRightBorderXSSFColor(), java.awt.Color.BLACK));

WriteExcelBook.java

sets the height of the in points . @ param height 0 in points

309. XSSFCellStyle cs = this.wb.createCellStyle();
310.   cs.setWrapText(true);
313.   cs.setBorderBottom(XSSFCellStyle.BORDER_THIN);
314.   cs.setBottomBorderColor(IndexedColors.BLACK.getIndex());
315.   cs.setBorderLeft(XSSFCellStyle.BORDER_THIN);
316.   cs.setLeftBorderColor(IndexedColors.BLACK.getIndex());
317.   cs.setFillForegroundColor(color);
318.   cs.setFillPattern(XSSFCellStyle.SOLID_FOREGROUND);   
321.   cs.setFont(font);

StyleManagerXUtils.java

set a boolean value for the cell @ param value the boolean value to set this cell to . for formulas we ‘ ll set the precalculated value , for booleans we ‘ ll set its value . for other types we will change the cell to a boolean cell and set its value .

128. XSSFCellStyle xStyle = (XSSFCellStyle)style;
135.     xStyle.setBorderTop(xBorderStyle);
136.     xStyle.setTopBorderColor(xBorderColour);
140.     xStyle.setBorderLeft(xBorderStyle);
141.     xStyle.setLeftBorderColor(xBorderColour);
145.     xStyle.setBorderRight(xBorderStyle);
146.     xStyle.setRightBorderColor(xBorderColour);
150.     xStyle.setBorderBottom(xBorderStyle);
151.     xStyle.setBottomBorderColor(xBorderColour);

StyleManagerXUtils.java

set a boolean value for the cell @ param value the boolean value to set this cell to . for formulas we ‘ ll set the precalculated value , for booleans we ‘ ll set its value . for other types we will change the cell to a boolean cell and set its value .

141. XSSFCellStyle xStyle = (XSSFCellStyle)style;
148.     xStyle.setBorderTop(xBorderStyle);
149.     xStyle.setTopBorderColor(xBorderColour);
153.     xStyle.setBorderLeft(xBorderStyle);
154.     xStyle.setLeftBorderColor(xBorderColour);
158.     xStyle.setBorderRight(xBorderStyle);
159.     xStyle.setRightBorderColor(xBorderColour);
163.     xStyle.setBorderBottom(xBorderStyle);
164.     xStyle.setBottomBorderColor(xBorderColour);

WriteExcelBook.java

. xlsx this method should be in the get of @ param < code > true < / code > if the number throws < code > a sheet < / code > otherwise

337. XSSFCellStyle cs = wb.createCellStyle();
338.   cs.setWrapText(true);
341.   cs.setBorderBottom(XSSFCellStyle.BORDER_THIN);
342.   cs.setBottomBorderColor(IndexedColors.BLACK.getIndex());
343.   cs.setBorderLeft(XSSFCellStyle.BORDER_THIN);
344.   cs.setLeftBorderColor(IndexedColors.BLACK.getIndex());
345.   cs.setFillForegroundColor(color);
346.   cs.setFillPattern(XSSFCellStyle.SOLID_FOREGROUND);   
350.   cs.setFont(font);