python-pptx
python-pptx copied to clipboard
Create Open XML PowerPoint documents in Python
I wonder how to get the digit auto_number from text_frame ? I could only get text following the auto_number from paragraph.text. Below pictures are examples:
Hi, Tried below way to add screentip to shape. Able to add a link but not ScreenTip. The Hyperlink object shows only below attributes, whereas document says otherwise. ```python ['ScreenTip',...
#508 issue implemented in this PR. kindly review it.
I can only get left, top coordinate of the shape itself, but how could I get the coordinate of a single character inside? not the position of its index of...
I'm trying to merge 2 simple presentations together with the following code: ``` python prs1 = Presentation(ppt1_filepath) prs2 = Presentation(ppt2_filepath) for slide in prs2.slides: sl = prs1.slides.add_slide(prs1.slide_layouts[1]) sl.shapes.title.text = slide.shapes.title.text...
I am working on a Python script that generates a PowerPoint presentation with a table containing tickers. I am using the python-pptx library for this task. However, I am facing...
I have a shape with with w and height h. The size of the first word in the text when rendered with the maximum allowed text size is bigger than...
I have written a code that takes several pictures from a folder and collates them into a company-specific PowerPoint template. Within the code, I am indicating the location of the...
Hi! I've just started having an issue with the library when it comes to just accessing slides. textbox = pres.slides[0].shapes.add_textbox(Cm(0), Cm(0), Cm(19.25), Cm(5.5)) It has been working perfectly fine, yet...
For a `Slide` object ` follow_master_background` is not settable - despite the docs saying it should be. My use case is adding a "pseudo background" i.e. a shape at the...