Issue 90890

Summary: merging cells in a table
Product: App Dev Reporter: jeromec <jcouvrat>
Component: apiAssignee: chne
Status: CLOSED IRREPRODUCIBLE QA Contact: issues@api <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
writer file created with the 2.0 version none

Description jeromec 2008-06-19 15:35:03 UTC
Hello,

I would like to report an issue (in my understanding).

In Writer, in a table, I think something wrong with merging cells and get cells
with API.

In my example, consider a table with 3 rows and 3 columns : if I merge first
cells of different columns (A1, B1 and C1 for example), I have a correct merged
cell. But if I merge the 3 cells in a column (A1, A2 and A3 for example), the
merged cell is not correct.

With the API, I can get all table cell addresses by this following code :
myArray=myDoc.TextTables.getByName("MyTable").CellNames

With no merging cells, I have this array {A1, B1, C1, A2, B2, C2, A3, B3, C3}

If I merge A1, B1 and C1, I have this array {A1, A2, B2, C2, A3, B3, C3} => A1,
B1 and C1 are merged in A1, this array is correct

If I merge A1, A2 and A3, I have this array {A1, B1, C1, A2, B2, C2, A3, B3, C3}
=> it's the same array with no merging cells !!! 
With the same code in the Ooo version 2.0.4, I have a correct array {A1, B1.1.1,
B1.2.1, B1.2.2, B1.1.3, B1.2.3)

I think this issue, if it is, can be seen directly in the formatting table with
merging cells : when you merge A1, A2 and A3 and if these cells are not empty,
the text of each cell is on a separated paragraph in the merged cell.
Comment 1 jeromec 2008-06-19 15:59:28 UTC
Created attachment 54600 [details]
writer file created with the 2.0 version
Comment 2 eric.savary 2008-06-19 16:59:24 UTC
Reassigned
Comment 3 joerg.skottke 2008-10-23 14:32:24 UTC
API stuff.
Comment 4 chne 2008-10-27 11:45:47 UTC
cn->jeromec: In OOo 3.0 I get the following array: {A1, B1, C1, B2, C2, B3, C3}
while merging A1, A2 and A3. 
Comment 5 Mechtilde 2008-11-07 20:12:19 UTC
close the WORKSFORME issue