java.lang.Comparable<Conformance.PdfAVersion>
public static class Conformance.PdfAVersion extends java.lang.Object implements java.lang.Comparable<Conformance.PdfAVersion>
Modifier and Type | Class | Description |
---|---|---|
static class |
Conformance.PdfAVersion.Level |
The PDF/A conformance level that defines the requirements on the quality of the document's content.
|
Constructor | Description |
---|---|
PdfAVersion(int part,
Conformance.PdfAVersion.Level level) |
Create a new PDF/A version.
|
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(Conformance.PdfAVersion o) |
|
boolean |
equals(java.lang.Object other) |
|
Conformance.PdfAVersion.Level |
getLevel() |
The PDF/A conformance level
|
int |
getPart() |
The PDF/A part (Standard)
|
int |
hashCode() |
|
java.lang.String |
toString() |
public PdfAVersion(int part, Conformance.PdfAVersion.Level level)
part
- The PDF/A part. Must be 1, 2, or 3 for PDF/A-1, PDF/A-2, or PDF/A-3 (see getPart()
).level
- The conformance level. Must be supported by the PDF/A part (see Conformance.PdfAVersion.Level
).public int getPart()
There are currently three different PDF/A Standards supported.
PDF/A was published by the ISO in 2005 to support long-term archiving of PDF documents. The first release, PDF/A-1, was based on the original PDF 1.4 version where a set of standards criteria was introduced such as ensuring the visual reproducibility of PDF documents regardless of future changes to viewer and printing technologies, and making PDF documents accessible to persons with eye vision challenges.
In July 2011 the ISO released the PDF/A-2 standard that takes advantages of features that only became available in later versions of PDF, up to and including PDF version 1.7. This includes the following features: JPEG2000 compression, embedded PDF/A files, transparency, and optional content (layers).
The ISO Committee released the third edition of the standard in October 2012. PDF/A-3 contains just one change that is necessary but controversial: PDF/A-2 already enabled the embedding of PDF/A-conform document as attachments. PDF/A-3, however, makes it possible to embed any document format such as Excel, Word, HTML, CAD or XML files for the first time ever.
public Conformance.PdfAVersion.Level getLevel()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Conformance.PdfAVersion o)
compareTo
in interface java.lang.Comparable<Conformance.PdfAVersion>