enum Hpdf::AFRelationship

Overview

Associated File (AF) relationship type for embedded attachments. Used with Doc#attach_file.

Defined in:

hpdf/enum.cr

Enum Members

Source = 0

The embedded file is the source material used to create the document.

Data = 1

The embedded file contains data used by or associated with the document.

Alternative = 2

The embedded file is an alternative representation of the document content.

Supplement = 3

The embedded file supplements the document with additional information.

EncryptedPayload = 4

The embedded file is an encrypted payload.

FormData = 5

The embedded file contains form data associated with the document.

Schema = 6

The embedded file defines a schema used within the document.

Unspecified = 7

The relationship is not specified or does not fit any other category.

Instance Method Summary

Instance Method Detail

def alternative? #

Returns true if this enum value equals Alternative


[View source]
def data? #

Returns true if this enum value equals Data


[View source]
def encrypted_payload? #

Returns true if this enum value equals EncryptedPayload


[View source]
def form_data? #

Returns true if this enum value equals FormData


[View source]
def schema? #

Returns true if this enum value equals Schema


[View source]
def source? #

Returns true if this enum value equals Source


[View source]
def supplement? #

Returns true if this enum value equals Supplement


[View source]
def unspecified? #

Returns true if this enum value equals Unspecified


[View source]