Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated POM #18

Open
wants to merge 130 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
3746b7f
Updated POM
Dec 27, 2018
dd4244d
Merge pull request #66 from usmanazizgroupdocs/master
Dec 27, 2018
f96807e
Changes for version 19.1
muhammadumargroupdocs Feb 12, 2019
edf142f
Update ViewGenerator.java
muhammadumargroupdocs Feb 28, 2019
934c855
Updated for 19.3
muhammadumargroupdocs Apr 3, 2019
6762983
Updated for version 19.8
muhammadumargroupdocs Aug 26, 2019
b52120a
Updated for Version 19.8.1
muhammadumargroupdocs Sep 2, 2019
0b6ad69
Updated after resloving the CADLayer Issue for V19.8.1
muhammadumargroupdocs Sep 2, 2019
3de9d9b
Update README.md
muhammadumargroupdocs Sep 2, 2019
fe54418
Update README.md
muhammadumargroupdocs Sep 2, 2019
15d24c7
Updated for 19.8.2
muhammadumargroupdocs Oct 27, 2019
6b93271
Updated for 19.11 V1
muhammadumargroupdocs Dec 3, 2019
78473e6
Updated for version 19.11
muhammadumargroupdocs Dec 13, 2019
e6162ea
Updated GroupDocs.Viewer to v20.1 in Examples.
vladimir-litvinchik Feb 5, 2020
1c7fcee
Added missing file.
vladimir-litvinchik Feb 5, 2020
432457b
Updated GroupDocs.Viewer to v20.1.1.
vladimir-litvinchik Jun 9, 2020
37be2ac
Markdown documentation added
yevgen-nykytenko Jul 3, 2020
e68d5c0
Merge branch 'docs_test'
yevgen-nykytenko Jul 3, 2020
97bb9df
Added example of detecting file type by extension
oleksii-unnamed Jul 7, 2020
44eab05
Added documentation build script
yevgen-nykytenko Jul 7, 2020
ba8c8c8
VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 8, 2020
5ffb631
* VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 8, 2020
9f2582a
VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 10, 2020
b21271f
* VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 13, 2020
7d3ef29
* VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 14, 2020
9ea70df
VIEWERJAVA-2289 - Update product Public Docs
oleksii-unnamed Jul 16, 2020
0ed7854
VIEWERJAVA-2290 - Prepare Changelog and Release Notes
oleksii-unnamed Jul 17, 2020
90e1525
Minor changes according to Java naming convention
oleksii-unnamed Jul 17, 2020
d948fc1
Docs update
yevgen-nykytenko Jul 17, 2020
2506b01
Docs icon update
yevgen-nykytenko Jul 20, 2020
3bb9646
Fixed self-references and code blocks formatting.
vladimir-litvinchik Jul 22, 2020
9eae8ec
Updated release notes for v20.7.
vladimir-litvinchik Jul 24, 2020
ee05c08
Merge with master.
vladimir-litvinchik Jul 24, 2020
046c0ee
Fixed self referensing and platform issues.
vladimir-litvinchik Jul 24, 2020
5793a83
Added license file for Docs
vladimir-litvinchik Jul 28, 2020
cfc9132
Standardized readme.md
babar-raza Jul 29, 2020
82a58db
Updated examples to work with Viewer 21.2
oleksii-unnamed Feb 15, 2021
d510faa
VIEWERJAVA-2453 - Update product Public Docs
oleksii-unnamed Feb 16, 2021
393c0be
VIEWERJAVA-2453 - Update product Public Docs
oleksii-unnamed Feb 18, 2021
8eb5e69
VIEWERJAVA-2454 - Prepare Changelog and Release Notes
oleksii-unnamed Feb 18, 2021
b311c68
Minor fix
oleksii-unnamed Feb 24, 2021
b443b4d
Minor fix for models
oleksii-unnamed Feb 26, 2021
ed339cf
Added VIEWERJAVA-2376 to Release Notes.
vladimir-litvinchik Feb 26, 2021
a8e36bd
Update README.md
mikhail-evgrafov Mar 30, 2021
facc5c3
Release notes for v21.4
vladimir-litvinchik Apr 29, 2021
0590469
Updated title
vladimir-litvinchik Apr 29, 2021
11e09d5
Updated Viewer to 21.4.
vladimir-litvinchik Apr 29, 2021
ccdf398
Updated commons-io to 2.8.0
vladimir-litvinchik Apr 29, 2021
7f8b7d6
Ignore license files.
vladimir-litvinchik May 7, 2021
e903716
Moved documentation to the Docs repository.
vladimir-litvinchik Jun 9, 2021
91a3aa8
Moved demo projects
vladimir-litvinchik Jun 18, 2021
f7be599
Update README.md
farooqsheikhpk Jun 24, 2021
00d583e
Cleanup
vladimir-litvinchik Jul 26, 2021
d2b697b
Merge branch 'master' of aspose.github.com:groupdocs-viewer/GroupDocs…
vladimir-litvinchik Jul 26, 2021
dd16d22
Updated badges
vladimir-litvinchik Aug 11, 2021
ffbe94e
Updated badges
vladimir-litvinchik Aug 11, 2021
36a61ec
Updated @groupdocs.examples.angular/viewer to v0.8.56.
vladimir-litvinchik Sep 1, 2021
98698c1
Print PDF istead of HTML or PNG pages.
vladimir-litvinchik Sep 3, 2021
6af30bc
Updated links to docs.
vladimir-litvinchik Oct 19, 2021
f18acaf
Switched to HTTPS repository URLs.
vladimir-litvinchik Oct 19, 2021
df01362
Switched to HTTPS repository URLs (Spring)
vladimir-litvinchik Oct 19, 2021
2685bbe
Updated Spring version to 2.5.5
oleksii-unnamed Oct 20, 2021
fca9168
Bump junit from 4.12 to 4.13.1 in /Demos/Spring
dependabot[bot] Oct 20, 2021
83d4f49
Updated to use GroupDocs.Viewer for Java v21.11
oleksii-unnamed Nov 16, 2021
91ee471
Updated to use GroupDocs.Viewer for Java v21.11
oleksii-unnamed Nov 23, 2021
f12ac3e
Updated to use GroupDocs.Viewer for Java v21.11
oleksii-unnamed Nov 23, 2021
9499b2f
Merge pull request #70 from groupdocs-viewer/dependabot/maven/Demos/S…
vladimir-litvinchik Nov 24, 2021
5c6320c
Bump jackson-databind from 2.9.10.7 to 2.9.10.8 in /Demos/Dropwizard
dependabot[bot] Nov 24, 2021
2549076
Merge pull request #71 from groupdocs-viewer/dependabot/maven/Demos/D…
vladimir-litvinchik Nov 24, 2021
067b50d
Updated Dropwizard demo application to use Viewer for Java 21.11
oleksii-unnamed Nov 25, 2021
adf03e5
Minor fix
oleksii-unnamed Nov 25, 2021
d619106
Updated Spring demo application to use Viewer for Java 21.11
oleksii-unnamed Nov 25, 2021
68715f6
Merge branch 'v21.11'
oleksii-unnamed Nov 25, 2021
a3fd9db
Updated GroupDocs.Viewer to 21.11.1
vladimir-litvinchik Dec 29, 2021
f75a0b7
Merge pull request #72 from groupdocs-viewer/v21.11.1
vladimir-litvinchik Dec 29, 2021
ddcf894
Fixed charset issues
oleksii-unnamed Apr 8, 2022
aba245e
Fixed fails on concurrent requests after server startup
oleksii-unnamed May 25, 2022
aad030b
Bump jackson-databind from 2.13.0 to 2.13.2.1 in /Demos/Spring
dependabot[bot] May 25, 2022
0e0dfc1
Bump jackson-databind from 2.9.10.8 to 2.12.6.1 in /Demos/Dropwizard
dependabot[bot] May 25, 2022
efd7431
Bump jackson-databind from 2.12.1 to 2.12.6.1 in /Examples
dependabot[bot] May 25, 2022
00ace5e
CPU and Memory Usage Maxed
oleksii-unnamed Aug 11, 2022
5e5b76d
Updated GroupDocs.Viewer to 22.9
oleksii-unnamed Sep 13, 2022
0cd41dd
Bump spring-boot-starter-web from 2.5.6 to 2.5.12 in /Demos/Spring
dependabot[bot] Sep 20, 2022
4d3fcab
Merge pull request #77 from groupdocs-viewer/dependabot/maven/Demos/S…
vladimir-litvinchik Sep 23, 2022
d4ff7c1
Merge pull request #74 from groupdocs-viewer/dependabot/maven/Demos/S…
vladimir-litvinchik Sep 23, 2022
b00c9bd
Merge pull request #75 from groupdocs-viewer/dependabot/maven/Demos/D…
vladimir-litvinchik Sep 23, 2022
6d1d7f5
Merge pull request #73 from groupdocs-viewer/dependabot/maven/Example…
vladimir-litvinchik Sep 23, 2022
d36cf4f
Updated demos, Dropwizard and Spring samples to use GroupDocs.Viewer …
oleksii-unnamed Nov 30, 2022
5d8a0f7
VIEWERJAVA-2986 - Create sample of using Viewer library with Kotlin C…
oleksii-unnamed Dec 1, 2022
483e13c
VIEWERJAVA-2986 - Create sample of using Viewer library with Kotlin C…
oleksii-unnamed Dec 1, 2022
6326b83
Created sample of using Viewer library with Micronaut framework
oleksii-unnamed Dec 6, 2022
33242a2
Updated versions is readme
oleksii-unnamed Dec 6, 2022
9ed1cef
Fixed problem with page's sizes in Micronaut sample
oleksii-unnamed Dec 8, 2022
d6e895d
Created sample of using Viewer library with Javalin framework
oleksii-unnamed Dec 8, 2022
96c068e
Renamed Javalin application package to avoid conflicts.
oleksii-unnamed Dec 8, 2022
1f50efe
Created sample of using Viewer library with Ktor Framework
oleksii-unnamed Dec 9, 2022
6940e2a
Renamed Ktor project package to avoid conflicts.
oleksii-unnamed Dec 9, 2022
de3ad27
Minor changes
oleksii-unnamed Dec 9, 2022
38bf4ee
Added configuration to deploy Docker images to docker hub
oleksii-unnamed Dec 12, 2022
e2dbcf3
Merge branch 'v22.12'
oleksii-unnamed Dec 12, 2022
4d28b75
Updated configuration to deploy Docker images to docker hub
oleksii-unnamed Dec 13, 2022
eabf655
Updated GroupDocs.Viewer to 23.2
oleksii-unnamed Jan 18, 2023
b5ad187
Few minor fixes
oleksii-unnamed Jan 19, 2023
b8cd415
Fixed bug with unavailability of document pages number 3+ when licens…
oleksii-unnamed Mar 14, 2023
bf4f159
Can't open any document while another document is opening in Dropwiza…
oleksii-unnamed Mar 17, 2023
4ab476e
Updated versions
oleksii-unnamed Mar 17, 2023
8b78fd6
Minor fix
oleksii-unnamed Mar 17, 2023
2d2d516
Updated GroupDocs.Viewer to 23.4
oleksii-unnamed Apr 6, 2023
ea762f2
Out of memory error thrown when using Dropwizard sample
oleksii-unnamed Apr 13, 2023
96a5fa6
Missed jar files of Gradle wrapper
oleksii-unnamed Apr 15, 2023
ddd480d
Additional fixes for GroupDocs.Viewer v23.4
oleksii-unnamed Apr 21, 2023
db75f97
Minor changes in docker files.
oleksii-unnamed Apr 27, 2023
e16a0a4
VIEWERJAVA-3081 - Create API tests for all 6 samples of GroupDocs.Vie…
oleksii-unnamed Apr 28, 2023
a7434e5
VIEWERJAVA-3081 - Create API tests for all 6 samples of GroupDocs.Vie…
oleksii-unnamed May 1, 2023
98cb673
Minor changes for cases with embedded resources
oleksii-unnamed May 1, 2023
5e98000
Updated Spring sample to correspond to common API
oleksii-unnamed May 1, 2023
c56470f
Added fixing links when saving actual and expected pages.
oleksii-unnamed May 1, 2023
def5c69
Added common API tests
oleksii-unnamed May 1, 2023
76fe2bb
VIEWERJAVA-3075 - Update GitHub Examples
oleksii-unnamed Jul 7, 2023
60e28d1
VIEWERJAVA-3075 - Update GitHub Examples
oleksii-unnamed Jul 11, 2023
e339837
Updated Gradle wrapper
oleksii-unnamed Jul 17, 2023
b64165c
Updated GroupDocs.Viewer for Java to v23.11
oleksii-unnamed Nov 28, 2023
1f88b20
Moved files to the directory where they are in GroupDocs.Total samples
oleksii-unnamed Dec 1, 2023
4f873e6
Updated GroupDocs.Viewer for Java to v24.2
oleksii-unnamed Mar 7, 2024
09c0cf9
Updated GroupDocs.Viewer for Java to v24.4
oleksii-unnamed May 10, 2024
d8717c6
Updated GroupDocs.Viewer for Java to v24.6
oleksii-unnamed Jul 8, 2024
f355fb7
Updated GroupDocs.Viewer for Java to v24.8
oleksii-unnamed Aug 30, 2024
427753f
Added more files to demo projects
vladimir-litvinchik Sep 5, 2024
f0b4411
Updated GroupDocs.Viewer for Java to v24.10
oleksii-unnamed Nov 1, 2024
63145f7
Merge remote-tracking branch 'origin/master'
oleksii-unnamed Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 34 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
# Package Files
*.jar
*.war
*.nar
*.ear

