FileFormatInfo

FileFormatInfo class

Contains data returned by FileFormatUtil file format detection methods.

class FileFormatInfo;

Constructors

ConstructorDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
isProtectedByRMSbooleanReadonly. Gets whether the file is protected by Microsoft Rights Management Server.
isEncryptedbooleanReadonly. Returns true if the document is encrypted and requires a password to open.
fileFormatTypeFileFormatTypeReadonly. Gets the detected file format.
loadFormatLoadFormatReadonly. Gets the detected load format.

Methods

MethodDescription
isProtectedByRMS()@deprecated. Please use the ‘isProtectedByRMS’ property instead. Gets whether the file is protected by Microsoft Rights Management Server.
isEncrypted()@deprecated. Please use the ‘isEncrypted’ property instead. Returns true if the document is encrypted and requires a password to open.
getFileFormatType()@deprecated. Please use the ‘fileFormatType’ property instead. Gets the detected file format.
getLoadFormat()@deprecated. Please use the ’loadFormat’ property instead. Gets the detected load format.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

isProtectedByRMS

Readonly. Gets whether the file is protected by Microsoft Rights Management Server.

isProtectedByRMS : boolean;

isEncrypted

Readonly. Returns true if the document is encrypted and requires a password to open.

isEncrypted : boolean;

fileFormatType

Readonly. Gets the detected file format.

fileFormatType : FileFormatType;

loadFormat

Readonly. Gets the detected load format.

loadFormat : LoadFormat;

isProtectedByRMS()

@deprecated. Please use the ‘isProtectedByRMS’ property instead. Gets whether the file is protected by Microsoft Rights Management Server.

isProtectedByRMS() : boolean;

isEncrypted()

@deprecated. Please use the ‘isEncrypted’ property instead. Returns true if the document is encrypted and requires a password to open.

isEncrypted() : boolean;

getFileFormatType()

@deprecated. Please use the ‘fileFormatType’ property instead. Gets the detected file format.

getFileFormatType() : FileFormatType;

Returns

FileFormatType

getLoadFormat()

@deprecated. Please use the ’loadFormat’ property instead. Gets the detected load format.

getLoadFormat() : LoadFormat;

Returns

LoadFormat

isNull()

Checks whether the implementation object is null.

isNull() : boolean;