Standardmäßig ZF1 exportieren
This commit is contained in:
@@ -78,13 +78,13 @@ public class XMPSchemaPDFAExtensions extends PDFAExtensionSchema {
|
||||
|
||||
public XMPSchemaPDFAExtensions(XMPMetadata metadata) {
|
||||
super(metadata);
|
||||
setZUGFeRDVersion(2);
|
||||
setZUGFeRDVersion(ZUGFeRDExporter.DefaultZUGFeRDVersion);
|
||||
attachExtensions(metadata, true);
|
||||
}
|
||||
|
||||
public XMPSchemaPDFAExtensions(XMPMetadata metadata, boolean withZF) {
|
||||
super(metadata);
|
||||
setZUGFeRDVersion(2);
|
||||
setZUGFeRDVersion(ZUGFeRDExporter.DefaultZUGFeRDVersion);
|
||||
attachExtensions(metadata, withZF);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ import java.util.Map;
|
||||
|
||||
public class ZUGFeRDExporter implements Closeable {
|
||||
|
||||
public static final int DefaultZUGFeRDVersion = 1;
|
||||
|
||||
/**
|
||||
* To use the ZUGFeRD exporter, implement IZUGFeRDExportableTransaction in
|
||||
* yourTransaction (which will require you to implement Product, Item and
|
||||
@@ -128,7 +130,7 @@ public class ZUGFeRDExporter implements Closeable {
|
||||
}
|
||||
|
||||
private void init() {
|
||||
setZUGFeRDVersion(2);
|
||||
setZUGFeRDVersion(DefaultZUGFeRDVersion);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,7 +40,7 @@ public class ZUGFeRDExporterFromA3Factory implements IExporterFactory {
|
||||
protected PDMetadata metadata = null;
|
||||
protected PDFAIdentificationSchema pdfaid = null;
|
||||
protected XMPMetadata xmp = null;
|
||||
protected int ZFVersion=2;
|
||||
protected int ZFVersion=ZUGFeRDExporter.DefaultZUGFeRDVersion;
|
||||
/**
|
||||
* Makes A PDF/A3a-compliant document from a PDF-A1 compliant document (on the
|
||||
* metadata level, this will not e.g. convert graphics to JPG-2000)
|
||||
|
||||
Reference in New Issue
Block a user