<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-annotation-cloud</artifactId>
    <version>22.2</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-annotation-cloud', version: '22.2')
copied!  
<dependency org="com.groupdocs" name="groupdocs-annotation-cloud" rev="22.2">
    <artifact name="groupdocs-annotation-cloud" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-annotation-cloud" % "22.2"
copied!  

Belge Açıklama Java Cloud REST API

banner

Ürün Sayfası | Belgeler | Canlı Demolar | Swagger UI | Kod Örnekleri | Blog | Ücretsiz Destek | Ücretsiz Deneme

GroupDocs.Annotation Cloud SDK for Java, herhangi bir 3. taraf yazılımı yüklemeden çalışan bulut Document Annotator Java Uygulamaları oluşturmanıza yardımcı olur. GroupDocs.Annotation Cloud REST APIs etrafındaki bir sarmalayıcıdır.

Bulut Belge Ek Açıklama Özellikleri

Desteklenen Bulut Ek Açıklama Türleri

Desteklenen Bulut Ek Açıklama Belge Biçimleri

Microsoft Word®: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
OpenOffice Writer®: ODT, OTT
Microsoft Excel®: XLS, XLSX, XLSB
Microsoft PowerPoint®: PPT, PPTX, PPSX
OpenOffice Impress®: ODP, OTP
Microsoft Visio®: VSD, VDX, VSS, VSDM
Microsoft Outlook®: MSG, EML, EMLX
AutoCAD: CAD
Resimler: DJVU, JPEG, TIFF, BMP, GIF (animasyonsuz statik resimler)
Tıbbi Görüntüleme: DICOM
İşaretleme: HTML, MHTML
Sabit Düzen: PDF
Meta Dosyaları: EMF, WMF

Gereksinimler

API istemci kitaplığının oluşturulması şunları gerektirir:

  1. Java 1.7+
  2. Uzman

Önkoşullar

GroupDocs.Annotation Cloud SDK for Java’yı kullanmak için GroupDocs Cloud ile bir hesap kaydetmeniz ve Cloud Dashboard adresinde İstemci Kimliği ve İstemci Sırrı aramanız/oluşturmanız gerekir. Ücretsiz kontenjan mevcuttur. Daha fazla ayrıntı için bkz. GroupDocs Cloud Pricing.

Maven’den GroupDocs.Annotation-Cloud’u kurun

GroupDocs Cloud deposunu uygulamanıza pom.xml ekleyin

<repository>
    <id>repository.groupdocs.cloud</id>
    <name>repository.groupdocs.cloud</name>
    <url>https://releases.groupdocs.cloud/java/repo/</url>
</repository>

Kaynaktan yükleyin

API istemci kitaplığını yerel Maven deponuza yüklemek için aşağıdakileri yürütmeniz yeterlidir:

mvn clean install

Bunun yerine uzak bir Maven deposuna konuşlandırmak için deponun ayarlarını yapılandırın ve şunu çalıştırın:

mvn clean deploy

Daha fazla bilgi için OSSRH Kılavuzu bölümüne bakın.

Maven kullanıcıları

Bu bağımlılığı projenizin POM’una ekleyin:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-annotation-cloud</artifactId>
    <version>22.2</version>
    <type>pom</type>
</dependency>

Diğerleri

İlk önce aşağıdakileri yürüterek JAR’ı oluşturun:

mvn clean package

Ardından aşağıdaki JAR’ları manuel olarak kurun:

  • target/groupdocs-annotation-cloud-22.2.jar
  • target/lib/*.jar

Başlamak

Lütfen Hızlı Başlangıç talimatlarını uygulayın.

Nokta Açıklama Eklemek için Örnek Java Kodu

// For complete examples and data files, please go to https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-java-samples
String MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
  
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
  
AnnotateApi apiInstance = new AnnotateApi(configuration);
 
// Create annotation/s.
AnnotationInfo[] annotations = new AnnotationInfo[1];
annotations[0] = new AnnotationInfo();
 
Point pt = new Point();
pt.setX(1.0);
pt.setY(1.0);
annotations[0].setAnnotationPosition(pt);
 
Rectangle r = new Rectangle();
r.setX(100.0);
r.setY(100.0);
r.setWidth(200.0);
r.setHeight(100.0);
 
annotations[0].setBox(r);
annotations[0].setPageNumber(0);
annotations[0].setType(TypeEnum.POINT);
annotations[0].setText("This is point annotation");
annotations[0].setCreatorName("Anonym A.");
 
// Create request object.
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("Annotationdocs\\one-page.docx");
 
AnnotateOptions options = new AnnotateOptions();
options.setFileInfo(fileInfo);
options.setAnnotations(Arrays.asList(annotations));
options.setOutputPath("Output/one-page-annotated.docx");
 
AnnotateRequest request = new AnnotateRequest(options);
 
// Executing api method.
AnnotationApiLink result = apiInstance.annotate(request);
 
System.out.println("AddPointAnnotation: Point Annotation added: " + result.getTitle());

Yetkilendirme ve Kimlik Doğrulama

API için tanımlanan kimlik doğrulama şemaları aşağıdaki gibidir:

JWT

Ürün Sayfası | Belgeler | Canlı Demolar | Swagger UI | Kod Örnekleri | Blog | Ücretsiz Destek | Ücretsiz Deneme

VersionRelease Date
25.723 Ekim 2025
23.1227 Aralık 2023
23.414 Nisan 2023
22.27 Şubat 2022
21.625 Ocak 2022
21.225 Ocak 2022
18.725 Ocak 2022
18.425 Ocak 2022
20.1014 Ekim 2020
19.515 Mayıs 2019