python-pptx
python-pptx copied to clipboard
Create Open XML PowerPoint documents in Python
Hello, By using fit_text() I have noticed an issue with text containing special chars like "580.9m↓-11.3m592.2m". It causes exception, because self._break_line in layout.py/_wrap_lines returns None, which cannot be unpacked. And...
I am using a doughnut chart in python-pptx; I want to set the datalabels to br away from the chart (exactly 2 inches) as datalabel position is not sufficient, I...
I have a bar chart and I need to put a line border around the data labels. I have read that works for text boxs textbox.line.color.rgb = RGBColor(0x00, 0x16, 0xBC)...
I have a function that is setting the Hyperlink's screen_tip property: ``` cell_link = cell.text_frame.paragraphs[0].add_run() cell_link.text = display_text hlink = cell_link.hyperlink hlink.address = url if screen_tip: print(f"Has a screen_tip: {screen_tip}")...
I've found that some elements that the current library provides functionalities to draw are not extractable from the .pptx file. I would enjoy some symmetry in the functionalities, as I...
during development of visualizations I would like to have a tighter cycle of iteration. I would like the ability to add a slide to a ppt I have open so...
I've a project and one of the requirements is to move a slide from one presentation to another, but i can't to find a solution and i think to doesn't...
The following code creates a connector starting at the top right of a table and ending at a country on a map: ``` def add_connector(slide, end_shape, start_table, is_left_side: bool, header_textbox):...
Hello, I've been using Python-PPTX 0.6.23 for a script that converts excel spreadsheets into PowerPoint tables, with a row and column count that varies depending on the input. Up until...