Free Support Forum - aspose.com

Aspose.slides api is not working in GWT project


#1

Hi,

I’m trying to use Aspose.Slides in my GWT project for this I have placed this aspose-slides-18.9-jdk16.jar file under WEB-INF/lib and i tried the below given code but I cannot compile my project and ppt file is not created

      Presentation srcPres = new Presentation("F:\\AsposeSlides\\Src1.pptx");

  	Presentation destPres = new Presentation("F:\\AsposeSlides\\Src2.pptx");
  	ISlideCollection slds = destPres.getSlides();

  	slds.insertClone(2, srcPres.getSlides().get_Item(2));

  	destPres.save("F:\\AsposeSlides\\outputPres.pptx", SaveFormat.Pptx);

Can anyone suggest me an idea to resolve this issue ?


#2

@Divyabharathi,

I have observed your requirements related to configuring Aspose.Slides in GWT project and request you to please provide the sample project along with incurring issue with snapshot. We will investigate that internally on our end based on provided information to help you out.