We have currently started to upgrade from Slides 8.2.0 to 14.6.0.
Hopefully anyone can help us with the the first issue we came across:
We were using the connector available in the non ‘ex’ version of the classes, using ConnectorType.Elbow, ConnectorType.Straight and ConnectorType.Curve constants
The ConnectorType is not available any more.
It seems from the method adding the connector to the slides, the general ShapeType constants have replaced them. Which are the equivalents of the former ConnectorType ones?
So far I did not find much detailed information at aspose.com about upgrading. Please point me to where issues like these are elaborated in some detail.
I do have code like this. Using addConnector this way does have a problem though with negative width and height. This causes errors when opening in PowerPoint. If I know the (approximate) coordinates of Begin and End of the Connector, how do I handle the cases where it does not direct from left to right and from up to down?
Yet I do need to set the correct coordinates using addConnector, since it is possible to define Begin and End with:
…
connector.setStartShapeConnectedTo(shapefrom);
connector.setStartShapeConnectionSiteIndex(0);
connector.setEndShapeConnectedTo(shapeto);
connector.setEndShapeConnectionSiteIndex(2);
…
Provided that at least width and height are not negative in the addConnector call, this produces a diagram I can open in PowerPoint. (see attached demo_1.1_default.pptx)
It does not show the connectors as specified between the shapes, but with the coordinates given in the addConnector call. However: whenever I move a shape using PowerPoint, the connectors to and from this shape are redrawn correctly! (see result after moving all shapes a litte in demo_1.1_default_touched.pptx)
What can I do to have it displayed correctly without moving the shapes in PowerPoint?
I decided to write a simple JUnit test and added it as a .txt file. (cannot upload .java)
In addition I added my output.
It does show a connector but this ‘jumps’ into its proper form only after a change in position of one of the rectangles. Just for reference I include screenshots of the output opened in PowerPoint before and after the change in position
I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: SLIDESJAVA-34546. You will be notified via this forum thread once the issue gets resolved.
This issue is a showstopper for us. We are in the process of adding functionality but decided to upgrade first from 8.x. Can you please inform us on the progress?
The issue is scheduled for fixing in Aspose.Slides for Java v14.9.0. Once the issue gets resolved and the said version gets released, you will be notified via this forum thread.
I have verified the status of your reported issue and the issue has not be fixed yet and is rescheduled to be fixed in Aspose.Slides for Java v14.12.0 due to the scheduling of some high priority issue. Once we have any update, we will let you know via this thread.
I have checked the status of the issue in our issue tracking system and the issue is currently scheduled to be fixed in Aspose.Slides for Java v15.3.0 to be released by end of March 2015. We will update you in case there is any change in the plan regarding your reported issue.
I like to share the connectors layouting is unavailable in Aspose.Slides for Java 15.x.x series at the moment. We are working over providing the support for connectors and their joining in the new API. If you go for enterprise support for this issue then things may get expedited but the hotfix will only be possible if the feature implementation takes place, which is blocked at the moment.