You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 21, 2021. It is now read-only.
GroupDocs.Viewer is a native, simple, fully configurable and optimized web application which allows you to manipulate documents without requiring any other commercial application through GroupDocs APIs.
14
+
## Document Viewer API for Java Spring
15
+
[GroupDocs.Viewer for Java](https://products.groupdocs.com/viewer/java) API allows you to view over 90 document formats including **DOCX**, **PDF**, **PPT**, **XLS**, among many others without any additional dependencies. Thanks to its flexible configuration it can be configured to **view documents as images or as HTML5**.
15
16
16
-
**Note** Without a license application will run in trial mode, purchase [GroupDocs.Viewer for Java license](https://purchase.groupdocs.com/order-online-step-1-of-8.aspx) or request [GroupDocs.Viewer for Java temporary license](https://purchase.groupdocs.com/temporary-license).
17
17
18
+
In order to demonstrate GroupDocs.Viewer for Java reach and powerful features we prepared a modern **document viewer** front-end web UI example. Which can be used as a standalone application or easily integrated into your project.
19
+
20
+
**Note:** without a license application will run in trial mode, purchase [GroupDocs.Viewer for Java license](https://purchase.groupdocs.com/order-online-step-1-of-8.aspx) or request [GroupDocs.Viewer for Java temporary license](https://purchase.groupdocs.com/temporary-license).
## Open http://localhost:8080/viewer/ in your favorite browser.
95
125
```
96
126
97
-
#### Configuration
98
-
For all methods above you can adjust settings in `configuration.yml`. By default in this sample will lookup for license file in `./Licenses` folder, so you can simply put your license file in that folder or specify relative/absolute path by setting `licensePath` value in `configuration.yml`.
127
+
### Configuration
128
+
For all methods above you can adjust settings in `configuration.yml`. By default in this sample will lookup for license file in `./Licenses` folder, so you can simply put your license file in that folder or specify relative/absolute path by setting `licensePath` value in `configuration.yml`.
|**`filesDirectory`**| String |`DocumentSamples`| Files directory path. Indicates where uploaded and predefined files are stored. It can be absolute or relative path |
135
+
|**`fontsDirectory`**| String || Path to custom fonts directory. |
136
+
|**`defaultDocument`**| String || Absolute path to default document that will be loaded automaticaly. |
137
+
|**`preloadPageCount`**| Integer |`0`| Indicate how many pages from a document should be loaded, remaining pages will be loaded on page scrolling.Set `0` to load all pages at once |
138
+
|**`htmlMode`**| Boolean |`true`| HTML rendering mode. Set `false` to view documents in image mode. Set `true` to view documents in HTML mode |
139
+
|**`zoom`**| Boolean |`true`| Enable or disable Document zoom |
140
+
|**`search`**| Boolean |`true`| Enable or disable document search |
|**`cache`**| Boolean |`true`| Set true to enable cache |
144
+
|**`saveRotateState`**| Boolean |`true`| If enabled it will save chages made by rotating individual pages to same file. |
145
+
|**`watermarkText`**| String || Text which will be used as a watermark |
146
+
147
+
**Note**: you can also set the above options using environment variables. For example to set rendering to image mode set `application.viewer.htmlMode` environment variable to `false`
148
+
149
+
150
+
## License
151
+
The MIT License (MIT).
152
+
153
+
Please have a look at the LICENSE.md for more details
154
+
155
+
## GroupDocs Document Viewer on other platforms/frameworks
0 commit comments