[]
        
(Showing Draft Content)

FileInfo

Class: FileInfo

Represents information about a file for a particular platform, see FileSpecification.file, FileSpecification.unicodeFile, FileSpecification.dosFile, FileSpecification.macFile and FileSpecification.unixFile.

Extends

Accessors

embeddedFileStream

Get Signature

get embeddedFileStream(): EmbeddedFileStream;

Gets the EmbeddedFileStream associated with this file specification.

Returns

EmbeddedFileStream

Set Signature

set embeddedFileStream(value): void;

Sets the EmbeddedFileStream associated with this file specification.

Parameters
value

EmbeddedFileStream

Returns

void


fileName

Get Signature

get fileName(): string;

Gets the file specification string of the form described in the PDF Specification Section 3.10.1, "File Specification Strings".

Returns

string

Set Signature

set fileName(value): void;

Sets the file specification string of the form described in the PDF Specification Section 3.10.1, "File Specification Strings".

Parameters
value

string

Returns

void


id

Get Signature

get id(): number;

Gets the reference to the object.

Returns

number

Inherited from

ObjectBase.id


om

Get Signature

get om(): ObjectManager;

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

ObjectBase.om

Methods

free()

free(): void;

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

Returns

void

Inherited from

ObjectBase.free


getStream()

getStream(): Uint8Array<ArrayBufferLike>;

Gets the Uint8Array containing the content of this FileInfo, or null if the file specification is empty.

Returns

Uint8Array<ArrayBufferLike>


rebind()

rebind(omTo): void;

Rebinds the object from the current ObjectManager to the specified one.

Parameters

omTo

ObjectManager

The new ObjectManager for the object.

Returns

void

Inherited from

ObjectBase.rebind