com.lowagie.text.pdf.internal

Class PdfXConformanceImp

public class PdfXConformanceImp extends Object implements PdfXConformance

Field Summary
protected intpdfxConformance
The value indicating if the PDF has to be in conformance with PDF/X.
static intPDFXKEY_CMYK
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_COLOR
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_FONT
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_GSTATE
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_IMAGE
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_LAYER
A key for an aspect that can be checked for PDF/X Conformance.
static intPDFXKEY_RGB
A key for an aspect that can be checked for PDF/X Conformance.
Method Summary
static voidcheckPDFXConformance(PdfWriter writer, int key, Object obj1)
Business logic that checks if a certain object is in conformance with PDF/X.
voidcompleteExtraCatalog(PdfDictionary extraCatalog)
voidcompleteInfoDictionary(PdfDictionary info)
intgetPDFXConformance()
booleanisPdfA1()
Checks if the PDF has to be in conformance with PDFA1
booleanisPdfA1A()
Checks if the PDF has to be in conformance with PDFA1A
booleanisPdfX()
Checks if the PDF/X Conformance is necessary.
booleanisPdfX1A2001()
Checks if the PDF has to be in conformance with PDF/X-1a:2001
booleanisPdfX32002()
Checks if the PDF has to be in conformance with PDF/X-3:2002
voidsetPDFXConformance(int pdfxConformance)

Field Detail

pdfxConformance

protected int pdfxConformance
The value indicating if the PDF has to be in conformance with PDF/X.

PDFXKEY_CMYK

public static final int PDFXKEY_CMYK
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_COLOR

public static final int PDFXKEY_COLOR
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_FONT

public static final int PDFXKEY_FONT
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_GSTATE

public static final int PDFXKEY_GSTATE
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_IMAGE

public static final int PDFXKEY_IMAGE
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_LAYER

public static final int PDFXKEY_LAYER
A key for an aspect that can be checked for PDF/X Conformance.

PDFXKEY_RGB

public static final int PDFXKEY_RGB
A key for an aspect that can be checked for PDF/X Conformance.

Method Detail

checkPDFXConformance

public static void checkPDFXConformance(PdfWriter writer, int key, Object obj1)
Business logic that checks if a certain object is in conformance with PDF/X.

Parameters: writer the writer that is supposed to write the PDF/X file key the type of PDF/X conformance that has to be checked obj1 the object that is checked for conformance

completeExtraCatalog

public void completeExtraCatalog(PdfDictionary extraCatalog)

completeInfoDictionary

public void completeInfoDictionary(PdfDictionary info)

getPDFXConformance

public int getPDFXConformance()

See Also: getPDFXConformance

isPdfA1

public boolean isPdfA1()
Checks if the PDF has to be in conformance with PDFA1

Returns: true of the PDF has to be in conformance with PDFA1

isPdfA1A

public boolean isPdfA1A()
Checks if the PDF has to be in conformance with PDFA1A

Returns: true of the PDF has to be in conformance with PDFA1A

isPdfX

public boolean isPdfX()
Checks if the PDF/X Conformance is necessary.

Returns: true if the PDF has to be in conformance with any of the PDF/X specifications

isPdfX1A2001

public boolean isPdfX1A2001()
Checks if the PDF has to be in conformance with PDF/X-1a:2001

Returns: true of the PDF has to be in conformance with PDF/X-1a:2001

isPdfX32002

public boolean isPdfX32002()
Checks if the PDF has to be in conformance with PDF/X-3:2002

Returns: true of the PDF has to be in conformance with PDF/X-3:2002

setPDFXConformance

public void setPDFXConformance(int pdfxConformance)

See Also: PdfXConformance