A REST API Solution to Merge and Split Documents – GroupDocs.Merger Cloud

To ensure GroupDocs REST APIs position as leader of Document Manipulation APIs, we are working hard to introduce new features and APIs for your daily use cases. As we announced earlier, we’re in the process to add a new REST API in GroupDocs REST APIs collection. We’re happy to release first version of GroupDocs.Merger Cloud. It is a universal REST API solution to merge and split a wide range of document formats on any platform, without installing any plugin or software.

What is GroupDocs.Merger Cloud?

While working with documents, sometimes it is a common requirement to merge documents into a single file. You can copy and paste the content directly when the info quantity is not large. But what if it is not that case? You need some automated solution that can merge the documents reliably and accurately. GroupDocs.Merger Cloud is a REST API that not only allows you to join multiple documents, but also manipulate single document structure across a wide range of supported document types. As a developer, you can use it in your application for document merging solution. It supports all common file formats. The supported file types include PDF, Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, plain and formatted text, and a long list of supported document formats.

Here is a complete list of supported features of first version of GroupDocs.Merger Cloud:

Security and Authentication

The GroupDocs.Merger Cloud REST API is secured and requires authentication using an app access key ID (App SID) and app secret (App Key) with JSON web token authentication. Sign up with groupdocs.cloud to get your App SID and App Key.

API Explorer

GroupDocs for Cloud REST APIs comes with a web based API Explorer as well. It is the easiest way to try out GroupDocs.Merger Cloud API right away in your browser. It is a collection of Swagger documentation for the GroupDocs.Merger Cloud API. So simply, first you need to sign up with groupdocs.cloud, get APP key and SID and start testing GroupDocs.Merger Cloud REST API in your favorite browser interactively.

SDKs

GroupDocs.Merger Cloud REST API comes with SDKs for different platforms to use this REST API in your specific project effortlessly. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Please check out our GitHub repository for a complete list of GroupDocs.Merger Cloud SDKs along with working examples, to get you started in no time.

How It Work?

Let me show, how easily you can use features of GroupDocs.Merger Cloud in your application with minimal learning curve. First thing first, sign up with groupdocs.cloud and get App SID and App Key to authenticate your rest API calls, before you proceed.

Merge Documents

We can use REST API method to merge documents of same format either with a REST Client in our code or use GroupDocs.Merger Cloud SDK of our favorite programming language. Here we will demonstrate both ways to merge the documents:

cURL example:

·       Get Access Token

·       Upload source documents to Storage

·       Merge documents

GroupDocs.Merger Cloud SDK for .NET example:

·       Create a new project in Visual Studio

·       Install GroupDocs.Merger Cloud SDK for .NET NuGet Package

·       Use this code to merge multiple documents

What’s Next?

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs.Merger Cloud using following resources.

If you have any questions or suggestions, please feel free to write on GroupDocs.cloud Forum.

Posted in GroupDocs.Merger Cloud Product Family | Tagged , , , , , , | Leave a comment

Convert PDF to Editable Word Document with Python SDK

As a Python developer, you can have a requirement from your users to provide PDF to Word document conversion feature in your application. Because it is very difficult to edit PDF documents without Adobe Acrobat. And users have requirement to edit text, table, images and other contents in the PDF document. A solution for the requirement is to convert PDF document to editable Word document. But, you might be surprised to know that it’s not that simple. Luckily, there is Python module; GroupDocs.Conversion Cloud SDK for Python that make it easy for you to convert PDF to editable Word document with a few lines of code.

GroupDocs.Conversion Cloud is a platform independent document and image conversion solution without depending on any tool or software. It can quickly and reliably convert images and documents of any supported file format. It offers the SDKs for all popular programming languages with source code and working examples. That enables the developers to use GroupDocs.Conversion Cloud directly in their applications without worrying about underlying REST API calls. In this article, I’m using Python SDK for PDF to Word conversion.

How to Convert PDF to Editable DOCX

Setup

For this tutorial, I’ll be using Python 3.7.4, you can use any version you like Python 2.7, 3.4 or above.

Before we begin with coding, sign up with groupdocs.cloud to get your APP SID and APP Key.

Install groupdocs-conversion-cloud package from pypi with the following command.

>pip install groupdocs-conversion-cloud

Store your source PDF document in the folder where you’re saving your script file.

Code

Use your favorite editor and type:

Import the GroupDocs.Conversion Cloud Python package

Initialize the API

Upload source PDF document to GroupDocs default storage

Convert the PDF document to editable DOCX

And that’s it. PDF document is converted to DOCX and API response includes the URL of the resultant document.

