Open
Description
Hi there,
I've been working on the original python-docs module some years ago. I've seen you've done HUGE steps forward meanwhile: thank you for sharing your work.
I am now using this module again and developing some news features in top of it. If you are interested, please let me know and I'll move them to the module itself and send a pull request. At the moment, I have implemented:
- a Table.cells property (easy): returns all UNIQUE cells from a table, useful for iterating (see after)
- a Paragraph.replace() method: given a regex, searches for all the non-overlapping matches and replaces them with the given data, without destroying the "runs" structure: data is replaced in the run(s) it has been found (the first one gets all the data)
- a Document.all_paragraphs method: returns paragraphs even if they are found inside of a table (may not really find all of them)