# License Files
.lic

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

.DS_Store
target/
.settings/
.classpath
.project
.vscode
deploy_key
.idea
*.iml
Examples/output
surefire-rep*
.gradle
build

#License files
.lic

#Node
node_modules
node

#Cache files
DocumentSamples/
21 changes: 21 additions & 0 deletions Demos/Compose/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 GroupDocs.Comparison Product Family

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
93 changes: 93 additions & 0 deletions Demos/Compose/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
![GroupDocs.Viewer](https://raw.githubusercontent.com/groupdocs-viewer/groupdocs-viewer.github.io/master/resources/image/banner.png "GroupDocs.Viewer")
# GroupDocs.Viewer for Kotlin Compose Example
New GroupDocs.Viewer for Java Dropwizard UI Example
###### version 24.10

[![GitHub license](https://img.shields.io/github/license/groupdocs-viewer/GroupDocs.Viewer-for-Java-Dropwizard.svg)](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/blob/master/Demos/Compose/LICENSE)

## System Requirements
- Kotlin 1.6+
- Java 11+

## Document Viewer API for Kotlin Compose

[GroupDocs.Viewer for Java](https://products.groupdocs.com/viewer/java) API allows you to view over 170 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**.

**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).

## Features
- Clean, modern and intuitive design
- Easily switchable colour theme (create your own colour theme in 5 minutes)
- Responsive design
- Mobile support (open application on any mobile device)
- Support over 90 documents and image formats including popular MS Office (Word, Excel, PowerPoint)
- HTML and image document viewing modes
- Fully customizable navigation panel
- Open password protected documents
- Text searching & highlighting
- Download documents
- Upload documents
- Print document
- Rotate pages
- Zoom in/out documents without quality loss in HTML mode
- Thumbnails
- Smooth page navigation
- Smooth document scrolling
- Preload pages for faster document viewing
- Multi-language support for displaying errors
- Display two or more pages side by side (when zooming out)
- Cross-browser support (Safari, Chrome, Opera, Firefox)
- Cross-platform support (Windows, Linux, MacOS)


## How to run

You can run this sample by one of following methods

#### Run from source

Download [source code](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/archive/refs/heads/master.zip) from github or clone this repository.

```bash
git clone https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java.git
cd GroupDocs.Viewer-for-Java/Demos/Compose
gradlew run
## Desktop application will be compiled and run
```

#### Build Windows installer from source

Download [source code](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/archive/refs/heads/master.zip) from github or clone this repository.

```bash
git clone https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java.git
cd GroupDocs.Viewer-for-Java/Demos/Compose
gradlew packageMsi
## Windows installer will be built and the path to it will be printed
```

#### Binary release (with all dependencies)

Download [latest release](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/releases/latest) from [releases page](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/releases).

**Note**: This method is **recommended** for running this sample without Java installed.

* Download `groupdocs-viewer-compose-*.zip` file
* Unzip it to any directory
* Run installer and install the application
* After installation, you can run the application using shortcut on your desktop

## License
The MIT License (MIT).

Please have a look at the LICENSE.md for more details

## GroupDocs Viewer on other platforms & frameworks

- [Compare documents](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/tree/master/Demos/Spring) with JAVA Spring
- [Compare documents](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/tree/master/Demos/Dropwizard) with JAVA Dropwizard
- [Compare documents](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/tree/master/Demos/Ktor) with JAVA Ktor
- [Compare documents](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET-MVC) with .NET MVC
- [Compare documents](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET-WebForms) with .NET WebForms

[Home](https://www.groupdocs.com/) | [Product Page](https://products.groupdocs.com/viewer/java) | [Documentation](https://docs.groupdocs.com/viewer/java/) | [Demos](https://products.groupdocs.app/viewer/family) | [API Reference](https://apireference.groupdocs.com/java/viewer) | [Examples](https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java/tree/master/Examples) | [Blog](https://blog.groupdocs.com/category/viewer/) | [Free Support](https://forum.groupdocs.com/c/viewer) | [Temporary License](https://purchase.groupdocs.com/temporary-license)
53 changes: 53 additions & 0 deletions Demos/Compose/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import org.jetbrains.compose.compose
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.5.31"
id("org.jetbrains.compose") version "1.0.0"
}

group = "com.groupdocs.ui"
version = "24.10"

repositories {
google()
mavenLocal()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://releases.groupdocs.com/java/repo/")
}

dependencies {
implementation(compose.desktop.currentOs)
implementation("commons-io:commons-io:2.11.0")
implementation("com.groupdocs:groupdocs-viewer:$version")
}
val javaVersion = JavaVersion.VERSION_11.toString()

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = javaVersion
}
tasks.withType<JavaCompile> {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}

compose.desktop {
application {
mainClass = "com.groupdocs.ui.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "groupdocs-viewer-compose"
packageVersion = "$version.0"

windows {
shortcut = true
iconFile.set(project.file("icon.ico"))
}
linux {
iconFile.set(project.file("icon.ico"))
}
}
}
}
1 change: 1 addition & 0 deletions Demos/Compose/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kotlin.code.style=official
Binary file added Demos/Compose/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions Demos/Compose/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading