Open yuratak opened 6 years ago
Although it appears as a separate option in the PowerPoint UI, a connector with arrowheads is not a separate shape type. The line of any shape can have arrowheads.
Line endings such as arrowheads have not been added to the API yet however.
Are there any progress on this feature request? I would be very interested in!
Any progress on this yet? - if not, is there a way to hack the xml through python pptx to get it done? This is urgent. Thanks!
Any progress on this yet? - if not, is there a way to hack the xml through python pptx to get it done? This is urgent. Thanks!
from pptx.oxml import parse_xml
line_elem=connector.line._get_or_add_ln()
line_elem.append(parse_xml("""
<a:tailEnd type="arrow" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"/>
"""))
I'd like to add a left and/or right arrow connector. In Line/Connector Shape API, there is no arrow type MsoConnector.
But in Specimen XML, I see that it's possible to add an arrow connector.
How can I do this ? Thank you.