Sign in

    This version of the module is deprecated: Use moonbitlang/pdflite instead

    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.