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

Free Support Forum - aspose.com

CellsHelper.DetectFileFormat

Hi,

I'm currently evaluating Aspose.Cells V4.8.0.0.

I trying to convert a file to PDF, before loading the file in to the Workbook I make sure that Cells is able to process the file by calling CellsHelper.DetectFileFormat.

When you supply the CellsHelper.DetectFileFormat method with a MSG file then you receive a FileFormatType.Default value. Is this correct or should you receive a FileFormatType.Unkown.

Kind Regards Ibbe

Hi,

Thanks for pointing it out.

Well, generally, you are rightly saying. Since MSG is not the native excel file format type, so it should not return Excel2003 as default file format type while using CellsHelper.DetectFileFormat(msgfilepath) rather Unknown looks more suitable.

Anyways, we will further analyze which way it should be done, whether we should retain as it is or according to your suggestion or else. We will get back to you soon.

Thank you.

I would like to point out that the ppt extension is producing the same problem.

Kind regards, Ibbe

Hi,

Thanks for pointing it out.

You are right as we tested. We will get back to you soon.

Thank you.

Hi,

As per your suggestion, we will return Unkown if the file format is ppt or MSG for your requirement. A supported version would be provided to you as soon as it is supported.

Thank you.

Hi,

Please try the attached version. We have fixed it.

Thank you.