Group Docs Viewer

Whether group docs viewer java commercial package includes java web components to render the document including search and highlight sepecific word, zoom in ,zoom out, go to page etc?

Hi,


Thank you for the request. Could you please share with us in which version you interested in, a stand alone library or the Cloud App ?

Thank you.

We are interested in a library that can be deployed on “on-premise” having the viewer functionality. While checking the standalone library, we understood that viewer is not packaged on that. Could you please let us know whether options available to cover both viewer and standalone library functionalities in a single build?

HI,


Thank you for coming back. Theoretically you can use both but we strongly recommend you do not do that since you will have a total mess in your application (Cloud and stand alone functionality are absolutely different).

The stand alone library is UI less (just a class library) and provides all classes, models and functions required to view and manipulate with the document (search, zoom etc.). Also all documents can be stored in any place.

In case of using the Cloud Viewer you will need to upload all documents to our server and each time you need to view specific document you need to make a REST API call to our Cloud API to change the document in the Viewer.

Since you want to use in the on-premise software I can recommend you to investigate the stand alone library (examples available here)

Best regards.

Thanks.


As it is on-premise, we would like to use stand alone library. But building the UI will be a overhead for us.

1. Is there any easy way to do it with the UI sample code from group docs?
2. The samples that you have shared belongs to .NET platform. Can you please share it for Java UI.
3. Even we integrate standalone after building our own UI, all these are server side calls right? For instance if we wanted to perform search and do highlight on the field, could that be done on the client side with the stand alone library and UI components at the client side?

Hi Senthil,


Thanks for taking interest in Next Generation GroupDocs.Viewer for Java.
1. Is there any easy way to do it with the UI sample code from group docs?
2. The samples that you have shared belongs to .NET platform. Can you please share it for Java UI.
We’d like to inform you that, we have open-source showcase projects for your convenience. You can download or clone our servlets based project in order to experience the core features of the API (GroupDocs.Viewer for Java).
Please note, GroupDocs.Viewer for Java 3.x is UI and framework independent (a back-end API). Hence, you can integrate API in any of your Java project. Our showcase projects will certainly mentor you in developing your very own UI project with GroupDocs.Viewer for Java 3.x integrated.
could that be done on the client side with the stand alone library and UI components at the client side?
Yes, you can implement this feature in the project at the client side using some client side scripting language. You may find following resources helpful:

Kind regards

Thanks for the response.

We have a use case as mentioned below.

The user views the document using the Group docs document viewer on the left side of the screen and having set of fields extracted from the document in the right side UI. Example: Document is having Book Name: ABC, Author: Wolf, Price: $300. Those are extracted and shown in the UI as individual fields (Book Name, Author, Price fields with values).

When user navigates between fields we wanted to trigger the find action in the viewer through the API with the field value.

For instance, user is in the first field “Book Name” and navigates to the second field author. At that point wanted to pass the author name (i.e Wolf) to the search api so that that particular word can be searched and highlighted.

Here we wanted to know below things. In a standalone edition,

1. Is there a search API available that performs search and highlight the keyword in the document? Can that be triggered by us?

2. When we fire that API call, will go to the server as the viewer JAR components are deployed in the server? Do we need to expose a server side method to do this operation and refresh the page?

(OR)

Is this search performed on the client side without hitting the server? If yes, is there a client library (java script functions) available on the Group docs viewer that can be invoked from our java script? Could you please provide some reference materials for client side call?

Hi Senthil,


Thanks for sharing details.
Please note, GroupDocs.Viewer for Java back-end API doesn’t provide any such class or feature. However, using JS you can implement this feature. You can use JavaScript search function or go through searchViewModel.prototype in GroupDocsViewer .all.js file.

Thanks