git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378564
13f79535-47bb-0310-9956-
ffa450edef68
/** @return true if this mode obey the restrictions established by PDF/A-1b. */
public boolean isPDFA1LevelB() {
return (this != DISABLED);
+ //PDF/A-1a is a superset of PDF/A-1b!
}
/**
if (mode == null) {
throw new NullPointerException("mode must not be null");
}
+ if (mode == PDFAMode.PDFA_1A) {
+ throw new UnsupportedOperationException("PDF/A-1a is not implemented, yet");
+ } else if (mode == PDFAMode.PDFA_1B) {
+ log.warn("Please note: PDF/A-1b is 'WORK IN PROGRESS' and not fully supported, yet!");
+ }
this.pdfAMode = mode;
}