com.msl.pdfier.pdfua.gen.config.HtmlToPdfConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdfier-gen-flying-saucer-pdfua Show documentation
Show all versions of pdfier-gen-flying-saucer-pdfua Show documentation
PDFA Generator based on custom fork of Flying saucer to support PDF/UA (org.msl.xhtmlrenderer)
package com.msl.pdfier.pdfua.gen.config;
import javax.validation.constraints.NotNull;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@Configuration
@ConfigurationProperties(prefix = "html-to-pdf-generation", ignoreUnknownFields = false)
public class HtmlToPdfConfiguration {
@NotNull
private boolean saveGeneratedPdf;
@NotNull
private boolean addLocalFonts;
@NotNull
private boolean sanitizePdf;
public boolean isSaveGeneratedPdf() {
return saveGeneratedPdf;
}
public void setSaveGeneratedPdf(boolean saveGeneratedPdf) {
this.saveGeneratedPdf = saveGeneratedPdf;
}
public boolean isAddLocalFonts() {
return addLocalFonts;
}
public void setAddLocalFonts(boolean addLocalFonts) {
this.addLocalFonts = addLocalFonts;
}
public boolean isSanitizePdf() {
return sanitizePdf;
}
public void setSanitizePdf(boolean sanitizePdf) {
this.sanitizePdf = sanitizePdf;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy