This version of the module is deprecated: Deprecated in favor of the maintained moonbitlang/pdflite module: https://github.com/moonbitlang/pdflite. Update dependency and import paths to moonbitlang/pdflite and review API changes.

    bobzhang/pdflite/attachment does not have a README file

    PdfAttachment

    pub(all) struct PdfAttachment {
    name : String
    pagenumber : Int
    data : Bytes?
    description : String?
    relationship : String?
    } derive(Eq, ToJson,
    Debug
    )

    One embedded file attachment.

    pagenumber == 0 represents a document-level attachment. Page attachments use one-based page numbers. data == None represents a malformed page-level attachment annotation with a file specification but no embedded-file stream.