Issue 90890 - merging cells in a table
Summary: merging cells in a table
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 15:35 UTC by jeromec
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
writer file created with the 2.0 version (8.45 KB, application/vnd.oasis.opendocument.text)
2008-06-19 15:59 UTC, jeromec
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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