scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.26k stars 499 forks source link

How to judge whether a cell is merged with lower or right cell to convert table to html code incluing rowspan and colspan? #916

Closed nissansz closed 9 months ago

nissansz commented 9 months ago

How to judge whether a cell is merged with lower or right cell to convert table to html code incluing rowspan and colspan?

scanny commented 9 months ago

Have a look at the API documentation for _Cell here: https://python-pptx.readthedocs.io/en/latest/api/table.html#cell-objects

The attributes of interest are: