module HexaPDF::DictionaryFields::FileSpecificationConverter

Converter module for file specification fields. A file specification in string format is converted to the corresponding file specification dictionary.

See: PDF2.0 s7.11, HexaPDF::Type::FileSpecification

Public Class Methods

additional_types()

Filespecs can also be simple hashes or strings.

convert(data, type, document)

Converts a string file specification or a hash into a full file specification. Otherwise returns nil.

usable_for?(type)

This converter is only used for the :Filespec type.