poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48245] New: TableCell.text() returns the texts in itself and the next cell
Date Fri, 20 Nov 2009 00:43:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48245

           Summary: TableCell.text() returns the texts in itself and the
                    next cell
           Product: POI
           Version: 3.5-FINAL
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: jerry_soung@yahoo.com


Created an attachment (id=24569)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24569)
The test document which contains a test table

Steps to Reproduce:

With the attached Word document, use the TableIterator to build the table. 
Then walk through the table to print out the cell content (TableCell.text),
yields the following result:

Actual Results:

0,0: Row 1/Cell 1Row 1/Cell 2
0,1: Row 1/Cell 2Row 1/Cell 3
0,2: Row 1/Cell 3

1,0: Row 2/Cell 1Row 2/Cell 2
1,1: Row 2/Cell 2Row 2/Cell 3
1,2: Row 2/Cell 3

2,0: Row 3/Cell 1Row 3/Cell 2
2,1: Row 3/Cell 2Row 3/Cell 3
2,2: Row 3/Cell 3

Expected Results:

0,0: Row 1/Cell 1
0,1: Row 1/Cell 2
0,2: Row 1/Cell 3

1,0: Row 2/Cell 1
1,1: Row 2/Cell 2
1,2: Row 2/Cell 3

2,0: Row 3/Cell 1
2,1: Row 3/Cell 2
2,2: Row 3/Cell 3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message