iText 7 7.1.9 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...
 
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 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...
 

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()

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 baseverion.

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

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.

iText.Kernel.Pdf
Definition: PdfAction.cs:53
iText.Kernel
Definition: CalGray.cs:46
iText.Kernel.Pdf.PdfDeveloperExtension
Beginning with BaseVersion 1.7, the extensions dictionary lets developers designate that a given docu...
Definition: PdfDeveloperExtension.cs:61
iText
Definition: Barcode128.cs:55