Apache poi,加载时单元格丢失。

huangapple go评论77阅读模式
英文:

Apache poi, cells missing when loading

问题

我有一个工作簿,其中单元格A1未显示在工作表中。导致第一个单元格未出现在行单元格集合中的原因是什么?

Apache poi,加载时单元格丢失。

电子表格如下:

Apache poi,加载时单元格丢失。

请注意,58-1所在的单元格之前有5列,工作表结构只有3个单元格。
是什么原因导致poi似乎“跳过”了2个单元格。

英文:

I have a workbook where cell A1 is not appearing in the worksheet. What could be the reason the first cell does not appear in the row cell collection.

Apache poi,加载时单元格丢失。

The spreadsheet

Apache poi,加载时单元格丢失。

Note there are 5 columns before the cell with 58-1 in it, worksheet structure only has 3 cells.
What could be causing poi to apparently 'skip' 2 cells.

答案1

得分: 0

@AxelRichter 我觉得你有点眉目了。这让我再次审视了一下电子表格。我发现了一些隐藏工作表,它们的名称与我“认为”我在处理的内容非常相似。此外,我对poi如何处理合并单元格的有限理解有点误导。这是用户的错误。

英文:

@AxelRichter I think you are on to something. That made me look at the spreadsheet once more. I found a number of Hidden Sheets with a names strikingly similar to what I 'thought' I was processing. Additionally, my limited understanding how poi handles merged cells kinda mis-directed me. User error.

huangapple
  • 本文由 发表于 2020年4月4日 06:52:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/61021571.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定