Got a question or a suggestion? Please feel free to drop us a comment below or post a question in the support forum. It helps us to continually improve and refine our API.

Want to explore more about GroupDocs.Conversion Cloud, go through the following useful resources of GroupDocs.Conversion Cloud.

Posted in GroupDocs.Conversion Cloud Product Family | Tagged , | Leave a comment

GroupDocs.Merger Cloud is Launching Soon!

Are you working on a document management application and looking for an API to merge documents in your application? Your search for the option should be over. GroupDocs is going to release a new Cloud API, GroupDocs.Merger Cloud, it will empower the developers to merge multiple documents of the same format with high accuracy and fidelity on any platform and without depending upon any third-party plugin or application. Some of the notable features that new API will offer are joining documents, splitting documents, moving document pages, rotating document pages, extracting document pages and much more.

We will share a glimpse of upcoming GroupDocs.Merger Cloud API below. It will not be limited to the following features, but we will keep adding new useful features and support of new file formats in the API.

Features

  • Document operations
    • Join Documents
    • Split Document
    • Document Preview
  • Document pages operations
    • Move Page
    • Remove Pages
    • Rotate Pages
    • Swap Page
    • Extract Pages
    • Change Pages Orientation
  • Document security operations
  • Document information extraction

Supported formats

GroupDocs.Merger Cloud REST API supports following file formats:

Format Description
DOC Microsoft Word Document
DOCX Microsoft Word Open XML Document
DOCM Word Open XML Macro-Enabled Document
DOT Word Document Template
DOTX Word Open XML Document Template
DOTM Word Open XML Macro-Enabled Document Template
RTF Rich Text Format File
TXT Plain Text File
ODT OpenDocument Text Document
OTT OpenDocument Document Template
HTML Hypertext Markup Language File
MHT MHTML Web Archive
PDF Portable Document Format File
XPS XML Paper Specification File
TEX LaTeX Source Document
EPUB Open eBook File
PPT Microsoft PowerPoint 97-2003 Presentation
PPTX Microsoft PowerPoint Presentation
PPS Microsoft PowerPoint 97-2003 Slide Show
PPSX Microsoft PowerPoint Slide Show
ODP OpenDocument Presentation
OTP OpenDocument Presentation Template
XLS Microsoft Excel 97-2003 Worksheet
XLSX Microsoft Excel Worksheet
XLSB Microsoft Excel Binary Worksheet
XLSM Microsoft Excel Macro-Enabled Worksheet
XLT Microsoft Excel Template File
XLTX Excel Open XML Spreadsheet Template
XLTM Excel Open XML Macro-Enabled Spreadsheet Template
ODS OpenDocument Spreadsheet
VSDX Microsoft Visio Drawing
VSDM Microsoft Visio Macro-Enabled Drawing
VSSX Microsoft Visio Stencil
VSSM Microsoft Visio Macro-Enabled Stencil
VSTX Microsoft Visio Template
VSTM Microsoft Visio Macro-Enabled Template
VDX Microsoft Visio 2003-2010 XML Drawing
VSX Microsoft Visio 2003-2010 XML Stencil
VTX Microsoft Visio 2003-2010 XML Template
ONE Microsoft OneNote
CSV Comma Separated Values File
TSV Tab Separated Values File

Our first version

We are currently in the process of preparing Examples and Documentation for this new product. We have planned to release the first version of the Aspsoe.Merger Cloud REST API soon with features shared above. If you have any questions or suggestions, please feel free to write on GroupDocs.Cloud Forum.

Please stay tuned to this blog for further updates.

Posted in GroupDocs.Merger Cloud Product Family | Leave a comment

Render Documents to HTML5 with Cloud Java SDK

Are you working on a document viewer application in Java? Do you want to have a single solution for viewing all common file formats? There is good news for you, you can render MS Office, PDF and many other file formats to HTML5 with GroupDocs.Viewer Cloud SDK for Java. So that documents of different types can be easily displayed inside your application without any additional software installed (like MS Office, Apache Open Office, Adobe Acrobat Reader and others).

GroupDocs.Viewer Cloud is a platform independent document rendering and viewing solution. It allows you to display over 80 industry standard document types in your application. The main purpose of GroupDocs.Viewer Cloud is an ability to render documents into HTML, Image or PDF representations fast and with high quality. In this post, I’ll keep focus on HTML5 output.

Now, l’ll show you how easily you can render your input document to HTML5 with few line of code. As stated earlier, I am going to use GroupDocs.Viewer Cloud SDK for Java in this post. However, if you’re using some other programming language, then you can check SDK of your choice from our GitHub repository. It contains the SDKs for all popular programming languages. It enables the developers to use GroupDocs.Viewer Cloud directly in their applications without worrying about underlying REST API calls.

