iText 8.0.2 API
iText.Kernel.Pdf.PdfDeveloperExtension Class Reference

Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given document contains extensions to PDF. More...

Public Member Functions

  PdfDeveloperExtension (PdfName prefix, PdfName baseVersion, int extensionLevel)
  Creates a PdfDeveloperExtension object. More...
 
  PdfDeveloperExtension (PdfName prefix, PdfName baseVersion, int extensionLevel, String url, String extensionRevision, bool isMultiValued)
  Creates a PdfDeveloperExtension object. More...
 
virtual PdfName  GetPrefix ()
  Gets the prefix name. More...
 
virtual PdfName  GetBaseVersion ()
  Gets the baseVersion name. More...
 
virtual int  GetExtensionLevel ()
  Gets the extension level within the baseVersion. More...
 
virtual bool  IsMultiValued ()
  Indicates whether the extension prefix is multivalued (ISO 32000-2:2020). More...
 
virtual PdfDictionary  GetDeveloperExtensions ()
  Generations the developer extension dictionary corresponding with the prefix. More...
 

Static Public Attributes

static readonly iText.Kernel.Pdf.PdfDeveloperExtension  ADOBE_1_7_EXTENSIONLEVEL3
  An instance of this class for Adobe 1.7 Extension level 3. More...
 
static readonly iText.Kernel.Pdf.PdfDeveloperExtension  ESIC_1_7_EXTENSIONLEVEL2
  An instance of this class for ETSI 1.7 Extension level 2. More...
 
static readonly iText.Kernel.Pdf.PdfDeveloperExtension  ESIC_1_7_EXTENSIONLEVEL5
  An instance of this class for ETSI 1.7 Extension level 5. More...
 
static readonly iText.Kernel.Pdf.PdfDeveloperExtension  ISO_32001
  An instance of this class for ISO/TS 32001. More...
 
static readonly iText.Kernel.Pdf.PdfDeveloperExtension  ISO_32002
  An instance of this class for ISO/TS 32002. More...
 

Detailed Description

Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given document contains extensions to PDF.

Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given document contains extensions to PDF. The presence of the extension dictionary in a document indicates that it may contain developer-specific PDF properties that extend a particular base version of the PDF specification. The extensions dictionary enables developers to identify their own extensions relative to a base version of PDF. Additionally, the convention identifies extension levels relative to that base version. The intent of this dictionary is to enable developers of PDF-producing applications to identify company-specific specifications that PDF-consuming applications use to interpret the extensions.

Constructor & Destructor Documentation

◆ PdfDeveloperExtension() [1/2]

iText.Kernel.Pdf.PdfDeveloperExtension.PdfDeveloperExtension ( PdfName  prefix,
PdfName  baseVersion,
int  extensionLevel 
)
inline

Creates a PdfDeveloperExtension object.

Parameters
prefix the prefix referring to the developer
baseVersion the number of the base version
extensionLevel the extension level within the base version

◆ PdfDeveloperExtension() [2/2]

iText.Kernel.Pdf.PdfDeveloperExtension.PdfDeveloperExtension ( PdfName  prefix,
PdfName  baseVersion,
int  extensionLevel,
String  url,
String  extensionRevision,
bool  isMultiValued 
)
inline

Creates a PdfDeveloperExtension object.

Parameters
prefix the prefix referring to the developer
baseVersion the number of the base version
extensionLevel the extension level within the base version
extensionRevision the extension revision identifier
url the URL specifying where to find more information about the extension
isMultiValued flag indicating whether the extension prefix can have multiple values

Member Function Documentation

◆ GetBaseVersion()

virtual PdfName iText.Kernel.Pdf.PdfDeveloperExtension.GetBaseVersion ( )
inlinevirtual

Gets the baseVersion name.

Returns
a PdfName

◆ GetDeveloperExtensions()

virtual PdfDictionary iText.Kernel.Pdf.PdfDeveloperExtension.GetDeveloperExtensions ( )
inlinevirtual

Generations the developer extension dictionary corresponding with the prefix.

Returns
a PdfDictionary

◆ GetExtensionLevel()

virtual int iText.Kernel.Pdf.PdfDeveloperExtension.GetExtensionLevel ( )
inlinevirtual

Gets the extension level within the baseVersion.

Returns
an integer

◆ GetPrefix()

virtual PdfName iText.Kernel.Pdf.PdfDeveloperExtension.GetPrefix ( )
inlinevirtual

Gets the prefix name.

Returns
a PdfName

◆ IsMultiValued()

virtual bool iText.Kernel.Pdf.PdfDeveloperExtension.IsMultiValued ( )
inlinevirtual

Indicates whether the extension prefix is multivalued (ISO 32000-2:2020).

Returns
true if multivalued

Member Data Documentation

◆ ADOBE_1_7_EXTENSIONLEVEL3

readonly iText.Kernel.Pdf.PdfDeveloperExtension iText.Kernel.Pdf.PdfDeveloperExtension.ADOBE_1_7_EXTENSIONLEVEL3
static
Initial value:
(PdfName.ADBE, PdfName.Pdf_Version_1_7, 3)

An instance of this class for Adobe 1.7 Extension level 3.

◆ ESIC_1_7_EXTENSIONLEVEL2

readonly iText.Kernel.Pdf.PdfDeveloperExtension iText.Kernel.Pdf.PdfDeveloperExtension.ESIC_1_7_EXTENSIONLEVEL2
static
Initial value:
(PdfName.ESIC, PdfName.Pdf_Version_1_7, 2)

An instance of this class for ETSI 1.7 Extension level 2.

◆ ESIC_1_7_EXTENSIONLEVEL5

readonly iText.Kernel.Pdf.PdfDeveloperExtension iText.Kernel.Pdf.PdfDeveloperExtension.ESIC_1_7_EXTENSIONLEVEL5
static
Initial value:
(PdfName.ESIC, PdfName.Pdf_Version_1_7, 5)

An instance of this class for ETSI 1.7 Extension level 5.

◆ ISO_32001

readonly iText.Kernel.Pdf.PdfDeveloperExtension iText.Kernel.Pdf.PdfDeveloperExtension.ISO_32001
static
Initial value:
(PdfName.ISO_, PdfName.Pdf_Version_2_0, 32001, "https://www.iso.org/standard/45874.html", ":2022", true
)

An instance of this class for ISO/TS 32001.

◆ ISO_32002

readonly iText.Kernel.Pdf.PdfDeveloperExtension iText.Kernel.Pdf.PdfDeveloperExtension.ISO_32002
static
Initial value:
(PdfName.ISO_, PdfName.Pdf_Version_2_0, 32002, "https://www.iso.org/standard/45875.html", ":2022", true
)

An instance of this class for ISO/TS 32002.

iText.Kernel.Pdf
Definition: PdfAction.cs:33
iText.Kernel
Definition: ITextCoreProductData.cs:27
iText.Kernel.Pdf.PdfDeveloperExtension
Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given docu...
Definition: PdfDeveloperExtension.cs:42
iText
Definition: Barcode128.cs:35