python-pptx
python-pptx copied to clipboard
Create Open XML PowerPoint documents in Python
Hello, I'm creating a textbox and I want it to be sized so it fits the whole text in the TextFrame. I'm doing the following code: ``` textbox = slide.shapes.add_textbox(0,...
from pptx import Presentation from reportlab.lib.pagesizes import letter from reportlab.pdfgen import canvas from io import BytesIO # Load the PowerPoint presentation pptx_file = "Hoc_ngu_phap_tieng_Nhat_Minna_no_Nihongo.pptx" prs = Presentation(pptx_file) # Create PDF...
It would be nice to be able to change the bullet point formatting on a run or paragraph level. I would like to be able to have select text on...
It is extremely frustrating to use this package with no type hints and no pylance support. I have no idea why we need one time read only objects. The cause...
Need to provide color and other formatting to the minor gridlines in the charts
On a slide that has no notes -------------------------------- notes_slide: background: element: name: '' notes_placeholder: notes_text_frame: part: placeholders: shapes: part: On a slide with an existing note ----------------------------------- notes_slide: background: element:...
ValueError: value must be in range 256 to 2147483647 inclusive, got 2147483648 - when adding slide
Hello and first of all, thank you for the great work on this library which helps me a ton ! I'm using this library in order to write presentations based...
Hello, I am trying to add different OLE objects into a pptx and I noticed that for example if i use the "standard" way of adding a new xlsx for...
I am writing a script to extract the text content in pptx files and translate it into other languages. The problem I encountered is that when the translated text in...