Steps to Convert ONETOC2 to PDF
Aspose.Note for Java is an API to process, view or convert Microsoft OneNote files to PDF, JPG, PNG, BMP and TIFF image formats. It is a stand alone, user-friendly and fast application API and does not need any additional software. It supports .one and .onenote extensions with high-performance conversion.Get Started with Java OneNote API
Aspose.NOTE for .NET is supported on all major operating systems. Just make sure that you have the following prerequisites.
- You can easily use Aspose.Note for Java directly from a Aspose Maven Repository based project and include libraries in your pom.xml.
- Alternatively, you can get a ZIP file from downloads.
Steps to Convert ONETOC2 to PDF using Java
Aspose.NOTE makes it easy for the developers to load & convert ONE files to BMP in just a few lines of code.
- Load ONE file with Document class
- Create ImageSaveOptions object with SaveFormat.PDF as parameter.
- Call the Document.Save method
ONETOC2 What is ONETOC2 File Format
Those who have worked with Microsoft OneNote application may have noticed the presence of .onetoc2 files in the notebook folder. Microsoft OneNote creates binary .onetoc2 file as Table of Contents for keeping an index about the ordering of different note-taking sections in a notebook. A notebook is a collection of section files that are stored in the same directory. The .onetoc2 file uses a collection of properties to specify settings such as order of sections within the notebook and the color of the notebook.
PDF What is PDF File Format
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. PDF files can be opened in Adobe Acrobat Reader/Writer as well in most modern browsers like Chrome, Safari, Firefox via extensions/plug-ins. Most of the commercially available software suites also offer conversion of their documents to PDF file format without the requirement of any additional software component. Thus, PDF file format has full capability to contain information like text, images, hyperlinks, form-fields, rich media, digital signatures, attachments, metadata, Geospatial features and 3D objects in it that can become as part of source document.
Other Supported ONETOC2 Conversions using Java
You can also convert ONETOC2 to many other file formats: