OneNote Package or OneNote Section


#1
My goal is get jpg preview for OneNote Package format. From the list of formats it is not supported by Aspose. Any way, maybe there is such option or it is planed to implement in the nearest future?

Any way OneNote Package it is MSZip and it contains OneNote Section files with ".one" extentions. Those should be supported, as I understand. I am able to extract and open files with MSOneNote. But it throws
java.lang.NullPointerException
or
This version of file is not supported.
class com.aspose.note.internal.UnsupportedFileFormatException

FileInputStream ins = new FileInputStream("D:\\To Do.one");
on Document doc = new Document(ins);

Is there any way to get OneNote Section works?

example of ".onepkg" and extracted ".one" files http://ge.tt/4pJlbQj2
v16.12.0

#2

Hi,


Thank you for writing to Aspose Support team.

We were able to reproduce the issue at our end and the exception is thrown for the reason that this version of file is not supported. Could you please share the version of Microsoft OneNote with which this file was created? We’ll assist you further accordingly.

#3

After few test I have discovered that resaved file with 2007 OneNote throw both types of errors. Resaved to 2010 works fine. So, 2007 is not supported for now?


#4

Hi,


Yes, you are right. OneNote 2007 file formats are not supported at the moment as you can see in our documentation as well. Providing support for such format is not possible at the moment as there are no open specifications available for this format. We have linked this thread with the logged ticket, NOTENET-480, so that once such format is supported, you’ll be notified here automatically via this thread.

#5

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.