Rendering Apple numbers files
Introduction
Numbers is Apple spreadsheet document format. It can be opened on Mac with Numbers application.
How to convert Apple numbers files
Convert Apple numbers to HTML
To convert Apple numbers files to HTML with GroupDocs.Viewer for Java use following code:
try (Viewer viewer = new Viewer("sample.numbers")) {
HtmlViewOptions options = HtmlViewOptions.forEmbeddedResources("output.html");
viewer.view(options);
}
The following screenshot shows the output HTML file opened in a browser.
Convert Apple numbers to JPG
To convert Apple numbers files to JPG with GroupDocs.Viewer for Java use following code:
try (Viewer viewer = new Viewer("sample.numbers")) {
JpgViewOptions options = new JpgViewOptions("output.jpg");
viewer.view(options);
}
The following screenshot shows the output JPG file opened in a Windows Photo Viewer application.
Convert Apple numbers to PNG
To convert Apple numbers files to PNG with GroupDocs.Viewer for Java use following code:
try (Viewer viewer = new Viewer("sample.numbers")) {
PngViewOptions options = new PngViewOptions("output.png");
viewer.view(options);
}
The following screenshot shows the output PNG file opened in a Windows Photo Viewer application.
Convert Apple numbers to PDF
To convert Apple numbers files to PDF with GroupDocs.Viewer for Java use following code:
try (Viewer viewer = new Viewer("sample.numbers")) {
PdfViewOptions options = new PdfViewOptions("output.pdf");
viewer.view(options);
}
The following screenshot shows the output PDF file opened in an Acrobat Reader.