Hi,
- <span style=“font-size:11.0pt;line-height:115%;
font-family:“Calibri”,“sans-serif”;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:“Times New Roman”;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>When
you try to open regular or password protected (with valid password specified) DOCM,
DOCX, DOTM, DOTX, XLSB, XLSM, XLSX, SLTM, XLTX by Aspose.Slides.Presentation the exception is thrown with the
following message: “Not a Microsoft
PowerPoint 2007 presentation”. It is not possible to get meaningful exception class
name, because it is obfuscated.
It is better to throw PptxUnsupportedFormatException
here? - <span style=“font-size:11.0pt;line-height:115%;
font-family:“Calibri”,“sans-serif”;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:“Times New Roman”;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>When
you try to open password protected POT/PPT files and do NOT specify password,
then PptxUnsupportedFormatException is
thrown with message “Encrypted presentations are not supported”. Would it be
better to throw InvalidPasswordException
here? - <span style=“font-size:11.0pt;line-height:115%;
font-family:“Calibri”,“sans-serif”;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:
Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:“Times New Roman”;mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>When
you try to open password protected POT/PPT files and do specify valid password,
PptxUnsupportedFormatException is
thrown with message “Unknown file format”. So with this Aspose.Slides build we do
not have ability to open password protected POT/PPT files.