I'm trying to edit links in the document. Every possible place:
- textual link (not hyperlinked text)
- hyperlinked text
- hyperlinks attached to images
- links in comments
I've found this thread, but it's only for getting comment's info. I haven't found how to edit comments using pywin32. Since comment's Text is a property, and I haven't see any methods or even private variables to work with comment's text.
In general I'm working with python-pptx, but it seems it doesn't have any comments support. Does anyone know the solution? I faced the same problem with docx files (python-docx also doesn't have comments support), but I've found a "bayoo-docx" fork which adds comments support to python-docx library.
I even tried to work with xml directly through ZipFile, but I only was able to find info about comments. Does anyone have an ideas how to edit them? Again, the main goal is replace links. I mean their textual representation and "target" - the real urls it's refers to.