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

org.fugerit.java.doc.mod.pdfbox.PdfBoxHelper Maven / Gradle / Ivy

There is a newer version: 0.5.0-rc.001
Show newest version
package org.fugerit.java.doc.mod.pdfbox;

import java.util.Properties;

import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDPage;

public class PdfBoxHelper {

	public PdfBoxHelper() {
		this.params = new Properties();
	}
	
	private String defFontName;
	
	private String defFontSize;
	
	private String defFontStyle;
		
	private Properties params;

	private PDPage currentPage;
	
	public PDPage getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(PDPage currentPage) {
		this.currentPage = currentPage;
	}

	public Properties getParams() {
		return params;
	}

	public void setParams(Properties params) {
		this.params = params;
	}

	public String getDefFontName() {
		return defFontName;
	}

	public void setDefFontName(String defFontName) {
		this.defFontName = defFontName;
	}

	public String getDefFontSize() {
		return defFontSize;
	}

	public void setDefFontSize(String defFontSize) {
		this.defFontSize = defFontSize;
	}

	public String getDefFontStyle() {
		return defFontStyle;
	}

	public void setDefFontStyle(String defFontStyle) {
		this.defFontStyle = defFontStyle;
	}
	
	private PDDocument pdfWriter;

	public PDDocument getPdfWriter() {
		return pdfWriter;
	}

	public void setPdfWriter(PDDocument pdfWriter) {
		this.pdfWriter = pdfWriter;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy