presentationEx Slides.AddClone of PPT slide uses incorrect font size for slide text

Converting a PPT into a PPTX using

Dim DestinationPresentation As New Aspose.Slides.Pptx.PresentationEx

Dim SourcePresentation As Aspose.Slides.Pptx.PresentationEx

Load a PPT into the SourcePresentation object from a System.IO.MemoryStream

Then, using:

For i As Integer = 0 To SourcePresentation.Slides.Count - 1

DestinationPresentation.Slides.AddClone(SourcePresentation.Slides(i))

Next

The original source presentation has text on a slide as "Arial (Body)" font of size 28.

The resulting destination presentation has text on the slide as "Arial" font of size 32 which bleeds the text off the slide.

Is there anything I can do to ensure that destination uses same formatting as destination?

Note that the larger process here is that we are taking a series of individual presentations and concatenating them all together in a single destination presentation. Kind of a "mass export".

Hi William,


I have tried to observe the issue shared by you. It will be really appreciable if you may please share the source and generated presentations with us along with sample project that you have used to reproduce the issue. Please also mention that which version of Aspose.Slides you are using on your end for investigation.

Many Thanks,

Using Aspose.Slides for .NET 3.5 (version 2012.01.23)

I've attached the ppt file used as source file and the pptx file saved by the code segment below.

Please advise ASAP.

The code segment that reproduces this is as follows:

Dim DestinationPresentation As New Aspose.Slides.Pptx.PresentationEx

Dim SourcePresentation As Aspose.Slides.Pptx.PresentationEx

SourcePresentation = New Aspose.Slides.Pptx.PresentationEx("C:\TMP\test.ppt")

For i As Integer = 0 To SourcePresentation.Slides.Count - 1

DestinationPresentation.Slides.AddClone(SourcePresentation.Slides(i))

Next

If DestinationPresentation.Slides.Count > 1 Then


DestinationPresentation.Slides.RemoveAt(0)

End If

DestinationPresentation.Save(“C:\TMP\test.pptx”, Aspose.Slides.Export.SaveFormat.Pptx)


Hi William,


I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-32907 has been created in our issue tacking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

Any update as to when this might be fixed/addressed in a newer release/patch?

Hi William,


I have verified from our issue tracking system and regret to inform you that issue specified has not yet been resolved. However, I have requested our development team to schedule the issue and share the updates. I will share further information with you as soon as it will be shared by our development team.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-33396) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.