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


PDFArray fields can also contain simple arrays.

convert(data, _type, document)

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


This converter is usable if the type is PDFArray.