public class ZUGFeRDExporterFromA1 extends ZUGFeRDExporterFromA3 implements IZUGFeRDExporter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ignorePDFAErrors |
author, conformanceLevel, creator, creatorTool, DefaultZUGFeRDVersion, doc, documentPrepared, fileAttachments, metadata, overwrite, producer, subject, title, xmp, XRechnungVersion, ZFVersion| Constructor and Description |
|---|
ZUGFeRDExporterFromA1() |
| Modifier and Type | Method and Description |
|---|---|
ZUGFeRDExporterFromA1 |
convertOnly() |
ZUGFeRDExporterFromA1 |
disableAutoClose(boolean disableAutoClose) |
boolean |
ensurePDFIsValid(javax.activation.DataSource dataSource) |
ZUGFeRDExporterFromA1 |
ignorePDFAErrors() |
ZUGFeRDExporterFromA1 |
load(byte[] pdfBinary)
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)
|
ZUGFeRDExporterFromA1 |
load(java.io.InputStream pdfSource)
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)
|
ZUGFeRDExporterFromA1 |
load(java.lang.String pdfFilename)
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)
|
ZUGFeRDExporterFromA1 |
setConformanceLevel(PDFAConformanceLevel newLevel)
All files are PDF/A-3, setConformance refers to the level conformance.
|
ZUGFeRDExporterFromA1 |
setCreator(java.lang.String creator) |
ZUGFeRDExporterFromA1 |
setProducer(java.lang.String producer) |
ZUGFeRDExporterFromA1 |
setProfile(Profile p) |
ZUGFeRDExporterFromA1 |
setProfile(java.lang.String profileName) |
ZUGFeRDExporterFromA1 |
setXML(byte[] zugferdData)
Sets the ZUGFeRD XML data to be attached as a single byte array.
|
ZUGFeRDExporterFromA1 |
setZUGFeRDVersion(EStandard est,
int version) |
ZUGFeRDExporterFromA1 |
setZUGFeRDVersion(int version) |
addAdditionalFile, addSRGBOutputIntend, addStructureTreeRoot, addXMP, attachFile, attachFile, close, disableFacturX, export, export, getAdobePDFSchema, getDublinCoreSchema, getFilenameForVersion, getNamespaceForVersion, getPDFAIdentificationSchema, getPrefixForVersion, getProvider, getXmpBasicSchema, getXmpMetadata, isAutoCloseDisabled, PDFAttachGenericFile, PDFAttachGenericFile, prepare, prepareDocument, serializeXmpMetadata, setAttachZUGFeRDHeaders, setCreatorTool, setFacturX, setMarked, setTransaction, setXMLProvider, setXRechnungSpecificVersion, writeAdobePDFSchema, writeDocumentInformation, writeDublinCoreSchema, writePDFAIdentificationSchema, writeXMLBasicSchemaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableFacturX, getNamespaceForVersion, getPrefixForVersion, getProviderexport, export, setTransactionpublic ZUGFeRDExporterFromA1 ignorePDFAErrors()
public ZUGFeRDExporterFromA1 setProfile(Profile p)
setProfile in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setProfile(java.lang.String profileName)
setProfile in class ZUGFeRDExporterFromA3public boolean ensurePDFIsValid(javax.activation.DataSource dataSource)
throws java.io.IOException
ensurePDFIsValid in interface IZUGFeRDExporterensurePDFIsValid in class ZUGFeRDExporterFromA3java.io.IOExceptionpublic ZUGFeRDExporterFromA1 load(java.lang.String pdfFilename) throws java.io.IOException
ZUGFeRDExporterFromA3load in interface IZUGFeRDExporterload in class ZUGFeRDExporterFromA3pdfFilename - filename of an PDF/A1 compliant documentjava.io.IOException - if anything is wrong with filenamepublic ZUGFeRDExporterFromA1 load(byte[] pdfBinary) throws java.io.IOException
ZUGFeRDExporterFromA3load in interface IZUGFeRDExporterload in class ZUGFeRDExporterFromA3pdfBinary - binary of a PDF/A1 compliant documentjava.io.IOException - (should not happen at all)public ZUGFeRDExporterFromA1 load(java.io.InputStream pdfSource) throws java.io.IOException
ZUGFeRDExporterFromA3load in interface IZUGFeRDExporterload in class ZUGFeRDExporterFromA3pdfSource - source to read a PDF/A1 compliant document fromjava.io.IOException - if anything is wrong with inputstreampublic ZUGFeRDExporterFromA1 setCreator(java.lang.String creator)
setCreator in interface IZUGFeRDExportersetCreator in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setConformanceLevel(PDFAConformanceLevel newLevel)
ZUGFeRDExporterFromA3PDF/A-3 has three coformance levels, called "A", "U" and "B".
PDF/A-3-B where B means only visually preservable, U -standard for Mustang- means visually and unicode preservable and A means full compliance, i.e. visually, unicode and structurally preservable and tagged PDF, i.e. useful metainformation for blind people.
Feel free to pass "A" as new level if you know what you are doing :-)
setConformanceLevel in interface IZUGFeRDExportersetConformanceLevel in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setProducer(java.lang.String producer)
setProducer in interface IZUGFeRDExportersetProducer in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setZUGFeRDVersion(EStandard est, int version)
setZUGFeRDVersion in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setZUGFeRDVersion(int version)
setZUGFeRDVersion in interface IZUGFeRDExportersetZUGFeRDVersion in class ZUGFeRDExporterFromA3public ZUGFeRDExporterFromA1 setXML(byte[] zugferdData) throws java.io.IOException
ZUGFeRDExporterFromA3setXML in interface IZUGFeRDExportersetXML in class ZUGFeRDExporterFromA3zugferdData - XML data to be set as a byte array (XML file in raw form).java.io.IOException - (should not happen)public ZUGFeRDExporterFromA1 disableAutoClose(boolean disableAutoClose)
disableAutoClose in interface IZUGFeRDExporterdisableAutoClose in class ZUGFeRDExporterFromA3disableAutoClose - prevent PDF file from being closed after adding ZFpublic ZUGFeRDExporterFromA1 convertOnly()
Copyright © 2023. All rights reserved.