Steve Canny
Steve Canny
@MoritzImendoerffer that looks like the idea. I agree it would be best for this to go upstream in `python-docx`, perhaps as a `Document.accept_all_revisions()` method that would encapsulate the details. I...
Can you be more specific? What minimal code demonstrates this behavior? I happen to be in that neighborhood today so can fix it if it's easy.
What is the problem this causes for you? By default, `lxml` writes the XML declaration with single-quotes, so I'd be inclined to leave things as they are. However if you...
I believe if you remove the slide reference from the presentation element and remove the relationship connecting the slide to the presentation, the slide will get dropped on save. Basically...
@jdgodchaux I think your question might be a good one for Stack Overflow.
@will133 I looked into implementing removal of an object from a collection like that a while back. Can't remember the object off the top of my head, but it was...
I would expect you have some dangling relationship(s) still referring to the old slide. Doing this job cleanly in the general case involves coming to understand the full graph of...
#### A few notes on this for possible use later The basic work of deleting a slide is to remove the relationship to that slide from the presentation part and...
The slide parts in a presentation can be renamed using `PresentationPart.rename_slide_parts()` here: https://github.com/scanny/python-pptx/blob/master/pptx/parts/presentation.py#L99 This is called the first time the `prs.slides` attribute is accessed for a given presentation, such that...
Sorry, not a problem we can help you with but I expect Google knows if you ask it something like "install poppler on Windows 10".