public class PdfXConformanceImp extends Object implements PdfXConformance
Modifier and Type | Field and Description |
---|---|
protected int |
pdfxConformance
The value indicating if the PDF has to be in conformance with PDF/X.
|
protected PdfWriter |
writer |
Constructor and Description |
---|
PdfXConformanceImp(PdfWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
checkPdfIsoConformance(int key, Object obj1)
Business logic that checks if a certain object is in conformance with PDF/X.
|
int |
getPDFXConformance()
Getter for the PDF/X Conformance value.
|
boolean |
isPdfIso()
Checks if any PDF ISO conformance is necessary.
|
boolean |
isPdfX()
Checks if the PDF/X Conformance is necessary.
|
boolean |
isPdfX1A2001()
Checks if the PDF has to be in conformance with PDF/X-1a:2001
|
boolean |
isPdfX32002()
Checks if the PDF has to be in conformance with PDF/X-3:2002
|
void |
setPDFXConformance(int pdfxConformance)
Sets the PDF/X conformance level.
|
protected int pdfxConformance
protected PdfWriter writer
public PdfXConformanceImp(PdfWriter writer)
public void setPDFXConformance(int pdfxConformance)
PdfXConformance
setPDFXConformance
in interface PdfXConformance
pdfxConformance
- the conformance level
PdfXConformance.setPDFXConformance(int)
public int getPDFXConformance()
PdfXConformance
getPDFXConformance
in interface PdfXConformance
PdfXConformance.getPDFXConformance()
public boolean isPdfIso()
PdfIsoConformance
isPdfIso
in interface PdfIsoConformance
true
if the PDF has to be in conformance with any of the PDF ISO specifications
PdfIsoConformance.isPdfIso()
public boolean isPdfX()
isPdfX
in interface PdfXConformance
public boolean isPdfX1A2001()
public boolean isPdfX32002()
public void checkPdfIsoConformance(int key, Object obj1)
checkPdfIsoConformance
in interface PdfIsoConformance
key
- the type of PDF ISO conformance that has to be checked
obj1
- the object that is checked for conformance
Copyright © 2016. All rights reserved.