Aspose.Note for Java is a feature-rich OneNote API that enables the Java applications to dynamically interact with OneNote documents without requiring any other software. API empowers the developers to create, read, manipulate and export the contents of the Microsoft OneNote file format. The API also allows managing attachments, text, hyperlinks, tables, tags and text styles.
The OneNote API is easy to use, saves time, and developers can create robust solutions with less code. On top of it, it is a standalone component that does not require any other tools or software to work with OneNote files.
At a Glance
An overview of the capabilities of API.
- Rich Text
- Render Complete File
- Render Specific Part of File
- Extract Text & Images
- Access Positioning Information
- Access Formatting Information
- Add & Modify Text
- Insert Image
- Add & Modify Graphical Elements
Aspose.Note for Java supports the JDK 1.7 and above.
- JSP/JSF Application
- Desktop Application
Supported File Formats
API supported file formats including OneNote native and raster image formats are listed below.
- Microsoft OneNote: ONE
- Fixed Layout: PDF
- Web: HTML
- Images: GIF, JPEG, PNG, BMP, TIFF, GIF
Advanced Java OneNote Library Features
Convert OneNote document to PDF while preserving image hyperlinks
Convert OneNote file to image
Save the file to stream
Retrieve attached files as well as extract images
Add hyperlinks to document
Extract text from the table of document
Get Outlook tasks details from OneNote document
Replace text from pages
Provision to set locales
Add support for images hyperlinks during PDF conversion
Add option to compress pictures while converting to PDF
Save to file as well as stream in html format
Render OneNote Files to PDF & Image Formats
Using API, developers can open ONE files and export them to PDF and popular image formats including BMP, JPEG, PNG, GIF and TIFF, with high fidelity.
Save file in various formats - Java
// load the file for conversion Document onedct= new Document(dir + "template.one"); // Convert ONE to PDF, JPEG and TIFF onedct.save(dir + "output.pdf", SaveFormat.Pdf); onedct.save(dir + "output.jpg", SaveFormat.Jpeg); onedct.save(dir + "output.tiff", SaveFormat.Tiff);
Accessing Data from Files
Aspose.Note for Java allows loading OneNote documents in your Java Desktop and Web applications thus allowing you to access the data for different objects like pages, text, images, tables, attachments, tags and so on.
Print OneNote Documents with Ease
API supports printing OneNote files using different options. One can print with a specific job name or selecting a range of pages for printing or print using the default settings.
Print file to default printer - Java
// load the document for printing Document onedct = new Document(dir + "template.one"); // print to default printer onedct.print();