Here we go!

Step 1:

Before we begin with coding, sign up with groupdocs.cloud to get your APP SID and APP Key.

Step 2:

GroupDocs Cloud hosts all its Java SDKs on Maven repository. Create a new Maven project and add following Maven Repository configuration / location in your Maven pom.xml as below to use groupdocs-viewer-cloud.

<repository>

    <id>groupdocs-artifact-repository</id>

    <name>GroupDocs Artifact Repository</name>

    <url>http://repository.groupdocs.cloud/repo</url>

</repository>

<dependency>

    <groupId>com.groupdocs</groupId>

    <artifactId>groupdocs-viewer-cloud</artifactId>

    <version>19.5</version>

    <scope>compile</scope>

</dependency>

Step 3:

Copy following sample Java code to your Java class. We’re converting DWF file to HTML5.

Step 4:

Run the code, and that’s it. The API response includes the URL of the resultant HTML to download for post processing as per your requirement.

Explore more code samples of GroupDocs.Viewer Cloud SDK for Java from GitHub.

Got a question or a suggestion? Please feel free to drop us a comment below or post a question in the support forum. It helps us to continually improve and refine our API.

Posted in GroupDocs.Viewer Cloud Product Family | Tagged , , | Leave a comment

Extract Text from a PDF Document with Python using GroupDocs.Conversion Cloud

PDF (Portable Document Format) is one of the most important and widely used file format used to present and exchange documents. As a python developer, there are many scenarios where you will want to extract text from a PDF document and export it in a different format using Python for text analytics. In this post, we will show you how to extract text from a PDF document accurately using GroupDocs.Conversion Cloud SDK for Python.

GroupDocs.Conversion Cloud is a platform independent REST API solution of document and image conversion without depending on any third-party application. It converts 50+ types of documents from one format to another. It offers SDKs for all popular programming languages including Python, so developers can use the API directly in their applications without worrying about underlying REST API calls.

Let us start the code:

Install GroupDocs.Conversion Cloud Package

First thing first, install groupdocs-conversion-cloud package from pypi with the following command.

>pip install groupdocs-conversion-cloud

Python PDF Text Extraction Example

We will follow these steps to extract text from a PDF Document:

  • Free sign up with groupdocs.cloud to get your AppSID and AppKey
  • Create a python module and copy paste following code in it. We have used default options to extract text of the PDF document. You can extract text of specific pages as well using Convert Options of text format.
  • Run the code in you favorite IDE, you will get following output and that’s it. Task accomplished!

Feel free to drop us a comment at the support forum sharing your thoughts about GroupDocs.Conversion Cloud API. Or let us know if you have any suggestions or if you need any particular features which you expect our REST API to have.

Posted in GroupDocs.Conversion Cloud Product Family | Tagged , , | Leave a comment

A Reliable RESTful API Solution to Optimize PDF Document

GroupDocs.Conversion Cloud is a document and image conversion solution. It empowers the developers to add document conversion feature in their applications on any platform with complete control using standard REST API Calls. In this post we will discuss How to optimize PDF document. You can visit GroupDocs.Convesion Cloud for a complete list of features.

A PDF document may sometimes contain additional data. Reducing the size of a PDF file will help you optimize the network transfer and storage. This is especially handy for publishing on web pages, sharing on social networks, sending by e-mail, or archiving in storage. Let me show you how easily you can use GroupDocs.Conversion Cloud to optimize PDF document for web or optimize the PDF file size. I will be using cURL in the following examples. You can use the SDK of your favorite programming language, without worrying about underlying REST API calls.

Optimize PDF Document for Web

Optimization, or linearization for Web, refers to the process of making a PDF file suitable for online browsing using a web browser. The linearized PDF file loads faster over the Internet. Because, linearized PDF files contains information that allow a byte-streaming server to download the PDF file one page at a time. If the byte-streaming is disabled on the server or if the PDF file is not linearized, the entire PDF file must be downloaded before it can be viewed. Check the cURL API command to optimize a PDF file for web display:

Optimize PDF for web

Optimize PDF File Size

To optimize PDF file size, we can use several techniques to optimize PDF. GroupDocs.Conversion Cloud provides following properties to optimize the file size:

  • compressImages
  • imageQuality
  • linkDuplicateStreams
  • unembedFonts
  • removeUnusedObjects
  • removeUnusedStreams

Feel free to drop us a comment at the support forum sharing your thoughts about GroupDocs.Conversion Cloud API. Or let us know if you have any suggestions or if you need any particular features which you expect our REST API to have.

