DsPdfJS API - v9.1.0
    Preparing search index...

    Class FileSpecification

    Represents a PDF File Specification.

    The complex architecture of this class is based on the PDF Specification, for full details please consult that spec.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get desc(): string | null

      Gets or sets the description of this File Specification.

      Returns string | null

    • set desc(value: string | null): void

      Gets or sets the description of this File Specification.

      Parameters

      • value: string | null

      Returns void

    • get fileSystem(): string | null

      Gets or sets the file system to be used to interpret this file specification.

      If this property is present, all other properties are interpreted by the designated file system. PDF defines only one standard file system name, URL; an application or plug-in extension can register other names.

      Returns string | null

    • set fileSystem(value: string | null): void

      Gets or sets the file system to be used to interpret this file specification.

      If this property is present, all other properties are interpreted by the designated file system. PDF defines only one standard file system name, URL; an application or plug-in extension can register other names.

      Parameters

      • value: string | null

      Returns void

    • get hasEmbeddedFileStream(): boolean

      Gets a value indicating that this file specification has at least one EmbeddedFileStream associated with it.

      Returns boolean

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get ID(): FileID | null

      Gets or sets the FileID object specifying the ID of the referenced file.

      This property improves an application's chances of finding the intended file and allows it to warn the user if the file has changed since the link was made.

      Returns FileID | null

    • set ID(value: FileID | null): void

      Gets or sets the FileID object specifying the ID of the referenced file.

      This property improves an application's chances of finding the intended file and allows it to warn the user if the file has changed since the link was made.

      Parameters

      Returns void

    • get relationship(): string | null

      Gets or sets a value that represents the relationship of this object to the source that points to it.

      Predefined values are Source, Data, Alternative, Supplement and Unspecified.

      Returns string | null

    • set relationship(value: string | null): void

      Gets or sets a value that represents the relationship of this object to the source that points to it.

      Predefined values are Source, Data, Alternative, Supplement and Unspecified.

      Parameters

      • value: string | null

      Returns void

    • get volatile(): boolean

      Gets or sets a value indicating whether the file referenced by the file specification is volatile (changes frequently with time). If the value is true, applications should never cache a copy of the file.

      Returns boolean

    • set volatile(value: boolean): void

      Gets or sets a value indicating whether the file referenced by the file specification is volatile (changes frequently with time). If the value is true, applications should never cache a copy of the file.

      Parameters

      • value: boolean

      Returns void

    Methods

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void

    • Gets a value indicating that this file specification has at least one EmbeddedFileStream associated with it.

      Returns Uint8Array<ArrayBufferLike> | null