pdfium_bindings library

Classes

fpdf_action_t__
fpdf_annotation_t__
fpdf_attachment_t__
fpdf_avail_t__
fpdf_bitmap_t__
fpdf_bookmark_t__
FPDF_BSTR
fpdf_clippath_t__
FPDF_COLORSCHEME
fpdf_dest_t__
fpdf_document_t__
FPDF_DUPLEXTYPE
FPDF_FILEACCESS
FPDF_FILEHANDLER
fpdf_font_t__
fpdf_form_handle_t__
fpdf_glyphpath_t__
fpdf_javascript_action_t
FPDF_LIBRARY_CONFIG
fpdf_page_t__
fpdf_pageobject_t__
fpdf_pageobjectmark_t__
fpdf_pagerange_t__
fpdf_pathsegment_t
fpdf_schhandle_t__
fpdf_signature_t__
fpdf_structelement_attr_t__
fpdf_structelement_t__
fpdf_structtree_t__
FPDF_TEXT_RENDERMODE
fpdf_textpage_t__
fpdf_widget_t__
fpdf_xobject_t__
FS_MATRIX
FS_POINTF
FS_RECTF
FS_SIZEF
HDC
PDFiumBindings
Bindings to PDFium
PdfiumWrap
Wrapper class to abstract the PDFium logic

Extensions

LastError
Uint8ListBlobConversion

Constants

FPDF_ANNOT → const int
1
FPDF_CONVERT_FILL_TO_STROKE → const int
32
FPDF_DEBUG_INFO → const int
128
FPDF_ERR_FILE → const int
2
FPDF_ERR_FORMAT → const int
3
FPDF_ERR_PAGE → const int
6
FPDF_ERR_PASSWORD → const int
4
FPDF_ERR_SECURITY → const int
5
FPDF_ERR_SUCCESS → const int
0
FPDF_ERR_UNKNOWN → const int
1
FPDF_GRAYSCALE → const int
8
FPDF_LCD_TEXT → const int
2
FPDF_NO_CATCH → const int
256
FPDF_NO_NATIVETEXT → const int
4
FPDF_OBJECT_ARRAY → const int
5
FPDF_OBJECT_BOOLEAN → const int
1
FPDF_OBJECT_DICTIONARY → const int
6
FPDF_OBJECT_NAME → const int
4
FPDF_OBJECT_NULLOBJ → const int
8
FPDF_OBJECT_NUMBER → const int
2
FPDF_OBJECT_REFERENCE → const int
9
FPDF_OBJECT_STREAM → const int
7
FPDF_OBJECT_STRING → const int
3
FPDF_OBJECT_UNKNOWN → const int
0
FPDF_POLICY_MACHINETIME_ACCESS → const int
0
FPDF_PRINTING → const int
2048
FPDF_RENDER_FORCEHALFTONE → const int
1024
FPDF_RENDER_LIMITEDIMAGECACHE → const int
512
FPDF_RENDER_NO_SMOOTHIMAGE → const int
8192
FPDF_RENDER_NO_SMOOTHPATH → const int
16384
FPDF_RENDER_NO_SMOOTHTEXT → const int
4096
FPDF_REVERSE_BYTE_ORDER → const int
16
FPDFBitmap_BGR → const int
2
FPDFBitmap_BGRA → const int
4
FPDFBitmap_BGRx → const int
3
FPDFBitmap_Gray → const int
1
FPDFBitmap_Unknown → const int
0

Functions

concatenateUint8List(List<Uint8List> lists) Uint8List
combine/concatenate two Uint8List
intToNativeVoid(int number) Pointer<Void>
isUft8MalformedStringPointer(Pointer<Int8> pointer) bool
nativeInt8ToCodeUnits(Pointer<Int8> pointer) Uint8List
nativeInt8ToString(Pointer<Int8> pointer, {bool allowMalformed = true}) String
nativeInt8ToUint8List(Pointer<Int8> pointer) Uint8List
pointsToPixels(num points, num ppi) num
sanitizeFilename(String input, [String replacement = '_']) String
Sanitize-filename removes the following: Control characters (0x00–0x1f and 0x80–0x9f) Reserved characters (/, ?, <, >, , :, *, |, and ") Unix reserved filenames (. and ..) Trailing periods and spaces (for Windows) Windows reserved filenames (CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9)
stringToNativeChar(String str, {Allocator allocator = calloc}) Pointer<Utf8>
stringToNativeInt8(String str, {Allocator allocator = calloc}) Pointer<Int8>
stringToNativeVoid(String str, {Allocator allocator = calloc}) Pointer<Void>
stringToUint8ListTo(String str) Uint8List
uint8ListToPointerInt8(Uint8List units, {Allocator allocator = calloc}) Pointer<Int8>
uint8ListToString(Uint8List list, {bool allowMalformed = true}) String
writeAndFlush(IOSink sink, Object object) Future

Exceptions / Errors

FileException
FormatException
PageException
PasswordException
PdfiumException
An exception class that's thrown when a pdfium operation is unable to be done correctly.
SecurityException
UnknownException