I currently have a ppt template that i read using aspose slides and then modified the template using the JAVA API's and finally I create a new ppt file. The problem is that I'm the only person that can open the final(output file) without any problem, any other developer will get a power point error trying to open the file. After a lot of testing and diggin, the problem is setting internal links in my presentation. If i only set ONLY one link then there's no problem but if i set more than one link then the other developers can't open the file but I still can.
Here is the scenario:
(Just to make it simple I did the following test)
-In my template I have 3 slides
-the 1st slide only contains 2 callouts
- 2nd and 3rd only a tittle
-Then programmatically I set some text to the callouts and add the links
**I'm including the template and the output file as an attachment**
What is really weird is that I'm only person that can open the file without any problems even if any other developer runs the same code and generates a new output file they can open it.
Here's the java method to add the links
/**
* @param shape to add the link
* @param slide the slide to link to
*/
private void setInternalShapeLink(Shape shape, Slide slide)
{
TextFrame tf = shape.getTextFrame();
tf.clearLink();
Link link = tf.addLink();
link.setInternalHyperlink(slide);
}
We really need the links functionality in our project, any help would be great!
Thanks!