public final class X1Profile extends XProfileBase
_bleedBoxPresent, _xType, PDFX1, PDFX1A, PDFX2, PDFX3
_module, _parser, _profileText, _raf
Constructor and Description |
---|
X1Profile(PdfModule module)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
formObjectOK(PdfDictionary xo)
Checks if a Form xobject is valid.
|
boolean |
isX1aCompliant()
Returns the result of X-1a compliance testing which was performed in
the course of
satisfiesThisProfile . |
boolean |
satisfiesThisProfile()
Returns
true if the document satisfies the profile. |
protected boolean |
xObjectOK(PdfDictionary xo)
Checks a single XObject for xObjectsOK.
|
bboxOK, checkPrefsAgainstBleedBox, extGStateOK, filterOK, imageObjectOK, infoDictOK, isBleedBoxPresent, outputIntentsOK, trailerDictOK
getText, hasFilters, isAlreadyOK, satisfiesProfile, xObjectsOK
public X1Profile(PdfModule module)
module
- The module under which we are checking the profile.public boolean satisfiesThisProfile()
true
if the document satisfies the profile.
X-1a compliance is a superset of the requirements of X-1 compliance
(i.e., X-1a compliant documents are a subset of X-1 compliant
documents), so we test for X-1a compliance at the same time.
The result can subsequently be obtained by calling
isX1aCompliant
.satisfiesThisProfile
in class PdfProfile
public boolean isX1aCompliant()
satisfiesThisProfile
. If
satisfiesThisProfile
hasn't been called, returns
false
.protected boolean xObjectOK(PdfDictionary xo)
XProfileBase
xObjectOK
in class XProfileBase
protected boolean formObjectOK(PdfDictionary xo)
formObjectOK
in class XProfileBase
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.