Sign in

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

    bobzhang/pdflite/destination does not have a README file

    PdfDestination

    pub(all) enum PdfDestination {
    DestAction(
    PdfObject
    )
    DestNull
    DestNamed(
    PdfName
    )
    DestString(Bytes)
    DestXYZ(PdfTargetPage, Double?, Double?, Double?)
    DestFit(PdfTargetPage)
    DestFitH(PdfTargetPage, Double?)
    DestFitV(PdfTargetPage, Double?)
    DestFitR(PdfTargetPage, Double, Double, Double, Double)
    DestFitB(PdfTargetPage)
    DestFitBH(PdfTargetPage, Double?)
    DestFitBV(PdfTargetPage, Double?)
    } derive(Eq, ToJson,
    Debug
    )

    A normalized PDF destination.

    The variants cover action dictionaries, named/string destinations, null destinations, and all standard page-view destination array forms.

    PdfTargetPage

    pub(all) enum PdfTargetPage {
    TargetPageObject(Int)
    TargetOtherDocPageNumber(Int)
    } derive(Eq, ToJson,
    Debug
    )

    A destination target page reference.

    PDF destination arrays may refer either to a page object or to a page number in another document.