I want to check for a presentation if it is of type pptm, but SourceFormat has no Pptm type,
is there any other method to check it?
IPresentation presentation = new Presentation(inputPath);
int retval = 0;
switch (presentation.getSourceFormat()) {
case SourceFormat.Ppt:
retval = SaveFormat.Ppt;
break;
case SourceFormat.Pptx:
retval = SaveFormat.Pptx;
break;
case SourceFormat.Odp:
retval = SaveFormat.Odp;
}
}
Thanks