node-poppler 6.2.5 → 6.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/index.js +273 -270
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/cairo.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libcrypto-3-x64.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/libcurl.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/libssh2.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/libtiff.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libzstd.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfattach.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfdetach.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdffonts.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfimages.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfinfo.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdfseparate.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftocairo.exe +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/pdftohtml.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftoppm.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftops.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/pdftotext.exe +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/pdfunite.exe +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/poppler-cpp.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/poppler-glib.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/poppler.dll +0 -0
- package/src/lib/win32/poppler-23.07.0/Library/bin/tiff.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zlib.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zstd.dll +0 -0
- package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/zstd.exe +0 -0
- package/types/index.d.ts +560 -266
- package/src/lib/win32/poppler-23.05.0/Library/bin/libcurl.dll +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/libssh2.dll +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/libtiff.dll +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/pdftohtml.exe +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/pdfunite.exe +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/poppler-glib.dll +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/poppler.dll +0 -0
- package/src/lib/win32/poppler-23.05.0/Library/bin/tiff.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/Lerc.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/charset.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/deflate.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/expat.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/fontconfig-1.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/freetype.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/iconv.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/jpeg8.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/lcms2.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libexpat.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/liblzma.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/libpng16.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/Library/bin/openjp2.dll +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING.adobe +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/COPYING.gpl2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/README +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-3 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-4 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-6 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-7 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-B5pc +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-ETen-B5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-CID +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-Host +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-H-Mac +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/Adobe-CNS1-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-UCS2C +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/B5pc-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS1-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS1-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/CNS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETHK-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETHK-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETen-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETenms-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/ETenms-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdla-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdla-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdlb-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKdlb-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKgccs-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKgccs-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm314-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm314-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm471-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKm471-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKscs-B5-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/HKscs-B5-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UCS2-B5pc +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UCS2-ETen-B5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UCS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-CNS1/UniCNS-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-3 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-4 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-GBK-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-GBpc-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-CID +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-Host +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-H-Mac +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/Adobe-GB1-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GB-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK2K-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBK2K-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBKp-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBKp-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBT-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBTpc-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBTpc-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-UCS2C +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/GBpc-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UCS2-GBK-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UCS2-GBpc-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UCS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-GB1/UniGB-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78ms-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/78ms-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/83pv-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90ms-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90msp-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90msp-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-UCS2C +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/90pv-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Add-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-3 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-4 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-6 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-7 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-90ms-RKSJ +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-90pv-RKSJ +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-CID +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-Host +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-H-Mac +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-PS-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-PS-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Adobe-Japan1-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Ext-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hankaku +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hiragana +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Hojo-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Katakana +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/NWP-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/NWP-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/RKSJ-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/RKSJ-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/Roman +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UCS2-90ms-RKSJ +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UCS2-90pv-RKSJ +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UCS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniHojo-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-HW-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-HW-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJIS2004-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UCS2-HW-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISPro-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX0213-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX0213-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX02132004-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/UniJISX02132004-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan1/WP-Symbol +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Japan2/Adobe-Japan2-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-3 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-4 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-6 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-7 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-8 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-9 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/Adobe-KR-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-KR/UniAKR-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-0 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-CID +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-Host +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-H-Mac +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-KSCms-UHC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-KSCpc-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/Adobe-Korea1-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-Johab-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-Johab-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-HW-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-HW-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCms-UHC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-UCS2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-UCS2C +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/KSCpc-EUC-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UCS2-KSCms-UHC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UCS2-KSCpc-EUC +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UCS2-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UCS2-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF16-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF16-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF32-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF32-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF8-H +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cMap/Adobe-Korea1/UniKS-UTF8-V +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-CNS1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-GB1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-Japan1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/cidToUnicode/Adobe-Korea1 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Bulgarian +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Greek +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/nameToUnicode/Thai +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/poppler-data.pc +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/poppler-data.pc.in +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Big5 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Big5ascii +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/EUC-CN +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/EUC-JP +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/GBK +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-CN +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-JP +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-2022-KR +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-6 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-7 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-8 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/ISO-8859-9 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/KOI8-R +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Latin2 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Shift-JIS +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/TIS-620 +0 -0
- /package/src/lib/win32/{poppler-23.05.0 → poppler-23.07.0}/share/poppler/unicodeMap/Windows-1255 +0 -0
package/src/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
3
|
const { execFile, spawn } = require("child_process");
|
|
4
4
|
const { promisify } = require("util");
|
|
5
|
+
const camelCase = require("camelcase");
|
|
6
|
+
const { lt } = require("semver");
|
|
7
|
+
const path = require("upath");
|
|
5
8
|
|
|
6
9
|
const execFileAsync = promisify(execFile);
|
|
7
10
|
|
|
@@ -22,8 +25,8 @@ const errorMessages = {
|
|
|
22
25
|
* @ignore
|
|
23
26
|
* @param {object} acceptedOptions - Object containing options that a binary accepts.
|
|
24
27
|
* @param {object} options - Object containing options to pass to binary.
|
|
25
|
-
* @param {string
|
|
26
|
-
* @returns {
|
|
28
|
+
* @param {string} [version] - Version of binary.
|
|
29
|
+
* @returns {string[]} Array of CLI arguments.
|
|
27
30
|
* @throws If invalid arguments provided.
|
|
28
31
|
*/
|
|
29
32
|
function parseOptions(acceptedOptions, options, version) {
|
|
@@ -56,7 +59,7 @@ function parseOptions(acceptedOptions, options, version) {
|
|
|
56
59
|
if (
|
|
57
60
|
acceptedOptions[key].minVersion &&
|
|
58
61
|
version &&
|
|
59
|
-
version
|
|
62
|
+
lt(version, acceptedOptions[key].minVersion, { loose: true })
|
|
60
63
|
) {
|
|
61
64
|
invalidArgs.push(
|
|
62
65
|
`Invalid option provided for the current version of the binary used. '${key}' was introduced in v${acceptedOptions[key].minVersion}, but received v${version}`
|
|
@@ -74,7 +77,7 @@ function parseOptions(acceptedOptions, options, version) {
|
|
|
74
77
|
|
|
75
78
|
class Poppler {
|
|
76
79
|
/**
|
|
77
|
-
* @param {string
|
|
80
|
+
* @param {string} [binPath] - Path of poppler-utils binaries.
|
|
78
81
|
*/
|
|
79
82
|
constructor(binPath) {
|
|
80
83
|
if (binPath) {
|
|
@@ -84,7 +87,7 @@ class Poppler {
|
|
|
84
87
|
__dirname,
|
|
85
88
|
"lib",
|
|
86
89
|
"win32",
|
|
87
|
-
"poppler-23.
|
|
90
|
+
"poppler-23.07.0",
|
|
88
91
|
"Library",
|
|
89
92
|
"bin"
|
|
90
93
|
);
|
|
@@ -101,9 +104,9 @@ class Poppler {
|
|
|
101
104
|
* @param {string} file - Filepath of the PDF file to read.
|
|
102
105
|
* @param {string} fileToAttach - Filepath of the attachment to be embedded into the PDF file.
|
|
103
106
|
* @param {string} outputFile - Filepath of the file to output the results to.
|
|
104
|
-
* @param {object
|
|
105
|
-
* @param {boolean
|
|
106
|
-
* @param {boolean
|
|
107
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
108
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
109
|
+
* @param {boolean} [options.replace] - Replace embedded file with same name (if it exists).
|
|
107
110
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
108
111
|
*/
|
|
109
112
|
async pdfAttach(file, fileToAttach, outputFile, options = {}) {
|
|
@@ -132,26 +135,26 @@ class Poppler {
|
|
|
132
135
|
* @author Frazer Smith
|
|
133
136
|
* @description Lists or extracts embedded files (attachments) from a PDF file.
|
|
134
137
|
* @param {string} file - Filepath of the PDF file to read.
|
|
135
|
-
* @param {object
|
|
136
|
-
* @param {boolean
|
|
138
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
139
|
+
* @param {boolean} [options.listEmbedded] - List all of the embedded files in the PDF file.
|
|
137
140
|
* File names are converted to the text encoding specified by `options.outputEncoding`.
|
|
138
|
-
* @param {string
|
|
139
|
-
* @param {string
|
|
141
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
142
|
+
* @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
|
|
140
143
|
* This defaults to `UTF-8`.
|
|
141
|
-
* @param {string
|
|
144
|
+
* @param {string} [options.outputPath] - Set the file name used when saving an embedded file with
|
|
142
145
|
* the save option enabled, or the directory if `options.saveall` is used.
|
|
143
|
-
* @param {boolean
|
|
144
|
-
* @param {boolean
|
|
146
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
147
|
+
* @param {boolean} [options.saveAllFiles] - Save all of the embedded files. This uses the file
|
|
145
148
|
* names associated with the embedded files (as printed by `options.listEmbedded`).
|
|
146
149
|
* By default, the files are saved in the current directory; this can be changed
|
|
147
150
|
* with `options.outputPath`.
|
|
148
|
-
* @param {string
|
|
151
|
+
* @param {string} [options.saveFile] - Save the specified embedded file.
|
|
149
152
|
* By default, this uses the file name associated with the embedded file (as printed by
|
|
150
153
|
* `options.listEmbedded`); the file name can be changed with `options.outputPath`.
|
|
151
|
-
* @param {number
|
|
154
|
+
* @param {number} [options.saveSpecificFile] - Save the specified embedded file.
|
|
152
155
|
* By default, this uses the file name associated with the embedded file (as printed by
|
|
153
156
|
* `options.listEmbedded`); the file name can be changed with `options.outputPath`.
|
|
154
|
-
* @param {string
|
|
157
|
+
* @param {string} [options.userPassword] - User password (for encrypted files).
|
|
155
158
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
156
159
|
*/
|
|
157
160
|
async pdfDetach(file, options = {}) {
|
|
@@ -188,15 +191,15 @@ class Poppler {
|
|
|
188
191
|
/**
|
|
189
192
|
* @author Frazer Smith
|
|
190
193
|
* @description Lists the fonts used in a PDF file along with various information for each font.
|
|
191
|
-
* @param {Buffer|
|
|
192
|
-
* @param {object
|
|
193
|
-
* @param {number
|
|
194
|
-
* @param {number
|
|
195
|
-
* @param {boolean
|
|
194
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
195
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
196
|
+
* @param {number} [options.firstPageToExamine] - Specifies the first page to examine.
|
|
197
|
+
* @param {number} [options.lastPageToExamine] - Specifies the last page to examine.
|
|
198
|
+
* @param {boolean} [options.listSubstitutes] - List the substitute fonts that poppler
|
|
196
199
|
* will use for non-embedded fonts.
|
|
197
|
-
* @param {string
|
|
198
|
-
* @param {boolean
|
|
199
|
-
* @param {string
|
|
200
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
201
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
202
|
+
* @param {string} [options.userPassword] - User password (for encrypted files). *
|
|
200
203
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
201
204
|
*/
|
|
202
205
|
async pdfFonts(file, options = {}) {
|
|
@@ -215,7 +218,7 @@ class Poppler {
|
|
|
215
218
|
["-v"]
|
|
216
219
|
);
|
|
217
220
|
|
|
218
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
221
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
219
222
|
|
|
220
223
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
221
224
|
|
|
@@ -263,25 +266,25 @@ class Poppler {
|
|
|
263
266
|
/**
|
|
264
267
|
* @author Frazer Smith
|
|
265
268
|
* @description Saves images from a PDF file as PPM, PBM, PNG, TIFF, JPEG, JPEG2000, or JBIG2 files.
|
|
266
|
-
* @param {Buffer|
|
|
267
|
-
* @param {string
|
|
268
|
-
* @param {object
|
|
269
|
-
* @param {boolean
|
|
269
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
270
|
+
* @param {string} [outputPrefix] - Filename prefix of output files.
|
|
271
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
272
|
+
* @param {boolean} [options.allFiles] - Write JPEG, JPEG2000, JBIG2, and CCITT images in their native format.
|
|
270
273
|
* CMYK files are written as TIFF files. All other images are written as PNG files.
|
|
271
|
-
* @param {boolean
|
|
272
|
-
* @param {number
|
|
273
|
-
* @param {number
|
|
274
|
-
* @param {boolean
|
|
274
|
+
* @param {boolean} [options.ccittFile] - Generate CCITT images as CCITT files.
|
|
275
|
+
* @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
|
|
276
|
+
* @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
|
|
277
|
+
* @param {boolean} [options.list] - Instead of writing the images, list the
|
|
275
278
|
* images along with various information for each image.
|
|
276
279
|
* NOTE: Do not specify the outputPrefix with this option.
|
|
277
|
-
* @param {boolean
|
|
278
|
-
* @param {boolean
|
|
279
|
-
* @param {boolean
|
|
280
|
-
* @param {string
|
|
281
|
-
* @param {boolean
|
|
282
|
-
* @param {boolean
|
|
283
|
-
* @param {boolean
|
|
284
|
-
* @param {string
|
|
280
|
+
* @param {boolean} [options.jbig2File] - Generate JBIG2 images as JBIG2 files.
|
|
281
|
+
* @param {boolean} [options.jpeg2000File] - Generate JPEG2000 images at JP2 files.
|
|
282
|
+
* @param {boolean} [options.jpegFile] - Generate JPEG images as JPEG files.
|
|
283
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
284
|
+
* @param {boolean} [options.pngFile] - Change the default output format to PNG.
|
|
285
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
286
|
+
* @param {boolean} [options.tiffFile] - Change the default output format to TIFF.
|
|
287
|
+
* @param {string} [options.userPassword] - Specify the user password for the PDF file.
|
|
285
288
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
286
289
|
*/
|
|
287
290
|
async pdfImages(file, outputPrefix, options = {}) {
|
|
@@ -307,7 +310,7 @@ class Poppler {
|
|
|
307
310
|
["-v"]
|
|
308
311
|
);
|
|
309
312
|
|
|
310
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
313
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
311
314
|
|
|
312
315
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
313
316
|
|
|
@@ -364,35 +367,35 @@ class Poppler {
|
|
|
364
367
|
/**
|
|
365
368
|
* @author Frazer Smith
|
|
366
369
|
* @description Prints the contents of the `Info` dictionary from a PDF file.
|
|
367
|
-
* @param {Buffer|
|
|
368
|
-
* @param {object
|
|
369
|
-
* @param {number
|
|
370
|
-
* @param {number
|
|
371
|
-
* @param {boolean
|
|
372
|
-
* @param {string
|
|
370
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
371
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
372
|
+
* @param {number} [options.firstPageToConvert] - First page to print.
|
|
373
|
+
* @param {number} [options.lastPageToConvert] - Last page to print.
|
|
374
|
+
* @param {boolean} [options.listEncodingOptions] - List the available encodings.
|
|
375
|
+
* @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
|
|
373
376
|
* This defaults to `UTF-8`.
|
|
374
|
-
* @param {string
|
|
375
|
-
* @param {boolean
|
|
376
|
-
* @param {boolean
|
|
377
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
378
|
+
* @param {boolean} [options.printAsJson] - Print result as a JSON object.
|
|
379
|
+
* @param {boolean} [options.printBoundingBoxes] - Prints the page box bounding boxes:
|
|
377
380
|
* MediaBox, CropBox, BleedBox, TrimBox, and ArtBox.
|
|
378
|
-
* @param {boolean
|
|
381
|
+
* @param {boolean} [options.printDocStruct] - Prints the logical document structure
|
|
379
382
|
* of a Tagged-PDF file.
|
|
380
|
-
* @param {boolean
|
|
383
|
+
* @param {boolean} [options.printDocStructText] - Print the textual content along with the
|
|
381
384
|
* document structure of a Tagged-PDF file. Note that extracting text this way might be slow
|
|
382
385
|
*
|
|
383
386
|
* for big PDF files.
|
|
384
|
-
* @param {boolean
|
|
385
|
-
* @param {boolean
|
|
386
|
-
* @param {boolean
|
|
387
|
+
* @param {boolean} [options.printIsoDates] - Prints dates in ISO-8601 format (including the time zone).
|
|
388
|
+
* @param {boolean} [options.printJS] - Prints all JavaScript in the PDF file.
|
|
389
|
+
* @param {boolean} [options.printMetadata] - Prints document-level metadata. (This is the `Metadata`
|
|
387
390
|
* stream from the PDF file's Catalog object).
|
|
388
|
-
* @param {boolean
|
|
391
|
+
* @param {boolean} [options.printNamedDests] - Print a list of all named destinations. If a page range
|
|
389
392
|
* is specified using the `options.firstPageToConvert` and `options.lastPageToConvert` options, only destinations
|
|
390
393
|
* in the page range are listed.
|
|
391
|
-
* @param {boolean
|
|
392
|
-
* @param {boolean
|
|
394
|
+
* @param {boolean} [options.printRawDates] - Prints the raw (undecoded) date strings, directly from the PDF file.
|
|
395
|
+
* @param {boolean} [options.printUrls] - Print all URLs in the PDF; only URLs referenced by PDF objects
|
|
393
396
|
* such as Link Annotations are listed, not URL strings in the text content.
|
|
394
|
-
* @param {boolean
|
|
395
|
-
* @param {string
|
|
397
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
398
|
+
* @param {string} [options.userPassword] - User password (for encrypted files).
|
|
396
399
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
397
400
|
*/
|
|
398
401
|
async pdfInfo(file, options = {}) {
|
|
@@ -422,7 +425,7 @@ class Poppler {
|
|
|
422
425
|
["-v"]
|
|
423
426
|
);
|
|
424
427
|
|
|
425
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
428
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
426
429
|
|
|
427
430
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
428
431
|
|
|
@@ -465,7 +468,7 @@ class Poppler {
|
|
|
465
468
|
if (stdOut !== "") {
|
|
466
469
|
if (fileSize) {
|
|
467
470
|
stdOut = stdOut.replace(
|
|
468
|
-
/(File\s+size:\s+)0(\s+)bytes
|
|
471
|
+
/(File\s+size:\s+)0(\s+)bytes/u,
|
|
469
472
|
`$1${fileSize}$2bytes`
|
|
470
473
|
);
|
|
471
474
|
}
|
|
@@ -505,12 +508,12 @@ class Poppler {
|
|
|
505
508
|
* @param {string} outputPattern - Should contain %d (or any variant respecting printf format),
|
|
506
509
|
* since %d is replaced by the page number.
|
|
507
510
|
* As an example, `sample-%d.pdf` will produce `sample-1.pdf` for a single page document.
|
|
508
|
-
* @param {object
|
|
509
|
-
* @param {number
|
|
511
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
512
|
+
* @param {number} [options.firstPageToExtract] - Specifies the first page to extract.
|
|
510
513
|
* This defaults to page 1.
|
|
511
|
-
* @param {number
|
|
514
|
+
* @param {number} [options.lastPageToExtract] - Specifies the last page to extract.
|
|
512
515
|
* This defaults to the last page of the PDF file.
|
|
513
|
-
* @param {boolean
|
|
516
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
514
517
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
515
518
|
*/
|
|
516
519
|
async pdfSeparate(file, outputPattern, options = {}) {
|
|
@@ -526,7 +529,7 @@ class Poppler {
|
|
|
526
529
|
["-v"]
|
|
527
530
|
);
|
|
528
531
|
|
|
529
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
532
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
530
533
|
|
|
531
534
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
532
535
|
args.push(file);
|
|
@@ -545,45 +548,45 @@ class Poppler {
|
|
|
545
548
|
/**
|
|
546
549
|
* @author Frazer Smith
|
|
547
550
|
* @description Converts a PDF file to EPS/JPEG/PDF/PNG/PS/SVG/TIFF.
|
|
548
|
-
* @param {Buffer|
|
|
549
|
-
* @param {string
|
|
551
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
552
|
+
* @param {string} [outputFile] - Filepath of the file to output the results to.
|
|
550
553
|
*
|
|
551
554
|
* If `undefined` then will write output to stdout. Using stdout is not valid with image formats
|
|
552
555
|
* (jpeg, png, and tiff) unless `options.singleFile` is set to `true`.
|
|
553
556
|
* Encoding is set to `binary` if used with `options.singleFile` or `options.pdfFile`.
|
|
554
557
|
*
|
|
555
558
|
* If not set then the output filename will be derived from the PDF file name.
|
|
556
|
-
* @param {object
|
|
557
|
-
* @param {('
|
|
559
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
560
|
+
* @param {('best'|'default'|'fast'|'good'|'gray'|'none'|'subpixel')} [options.antialias] - Set the cairo
|
|
558
561
|
* antialias option used for text and drawing in image files (or rasterized regions in vector output).
|
|
559
|
-
* @param {boolean
|
|
562
|
+
* @param {boolean} [options.cropBox] - Uses the crop box rather than media box when
|
|
560
563
|
* generating the files (PNG/JPEG/TIFF only).
|
|
561
|
-
* @param {number
|
|
564
|
+
* @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
|
|
562
565
|
* (image output) or points (vector output).
|
|
563
|
-
* @param {number
|
|
566
|
+
* @param {number} [options.cropSize] - Specifies the size of crop square in pixels
|
|
564
567
|
* (image output) or points (vector output).
|
|
565
|
-
* @param {number
|
|
568
|
+
* @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
|
|
566
569
|
* (image output) or points (vector output).
|
|
567
|
-
* @param {number
|
|
570
|
+
* @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
|
|
568
571
|
* corner in pixels (image output) or points (vector output).
|
|
569
|
-
* @param {number
|
|
572
|
+
* @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
|
|
570
573
|
* corner in pixels (image output) or points (vector output).
|
|
571
|
-
* @param {boolean
|
|
574
|
+
* @param {boolean} [options.duplex] - Adds the %%IncludeFeature: *Duplex DuplexNoTumble DSC
|
|
572
575
|
* comment to the PostScript file (PS only). This tells the print manager to enable duplexing.
|
|
573
|
-
* @param {boolean
|
|
576
|
+
* @param {boolean} [options.epsFile] - Generate an EPS file. An EPS file contains a single image,
|
|
574
577
|
* so if you use this option with a multi-page PDF file, you must use `options.firstPageToConvert` and
|
|
575
578
|
* `options.lastPageToConvert` to specify a single page.
|
|
576
579
|
* The page size options (originalPageSizes, paperSize, paperWidth, paperHeight) can not be used
|
|
577
580
|
* with this option.
|
|
578
|
-
* @param {boolean
|
|
579
|
-
* @param {boolean
|
|
581
|
+
* @param {boolean} [options.evenPagesOnly] - Generates only the even numbered pages.
|
|
582
|
+
* @param {boolean} [options.fillPage] - Expand PDF pages smaller than the paper to fill the
|
|
580
583
|
* paper (PS,PDF,SVG only). By default, these pages are not scaled.
|
|
581
|
-
* @param {number
|
|
582
|
-
* @param {boolean
|
|
583
|
-
* @param {string
|
|
584
|
+
* @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
|
|
585
|
+
* @param {boolean} [options.grayscaleFile] - Generate grayscale file (PNG, JPEG, and TIFF only).
|
|
586
|
+
* @param {string} [options.iccFile] - Use the specified ICC file as the output profile
|
|
584
587
|
* (PNG only). The profile will be embedded in the PNG file.
|
|
585
|
-
* @param {boolean
|
|
586
|
-
* @param {string
|
|
588
|
+
* @param {boolean} [options.jpegFile] - Generate JPEG file(s).
|
|
589
|
+
* @param {string} [options.jpegOptions] - When used with `options.jpegFile`, this option can
|
|
587
590
|
* be used to control the JPEG compression parameters. It takes a string of the form
|
|
588
591
|
* `"<opt>=<val>[,<opt>=<val>]"`. Currently available options are:
|
|
589
592
|
* - `quality` Selects the JPEG quality value. The value must be an integer between 0 and 100.
|
|
@@ -594,57 +597,57 @@ class Poppler {
|
|
|
594
597
|
* with "y" performing optimization, otherwise the default Huffman tables are used.
|
|
595
598
|
*
|
|
596
599
|
* Example: `"quality=95,optimize=y"`.
|
|
597
|
-
* @param {number
|
|
598
|
-
* @param {boolean
|
|
599
|
-
* @param {boolean
|
|
600
|
+
* @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
|
|
601
|
+
* @param {boolean} [options.monochromeFile] - Generate monochrome file (PNG and TIFF only).
|
|
602
|
+
* @param {boolean} [options.noCenter] - By default, PDF pages smaller than the paper
|
|
600
603
|
* (after any scaling) are centered on the paper. This option causes them to be aligned to
|
|
601
604
|
* the lower-left corner of the paper instead (PS,PDF,SVG only).
|
|
602
|
-
* @param {boolean
|
|
605
|
+
* @param {boolean} [options.noCrop] - By default, printing output is cropped to the CropBox
|
|
603
606
|
* specified in the PDF file. This option disables cropping (PS, PDF, SVG only).
|
|
604
|
-
* @param {boolean
|
|
607
|
+
* @param {boolean} [options.noShrink] - Do not scale PDF pages which are larger than the paper
|
|
605
608
|
* (PS,PDF,SVG only). By default, pages larger than the paper are shrunk to fit.
|
|
606
|
-
* @param {boolean
|
|
607
|
-
* @param {boolean
|
|
609
|
+
* @param {boolean} [options.oddPagesOnly] - Generates only the odd numbered pages.
|
|
610
|
+
* @param {boolean} [options.originalPageSizes] - Set the paper size of each page to match
|
|
608
611
|
* the size specified in the PDF file.
|
|
609
|
-
* @param {string
|
|
612
|
+
* @param {string} [options.ownerPassword] - Specify the owner password for the PDF file.
|
|
610
613
|
* Providing this will bypass all security restrictions.
|
|
611
|
-
* @param {number
|
|
612
|
-
* @param {('
|
|
613
|
-
* or `
|
|
614
|
+
* @param {number} [options.paperHeight] - Set the paper height, in points (PS, PDF, SVG only).
|
|
615
|
+
* @param {('A3'|'A4'|'legal'|'letter'|'match')} [options.paperSize] - Set the paper size to one of `A3`, `A4`,
|
|
616
|
+
* `legal`, or `letter` (PS,PDF,SVG only). This can also be set to `match`, which will set the paper size
|
|
614
617
|
* of each page to match the size specified in the PDF file. If none of the paperSize,
|
|
615
618
|
* paperWidth, or paperHeight options are specified the default is to match the paper size.
|
|
616
|
-
* @param {number
|
|
617
|
-
* @param {boolean
|
|
618
|
-
* @param {boolean
|
|
619
|
-
* @param {boolean
|
|
620
|
-
* @param {boolean
|
|
621
|
-
* @param {boolean
|
|
622
|
-
* @param {boolean
|
|
619
|
+
* @param {number} [options.paperWidth] - Set the paper width, in points (PS,PDF,SVG only).
|
|
620
|
+
* @param {boolean} [options.pdfFile] - Generate PDF file.
|
|
621
|
+
* @param {boolean} [options.pngFile] - Generate PNG file(s).
|
|
622
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version information.
|
|
623
|
+
* @param {boolean} [options.psFile] - Generate PS file.
|
|
624
|
+
* @param {boolean} [options.psLevel2] - Generate Level 2 PostScript (PS only).
|
|
625
|
+
* @param {boolean} [options.psLevel3] - Generate Level 3 PostScript (PS only). This enables all
|
|
623
626
|
* Level 2 features plus shading patterns and masked images. This is the default setting.
|
|
624
|
-
* @param {boolean
|
|
625
|
-
* @param {number
|
|
627
|
+
* @param {boolean} [options.quiet] - Do not print any messages or errors.
|
|
628
|
+
* @param {number} [options.resolutionXAxis] - Specifies the X resolution, in pixels per inch of
|
|
626
629
|
* image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
627
|
-
* @param {number
|
|
630
|
+
* @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
|
|
628
631
|
* inch of image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
629
|
-
* @param {number
|
|
632
|
+
* @param {number} [options.resolutionYAxis] - Specifies the Y resolution, in pixels per inch of
|
|
630
633
|
* image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
631
|
-
* @param {number
|
|
634
|
+
* @param {number} [options.scalePageTo] - Scales the long side of each page (width for landscape
|
|
632
635
|
* pages, height for portrait pages) to fit in scale-to pixels. The size of the short side will
|
|
633
636
|
* be determined by the aspect ratio of the page (PNG/JPEG/TIFF only).
|
|
634
|
-
* @param {number
|
|
637
|
+
* @param {number} [options.scalePageToXAxis] - Scales each page horizontally to fit in scale-to-x
|
|
635
638
|
* pixels. If scale-to-y is set to -1, the vertical size will determined by the aspect ratio of
|
|
636
639
|
* the page (PNG/JPEG/TIFF only).
|
|
637
|
-
* @param {number
|
|
640
|
+
* @param {number} [options.scalePageToYAxis] - Scales each page vertically to fit in scale-to-y
|
|
638
641
|
* pixels. If scale-to-x is set to -1, the horizontal size will determined by the aspect ratio of
|
|
639
642
|
* the page (PNG/JPEG/TIFF only).
|
|
640
|
-
* @param {boolean
|
|
643
|
+
* @param {boolean} [options.singleFile] - Writes only the first page and does not add digits.
|
|
641
644
|
* Can only be used with `options.jpegFile`, `options.pngFile`, and `options.tiffFile`.
|
|
642
|
-
* @param {boolean
|
|
643
|
-
* @param {('
|
|
644
|
-
* @param {boolean
|
|
645
|
-
* @param {boolean
|
|
645
|
+
* @param {boolean} [options.svgFile] - Generate SVG (Scalable Vector Graphics) file.
|
|
646
|
+
* @param {('deflate'|'jpeg'|'lzw'|'none'|'packbits')} [options.tiffCompression] - Set TIFF compression.
|
|
647
|
+
* @param {boolean} [options.tiffFile] - Generate TIFF file(s).
|
|
648
|
+
* @param {boolean} [options.transparentPageColor] - Use a transparent page color
|
|
646
649
|
* instead of white (PNG and TIFF only).
|
|
647
|
-
* @param {string
|
|
650
|
+
* @param {string} [options.userPassword] - Specify the user password for the PDF file.
|
|
648
651
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
649
652
|
*/
|
|
650
653
|
async pdfToCairo(file, outputFile, options = {}) {
|
|
@@ -703,7 +706,7 @@ class Poppler {
|
|
|
703
706
|
["-v"]
|
|
704
707
|
);
|
|
705
708
|
|
|
706
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
709
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
707
710
|
|
|
708
711
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
709
712
|
|
|
@@ -769,41 +772,41 @@ class Poppler {
|
|
|
769
772
|
/**
|
|
770
773
|
* @author Frazer Smith
|
|
771
774
|
* @description Converts a PDF file to HTML.
|
|
772
|
-
* @param {Buffer|
|
|
773
|
-
* @param {string
|
|
775
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
776
|
+
* @param {string} [outputFile] - Filepath of the file to output the results to.
|
|
774
777
|
* If `undefined` then Poppler will use the directory and name of the original file
|
|
775
778
|
* and create a new file, with `-html` appended to the end of the filename.
|
|
776
779
|
*
|
|
777
780
|
* Required if `file` is a Buffer.
|
|
778
|
-
* @param {object
|
|
779
|
-
* @param {boolean
|
|
780
|
-
* @param {boolean
|
|
781
|
-
* @param {boolean
|
|
782
|
-
* @param {boolean
|
|
783
|
-
* @param {number
|
|
784
|
-
* @param {boolean
|
|
785
|
-
* @param {boolean
|
|
786
|
-
* @param {('
|
|
781
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
782
|
+
* @param {boolean} [options.complexOutput] - Generate complex output.
|
|
783
|
+
* @param {boolean} [options.dataUrls] - Use data URLs instead of external images in HTML.
|
|
784
|
+
* @param {boolean} [options.exchangePdfLinks] - Exchange .pdf links with .html.
|
|
785
|
+
* @param {boolean} [options.extractHidden] - Force hidden text extraction.
|
|
786
|
+
* @param {number} [options.firstPageToConvert] - First page to print.
|
|
787
|
+
* @param {boolean} [options.fontFullName] - Outputs the font name without any substitutions.
|
|
788
|
+
* @param {boolean} [options.ignoreImages] - Ignore images.
|
|
789
|
+
* @param {('JPG'|'PNG')} [options.imageFormat] - Image file format for Splash output (JPG or PNG).
|
|
787
790
|
* If complexOutput is selected, but imageFormat is not specified, PNG will be assumed.
|
|
788
|
-
* @param {number
|
|
789
|
-
* @param {boolean
|
|
790
|
-
* @param {boolean
|
|
791
|
-
* @param {boolean
|
|
792
|
-
* @param {boolean
|
|
791
|
+
* @param {number} [options.lastPageToConvert] - Last page to print.
|
|
792
|
+
* @param {boolean} [options.noDrm] - Override document DRM settings.
|
|
793
|
+
* @param {boolean} [options.noFrames] - Generate no frames. Not supported in complex output mode.
|
|
794
|
+
* @param {boolean} [options.noMergeParagraph] - Do not merge paragraphs.
|
|
795
|
+
* @param {boolean} [options.noRoundedCoordinates] - Do not round coordinates
|
|
793
796
|
* (with XML output only).
|
|
794
|
-
* @param {string
|
|
797
|
+
* @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
|
|
795
798
|
* This defaults to `UTF-8`.
|
|
796
|
-
* @param {string
|
|
797
|
-
* @param {boolean
|
|
798
|
-
* @param {boolean
|
|
799
|
-
* @param {boolean
|
|
800
|
-
* @param {boolean
|
|
801
|
-
* @param {string
|
|
802
|
-
* @param {number
|
|
799
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
800
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version info.
|
|
801
|
+
* @param {boolean} [options.quiet] - Do not print any messages or errors.
|
|
802
|
+
* @param {boolean} [options.singlePage] - generate single HTML that includes all pages.
|
|
803
|
+
* @param {boolean} [options.stdout] - Use standard output.
|
|
804
|
+
* @param {string} [options.userPassword] - User password (for encrypted files).
|
|
805
|
+
* @param {number} [options.wordBreakThreshold] - Adjust the word break threshold percent.
|
|
803
806
|
* Default is 10. Word break occurs when distance between two adjacent characters is greater
|
|
804
807
|
* than this percent of character height.
|
|
805
|
-
* @param {boolean
|
|
806
|
-
* @param {number
|
|
808
|
+
* @param {boolean} [options.xmlOutput] - Output for XML post-processing.
|
|
809
|
+
* @param {number} [options.zoom] - Zoom the PDF document (default 1.5).
|
|
807
810
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
808
811
|
*/
|
|
809
812
|
async pdfToHtml(file, outputFile, options = {}) {
|
|
@@ -843,7 +846,7 @@ class Poppler {
|
|
|
843
846
|
["-v"]
|
|
844
847
|
);
|
|
845
848
|
|
|
846
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
849
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
847
850
|
|
|
848
851
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
849
852
|
|
|
@@ -901,73 +904,73 @@ class Poppler {
|
|
|
901
904
|
* @description Converts a PDF file to colour image files in Portable Pixmap (PPM) format,
|
|
902
905
|
* grayscale image files in Portable Graymap (PGM) format, or monochrome image files
|
|
903
906
|
* in Portable Bitmap (PBM) format.
|
|
904
|
-
* @param {Buffer|
|
|
907
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
905
908
|
* @param {string} outputPath - Filepath to output the results to.
|
|
906
|
-
* @param {object
|
|
907
|
-
* @param {('
|
|
909
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
910
|
+
* @param {('no'|'yes')} [options.antialiasFonts] - Enable or disable font anti-aliasing.
|
|
908
911
|
* This defaults to `yes`.
|
|
909
|
-
* @param {('
|
|
912
|
+
* @param {('no'|'yes')} [options.antialiasVectors] - Enable or disable vector anti-aliasing.
|
|
910
913
|
* This defaults to `yes`.
|
|
911
|
-
* @param {boolean
|
|
914
|
+
* @param {boolean} [options.cropBox] - Uses the crop box rather than media box when
|
|
912
915
|
* generating the files (PNG/JPEG/TIFF only).
|
|
913
|
-
* @param {number
|
|
916
|
+
* @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
|
|
914
917
|
* (image output) or points (vector output).
|
|
915
|
-
* @param {number
|
|
918
|
+
* @param {number} [options.cropSize] - Specifies the size of crop square in pixels
|
|
916
919
|
* (image output) or points (vector output).
|
|
917
|
-
* @param {number
|
|
920
|
+
* @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
|
|
918
921
|
* (image output) or points (vector output).
|
|
919
|
-
* @param {number
|
|
922
|
+
* @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
|
|
920
923
|
* corner in pixels (image output) or points (vector output).
|
|
921
|
-
* @param {number
|
|
924
|
+
* @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
|
|
922
925
|
* corner in pixels (image output) or points (vector output).
|
|
923
|
-
* @param {string
|
|
926
|
+
* @param {string} [options.defaultCmykProfile] - If Poppler is compiled with colour management support, this option
|
|
924
927
|
* sets the DefaultCMYK color space to the ICC profile stored in the display profile file passed.
|
|
925
|
-
* @param {string
|
|
928
|
+
* @param {string} [options.defaultGrayProfile] - If Poppler is compiled with colour management support, this option
|
|
926
929
|
* sets the DefaultGray color space to the ICC profile stored in the display profile file passed.
|
|
927
|
-
* @param {string
|
|
930
|
+
* @param {string} [options.defaultRgbProfile] - If Poppler is compiled with colour management support, this option
|
|
928
931
|
* sets the DefaultRGB color space to the ICC profile stored in the display profile file passed.
|
|
929
|
-
* @param {string
|
|
932
|
+
* @param {string} [options.displayProfile] - If Poppler is compiled with colour management support, this option
|
|
930
933
|
* sets the display profile to the ICC profile stored in the display profile file passed.
|
|
931
|
-
* @param {boolean
|
|
932
|
-
* @param {number
|
|
933
|
-
* @param {('
|
|
934
|
+
* @param {boolean} [options.evenPagesOnly] - Generates only the even numbered pages.
|
|
935
|
+
* @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
|
|
936
|
+
* @param {('no'|'yes')} [options.freetype] - Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
|
|
934
937
|
* This defaults to `yes`.
|
|
935
|
-
* @param {boolean
|
|
936
|
-
* @param {boolean
|
|
937
|
-
* @param {boolean
|
|
938
|
-
* @param {boolean
|
|
939
|
-
* @param {number
|
|
940
|
-
* @param {boolean
|
|
941
|
-
* @param {boolean
|
|
942
|
-
* @param {string
|
|
938
|
+
* @param {boolean} [options.forcePageNumber] - Force page number even if there is only one page.
|
|
939
|
+
* @param {boolean} [options.grayscaleFile] - Generate grayscale PGM file (instead of a color PPM file).
|
|
940
|
+
* @param {boolean} [options.hideAnnotations] - Hide annotations.
|
|
941
|
+
* @param {boolean} [options.jpegFile] - Generate JPEG file instead a PPM file.
|
|
942
|
+
* @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
|
|
943
|
+
* @param {boolean} [options.monochromeFile] - Generate monochrome PBM file (instead of a color PPM file).
|
|
944
|
+
* @param {boolean} [options.oddPagesOnly] - Generates only the odd numbered pages.
|
|
945
|
+
* @param {string} [options.ownerPassword] - Specify the owner password for the PDF file.
|
|
943
946
|
* Providing this will bypass all security restrictions.
|
|
944
|
-
* @param {boolean
|
|
945
|
-
* @param {boolean
|
|
947
|
+
* @param {boolean} [options.pngFile] - Generate PNG file instead a PPM file.
|
|
948
|
+
* @param {boolean} [options.printProgress] - Print progress info as each page is generated.
|
|
946
949
|
* Three space-separated fields are printed to STDERR: the number of the current page, the number
|
|
947
950
|
* of the last page that will be generated, and the path to the file written to.
|
|
948
|
-
* @param {boolean
|
|
949
|
-
* @param {boolean
|
|
950
|
-
* @param {number
|
|
951
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version information.
|
|
952
|
+
* @param {boolean} [options.quiet] - Do not print any messages or errors.
|
|
953
|
+
* @param {number} [options.resolutionXAxis] - Specifies the X resolution, in pixels per inch of
|
|
951
954
|
* image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
952
|
-
* @param {number
|
|
955
|
+
* @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
|
|
953
956
|
* inch of image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
954
|
-
* @param {number
|
|
957
|
+
* @param {number} [options.resolutionYAxis] - Specifies the Y resolution, in pixels per inch of
|
|
955
958
|
* image files (or rasterized regions in vector output). The default is 150 PPI.
|
|
956
|
-
* @param {number
|
|
959
|
+
* @param {number} [options.scalePageTo] - Scales the long side of each page (width for landscape
|
|
957
960
|
* pages, height for portrait pages) to fit in scale-to pixels. The size of the short side will
|
|
958
961
|
* be determined by the aspect ratio of the page.
|
|
959
|
-
* @param {number
|
|
962
|
+
* @param {number} [options.scalePageToXAxis] - Scales each page horizontally to fit in scale-to-x
|
|
960
963
|
* pixels. If scale-to-y is set to -1, the vertical size will determined by the aspect ratio of
|
|
961
964
|
* the page.
|
|
962
|
-
* @param {number
|
|
965
|
+
* @param {number} [options.scalePageToYAxis] - Scales each page vertically to fit in scale-to-y
|
|
963
966
|
* pixels. If scale-to-x is set to -1, the horizontal size will determined by the aspect ratio of
|
|
964
967
|
* the page.
|
|
965
|
-
* @param {string
|
|
966
|
-
* @param {boolean
|
|
967
|
-
* @param {('none'|'
|
|
968
|
-
* @param {('
|
|
969
|
-
* @param {boolean
|
|
970
|
-
* @param {string
|
|
968
|
+
* @param {string} [options.separator] - Specify single character separator between name and page number.
|
|
969
|
+
* @param {boolean} [options.singleFile] - Writes only the first page and does not add digits.
|
|
970
|
+
* @param {('none'|'shape'|'solid')} [options.thinLineMode] - Specifies the thin line mode. This defaults to `none`.
|
|
971
|
+
* @param {('deflate'|'jpeg'|'lzw'|'none'|'packbits')} [options.tiffCompression] - Set TIFF compression.
|
|
972
|
+
* @param {boolean} [options.tiffFile] - Generate TIFF file instead a PPM file.
|
|
973
|
+
* @param {string} [options.userPassword] - Specify the user password for the PDF file.
|
|
971
974
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
972
975
|
*/
|
|
973
976
|
async pdfToPpm(file, outputPath, options = {}) {
|
|
@@ -1047,7 +1050,7 @@ class Poppler {
|
|
|
1047
1050
|
["-v"]
|
|
1048
1051
|
);
|
|
1049
1052
|
|
|
1050
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
1053
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
1051
1054
|
|
|
1052
1055
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
1053
1056
|
|
|
@@ -1095,110 +1098,110 @@ class Poppler {
|
|
|
1095
1098
|
/**
|
|
1096
1099
|
* @author Frazer Smith
|
|
1097
1100
|
* @description Converts a PDF file to PostScript (PS).
|
|
1098
|
-
* @param {Buffer|
|
|
1099
|
-
* @param {string
|
|
1101
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
1102
|
+
* @param {string} [outputFile] - Filepath of the file to output the results to.
|
|
1100
1103
|
* If `undefined` then will write output to stdout.
|
|
1101
|
-
* @param {object
|
|
1102
|
-
* @param {('
|
|
1103
|
-
* @param {boolean
|
|
1104
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
1105
|
+
* @param {('no'|'yes')} [options.antialias] - Enable anti-aliasing on rasterization, accepts `no` or `yes`.
|
|
1106
|
+
* @param {boolean} [options.binary] - Write binary data in Level 1 PostScript. By default,
|
|
1104
1107
|
* pdftops writes hex-encoded data in Level 1 PostScript. Binary data is non-standard in Level 1
|
|
1105
1108
|
* PostScript but reduces the file size and can be useful when Level 1 PostScript is required
|
|
1106
1109
|
* only for its restricted use of PostScript operators.
|
|
1107
|
-
* @param {string
|
|
1110
|
+
* @param {string} [options.defaultCmykProfile] - If Poppler is compiled with colour management support, this option
|
|
1108
1111
|
* sets the DefaultCMYK color space to the ICC profile stored in the display profile file passed.
|
|
1109
|
-
* @param {string
|
|
1112
|
+
* @param {string} [options.defaultGrayProfile] - If Poppler is compiled with colour management support, this option
|
|
1110
1113
|
* sets the DefaultGray color space to the ICC profile stored in the display profile file passed.
|
|
1111
|
-
* @param {string
|
|
1114
|
+
* @param {string} [options.defaultRgbProfile] - If Poppler is compiled with colour management support, this option
|
|
1112
1115
|
* sets the DefaultRGB color space to the ICC profile stored in the display profile file passed.
|
|
1113
|
-
* @param {boolean
|
|
1116
|
+
* @param {boolean} [options.duplex] - Set the Duplex pagedevice entry in the PostScript file.
|
|
1114
1117
|
* This tells duplex-capable printers to enable duplexing.
|
|
1115
|
-
* @param {boolean
|
|
1118
|
+
* @param {boolean} [options.epsFile] - Generate an EPS file. An EPS file contains a single image,
|
|
1116
1119
|
* so if you use this option with a multi-page PDF file, you must use `options.firstPageToConvert` and
|
|
1117
1120
|
* `options.lastPageToConvert` to specify a single page.
|
|
1118
1121
|
* The page size options (originalPageSizes, paperSize, paperWidth, paperHeight) can not be used
|
|
1119
1122
|
* with this option.
|
|
1120
|
-
* @param {boolean
|
|
1123
|
+
* @param {boolean} [options.fillPage] - Expand PDF pages smaller than the paper to fill the
|
|
1121
1124
|
* paper. By default, these pages are not scaled.
|
|
1122
|
-
* @param {number
|
|
1123
|
-
* @param {number
|
|
1125
|
+
* @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
|
|
1126
|
+
* @param {number} [options.form] - Generate PostScript form which can be imported by software
|
|
1124
1127
|
* that understands forms.
|
|
1125
1128
|
* A form contains a single page, so if you use this option with a multi-page PDF file,
|
|
1126
1129
|
* you must use `options.firstPageToConvert` and `options.lastPageToConvert` to specify a single page.
|
|
1127
1130
|
* The `options.level1` option cannot be used with `options.form`.
|
|
1128
1131
|
* No more than one of the mode options (`options.epsFile`, `options.form`) may be given.
|
|
1129
|
-
* @param {number
|
|
1130
|
-
* @param {boolean
|
|
1132
|
+
* @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
|
|
1133
|
+
* @param {boolean} [options.level1] - Generate Level 1 PostScript. The resulting PostScript
|
|
1131
1134
|
* files will be significantly larger (if they contain images), but will print on Level 1 printers.
|
|
1132
1135
|
* This also converts all images to black and white.
|
|
1133
|
-
* @param {boolean
|
|
1136
|
+
* @param {boolean} [options.level1Sep] - Generate Level 1 separable PostScript.
|
|
1134
1137
|
* All colors are converted to CMYK. Images are written with separate stream data for the four components.
|
|
1135
|
-
* @param {boolean
|
|
1138
|
+
* @param {boolean} [options.level2] - Generate Level 2 PostScript.
|
|
1136
1139
|
* Level 2 supports color images and image compression. This is the default setting.
|
|
1137
|
-
* @param {boolean
|
|
1140
|
+
* @param {boolean} [options.level2Sep] - Generate Level 2 separable PostScript. All colors are
|
|
1138
1141
|
* converted to CMYK. The PostScript separation convention operators are used to handle custom (spot) colors.
|
|
1139
|
-
* @param {boolean
|
|
1142
|
+
* @param {boolean} [options.level3] - Generate Level 3 PostScript.
|
|
1140
1143
|
* This enables all Level 2 featuresplus CID font embedding.
|
|
1141
|
-
* @param {boolean
|
|
1144
|
+
* @param {boolean} [options.level3Sep] - Generate Level 3 separable PostScript.
|
|
1142
1145
|
* The separation handling is the same as for `options.level2Sep`.
|
|
1143
|
-
* @param {boolean
|
|
1146
|
+
* @param {boolean} [options.noEmbedCIDFonts] - By default, any CID PostScript fonts which are
|
|
1144
1147
|
* embedded in the PDF file are copied into the PostScript file. This option disables that embedding.
|
|
1145
1148
|
* No attempt is made to substitute for non-embedded CID PostScript fonts.
|
|
1146
|
-
* @param {boolean
|
|
1149
|
+
* @param {boolean} [options.noEmbedCIDTrueTypeFonts] - By default, any CID TrueType fonts which are
|
|
1147
1150
|
* embedded in the PDF file are copied into the PostScript file. This option disables that embedding.
|
|
1148
1151
|
* No attempt is made to substitute for non-embedded CID TrueType fonts.
|
|
1149
|
-
* @param {boolean
|
|
1152
|
+
* @param {boolean} [options.noEmbedTrueTypeFonts] - By default, any TrueType fonts which are embedded
|
|
1150
1153
|
* in the PDF file are copied into the PostScript file. This option causes pdfToPs to substitute base fonts instead.
|
|
1151
1154
|
* Embedded fonts make PostScript files larger, but may be necessary for readable output.
|
|
1152
1155
|
* Also, some PostScript interpreters do not have TrueType rasterizers.
|
|
1153
|
-
* @param {boolean
|
|
1156
|
+
* @param {boolean} [options.noEmbedType1Fonts] - By default, any Type 1 fonts which are embedded in the PDF file
|
|
1154
1157
|
* are copied into the PostScript file. This option causes pdfToPs to substitute base fonts instead.
|
|
1155
1158
|
* Embedded fonts make PostScript files larger, but may be necessary for readable output.
|
|
1156
|
-
* @param {boolean
|
|
1159
|
+
* @param {boolean} [options.noCenter] - By default, PDF pages smaller than the paper
|
|
1157
1160
|
* (after any scaling) are centered on the paper. This option causes them to be aligned to
|
|
1158
1161
|
* the lower-left corner of the paper instead.
|
|
1159
|
-
* @param {boolean
|
|
1162
|
+
* @param {boolean} [options.noCrop] - By default, printing output is cropped to the CropBox
|
|
1160
1163
|
* specified in the PDF file. This option disables cropping.
|
|
1161
|
-
* @param {boolean
|
|
1164
|
+
* @param {boolean} [options.noShrink] - Do not scale PDF pages which are larger than the paper.
|
|
1162
1165
|
* By default, pages larger than the paper are shrunk to fit.
|
|
1163
|
-
* @param {boolean
|
|
1164
|
-
* @param {boolean
|
|
1166
|
+
* @param {boolean} [options.opi] - Generate OPI comments for all images and forms which have OPI information.
|
|
1167
|
+
* @param {boolean} [options.optimizecolorspace] - By default, bitmap images in the PDF pass through to the
|
|
1165
1168
|
* output PostScript in their original color space, which produces predictable results.
|
|
1166
1169
|
* This option converts RGB and CMYK images into Gray images if every pixel of the image has equal components.
|
|
1167
1170
|
* This can fix problems when doing color separations of PDFs that contain embedded black and
|
|
1168
1171
|
* white images encoded as RGB.
|
|
1169
|
-
* @param {boolean
|
|
1172
|
+
* @param {boolean} [options.originalPageSizes] - Set the paper size of each page to match
|
|
1170
1173
|
* the size specified in the PDF file.
|
|
1171
|
-
* @param {boolean
|
|
1172
|
-
* @param {string
|
|
1173
|
-
* @param {number
|
|
1174
|
-
* @param {('
|
|
1175
|
-
* or `
|
|
1174
|
+
* @param {boolean} [options.overprint] - Enable overprinting.
|
|
1175
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
1176
|
+
* @param {number} [options.paperHeight] - Set the paper height, in points.
|
|
1177
|
+
* @param {('A3'|'A4'|'legal'|'letter'|'match')} [options.paperSize] - Set the paper size to one of `A3`, `A4`,
|
|
1178
|
+
* `legal`, or `letter`. This can also be set to `match`, which will set the paper size
|
|
1176
1179
|
* of each page to match the size specified in the PDF file. If none of the paperSize,
|
|
1177
1180
|
* paperWidth, or paperHeight options are specified the default is to match the paper size.
|
|
1178
|
-
* @param {number
|
|
1179
|
-
* @param {boolean
|
|
1181
|
+
* @param {number} [options.paperWidth] - Set the paper width, in points.
|
|
1182
|
+
* @param {boolean} [options.passfonts] - By default, references to non-embedded 8-bit fonts
|
|
1180
1183
|
* in the PDF file are substituted with the closest `Helvetica`, `Times-Roman`, or `Courier` font.
|
|
1181
1184
|
* This option passes references to non-embedded fonts through to the PostScript file.
|
|
1182
|
-
* @param {boolean
|
|
1183
|
-
* @param {boolean
|
|
1184
|
-
* @param {('CMYK8'|'MONO8'|'RGB8')
|
|
1185
|
+
* @param {boolean} [options.preload] - Preload images and forms.
|
|
1186
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version information.
|
|
1187
|
+
* @param {('CMYK8'|'MONO8'|'RGB8')} [options.processColorFormat] - Sets the process color format as it is used
|
|
1185
1188
|
* during rasterization and transparency reduction.
|
|
1186
1189
|
*
|
|
1187
1190
|
* The default depends on the other settings: For `options.level1` the default is MONO8; for `options.level1Sep`,
|
|
1188
1191
|
* `options.level2Sep`, `options.level3Sep`, or `options.overprint` the default is CMYK8; in all other
|
|
1189
1192
|
* cases RGB8 is the default.
|
|
1190
1193
|
* If `option.processColorProfile` is set then `options.processColorFormat` is inferred from the specified ICC profile.
|
|
1191
|
-
* @param {string
|
|
1194
|
+
* @param {string} [options.processColorProfile] - Sets the ICC profile that is assumed during
|
|
1192
1195
|
* rasterization and transparency reduction.
|
|
1193
|
-
* @param {boolean
|
|
1194
|
-
* @param {('always'|'never'|'whenneeded')
|
|
1196
|
+
* @param {boolean} [options.quiet] - Do not print any messages or errors.
|
|
1197
|
+
* @param {('always'|'never'|'whenneeded')} [options.rasterize] - By default, pdfToPs rasterizes pages as needed,
|
|
1195
1198
|
* for example, if they contain transparencies. To force rasterization, set `rasterize` to `always`.
|
|
1196
1199
|
* Use this to eliminate fonts.
|
|
1197
1200
|
* To prevent rasterization, set `rasterize` to `never`.
|
|
1198
1201
|
* This may produce files that display incorrectly.
|
|
1199
|
-
* @param {number
|
|
1202
|
+
* @param {number} [options.resolutionXYAxis] - Specifies the X and Y resolution, in pixels per
|
|
1200
1203
|
* inch of image files (or rasterized regions in vector output). The default is 300 PPI.
|
|
1201
|
-
* @param {string
|
|
1204
|
+
* @param {string} [options.userPassword] - User password (for encrypted files).
|
|
1202
1205
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
1203
1206
|
*/
|
|
1204
1207
|
async pdfToPs(file, outputFile, options = {}) {
|
|
@@ -1277,7 +1280,7 @@ class Poppler {
|
|
|
1277
1280
|
["-v"]
|
|
1278
1281
|
);
|
|
1279
1282
|
|
|
1280
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
1283
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
1281
1284
|
|
|
1282
1285
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
1283
1286
|
|
|
@@ -1336,49 +1339,49 @@ class Poppler {
|
|
|
1336
1339
|
/**
|
|
1337
1340
|
* @author Frazer Smith
|
|
1338
1341
|
* @description Converts a PDF file to TXT.
|
|
1339
|
-
* @param {Buffer|
|
|
1340
|
-
* @param {string
|
|
1342
|
+
* @param {Buffer|string} file - PDF file as Buffer, or filepath of the PDF file to read.
|
|
1343
|
+
* @param {string} [outputFile] - Filepath of the file to output the results to.
|
|
1341
1344
|
* If `undefined` then will write output to stdout.
|
|
1342
|
-
* @param {object
|
|
1343
|
-
* @param {boolean
|
|
1345
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
1346
|
+
* @param {boolean} [options.boundingBoxXhtml] - Generate an XHTML file containing bounding
|
|
1344
1347
|
* box information for each word in the file.
|
|
1345
|
-
* @param {boolean
|
|
1348
|
+
* @param {boolean} [options.boundingBoxXhtmlLayout] - Generate an XHTML file containing
|
|
1346
1349
|
* bounding box information for each block, line, and word in the file.
|
|
1347
|
-
* @param {boolean
|
|
1350
|
+
* @param {boolean} [options.cropBox] - Use the crop box rather than the media box with
|
|
1348
1351
|
* `options.boundingBoxXhtml` and `options.boundingBoxXhtmlLayout`
|
|
1349
|
-
* @param {number
|
|
1352
|
+
* @param {number} [options.cropHeight] - Specifies the height of crop area in pixels
|
|
1350
1353
|
* (image output) or points (vector output).
|
|
1351
|
-
* @param {number
|
|
1354
|
+
* @param {number} [options.cropWidth] - Specifies the width of crop area in pixels
|
|
1352
1355
|
* (image output) or points (vector output).
|
|
1353
|
-
* @param {number
|
|
1356
|
+
* @param {number} [options.cropXAxis] - Specifies the x-coordinate of the crop area top left
|
|
1354
1357
|
* corner in pixels (image output) or points (vector output).
|
|
1355
|
-
* @param {number
|
|
1358
|
+
* @param {number} [options.cropYAxis] - Specifies the y-coordinate of the crop area top left
|
|
1356
1359
|
* corner in pixels (image output) or points (vector output).
|
|
1357
|
-
* @param {('
|
|
1358
|
-
* text output:
|
|
1359
|
-
* @param {number
|
|
1360
|
-
* @param {number
|
|
1360
|
+
* @param {('dos'|'mac'|'unix')} [options.eolConvention] - Sets the end-of-line convention to use for
|
|
1361
|
+
* text output: dos; mac; unix.
|
|
1362
|
+
* @param {number} [options.firstPageToConvert] - Specifies the first page to convert.
|
|
1363
|
+
* @param {number} [options.fixedWidthLayout] - Assume fixed-pitch (or tabular) text, with the
|
|
1361
1364
|
* specified character width (in points). This forces physical layout mode.
|
|
1362
|
-
* @param {boolean
|
|
1365
|
+
* @param {boolean} [options.generateHtmlMetaFile] - Generate simple HTML file, including the
|
|
1363
1366
|
* meta information. This simply wraps the text in `<pre>` and `</pre>` and prepends the meta headers.
|
|
1364
|
-
* @param {boolean
|
|
1367
|
+
* @param {boolean} [options.generateTsvFile] - Generate a TSV file containing the bounding box
|
|
1365
1368
|
* information for each block, line, and word in the file.
|
|
1366
|
-
* @param {number
|
|
1367
|
-
* @param {boolean
|
|
1368
|
-
* @param {boolean
|
|
1369
|
+
* @param {number} [options.lastPageToConvert] - Specifies the last page to convert.
|
|
1370
|
+
* @param {boolean} [options.listEncodingOptions] - List the available encodings.
|
|
1371
|
+
* @param {boolean} [options.maintainLayout] - Maintain (as best as possible) the original physical
|
|
1369
1372
|
* layout of the text. The default is to undo physical layout (columns, hyphenation, etc.) and
|
|
1370
1373
|
* output the text in reading order.
|
|
1371
|
-
* @param {boolean
|
|
1372
|
-
* @param {boolean
|
|
1374
|
+
* @param {boolean} [options.noDiagonalText] - Discard diagonal text.
|
|
1375
|
+
* @param {boolean} [options.noPageBreaks] - Do not insert page breaks (form feed characters)
|
|
1373
1376
|
* between pages.
|
|
1374
|
-
* @param {string
|
|
1377
|
+
* @param {string} [options.outputEncoding] - Sets the encoding to use for text output.
|
|
1375
1378
|
* This defaults to `UTF-8`.
|
|
1376
|
-
* @param {string
|
|
1377
|
-
* @param {boolean
|
|
1378
|
-
* @param {boolean
|
|
1379
|
-
* @param {boolean
|
|
1379
|
+
* @param {string} [options.ownerPassword] - Owner password (for encrypted files).
|
|
1380
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version information.
|
|
1381
|
+
* @param {boolean} [options.quiet] - Do not print any messages or errors.
|
|
1382
|
+
* @param {boolean} [options.rawLayout] - Keep the text in content stream order. This is a
|
|
1380
1383
|
* hack which often undoes column formatting, etc. Use of raw mode is no longer recommended.
|
|
1381
|
-
* @param {string
|
|
1384
|
+
* @param {string} [options.userPassword] - User password (for encrypted files).
|
|
1382
1385
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
1383
1386
|
*/
|
|
1384
1387
|
async pdfToText(file, outputFile, options = {}) {
|
|
@@ -1426,7 +1429,7 @@ class Poppler {
|
|
|
1426
1429
|
["-v"]
|
|
1427
1430
|
);
|
|
1428
1431
|
|
|
1429
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
1432
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
1430
1433
|
|
|
1431
1434
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
1432
1435
|
|
|
@@ -1486,11 +1489,11 @@ class Poppler {
|
|
|
1486
1489
|
* @author Frazer Smith
|
|
1487
1490
|
* @description Merges several PDF files in order of their occurrence in the files array to
|
|
1488
1491
|
* one PDF result file.
|
|
1489
|
-
* @param {
|
|
1492
|
+
* @param {string[]} files - Filepaths of the PDF files to merge.
|
|
1490
1493
|
* An entire directory of PDF files can be merged like so: `path/to/directory/*.pdf`.
|
|
1491
1494
|
* @param {string} outputFile - Filepath of the file to output the resulting merged PDF to.
|
|
1492
|
-
* @param {object
|
|
1493
|
-
* @param {boolean
|
|
1495
|
+
* @param {object} [options] - Object containing options to pass to binary.
|
|
1496
|
+
* @param {boolean} [options.printVersionInfo] - Print copyright and version information.
|
|
1494
1497
|
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
|
|
1495
1498
|
*/
|
|
1496
1499
|
async pdfUnite(files, outputFile, options = {}) {
|
|
@@ -1504,7 +1507,7 @@ class Poppler {
|
|
|
1504
1507
|
["-v"]
|
|
1505
1508
|
);
|
|
1506
1509
|
|
|
1507
|
-
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/
|
|
1510
|
+
const versionInfo = /(\d{1,2}\.\d{1,2}\.\d{1,2})/u.exec(stderr)[1];
|
|
1508
1511
|
|
|
1509
1512
|
const args = parseOptions(acceptedOptions, options, versionInfo);
|
|
1510
1513
|
files.forEach((element) => {
|