module HexaPDF::DictionaryFields::ArrayConverter

Converter module for fields of type PDFArray.

This converter ensures that arrays are wrapped by the PDFArray class for more convenient use.

Public Class Methods

additional_types()

PDFArray fields can also contain simple arrays.

convert(data, _type, document)

Wraps a given array in the PDFArray class. Otherwise returns nil.

usable_for?(type)

This converter is usable if the type is PDFArray.