We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Slides SmartArt problem in exporing to any format

We work on software for translators.

Let say we have pptx file with SmartArt frames and with only one slide
When the document is translated we insert translation according to placeholders in \ppt\diagrams\data.xml
for some reason in pptx this textual information is duplicated in drawing
\ppt\diagrams\drawing.xml but we have to keep information in drawings as is.

After we save file we can open it in Power Point and it does show translations
With Slides we open this pptx file and exporting slide by slide to bmp format .
exported pictures shows text from drawing.xml ( not translated)
I wrote a few lines to iterate through Smart Art shapes

foreach (Shape shape in mPresentation.Slides[0].Shapes)
{
if (shape is SmartArt)
{
obj = (SmartArt)shape;
foreach (SmartArtNode node in obj.AllNodes)
{
ITextFrame f = node.TextFrame;
string text = f.Text;
}
}
}
f.Text holds translated text ( from data.xml) which is right

Any suggestion ?



Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

<o:p> </o:p>

Thank you for the details.<o:p></o:p>

<o:p> </o:p>

Please share your template presentation file and generated
image files to help us reproduce the issue at our end. We will check it and get
back to you soon.<o:p></o:p>

<o:p> </o:p>

Thanks & Regards,<o:p></o:p>

Please find enclosed .

tmp409F is a file that was loaded with Aspose with translations.
5t.pptx is an original file
.

I am working with the latest Aspose.Slides released on may 5th 2014 I think.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the template file.

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: SLIDESNET-35363. You will be notified via this forum thread once the issue gets resolved.

Thanks & Regards,

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.