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.
|
static int |
PDFXKEY_CMYK
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_COLOR
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_FONT
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_GSTATE
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_IMAGE
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_LAYER
A key for an aspect that can be checked for PDF/X Conformance.
|
static int |
PDFXKEY_RGB
A key for an aspect that can be checked for PDF/X Conformance.
|
| Constructor and Description |
|---|
PdfXConformanceImp() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPDFXConformance(PdfWriter writer,
int key,
Object obj1)
Business logic that checks if a certain object is in conformance with PDF/X.
|
void |
completeExtraCatalog(PdfDictionary extraCatalog) |
void |
completeInfoDictionary(PdfDictionary info) |
int |
getPDFXConformance()
Getter for the PDF/X Conformance value.
|
boolean |
isPdfA1()
Checks if the PDF has to be in conformance with PDFA1
|
boolean |
isPdfA1A()
Checks if the PDF has to be in conformance with PDFA1A
|
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.
|
public static final int PDFXKEY_COLOR
public static final int PDFXKEY_CMYK
public static final int PDFXKEY_RGB
public static final int PDFXKEY_FONT
public static final int PDFXKEY_IMAGE
public static final int PDFXKEY_GSTATE
public static final int PDFXKEY_LAYER
protected int pdfxConformance
public static void checkPDFXConformance(PdfWriter writer, int key, Object obj1)
writer - the writer that is supposed to write the PDF/X filekey - the type of PDF/X conformance that has to be checkedobj1 - the object that is checked for conformancepublic int getPDFXConformance()
PdfXConformancegetPDFXConformance in interface PdfXConformancePdfXConformance.getPDFXConformance()public void setPDFXConformance(int pdfxConformance)
PdfXConformancesetPDFXConformance in interface PdfXConformancepdfxConformance - the conformance levelPdfXConformance.setPDFXConformance(int)public boolean isPdfX()
isPdfX in interface PdfXConformancepublic boolean isPdfX1A2001()
public boolean isPdfX32002()
public boolean isPdfA1()
public boolean isPdfA1A()
public void completeInfoDictionary(PdfDictionary info)
public void completeExtraCatalog(PdfDictionary extraCatalog)
Copyright © 2024. All rights reserved.