We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Integrate With Liferay portal's Document and Media Application

Hi, want know the information regarding Integrate Aspose Java Total with Liferay Portal’s Content Management System(CMS) & Document Management(DMS),

  1. Compare 2 versions of same document(Ms Word or Excel etc) in DMS of liferay?
  2. Collaboration of document with two different user with Aspose Annotation?

Aspose jar complied in JDK version 1.6 would support for 1.8 ?

Thanks in advance


Thank you for your query.

  1. Regarding MS Excel, Aspose.Cells does not provide support for comparison of two Workbooks however as Liferay supports Java, .NET, C++, PHP and many other languages, therefore it can use Aspose.Cells product like for comparison, you may compare both worksheets data cell by cell manually. You may utilize Cell.Value, Cell.StringValue attributes. Also, there are String.Equals and CompareTo methods if these can be useful for you needs.
  2. For annotation, Aspose.Cells supports commenting as mentioned in the below link
    You need to test this feature in your environment and check if it fulfills your requirements or not.

We are gathering information about MS Word and will share the information soon.


You can use the Document.Compare method of Aspose.Words for Java API to compare two Word documents to see the difference between them. This method mimics Microsoft Word’s Compare feature and produces document difference as a number of edit and format revisions. For more details, please refer to the following article:

Secondly, Aspose.Words for Java supports adding Comments to Word document. Comments of the document are represented by the Comment class. Use CommentRangeStart and CommentRangeEnd classes to specify a region of text that is to be commented. Please refer to the following article for more details:

Also, please choose the following package if you would like to use Aspose.Words for Java on Java 8 environment.

Please let us know if we can be of any further assistance.

Thanks @ awais.hafeez, ahsaniqbalsidiqui for your valuable reply.

Need some steps or article to do integrate with LIferay. It would be great help and I want to present a POC with this integration. And more over have many questions or our requirements as follows :

What is the maximum file size will it support, in our work space we have file size approximately 30 to 50 MB and more than 3,000 pages in MS Excel and Word.

10 concurrent users Collaboration on same file possible ?

We have to keep in same server where liferay is running or we can also keep in separate server and communicate with API calls. as keeping in separate server recommended for prod?

What are all the file types will support in future needs?



I am afraid, we do not currently have any such article in documentation that provides step by step instructions on how to integrate Aspose APIs with LIferay. But, we have logged your request and will keep you posted in this regard. (Ticket# WORDSNET-20326)

There is no limit on maximum size of document that Aspose APIs can generate or process. The only limit is the amount of RAM (memory) available on your side.

I am afraid, concurrent users cannot modify the same Excel or Word Document (e.g. this is due to limitation of MS Excel file) however reading is allowed for concurrent users.

Also, please note that Aspose.Words API is multi-thread safe as long as only one thread works on a Document at a time. There is no limit on processing of number of documents at the same time. Aspose.Words supports multi-threading and processing multiple documents simultaneously in different threads should work fine. Aspose.Words also does not impose restrictions on number of threads.

We have options for both i.e. you can use DLL/JAR for using Aspose APIs from the same system and Cloud based solution where files are processed via REST APIs. Please check following links:

Please check the following pages:

Thanks Aspose Team, for valuable reply.

Started with integration Apose Cell and Word for an POC with Liferay.

Added in my build.gradle file of module Application below code

// https://mvnrepository.com/artifact/com.aspose/aspose-cells
compile group: ‘com.aspose’, name: ‘aspose-cells’, version: ‘20.4’

Could not resolve: com.aspose:aspose-cells:20.4

So gradle no able to recognize and download the jar, please let us know best to utilize it. We have apply for temporary licence ?

Wait for you valuable suggestion.



It seems you are specifying mvnrepository which might not work. Instead please try using the following maven repos.:

See the documents for your complete reference: