Text being offset in cloned slides

Hello!

I'm using Aspose.Slides.Java to concatenate several input PPTs into a single output PPT. It's working great except for a couple of tiny things, which I'm posting as two separate messages (this is the second).

The problem is that all non-horizontal text is being moved from its original position when slides are cloned. That is, text which goes up at a 60-degree or 90-degree angle, for example, gets moved several pixels in both x and y directions, sometimes even halfway across the slide. What causes this and how can I prevent it?

(This issue is actually much more important than the previous one I posted, which only was an issue with Keynote. This issue occurs in PowerPoint so it affects all of our users.)

Cheers,
Justin T. Sampson

Dear Jsampson,

Please provide me your source code and source presentation; I need to look into it and work out your problem.

Okay, here are some examples. The attached file contains the code as well as examples (both input and output PPTs) for this issue and the other one I posted. Thanks!

Dear jsampson,

Thanks for considering Aspose.Slides for Java.

I have tested the problem when text is offset during clone slide. This bug will be fixed as soon as possible.

For the other problem, I can see all the drawings intact in MS-PowerPoint on Windows XP. But I am not sure about Keynote on Mac OS. I am also not sure that it should work fine other than Ms-PowerPoint. However, I will ask and confirm it and post here again to inform you.

Hi Shakeel,

Thanks for your quick response! I look forward to the fixes.

Cheers,
Justin

Dear Justin,

This problem has been fixed in Aspose.Slides for Java in version 1.7.1.0 and later. Please download them from here.

Hi Shakeel,

Thank you very much! We’ve just installed the latest version and it looks much better. However, it’s not totally correct yet… Please see the attached example. The displacement of the text in the X direction has been fixed, but it’s still displaced noticeably in the Y direction.

Thanks again,
Justin

Dear Justin,

I couldn't reproduce the problem stated by you. I have cloned from input.ppt and generated output2.ppt using Aspose.Slides for Java 1.7.2.0 and output4.ppt using Aspose.Slides for Java 1.7.4.0

Please see the attached presentations, here is my code.

***********************************************

Presentation srcPres=new Presentation(new FileInputStream(new File("c:\\Aspose vertical displacement bug\\input.ppt")));

//Get the first slide
Slide sld=srcPres.getSlideByPosition(1);

Presentation outPres=new Presentation();
Slide dstSld=outPres.getSlideByPosition(1);
srcPres.cloneSlide(sld,1,outPres,new TreeMap());
outPres.getSlides().remove(dstSld);

outPres.write(new FileOutputStream(new File("c:\\Aspose vertical displacement bug\\output5.ppt")));
************************************************