We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connector_type
Connector
Hi, I'm trying to reproduce shapes in a PPTX file, but I'm encountering an issue with connectors.
Specifically, it seems that the connector type is defined within an XML tag, as shown in the src/pptx/oxml/shapes/connector.py: 64 file:
src/pptx/oxml/shapes/connector.py: 64
f' <a:prstGeom prst="{prst}">\n'
However, in the actual slide XML for a connector, the XML structure looks like this:
self._element.spPr.prstGeom.xml '<a:prstGeom xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" prst="straightConnector1">\n <a:avLst/>\n</a:prstGeom>\n'
It appears that the prst attribute in the a:prstGeom tag is crucial for defining the connector type.
prst
a:prstGeom
This issue seems related to #749, where shape.element.spPr.prstGeom.xml.prst is also causing similar problems.
shape.element.spPr.prstGeom.xml.prst
Could you provide guidance on how to correctly handle this connector type in the XML, or if there's a workaround for this issue?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm trying to reproduce shapes in a PPTX file, but I'm encountering an issue with connectors.
Specifically, it seems that the connector type is defined within an XML tag, as shown in the
src/pptx/oxml/shapes/connector.py: 64
file:f' <a:prstGeom prst="{prst}">\n'
However, in the actual slide XML for a connector, the XML structure looks like this:
It appears that the
prst
attribute in thea:prstGeom
tag is crucial for defining the connector type.This issue seems related to #749, where
shape.element.spPr.prstGeom.xml.prst
is also causing similar problems.Could you provide guidance on how to correctly handle this connector type in the XML, or if there's a workaround for this issue?
Thanks!
The text was updated successfully, but these errors were encountered: