I need a new XSSFCellStyleone because I need to change some styles.
XSSFCellStyle
I have only XSSFCellStyle- I do not XSSFCellhave to which it belongs. Thus, I also do not have access to connected XSSFSheetor XSSFWorkbook.
XSSFCell
XSSFSheet
XSSFWorkbook
workbook.createCellStyle()
StylesTable
cellStyle.cloneStyleFrom(XSSFCellStyle Source)
How can i get a new one XSSFCellStyle?
Regards, winklerrr
The method XSSFCellStyleis available . clone()XSSFCellStyleI do not know why, but I did not see him in the first place. My bad.
clone()
- , Excel xls/xlsx, /. , . - , .
-
XSSFCellStyle clone = wb.createCellStyle(); clone.cloneStyleFrom(origStyle);
.
XSSFCellStyle.clone(), , , , , Style, ...
Source: https://habr.com/ru/post/1611558/More articles:OpenStack.Net SDK cannot access a service with a region - c #Running json-server and protractor test for both Windows and Linux - javascriptAuthentication and authorization in Microservices - authenticationDoes performance impact occur when using Guava.Preconditions with concatenated strings? - javaUnable to assign json data in amcharts files - jsonHow to center a logo in an ionic rod - ionicAndroid Studio 1.4 does not allow Android module to depend on Java test modules - android-studioRequest a different collection for different variables in mongoengine and Django - pythonMVP :: event bus pattern instead of listener - javayii2 ActiveRecord findBySql - Содержимое ответа не должно быть массивом Ошибка - activerecordAll Articles