class HexaPDF::Type::EmbeddedFile


Represents an embedded file stream.

An embedded file stream contains the data of, and optionally some meta data about, a file that is embedded into the PDF file. Each embedded file is either associated with a certain Type::FileSpecification dictionary or with the document as a whole through the /EmbeddedFiles entry in the document catalog’s /Names dictionary.

See: PDF2.0 s7.11.4, FileSpecification

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
FilterSymbol or HexaPDF::PDFArray or Arrayfalsenil
DecodeParmsHexaPDF::Dictionary or HexaPDF::PDFArray or Hash or Arrayfalsenil
FHexaPDF::Type::FileSpecification or Hash or Stringfalsenil
FFilterSymbol or HexaPDF::PDFArray or Arrayfalsenil
FDecodeParmsHexaPDF::Dictionary or HexaPDF::PDFArray or Hash or Arrayfalsenil
ParamsHexaPDF::Type::EmbeddedFile::Parameters or Hashfalsenil