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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]