Skip to content

How to detect merged cells when reading tables #232

Open
@sylvain-bougnoux

Description

@sylvain-bougnoux

Hello, I've created a simple .docx document (Word 2010) with a simple 2x2 table, the 1st col is merged as with:

+---+---+
|   | b |
+ a +---+
|   | c |
+---+---+

When reading this with python the cells (0,0) and (1,0) are different!
How can I detect that they are merged on the original document?
The text of both cell is indeed 'a'. But the 'pointer' are different.
Thanks
Python 2.7, docx 0.85

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions