Apache OpenOffice (AOO) Bugzilla – Issue 90890
merging cells in a table
Last modified: 2013-02-24 21:09:35 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.
Created attachment 54600 [details] writer file created with the 2.0 version
Reassigned
API stuff.
cn->jeromec: In OOo 3.0 I get the following array: {A1, B1, C1, B2, C2, B3, C3} while merging A1, A2 and A3.
close the WORKSFORME issue