[英]excel cell position in java
In one requirement I need to parse a excel file where data can be in cell as well as in row-span and column-span. 在一项需求中,我需要解析一个excel文件,其中数据可以在单元格中以及行跨度和列跨度中。 after parsing I need to create a xml file.
解析后,我需要创建一个xml文件。 witch further needs to be pass as an argument to pre-existing algorithm, which extracts data depending upon some position logic.
还需要将女巫作为现有算法的参数传递,该算法根据某些位置逻辑提取数据。 I need a parser which can extract data with following meta data-- 1-cell position (row, column) 2-row-span and column-span 3-height and width of both
我需要一个可以使用以下元数据提取数据的解析器-1单元格位置(行,列)2行跨度和列跨度3两者的高度和宽度
if possible please help.I am using java. 如果可能的话请帮助。我正在使用Java。 Thanks.
谢谢。
You can try jxl [JExcelApi] library for that. 您可以尝试使用jxl [JExcelApi]库。
There is a getMergedCells method which return Range
reference containing information about merged cell. 有一个getMergedCells方法,该方法返回包含有关合并单元格信息的
Range
引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.