All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.msl.pdfier.pdfua.gen.config.HtmlToPdfConfiguration Maven / Gradle / Ivy

Go to download

PDFA Generator based on custom fork of Flying saucer to support PDF/UA (org.msl.xhtmlrenderer)

There is a newer version: 9.1.20
Show newest version
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