And if you’ve not already had a chance to try our REST API, simply start a free trial today. All you need is to sign up with the groupdocs.cloud. Once you’ve signed up, you’re ready to try the powerful file processing features offered by groupdocs.cloud.

Posted in GroupDocs.Conversion Cloud Product Family | Leave a comment

Classify raw text in MS Office, PDF and many other documents using cURL

What is Text Classification?

Text classification is the process of assigning tags or categories to text according to its content with broad applications such as sentiment analysis, topic labeling, spam detection, and intent detection.

GroupDocs.Classification Cloud API
GroupDocs.Classification Cloud

Unstructured data in the form of raw text is everywhere: emails, chats, web pages, social media, support tickets, survey responses, and more. Text can be an extremely rich source of information, but extracting insights from it can be hard and time-consuming due to its unstructured nature. Businesses are turning to text classification for structuring text in a fast and cost-efficient way to enhance decision-making and automate processes.

What is Taxonomy?

Taxonomy is the practice and science of classification. The word is also used as a taxonomic scheme. Taxonomy is a particular classification. In a wider, more general sense, it may refer to a classification of things or concepts, as well as to the principles underlying such a classification.

GroupDocs.Classification Cloud API

GroupDocs.Classification Cloud API retrieves raw text classification output for IAB-2 taxonomy or Documents taxonomy. It returns an object that contains information about the best class and its probability and about probabilities of the other classes.

IAB-2 Taxonomy Example

GroupDocs.Classification Cloud API supports IAB-2 taxonomy scheme, Some of the taxonomy examples are listed below :

  • ‘Automotive’,
  • ‘Books_and_Literature’,
  • ‘Business_and_Finance’,
  • ‘Careers’,
  • ‘Education’,
  • ‘Events_and_Attractions’,
  • ‘Family_and_Relationships’,
  • ‘Fine_Art’,
  • ‘Food_&_Drink’,
  • ‘Healthy_Living’,
  • ‘Hobbies_&_Interests’,
  • ‘Home_&_Garden’,
  • ‘Medical_Health’,
  • ‘Movies’,
  • ‘Music_and_Audio’,
  • ‘News_and_Politics’,
  • ‘Personal_Finance’
  • etc.

cURL Request

Response

.NET Example

Documents Taxonomy Example

Documents taxonomy includes the following list in GroupDocs.Classification Cloud API:

  • ADVE – advertisements, brochures.
  • Email
  • Form
  • Letter
  • Memo – memorandums.
  • News – articles, including news articles.
  • Invoice
  • Report
  • Resume 
  • Scientific – scientific papers.
  • Other – the other classes of documents or cases where the classifier is not sure.

cURL Request

Response

.NET Example

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Classification Cloud Product Family | Leave a comment

A REST API Solution to Redact PDF Text

GroupDocs.Annotation Cloud API is a platform independent Document and Image Annotation Solution, that empowers the developers to add an annotation feature in their application with minimum efforts. The API supports a range of Annotation types, but in this post I will focus on the Text Redaction Annotation to demonstrate how to redact PDF text.

Text Redaction is a process to remove content from a document permanently. Before you publish the document, you need to remove sensitive and private data from the document. GroupDocs.Annotation Cloud provides, the Text Redaction Annotation to redact the text on the certain page region. Text redaction fills part of text with a black rectangle, to hide underlying word or phrase.

Let me give you a quick overview of how to redact text with GroupDocs.Annotation Cloud with a simple set of HTTP requests. I will be using cURL to redact text in a PDF document in this example. The API is not limited to PDF file format, you can check the complete list of supported file formats. It also provides SDKs for all popular programming languages. You can check the available SDKs from GitHub repository with working examples and use directly in your application.

We will follow these steps to find the duplicate images:

  • Generate access token for authentication
  • Upload source document to storage
  • Add Annotation to document
  • Download annotated document

Generate Access Token

Upload source document to storage

Annotate source document

The SvgPath property is used to add the text redaction annotation and coordinates of SvgPath property start from bottom of the document page and increase to the top.

Download Annotated document

If you’ve not already tried our REST API, we encourage you to head over to GroupDocs.Annotation Cloud with a free trial today. All you need is to sign up with the groupdocs.cloud. Once you’ve signed up, you may go through the following useful resources of GroupDocs.Annotation Cloud.

Feedback

Your feedback is very important for us. If you’ve any suggestions or if you need any particular features which you expect our REST API to have, please feel free to drop us a comment below or at the support forum.

Posted in GroupDocs.Annotation Cloud Product Family | Tagged , , , | Leave a comment

Add Barcode Signature to your Documents

What is an Electronic Signature?

