1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-09-21 04:10:38 +02:00

Compare commits

..

No commits in common. "e824a3e7bda00d969c3389a929bf2e2f3a48979a" and "3e9123fcd51acd8d697b1623e32c6e4755043c7c" have entirely different histories.

9 changed files with 14 additions and 12 deletions

View File

@ -192,8 +192,7 @@ Stirling PDF currently supports 28!
| Ukrainian (Українська) (uk_UA) | ![87%](https://geps.dev/progress/87) |
| Slovakian (Slovensky) (sk_SK) | ![96%](https://geps.dev/progress/96) |
| Czech (Česky) (cs_CZ) | ![94%](https://geps.dev/progress/94) |
| Croatian (Hrvatski) (hr_HR) | ![94%](https://geps.dev/progress/94) |
| Norwegian (Norsk) (no_NB) | ![94%](https://geps.dev/progress/94) |
| Croatian (Hrvatski) (hr_HR) | ![94%](https://geps.dev/progress/94) |
## Contributing (creating issues, translations, fixing bugs, etc.)

View File

@ -171,14 +171,14 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.32'
}
tasks.withType(JavaCompile).configureEach {
tasks.withType(JavaCompile) {
dependsOn 'spotlessApply'
}
compileJava {
options.compilerArgs << '-parameters'
}
tasks.register('writeVersion') {
task writeVersion {
def propsFile = file('src/main/resources/version.properties')
def props = new Properties()
props.setProperty('version', version)
@ -195,6 +195,8 @@ swaggerhubUpload {
oas '3.0.0' // The version of the OpenAPI Specification you're using
}
jar {
enabled = false
manifest {
@ -208,6 +210,6 @@ tasks.named('test') {
useJUnitPlatform()
}
tasks.register('printVersion') {
println project.version
task printVersion {
println project.version
}

View File

@ -13,7 +13,7 @@ services:
timeout: 10s
retries: 16
ports:
- "8080:8080"
- 8080:8080
volumes:
- /stirling/latest/data:/usr/share/tessdata:rw
- /stirling/latest/config:/configs:rw

View File

@ -13,7 +13,7 @@ services:
timeout: 10s
retries: 16
ports:
- "8080:8080"
- 8080:8080
volumes:
- /stirling/latest/data:/usr/share/tessdata:rw
- /stirling/latest/config:/configs:rw

View File

@ -13,7 +13,7 @@ services:
timeout: 10s
retries: 16
ports:
- "8080:8080"
- 8080:8080
volumes:
- /stirling/latest/data:/usr/share/tessdata:rw
- /stirling/latest/config:/configs:rw

View File

@ -13,7 +13,7 @@ services:
timeout: 10s
retries: 16
ports:
- "8080:8080"
- 8080:8080
volumes:
- /stirling/latest/config:/configs:rw
- /stirling/latest/logs:/logs:rw

View File

@ -13,7 +13,7 @@ services:
timeout: 10s
retries: 16
ports:
- "8080:8080"
- 8080:8080
volumes:
- /stirling/latest/data:/usr/share/tessdata:rw
- /stirling/latest/config:/configs:rw

View File

@ -117,6 +117,7 @@ public class PDFTableStripper extends PDFTextStripper {
/**
* Instantiate a new PDFTableStripper object.
*
* @param document
* @throws IOException If there is an error loading the properties.
*/
public PDFTableStripper() throws IOException {

View File

@ -53,7 +53,7 @@ public class FileToPdf {
command.add("--paper-size");
command.add("a4");
if (request != null && request.getZoom() != 1.0) {
if (request.getZoom() != 1.0) {
// Create a temporary CSS file
File tempCssFile = Files.createTempFile("customStyle", ".css").toFile();
try (FileWriter writer = new FileWriter(tempCssFile)) {