// The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium () function is not currently used but we expect it to be in future
pub(crate) fn as_pdfium(&self) -> FPDF_ANNOTATION_SUBTYPE {
        (match self {
            PdfPageAnnotationType::Unknown => FPDF_ANNOT_UNKNOWN,
            PdfPageAnnotationType::Text => FPDF_ANNOT_TEXT,
            PdfPageAnnotationType::Link => FPDF_ANNOT_LINK,
            PdfPageAnnotationType::FreeText => FPDF_ANNOT_FREETEXT,
            PdfPageAnnotationType::Line => FPDF_ANNOT_LINE,
            PdfPageAnnotationType::Square => FPDF_ANNOT_SQUARE,
            PdfPageAnnotationType::Circle => FPDF_ANNOT_CIRCLE,
            PdfPageAnnotationType::Polygon => FPDF_ANNOT_POLYGON,
            PdfPageAnnotationType::Polyline => FPDF_ANNOT_POLYLINE,
            PdfPageAnnotationType::Highlight => FPDF_ANNOT_HIGHLIGHT,
            PdfPageAnnotationType::Underline => FPDF_ANNOT_UNDERLINE,
            PdfPageAnnotationType::Squiggly => FPDF_ANNOT_SQUIGGLY,
            PdfPageAnnotationType::Strikeout => FPDF_ANNOT_STRIKEOUT,
            PdfPageAnnotationType::Stamp => FPDF_ANNOT_STAMP,
            PdfPageAnnotationType::Caret => FPDF_ANNOT_CARET,
            PdfPageAnnotationType::Ink => FPDF_ANNOT_INK,
            PdfPageAnnotationType::Popup => FPDF_ANNOT_POPUP,
            PdfPageAnnotationType::FileAttachment => FPDF_ANNOT_FILEATTACHMENT,
            PdfPageAnnotationType::Sound => FPDF_ANNOT_SOUND,
            PdfPageAnnotationType::Movie => FPDF_ANNOT_MOVIE,
            PdfPageAnnotationType::Widget => FPDF_ANNOT_WIDGET,
            PdfPageAnnotationType::Screen => FPDF_ANNOT_SCREEN,
            PdfPageAnnotationType::PrinterMark => FPDF_ANNOT_PRINTERMARK,
            PdfPageAnnotationType::TrapNet => FPDF_ANNOT_TRAPNET,
            PdfPageAnnotationType::Watermark => FPDF_ANNOT_WATERMARK,
            PdfPageAnnotationType::ThreeD => FPDF_ANNOT_THREED,
            PdfPageAnnotationType::RichMedia => FPDF_ANNOT_RICHMEDIA,
            PdfPageAnnotationType::XfaWidget => FPDF_ANNOT_XFAWIDGET,
            PdfPageAnnotationType::Redact => FPDF_ANNOT_REDACT,
        }) as FPDF_ANNOTATION_SUBTYPE
    }
pub ( crate ) fn as_pdfium ( & self ) -> FPDF_ANNOTATION_SUBTYPE { ( match self { PdfPageAnnotationType :: Unknown => FPDF_ANNOT_UNKNOWN , PdfPageAnnotationType :: Text => FPDF_ANNOT_TEXT , PdfPageAnnotationType :: Link => FPDF_ANNOT_LINK , PdfPageAnnotationType :: FreeText => FPDF_ANNOT_FREETEXT , PdfPageAnnotationType :: Line => FPDF_ANNOT_LINE , PdfPageAnnotationType :: Square => FPDF_ANNOT_SQUARE , PdfPageAnnotationType :: Circle => FPDF_ANNOT_CIRCLE , PdfPageAnnotationType :: Polygon => FPDF_ANNOT_POLYGON , PdfPageAnnotationType :: Polyline => FPDF_ANNOT_POLYLINE , PdfPageAnnotationType :: Highlight => FPDF_ANNOT_HIGHLIGHT , PdfPageAnnotationType :: Underline => FPDF_ANNOT_UNDERLINE , PdfPageAnnotationType :: Squiggly => FPDF_ANNOT_SQUIGGLY , PdfPageAnnotationType :: Strikeout => FPDF_ANNOT_STRIKEOUT , PdfPageAnnotationType :: Stamp => FPDF_ANNOT_STAMP , PdfPageAnnotationType :: Caret => FPDF_ANNOT_CARET , PdfPageAnnotationType :: Ink => FPDF_ANNOT_INK , PdfPageAnnotationType :: Popup => FPDF_ANNOT_POPUP , PdfPageAnnotationType :: FileAttachment => FPDF_ANNOT_FILEATTACHMENT , PdfPageAnnotationType :: Sound => FPDF_ANNOT_SOUND , PdfPageAnnotationType :: Movie => FPDF_ANNOT_MOVIE , PdfPageAnnotationType :: Widget => FPDF_ANNOT_WIDGET , PdfPageAnnotationType :: Screen => FPDF_ANNOT_SCREEN , PdfPageAnnotationType :: PrinterMark => FPDF_ANNOT_PRINTERMARK , PdfPageAnnotationType :: TrapNet => FPDF_ANNOT_TRAPNET , PdfPageAnnotationType :: Watermark => FPDF_ANNOT_WATERMARK , PdfPageAnnotationType :: ThreeD => FPDF_ANNOT_THREED , PdfPageAnnotationType :: RichMedia => FPDF_ANNOT_RICHMEDIA , PdfPageAnnotationType :: XfaWidget => FPDF_ANNOT_XFAWIDGET , PdfPageAnnotationType :: Redact => FPDF_ANNOT_REDACT , } ) as FPDF_ANNOTATION_SUBTYPE }
The as_pdfium() function is not currently used, but we expect it to be in future
The as_pdfium () function is not currently used but we expect it to be in future
&self