An electronic signature or e-signature refers to data in electronic form which is logically associated with other data in electronic form and which is used by the signatory to sign. This type of signature provides the same legal standing as a handwritten signature as long as it adheres to the requirements of the specific regulation. E-Signatures can be in the form of digital text, images, barcode, QR codes, etc.

Electronic signatures are a legal concept distinct from digital signatures, a cryptographic mechanism often used to implement electronic signatures. While an electronic signature can be as simple as a name entered in an electronic document, digital signatures are increasingly used in e-commerce and in regulatory filings to implement electronic signatures in a cryptographically protected way.

GroupDocs.Signature Cloud API?

GroupDocs.Signature Cloud is a REST API to create, verify and search different types of Signature objects to documents in the cloud. There are five major types of supported Signature you can operate with:

  • Text Signature
  • Barcode Signature
  • QR Code Signature
  • Digital Signature
  • Image Signature
  • Stamp Signature

How to work with barcode document using e-signing API?

This API is intended to add electronic signatures to the documents, based on the parameters passed as an array of signature options. The rendered document can be downloaded using the output URLs or paths.

Here are the steps to work with document signature:

  1. Upload File to a Storage.
  2. Create a Signature.
  3. Verify a Signature.
  4. Search a Signature.
  5. Download HTML File.

1. Upload File to a Storage

The following code demonstrates how to upload files to a storage.

Now our file “one-page.docx” is available under folder “signaturedocs” on storage.

2. Creating a Barcode Signature

GroupDocs.Signature Cloud REST API supports to sign a document with Barcode. It provides methods to create Barcode Signature in Document Pages with different options of Barcode type, location, alignment, font, margins, and appearances by using Signature Option Objects data in the request body.

The following code demonstrates, how to Create Barcode Signature.


3. Verify a Signature

GroupDocs.Signature Cloud REST API provides methods to verify Barcode Signature in Documents Pages with different options for page number, text and search criteria by using Verification Options Objects data in the request body.

The following code demonstrates, how to Verify Barcode Signature .

4. Search a Signature

GroupDocs.Signature Cloud API provides a method to search Barcode Signature in Document Pages with different options barcode type, Name, text, match type, and other search features by using Search Options Object data in the request body.

The following code demonstrates, how to Search Barcode Signature .

5. Download File

The following code demonstrates, how to download a specific file.

That’s it.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Signature Cloud Product Family | Leave a comment

Rendering CAD File Formats was Never So Easy Before

CAD (Computer Aided Design)

It is used for a 3D graphics file format and may contain 2D or 3D designs. CAD file is a digital file format of an object generated and used by CAD software. A CAD file contains a technical drawing, blueprint, schematic, or 3-D rendering of an object.

GroupDocs.Viewer Cloud API

GroupDocs.Viewer Cloud API is flexible document rendering and viewing solution for programmers and professionals to render and display widely used file formats anywhere.

Supported CAD File Formats

File Extension File Format
DGN MicroStation Design File
DWF Design Web Format
DWG Autodesk Design Data Formats
DXF Autodesk Drawing Exchange File Format
IFC Industry Foundation Classes File
STL Stereolithography File

How to Render HTML View of CAD File Formats

Our document rendering and viewing solution is empowering developer with options to render the CAD file formats in their applications with a few lines of instructions, which includes options like enlarging the output, set the height and width of the output file etc.

Here are the steps to render the HTML view of a CAD file:

  1. Upload File to a Storage.
  2. Create HTML View.
  3. Download HTML File.

1. Upload File to a Storage

The following code demonstrates how to upload files to a storage.

Now our file “three-layouts.dwf” is available under folder “viewerdocs” on storage.

2. Create HTML View

GroupDocs.Viewer Cloud API does this CAD to HTML rendering in the cloud using stored files, when CAD documents are rendered, the size of the rendering result is adjusted by API automatically depending on the size of the initial document.

However, we can also set the output result files by providing the CadOptions available in GroupDocs.Viewer Cloud API such as:

ScaleFactor

Scale factor allows to change the size of the output document. Values higher than 1 will enlarge output result and values between 0 and 1 will make output result smaller. 
This option is ignored when either Height or Width options are set.

Width

The width of the output result in pixels.

Height

The height of the output result in pixels.

The Following code demonstrates, how to create an HTML view of a CAD file Formats.

CAD file to HTML view is created and output HTML is available in storage to download.

3. Download HTML File

The following code demonstrates, how to download a specific file.

That’s it.

GroupDocs.Viewer Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the GroupDocs Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by GroupDocs Cloud.

Posted in GroupDocs.Viewer Cloud Product Family | Leave a comment