Martin Packer
Martin Packer
My GUESS is it's the `text_frame.clear()` that's resetting to the default for this slide master. And that that is different from what the original paragraphs' runs were using.
Is the term you are replacing always contained within a single run? If not you're going to break whatever (perhaps invisible) formatting variations. (The general "search and replace" question comes...
Place holders must be in the slide master. I don't see how you can remove them in python-pptx. I'm guessing you want to know how to remove them from any...
An easy one to answer - but not the answer you want: python-pptx doesn't render the slides so can't do this. You'd have to automate a screen grab - on...
Hi @Kituva. (I see you've moved this over from Stack Overflow.) There I suggested using a fixed pitch font but I think I have a better idea: You could do...
Right. Cells with invisible boundaries are the way to do that. And "Bottom Fishing" would be spanning more than one cell (column). Unless, that is, you want cells to flow...
My point is - with the function I pointed to - you can control the boundary **lines**, including turning them off - selectively for each side of the cell.
Strange. I cut and pasted the above code (which I recognise from the manual) and ran it. The file produced was perfectly acceptable to PowerPoint (on my Mac).
+1 on wanting a settable timeout. I suspect an os -2 I'm getting is because of a (short) timeout (hard coded) value.
So a `try` / `except` block stops the -2 from crashing the script. I could still use a shorter timeout. My failures are generally because the server I'm GETting from...