PdfFormat
Overview
PdfFormat is a enum in Aspose.PDF FOSS for Java.
Enumerates PDF format standards and versions used for validation and conversion.
This enum provides 15 methods for working with PdfFormat objects in Java programs.
Available methods include: getConformance, getIsoNumber, getPart, getPdfVersion, isLevelA, isLevelU, isPdfA, isPdfA1, isPdfA2OrLater, isPdfA3, isPdfA4, isPdfX, and 3 additional methods.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: conformance, isoNumber, levelA, levelU, part, pdfA, and 9 more.
Values
| Value | Description |
|---|---|
PDF_A_1A | |
PDF_A_1B | |
PDF_A_2A | |
PDF_A_2B | |
PDF_A_2U | |
PDF_A_3A | |
PDF_A_3B | |
PDF_A_3U | |
PDF_A_4 | |
PDF_A_4E | |
PDF_A_4F | |
PDF_UA_1 | |
PDF_X_1A | |
PDF_X_1A_2001 | |
PDF_X_3 | |
v_1_0 | |
v_1_1 | |
v_1_2 | |
v_1_3 | |
v_1_4 | |
v_1_5 | |
v_1_6 | |
v_1_7 | |
v_2_0 |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
isoNumber | String | Read | Returns the ISO standard number (e.g. |
part | int | Read | Returns the part number within the ISO standard (e.g. |
conformance | String | Read | Returns the conformance level (e.g. |
pdfVersion | String | Read | Returns the underlying PDF version string (e.g. |
pdfA | boolean | Read | Returns {@code true} if this format is any PDF/A variant (ISO 19005). |
levelA | boolean | Read | Returns {@code true} if this is a PDF/A Level A conformance. |
levelU | boolean | Read | Returns {@code true} if this is a PDF/A Level U conformance. |
pdfA1 | boolean | Read | Returns {@code true} if this is a PDF/A-1 variant (part 1). |
pdfA2OrLater | boolean | Read | Returns {@code true} if this is PDF/A-2 or later (part >= 2). |
pdfA3 | boolean | Read | Returns {@code true} if this is a PDF/A-3 variant (part 3). |
pdfA4 | boolean | Read | Returns {@code true} if this is a PDF/A-4 variant (part 4). |
pdfX | boolean | Read | Returns {@code true} if this format is any PDF/X variant (ISO 15930). |
pdfX1a | boolean | Read | Returns {@code true} if this is PDF/X-1a specifically. |
pdfX3 | boolean | Read | Returns {@code true} if this is PDF/X-3. |
versionTarget | boolean | Read | Returns {@code true} if this is a plain PDF version target (not a standard). |
Methods
| Signature | Description |
|---|---|
getIsoNumber() → String | Returns the ISO standard number (e.g. |
getPart() → int | Returns the part number within the ISO standard (e.g. |
getConformance() → String | Returns the conformance level (e.g. |
getPdfVersion() → String | Returns the underlying PDF version string (e.g. |
isPdfA() → boolean | Returns {@code true} if this format is any PDF/A variant (ISO 19005). |
isLevelA() → boolean | Returns {@code true} if this is a PDF/A Level A conformance. |
isLevelU() → boolean | Returns {@code true} if this is a PDF/A Level U conformance. |
isPdfA1() → boolean | Returns {@code true} if this is a PDF/A-1 variant (part 1). |
isPdfA2OrLater() → boolean | Returns {@code true} if this is PDF/A-2 or later (part >= 2). |
isPdfA3() → boolean | Returns {@code true} if this is a PDF/A-3 variant (part 3). |
isPdfA4() → boolean | Returns {@code true} if this is a PDF/A-4 variant (part 4). |
isPdfX() → boolean | Returns {@code true} if this format is any PDF/X variant (ISO 15930). |
isPdfX1a() → boolean | Returns {@code true} if this is PDF/X-1a specifically. |
isPdfX3() → boolean | Returns {@code true} if this is PDF/X-3. |
isVersionTarget() → boolean | Returns {@code true} if this is a plain PDF version target (not a standard). |