You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/09/05 08:42:46 UTC

[Bug 61490] New: In a particular document, the cell is missing

https://bz.apache.org/bugzilla/show_bug.cgi?id=61490

            Bug ID: 61490
           Summary: In a particular document, the cell is missing
           Product: POI
           Version: 3.16-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
          Assignee: dev@poi.apache.org
          Reporter: chenyu_eagle@aliyun.com
  Target Milestone: ---

Created attachment 35292
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35292&action=edit
the test code and .doc file

Sorry for my poor english
I'm using Google Translate

I uploaded my test code and test files, see attachment

In this particular case of attachment

   table.numRows() return  4  (actually, it should be 3)

  and the  row.numCells()  at row[2] ,return 2 

  so, the last cell of table (cell value is  33) is missing

But, 
  if you insert a space or whatever character before the last cell of table , 
  then correct !

I tested 3.16 and 3.17-beta1, same results

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61490] In a particular document, the cell is missing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61490

Tim Allison <ta...@mitre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
This _may_ be related to: https://issues.apache.org/jira/browse/TIKA-1194

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61490] In a particular document, the cell is missing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61490

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
This should be fixed via r1866055 in trunk now, it seems Word has some "fake"
cell at the end of tables, but this document does not have one. 

However at least LibreOffice "corrects" this when the document is saved after
any change, but the original document still failed to find this cell, so we now
better check if the last cell should be excluded or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org