I am working on an app that will allow the user to upload a presentation, edit it, and then download the final output as another PowerPoint presentation.
I have very unstable behavior for different presentations that I upload:
Sometimes the changed images are blurred (Not sure why?)
Sometimes incorrect shape ids are returned, and therefore I can not merge the changed work with the existing PowerPoint shape.
var shape = (PowerPoint.Shape)item; var shapeid=shape.ID; //this is different from what interop has returned on first presentation read.
Animations are not getting copied properly(sometimes they do sometimes they do not).
newshape.AnimationSettings.EntryEffect = oldshape.AnimationSettings.EntryEffect; newshape.AnimationSettings.AdvanceMode=oldshape.AnimationSettings.AdvanceMode; newshape.AnimationSettings.AdvanceTime=oldshape.AnimationSettings.AdvanceTime; newshape.AnimationSettings.AfterEffect=oldshape.AnimationSettings.AfterEffect; newshape.AnimationSettings.Animate=oldshape.AnimationSettings.Animate; newshape.AnimationSettings.AnimateBackground = oldshape.AnimationSettings.AnimateBackground; newshape.AnimationSettings.TextLevelEffect = PowerPoint.PpTextLevelEffect.ppAnimateByAllLevels; newshape.AnimationSettings.AnimateTextInReverse=oldshape.AnimationSettings.AnimateTextInReverse;
I am aware of the fact that server side automation may have unstable behavior or deadlock. However nothing documents exactly what is unstable about the behavior.
Are these behaviors (above two) in same category or am I missing something here? How can I fix these issues?