-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: info about the used weasyprint docker-image version (#115)
Refs: #104
- Loading branch information
1 parent
aa9156b
commit 0669e8b
Showing
10 changed files
with
99 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/ch/sbb/polarion/extension/pdf/exporter/weasyprint/WeasyPrintConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package ch.sbb.polarion.extension.pdf.exporter.weasyprint; | ||
|
||
import java.lang.module.ModuleDescriptor; | ||
import ch.sbb.polarion.extension.pdf.exporter.weasyprint.service.model.WeasyPrintInfo; | ||
|
||
public interface WeasyPrintConverter { | ||
byte[] convertToPdf(String htmlPage, WeasyPrintOptions weasyPrintOptions); | ||
|
||
ModuleDescriptor.Version getWeasyPrintVersion(); | ||
WeasyPrintInfo getWeasyPrintInfo(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
.../java/ch/sbb/polarion/extension/pdf/exporter/weasyprint/service/model/WeasyPrintInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package ch.sbb.polarion.extension.pdf.exporter.weasyprint.service.model; | ||
|
||
import lombok.Data; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
@Data | ||
public class WeasyPrintInfo { | ||
private @Nullable String python; | ||
private @Nullable String weasyprint; | ||
private @Nullable String weasyprintService; | ||
} |
9 changes: 0 additions & 9 deletions
9
...bb/polarion/extension/pdf/exporter/weasyprint/service/model/WeasyPrintServiceVersion.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.