Skip to content

Commit 6c604cb

Browse files
committed
Updated sources
1 parent 012c6c8 commit 6c604cb

93 files changed

Lines changed: 3130 additions & 884 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2003-2020 Aspose Pty Ltd
3+
Copyright (c) 2003-2019 Aspose Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 48 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,28 @@
1-
![](https://img.shields.io/badge/api-v2.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java)](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java/blob/master/LICENSE)
1+
# GroupDocs.Annotation Cloud SDK for Java
22

3-
# Annotate Documents in Java with REST API
3+
This repository contains GroupDocs.Annotation Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Annotation Cloud REST APIs in your Java applications.
44

5-
[GroupDocs.Annotation Cloud SDK for Java](https://products.groupdocs.cloud/annotation/java) wraps GroupDocs.Annotation RESTful APIs so you may integrate Document Annotation features in your own Java apps with zero initial cost.
6-
7-
The solution helps in applying annotations, sticky notes, watermark overlays, redactions, text replacements and markups to documents, presentations, emails, spreadsheets, PDF, images other file formats.
8-
9-
## Annotate Documents & Images in the Cloud
10-
11-
- Import document annotations.
12-
- Add or remove annotations.
13-
- Export annotated document back to its original format.
14-
- Preview document pages as images.
15-
- Fetch document information, such as, page count & file size.
16-
17-
Check out the [Developer's Guide](https://docs.groupdocs.cloud/annotation/developer-guide/) to know more about GroupDocs.Annotation REST API.
18-
19-
## Microsoft Office Formats
20-
21-
**Microsoft Word:** DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF\
22-
**Microsoft Excel:** XLS, XLSX\
23-
**Microsoft PowerPoint:** PPT, PPTX, PPSX\
24-
**Microsoft Visio:** VSSX, VSS, VSSM, VDX, VSD, VSDX, VSDM, VSTM, VSX, VTX\
25-
**Microsoft Outlook:** EML, EMLX, MSG
26-
27-
## Other Document Formats
28-
29-
**Portable:** PDF\
30-
**OpenDocument:** ODT, OTT, ODP, OTP\
31-
**Images:** BMP, PNG, JPG, JPEG, TIFF, TIF, GIF\
32-
**Web:** MHTML\
33-
**Others:** TXT
34-
35-
## Get Started with GroupDocs.Annotation Cloud SDK for Java
36-
37-
First create an account at [GroupDocs for Cloud](https://dashboard.groupdocs.cloud/) and get your application information. Next, follow the installation steps to get started.
38-
39-
### Requirements
5+
## Requirements
406

417
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
428

43-
### Installation
9+
## Installation
4410

45-
Simply execute the following to install the API client library at your local Maven repository:
11+
To install the API client library to your local Maven repository, simply execute:
4612

4713
```shell
4814
mvn install
4915
```
5016

51-
Configure the settings of the repository and execute the following to deploy it to a remote Maven repository instead:
17+
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
5218

5319
```shell
5420
mvn deploy
5521
```
5622

5723
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
5824

59-
#### Maven
25+
### Maven users
6026

6127
Add following repository and dependency to your project's POM
6228

@@ -72,12 +38,12 @@ Add following repository and dependency to your project's POM
7238
<dependency>
7339
<groupId>com.groupdocs</groupId>
7440
<artifactId>groupdocs-annotation-cloud</artifactId>
75-
<version>20.10</version>
41+
<version>21.2</version>
7642
<scope>compile</scope>
7743
</dependency>
7844
```
7945

80-
#### Others
46+
### Others
8147

8248
At first generate the JAR by executing:
8349

@@ -87,32 +53,55 @@ mvn package
8753

8854
Then manually install the following JARs:
8955

90-
* target/groupdocs-annotation-cloud-20.10.jar
56+
* target/groupdocs-annotation-cloud-21.2.jar
9157
* target/lib/*.jar
9258

93-
## Delete Document Annotations via Java
59+
## Getting Started
60+
61+
Please follow the [installation](#installation) instruction and execute the following Java code:
9462

9563
```java
9664

97-
// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
98-
String MyClientId = "";
99-
String MyClientSecret = "";
65+
import com.groupdocs.cloud.annotation.client.*;
66+
import com.groupdocs.cloud.annotation.model.*;
67+
import com.groupdocs.cloud.annotation.api.AnnotateApi;
10068

101-
// Create instance of the API
102-
Configuration configuration = new Configuration(MyClientId, MyClientSecret);
103-
AnnotateApi apiInstance = new AnnotateApi(configuration);
69+
import java.io.File;
70+
import java.util.*;
10471

105-
String filePath = "filePath_example"; // String | Document path in storage
106-
apiInstance.deleteAnnotations(filePath);
72+
public class AnnotateApiExample {
73+
74+
public static void main(String[] args) {
75+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
76+
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
77+
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
78+
79+
AnnotateApi apiInstance = new AnnotateApi(appSid, appKey);
80+
AnnotateOptions options = new AnnotateOptions(); // AnnotateOptions | Annotation options
81+
try {
82+
AnnotationApiLink result = apiInstance.annotate(options);
83+
System.out.println(result);
84+
} catch (ApiException e) {
85+
System.err.println("Exception when calling AnnotateApi#annotate");
86+
e.printStackTrace();
87+
}
88+
}
89+
}
10790

10891
```
10992

110-
## GroupDocs.Annotation Cloud SDKs in Popular Languages
93+
## Licensing
94+
95+
All GroupDocs.Annotation Cloud SDKs are licensed under [MIT License](LICENSE).
96+
97+
## Resources
11198

112-
| .NET | Java | PHP | Python | Ruby | Node.js |
113-
|---|---|---|---|---|---|
114-
| [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-dotnet) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-php) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-python) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby) | [GitHub](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-node) |
115-
| [NuGet](https://www.nuget.org/packages/GroupDocs.Annotation-Cloud/) | [Maven](https://repository.groupdocs.cloud/webapp/#/artifacts/browse/tree/General/repo/com/groupdocs/groupdocs-annotation-cloud) | [Composer](https://packagist.org/packages/groupdocscloud/groupdocs-annotation-cloud) | [PIP](https://pypi.org/project/groupdocs-annotation-cloud/) | [GEM](https://rubygems.org/gems/groupdocs_annotation_cloud) | [NPM](https://www.npmjs.com/package/groupdocs-annotation-cloud) |
99+
+[**Website**](https://www.groupdocs.cloud)
100+
+[**Product Home**](https://products.groupdocs.cloud/annotation/cloud)
101+
+[**Documentation**](https://docs.groupdocs.cloud/annotation/)
102+
+[**Free Support Forum**](https://forum.groupdocs.cloud/c/annotation)
103+
+[**Blog**](https://blog.groupdocs.cloud/category/groupdocs-annotation-cloud-product-family)
116104

117-
[Home](https://www.groupdocs.cloud/) | [Product Page](https://products.groupdocs.cloud/annotation/java) | [Documentation](https://docs.groupdocs.cloud/annotation/) | [Live Demo](https://products.groupdocs.app/annotation/total) | [API Reference](https://apireference.groupdocs.cloud/annotation/) | [Code Samples](https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples) | [Blog](https://blog.groupdocs.cloud/category/annotation/) | [Free Support](https://forum.groupdocs.cloud/c/annotation) | [Free Trial](https://dashboard.groupdocs.cloud)
105+
## Contact Us
118106

107+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/annotation).

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>groupdocs-annotation-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-annotation-cloud</name>
8-
<version>20.10</version>
8+
<version>21.2</version>
99
<url>https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java</url>
1010
<description>Java library for communicating with the GroupDocs.Annotation Cloud API</description>
1111
<scm>

resources/input/input.docx

50.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)