public class PdfDeveloperExtension extends Object
Modifier and Type | Field and Description |
---|---|
static PdfDeveloperExtension |
ADOBE_1_7_EXTENSIONLEVEL3
An instance of this class for Adobe 1.7 Extension level 3.
|
protected PdfName |
baseVersion
The base version.
|
static PdfDeveloperExtension |
ESIC_1_7_EXTENSIONLEVEL2
An instance of this class for ETSI 1.7 Extension level 2.
|
static PdfDeveloperExtension |
ESIC_1_7_EXTENSIONLEVEL5
An instance of this class for ETSI 1.7 Extension level 5.
|
protected int |
extensionLevel
The extension level within the base version.
|
static PdfDeveloperExtension |
ISO_32001
An instance of this class for ISO/TS 32001.
|
static PdfDeveloperExtension |
ISO_32002
An instance of this class for ISO/TS 32002.
|
protected PdfName |
prefix
The prefix used in the Extensions dictionary added to the Catalog.
|
Constructor and Description |
---|
PdfDeveloperExtension(PdfName prefix,
PdfName baseVersion,
int extensionLevel)
Creates a PdfDeveloperExtension object.
|
PdfDeveloperExtension(PdfName prefix,
PdfName baseVersion,
int extensionLevel,
String url,
String extensionRevision,
boolean isMultiValued)
Creates a PdfDeveloperExtension object.
|
Modifier and Type | Method and Description |
---|---|
PdfName |
getBaseVersion()
Gets the baseVersion name.
|
PdfDictionary |
getDeveloperExtensions()
Generations the developer extension dictionary corresponding
with the prefix.
|
int |
getExtensionLevel()
Gets the extension level within the baseVersion.
|
PdfName |
getPrefix()
Gets the prefix name.
|
boolean |
isMultiValued()
Indicates whether the extension prefix is multivalued (ISO 32000-2:2020).
|
public static final PdfDeveloperExtension ADOBE_1_7_EXTENSIONLEVEL3
public static final PdfDeveloperExtension ESIC_1_7_EXTENSIONLEVEL2
public static final PdfDeveloperExtension ESIC_1_7_EXTENSIONLEVEL5
public static final PdfDeveloperExtension ISO_32001
public static final PdfDeveloperExtension ISO_32002
protected PdfName prefix
protected PdfName baseVersion
protected int extensionLevel
public PdfDeveloperExtension(PdfName prefix, PdfName baseVersion, int extensionLevel)
prefix
- the prefix referring to the developerbaseVersion
- the number of the base versionextensionLevel
- the extension level within the base versionpublic PdfDeveloperExtension(PdfName prefix, PdfName baseVersion, int extensionLevel, String url, String extensionRevision, boolean isMultiValued)
prefix
- the prefix referring to the developerbaseVersion
- the number of the base versionextensionLevel
- the extension level within the base versionextensionRevision
- the extension revision identifierurl
- the URL specifying where to find more information about the extensionisMultiValued
- flag indicating whether the extension prefix can have multiple valuespublic PdfName getPrefix()
public PdfName getBaseVersion()
public int getExtensionLevel()
public boolean isMultiValued()
public PdfDictionary getDeveloperExtensions()
Copyright © 1998–2023 Apryse Group NV. All rights reserved.