PdfTypePackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.FileTypePackage

public class PdfTypePackage extends FileTypePackage

Represents a metadata package containing PDF-specific file format information.

Methods

Method Description
getPdfFormat() Gets the detected PDF format.
isPdfA() Gets a value indicating whether the document conforms to any PDF/A standard.
isPdfX() Gets a value indicating whether the document conforms to any PDF/X standard.
getVersion() Gets the version of the format.

getPdfFormat()

public final PdfFormat getPdfFormat()

Gets the detected PDF format.

Returns: PdfFormat - The detected PDF format.

isPdfA()

public final boolean isPdfA()

Gets a value indicating whether the document conforms to any PDF/A standard.

Returns: boolean - true if the document is identified as PDF/A; otherwise, false .

isPdfX()

public final boolean isPdfX()

Gets a value indicating whether the document conforms to any PDF/X standard.

Returns: boolean - true if the document is identified as PDF/X; otherwise, false .

getVersion()

public final String getVersion()

Gets the version of the format.

Returns: java.lang.String - The version of the format.