Class Conformance.PdfAVersion
- java.lang.Object
-
- com.pdftools.pdf.Conformance.PdfAVersion
-
- All Implemented Interfaces:
java.lang.Comparable<Conformance.PdfAVersion>
- Enclosing class:
- Conformance
public static class Conformance.PdfAVersion extends java.lang.Object implements java.lang.Comparable<Conformance.PdfAVersion>
The attributes of a PDF/A version
-
-
Nested Class Summary
Nested Classes 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 Summary
Constructors Constructor Description PdfAVersion(int part, Conformance.PdfAVersion.Level level)
Create a new PDF/A version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Conformance.PdfAVersion o)
boolean
equals(java.lang.Object other)
Conformance.PdfAVersion.Level
getLevel()
The PDF/A conformance levelint
getPart()
The PDF/A part (Standard)int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PdfAVersion
public PdfAVersion(int part, Conformance.PdfAVersion.Level level)
Create a new PDF/A version.- Parameters:
part
- The PDF/A part. Must be 1, 2, or 3 for PDF/A-1, PDF/A-2, or PDF/A-3 (seegetPart()
).level
- The conformance level. Must be supported by the PDF/A part (seeConformance.PdfAVersion.Level
).
-
-
Method Detail
-
getPart
public int getPart()
The PDF/A part (Standard)
There are currently three different PDF/A Standards supported.
-
PDF/A-1 (ISO 19005-1)
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.
-
PDF/A-2 (ISO 19005-2)
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).
-
PDF/A-3 (ISO 19005-3)
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.
-
PDF/A-1 (ISO 19005-1)
-
getLevel
public Conformance.PdfAVersion.Level getLevel()
The PDF/A conformance level
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(Conformance.PdfAVersion o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Conformance.PdfAVersion>
-
-