GroupDocs.Annotation for Java API is a library that allows you to add annotations to PDF, Word and other documents on Mac, Windows or Ubuntu. GroupDocs.Annotation for Java is a native Java API for managing annotations with comprehensive support for creating, adding, editing, deleting, extracting and exporting annotations from images and various other documents. The full list of supported document formats you could see on this page.
This library allows you to work not only with XLS document but also with many other types documents such as Word, Excel, PowerPoint, Outlook emails, Visio, Adobe, OpenDocument, OpenOffice, Photoshop, AutoCad and many others.
The GroupDocs.Annotation for Java API allows you to create and add new notes, edit annotations, extract comments, annotations, and remove them from documents. The library supports 13 different annotation types, including Text, Polyline, Area, Underline, Point, Watermark, Arrow, Ellipse, Text Replacement, Distance, Text Field, Resource Redaction in PDF, HTML, Microsoft Word documents, spreadsheets, diagrams, presentations, drawings, images and many other file formats.
The example (please see below) demonstrates working with XLS document, in this example you could see the main steps of how to work with GroupDocs.Annotation: Setup a license, open a document you want to work with, creating an annotation, adding data objects to set annotation properties according to your requirements and saving the result to the needed place. Also you could have a look more detailed on the supported features on our github page, or in our product documentation.
GroupDocs.Annotation makes it easy for Java developers to add various annotation types to XLS files within any Java-based application by implementing a few easy steps.
GroupDocs.Annotation for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Create an instance of Reply class and add comments Reply firstReply = new Reply(); firstReply.setComment("First comment"); firstReply.setRepliedOn(Calendar.getInstance().getTime()); Reply secondReply = new Reply(); secondReply.setComment("Second comment"); secondReply.setRepliedOn(Calendar.getInstance().getTime()); List<Reply> replies = new ArrayList<Reply>(); replies.add(firstReply); replies.add(secondReply); // Create an instance of AreaAnnotation class and set options AreaAnnotation area = new AreaAnnotation(); area.setBackgroundColor(65535); area.setBox(new Rectangle(100, 100, 100, 100)); area.setCreatedOn(Calendar.getInstance().getTime()); area.setMessage("This is area annotation"); area.setOpacity(0.7); area.setPageNumber(0); area.setPenColor(65535); area.setPenStyle(PenStyle.Dot); area.setPenWidth((byte) 3); area.setReplies(replies); // Create an instance of Annotator class Annotator annotator = new Annotator("input.bmp"); // Add annotation annotator.add(area); // Save to file annotator.save("output.bmp"); annotator.dispose();
Create and add annotations to XLS file right now by visiting GroupDocs.Annotation Live Demos website. The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Data is stored and displayed to users in table format in worksheet and can span numeric values, text data, formulas, external data connections, images, and charts. Applications like Microsoft Excel lets you export workbook data to several different formats including PDF, CSV, XLSX, TXT, HTML, XPS, and several others. The XLS file format was replaced with a more open and structured format, XLSX, with the release of Microsoft Excel 2007. The latest versions still provide support for creating and reading XLS files, though XLSX is the first choice of use now.Read More About XLS File Format
Java annotations editor API for documents and image formats. Update annotation properties from some of the popular file formats as stated below.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Word Open XML Document Template)
(Rich Text Document)
(Open Document Text)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Worksheet)
(Open Document Spreadsheet)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(Microsoft PowerPoint 97-2003 Slide Show)
(HyperText Markup Language)
(Tagged Image File Format)
(Portable Network Graphic)
(Microsoft Outlook E-mail Message)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2013 Stencil)
(Autodesk Design Data Formats)
(AutoCAD Drawing Interchange)
(Digital Imaging and Communications in Medicine)
(Enhanced Metafile Format)