@pdftron/pdfnet-node-samples 9.5.0-6 → 9.5.0-6-beta
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/{samples/AddImageTest → AddImageTest}/AddImageTest.js +2 -2
- package/{samples/AdvancedImagingTest → AdvancedImagingTest}/AdvancedImagingTest.js +5 -5
- package/{samples/AnnotationTest → AnnotationTest}/AnnotationTest.js +1 -1
- package/BarcodeTest/BarcodeTest.js +120 -0
- package/{samples/BookmarkTest → BookmarkTest}/BookmarkTest.js +1 -1
- package/{samples/CAD2PDFTest → CAD2PDFTest}/CAD2PDFTest.js +5 -5
- package/{samples/ContentReplacerTest → ContentReplacerTest}/ContentReplacerTest.js +1 -1
- package/ConvertPrintTest/ConvertPrintTest.js +153 -0
- package/{samples/ConvertTest → ConvertTest}/ConvertTest.js +12 -79
- package/{samples/DataExtractionTest → DataExtractionTest}/DataExtractionTest.js +141 -10
- package/{samples/DigitalSignaturesTest → DigitalSignaturesTest}/DigitalSignaturesTest.js +126 -12
- package/DocumentCreationTest/DocumentCreationTest.js +409 -0
- package/{samples/ElementBuilderTest → ElementBuilderTest}/ElementBuilderTest.js +1 -1
- package/{samples/ElementEditTest → ElementEditTest}/ElementEditTest.js +1 -1
- package/{samples/ElementReaderAdvTest → ElementReaderAdvTest}/ElementReaderAdvTest.js +1 -1
- package/{samples/ElementReaderTest → ElementReaderTest}/ElementReaderTest.js +1 -1
- package/{samples/EncTest → EncTest}/EncTest.js +1 -1
- package/{samples/FDFTest → FDFTest}/FDFTest.js +1 -1
- package/FindReplaceTest/FindReplaceTest.js +56 -0
- package/{samples/HTML2PDFTest → HTML2PDFTest}/HTML2PDFTest.js +34 -35
- package/{samples/HighlightsTest → HighlightsTest}/HighlightsTest.js +1 -1
- package/{samples/ImageExtractTest → ImageExtractTest}/ImageExtractTest.js +3 -3
- package/{samples/ImpositionTest → ImpositionTest}/ImpositionTest.js +1 -1
- package/{samples/InteractiveFormsTest → InteractiveFormsTest}/InteractiveFormsTest.js +1 -1
- package/{samples/JBIG2Test → JBIG2Test}/JBIG2Test.js +7 -7
- package/{samples/LicenseKey → LicenseKey}/LicenseKey.js +3 -3
- package/{samples/LogicalStructureTest → LogicalStructureTest}/LogicalStructureTest.js +1 -1
- package/{samples/OCRTest → OCRTest}/OCRTest.js +6 -5
- package/{samples/OfficeTemplateTest → OfficeTemplateTest}/OfficeTemplateTest.js +2 -2
- package/{samples/OfficeToPDFTest → OfficeToPDFTest}/OfficeToPDFTest.js +1 -1
- package/{samples/OptimizerTest → OptimizerTest}/OptimizerTest.js +1 -1
- package/{samples/PDF2HtmlTest → PDF2HtmlTest}/PDF2HtmlTest.js +6 -6
- package/{samples/PDF2OfficeTest → PDF2OfficeTest}/PDF2OfficeTest.js +6 -6
- package/{samples/PDFATest → PDFATest}/PDFATest.js +1 -1
- package/{samples/PDFDocMemoryTest → PDFDocMemoryTest}/PDFDocMemoryTest.js +1 -1
- package/{samples/PDFDrawTest → PDFDrawTest}/PDFDrawTest.js +1 -1
- package/{samples/PDFLayersTest → PDFLayersTest}/PDFLayersTest.js +1 -1
- package/{samples/PDFPackageTest → PDFPackageTest}/PDFPackageTest.js +1 -1
- package/{samples/PDFPageTest → PDFPageTest}/PDFPageTest.js +1 -1
- package/{samples/PDFRedactTest → PDFRedactTest}/PDFRedactTest.js +1 -1
- package/PDFUATest/PDFUATest.js +88 -0
- package/{samples/PageLabelsTest → PageLabelsTest}/PageLabelsTest.js +1 -1
- package/{samples/PatternTest → PatternTest}/PatternTest.js +1 -1
- package/{samples/RectTest → RectTest}/RectTest.js +1 -1
- package/{samples/SDFTest → SDFTest}/SDFTest.js +3 -4
- package/{samples/StamperTest → StamperTest}/StamperTest.js +1 -1
- package/TestFiles/Email.pdf +0 -0
- package/TestFiles/Invoice.pdf +0 -0
- package/TestFiles/Scientific_Publication.pdf +0 -0
- package/TestFiles/apryse.bmp +0 -0
- package/TestFiles/apryse.cer +0 -0
- package/TestFiles/apryse.pfx +0 -0
- package/TestFiles/autotag_input.pdf +0 -0
- package/TestFiles/find-replace-test.pdf +0 -0
- package/TestFiles/find-replace-test_(en_to_fr).xlf +88 -0
- package/TestFiles/formfields-scanned-withfields.pdf +0 -0
- package/{samples/TestFiles → TestFiles}/simple-excel_2007.xlsx +0 -0
- package/{samples/TestFiles → TestFiles}/waiver_withApprovalField.pdf +0 -0
- package/{samples/TestFiles → TestFiles}/waiver_withApprovalField_certified.pdf +51 -54
- package/{samples/TestFiles → TestFiles}/waiver_withApprovalField_certified_approved.pdf +59 -60
- package/{samples/TextExtractTest → TextExtractTest}/TextExtractTest.js +1 -1
- package/{samples/TextSearchTest → TextSearchTest}/TextSearchTest.js +2 -2
- package/TransPDFTest/TransPDFTest.js +68 -0
- package/{samples/U3DTest → U3DTest}/U3DTest.js +1 -1
- package/{samples/UndoRedoTest → UndoRedoTest}/UndoRedoTest.js +1 -1
- package/{samples/UnicodeWriteTest → UnicodeWriteTest}/UnicodeWriteTest.js +1 -1
- package/{samples/WebViewerConvertTest → WebViewerConvertTest}/WebViewerConvertTest.js +2 -2
- package/legal.txt +632 -0
- package/license.pdf +0 -0
- package/package.json +8 -6
- package/readme.md +32 -7
- package/{samples/runall.bat → runall.bat} +12 -12
- package/scripts/install.js +68 -0
- package/samples/TestFiles/GlobalSignRootForTST.cer +0 -0
- package/samples/TestFiles/Output/addimage.pdf +0 -0
- package/samples/TestFiles/pdftron.bmp +0 -0
- package/samples/TestFiles/pdftron.cer +0 -0
- package/samples/TestFiles/pdftron.pfx +0 -0
- /package/{samples/TestFiles → TestFiles}/BusinessCardTemplate.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/Fishermen.docx +0 -0
- /package/{samples/TestFiles → TestFiles}/Font_licenses.txt +0 -0
- /package/{samples/TestFiles → TestFiles}/License.txt +0 -0
- /package/{samples/TestFiles → TestFiles}/Misc-Fixed.pfa +0 -0
- /package/{samples/TestFiles → TestFiles}/NotoSans_with_hindi.ttf +0 -0
- /package/{samples/TestFiles → TestFiles}/Output/empty +0 -0
- /package/{samples/TestFiles → TestFiles}/SHA-2 Root USERTrust RSA CA Sectigo timestamping.crt +0 -0
- /package/{samples/TestFiles → TestFiles}/SYH_Letter.docx +0 -0
- /package/{samples/TestFiles → TestFiles}/TigerText.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/US061222892-a.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/butterfly.png +0 -0
- /package/{samples/TestFiles → TestFiles}/credit card numbers.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/dice.jpg +0 -0
- /package/{samples/TestFiles → TestFiles}/dice.u3d +0 -0
- /package/{samples/TestFiles → TestFiles}/doc_to_sign.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/factsheet_Arabic.docx +0 -0
- /package/{samples/TestFiles → TestFiles}/financial.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/fish.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/font.ttf +0 -0
- /package/{samples/TestFiles → TestFiles}/form1.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/form1_annots.xfdf +0 -0
- /package/{samples/TestFiles → TestFiles}/form1_data.fdf +0 -0
- /package/{samples/TestFiles → TestFiles}/form1_data.xfdf +0 -0
- /package/{samples/TestFiles → TestFiles}/formfields-scanned.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/formfields.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/grayscale.tif +0 -0
- /package/{samples/TestFiles → TestFiles}/hindi_sample_utf16le.txt +0 -0
- /package/{samples/TestFiles → TestFiles}/imagemask.dat +0 -0
- /package/{samples/TestFiles → TestFiles}/logo_red.png +0 -0
- /package/{samples/TestFiles → TestFiles}/lorem_ipsum.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/multipage.tif +0 -0
- /package/{samples/TestFiles → TestFiles}/my_stream.txt +0 -0
- /package/{samples/TestFiles → TestFiles}/newsletter.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/newsletter.xod +0 -0
- /package/{samples/TestFiles → TestFiles}/numbered.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/op_blend_test.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/palm.jp2 +0 -0
- /package/{samples/TestFiles → TestFiles}/paragraphs_and_tables.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/pdfnet.gif +0 -0
- /package/{samples/TestFiles → TestFiles}/pdftron_smart_substitution.plugin +0 -0
- /package/{samples/TestFiles → TestFiles}/peppers.jpg +0 -0
- /package/{samples/TestFiles → TestFiles}/signature.jpg +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-emf.emf +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-outlook.msg +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-powerpoint_2007.pptx +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-publisher.pub +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-rtf.rtf +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-text.txt +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-visio.vsd +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage.html +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage.mht +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/colorschememapping.xml +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/filelist.xml +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image001.gif +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image002.png +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image003.jpg +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image004.emz +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image005.gif +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image006.png +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/image007.gif +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/oledata.mso +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-webpage_files/themedata.thmx +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-word_2007.docx +0 -0
- /package/{samples/TestFiles → TestFiles}/simple-xps.xps +0 -0
- /package/{samples/TestFiles → TestFiles}/table.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/tagged.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/the_rime_of_the_ancient_mariner.docx +0 -0
- /package/{samples/TestFiles → TestFiles}/tiger.pdf +0 -0
- /package/{samples/TestFiles → TestFiles}/tiger.svg +0 -0
- /package/{samples/TestFiles → TestFiles}/waiver.pdf +0 -0
- /package/{samples/runall.sh → runall.sh} +0 -0
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<?xpacket end="w"?>
|
|
47
|
-
endstream
|
|
47
|
+
endstream
|
|
48
48
|
x�+��w�5Tp��
|
|
49
|
-
endstream
|
|
50
|
-
x�+�
|
|
49
|
+
endstream
|
|
50
|
+
x�+�55�3553U0P0P0�T04�3724W0PH�����5Pp��
|
|
51
51
|
endstream
|
|
52
52
|
H��WK�5�ϯ�qi�햢H;�3��(��r�@�� ~=e��]��3=�U�0�/���W�ݰy��(q�N(�m��Ɣ/Ļ�_6�>��o�m
|
|
53
53
|
�Q����@KgHnȻ�����ʪ>�Ikѕ��c8�
|
|
@@ -370,53 +370,51 @@ H
|
|
|
370
370
|
_g���L7Y�G��{ǘ���b>��v�#��F>��͟/�/C����<�k\U�
|
|
371
371
|
�@����PA�A $|T��APA�A $|T��APA�A $|T��a��dm:=gU�E��I�b��>@DZ�8�&|A�849�YiG�,���l����
|
|
372
372
|
pÑv�õpá�������hΡ����V�wh�h���E�^�z��8�rn+�>���m�>�^��#���r�^n/���^�_�^N�s���r��Ћ#\����rLL���&�I\�R��&�4N8��/���`_%c�
|
|
373
|
-
endstream
|
|
374
|
-
x��
|
|
375
|
-
��
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
�
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
��
|
|
398
|
-
|
|
399
|
-
�
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
���
|
|
405
|
-
�
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
�
|
|
419
|
-
|
|
420
|
-
endstream
|
|
421
|
-
x���AHTa����G+Fh��j��K��v���{�����v/�砓7o]��D�z��[�������*�����D��?-�d����03y�{VD|��$6aA�� 6)��h��J����E�ʮ�!j\�u��}z΅N}�\���?��;���:�Oɿ �T�O�l9�7�1���df�*^S�{��J&�\�7���_�i��Q=���=���z�z�8��T5o&���#2 b��L~�v��?� ����43��|Fu��%���|m;�}jd�Θ{� ;��n���-�9�'��t����4��t?J�;�1�=��o`������`(.#7(߱��چ�����%��,��e��
|
|
422
|
-
��U��5����u9��?���\s���2nc����&,�y,a=�f��3��О�L2�sǸ������"���gM��נ�L�.h�go�=�=�����n�
|
|
423
|
-
endstream
|
|
373
|
+
endstream
|
|
374
|
+
x��g�G�%��'�?B $E���KJ H���@
|
|
375
|
+
�����$Nw��=���v����u�K�ˍ�^O�²�owϜ=�g�9~�"�������Wf�RB!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B��ѣ�w������?~2i���C۶��ybB��8p���|�3��}`0�3F,X�)���S��-{���l@���ƍ��:a!ڛ}����C�Q~x�f��[o��pÌ�A��dž ��\�v宻_�jm������zn�?��1,_����ރ垿m�ʕ;B�}�SC�,���i9m��/eD������˽!� �w�yq��Gc6o���b�vgL�^6l��)DN�8���3kV7� �����˦����ر���f��1(�\2���2}�ڥK�<x�����ٲe�Nu�|����9r�8nؗ_^���U����_�!B�T�uk�g?7,��m�z
|
|
376
|
+
y����s��1+�])��m�U%Ο�w�M3zh.� 8½EG��Yk��7o#�Vz�DZ����9(���S��s:|��|��×��X�'�y�A��QU�Z��94f;R�����SB@��f�����~����n8��z<��s��
|
|
377
|
+
���N��f4�h�*yK;Ư��?�r��xc{.u���������k�\Rj��<`�_>��TJ�U�MT��8-�|�œb�tTI��q�o#!0g�_|�����>87í��J�0j��n�9J���00`a�U�կ� <� �c�r���뽫�Uٯ�/#�>�f�J��l=:ͯ娒����8��
|
|
378
|
+
U��
|
|
379
|
+
HR%&CP�6�T�h����>:`�ng�`�6��p�����,sh�����0l<�Y��`0�L�&Q%�+4�[��&�q��|�)p� Z-��V�W^9��@�M�ݓ�V��7�&�Bwl�)]���5g����l�c�ʇj���`W����ّ���#��:O�,�K����t���1Ђ_^}uMqG��_�{kU���B!��)[Uƶ�`�9�=�T��H�٘1�u��_�W��e�hm��d�;��,��zN�D��M�J���k�9���_ȿ-��!���̈́�S�==�Oٽ۵�*q�L��T��7w:���㇉ݘX��q����a-V\[�Op�����i��}�S��H�J���~��$7�1�Hn��Ue�-S�*��P9V����XCRl�� J��p���x\���������g���_+{+�UeT)�7hf�a��u���T!��(�wN ��U 63m��mv�|UY�<�;���j�P��I)�Q��S��� ��gM��t�N=��<��ų������p��yʹ�R%�pՔ�tX>������J��N
|
|
380
|
+
I��@R%3���͊P%�m;x������$��CPl7�d=?I�;��O&�2_U�t"A�/�#)pY�*)�ū�6�����WLŴ$��bf�b�V%H��oh7+B�������F���W���5�ѥ/Nϟ锱9�|&#GI2�#�]�M+&96�*�WM���FN%d&�G�ロ���df�ݬ Ubn;�
|
|
381
|
+
���DpO�Tk������t���"I���M�X˄��A����2h~x�'
|
|
382
|
+
|
|
383
|
+
����:�︦�9&']��^�QF�X�lê��C�B��2�73�J��x%s�}�s���6L��� �o7+N��N�X.$�X��Μ�\��dVb�O����t�h
|
|
384
|
+
��Zq�"`� B��+]���E;F��n�Vi�枧*��Eph�҃�,�i�MZ�hU�O�]!(E,���y+]]��f.�������ku�(κ=�W4��O�UfX�?F�P^��.�
|
|
385
|
+
�Nl��D���x9�v��2n�{7��ߕƐ����2���s/�<,<i��n�o=ן��<`�9�BG_�I�xhsb�.˥��GC�$�.�H��hu�����]f�I����<0U�>)���ďl��cH�E!�ˎ8>ڌnçaʾ�*��*s:=���]=�4_�#�z
|
|
386
|
+
�C|D���E� |O�qo��#�C���4hUb�:2bd˧���}龇o[����C�U�x��<1r����[W�/;�X��I.߫j�U��@���1�m�E��" ��dUy���$��
|
|
387
|
+
endstream
|
|
388
|
+
x�=�=�0��ʍ:�I+����
|
|
389
|
+
�� �T�t��KZu;�����B�3�����U7�Nۇ�#��?6���&(%%-�"U�('�Fgf����Z?�|d��t�\�P�~p��m���߃���/�N�I��D�3�
|
|
390
|
+
endstream
|
|
391
|
+
x��\moG��>��m���X�uX�d;V����8ɠ���c[8Y2��b��YU�3�K��-�r��KU��"��l&C̉l �L�s!���z�l�m!g�c��;G!9b(�H�e��
|
|
392
|
+
o�=������}��L��z�`�CH��nj�H�1\d��qtd
|
|
393
|
+
�z~V�imV<�Ն�ޜ�[~��'��/Y[π2����R&6ƌ7 {���Y��*nPvS�vP�!�7�"�E�����Q��P1I�H���@5�s�{D��Z\?8��tvى8�Y��2��۰g�y��m0�#�]
|
|
394
|
+
�^qx�L���\�ʐ�j~�8�
|
|
395
|
+
�/�<k��;pb�{0(��iǡ�#�ێMc�9�AI~u�%}�(�Bqr.�Fz��w}T�"���G4�o�?�{&zTi��.>6�f�8��>��6���_�Uӱmm@���K���]|%] *�����뀐}�r/[�odImO��RY�t�V��U=xh��6����mNS)%{0Ϻ~�x?s��0��KCO���������H�rB$�A_)4�f� �Ӗ�����kך�dž
|
|
396
|
+
�8w������H1�����6���+
|
|
397
|
+
[��N�S�9�����5��6�R�F�;�)�jDY���BR���Wc--f�55���a
|
|
398
|
+
��u��L���2�X(��PB�H�;ú��f�0��Ƹ*a���uY��j߁��r�.͛�&�p�ĤTc����k-v+�� �mv����[4~;/�д)��>ͱ�b������
|
|
399
|
+
6�ʴ�Y�`�/�j�l�$
|
|
400
|
+
� j�Y\?�g��^A?�q/u[@��B�s��7fh��C½
|
|
401
|
+
�sR�����tҹ!:Y�F�ⲖB��0��em���L���H�pnƵ��T�NK���&Ҧ��`ɘaW1U�jr������
|
|
402
|
+
xI���@�숹b����C
|
|
403
|
+
��,J
|
|
404
|
+
�SQ�HVy���'����e�Qnd6t'��x��6���2�Qr-�;G�^ذ�BM��(��7�->���^7m;v� �l?n��֎�݀���L��)�P52������w��k�[�.Q���i7r��
|
|
405
|
+
^��爁�ѐ{j���BƉ��PC��ǶYjNg$���V]�Gq� ��-��XR;�ռ�wF
|
|
406
|
+
0�iK-�)��VLw��OάPM�R�d��0
|
|
407
|
+
��1��Bj[tNV�eA�<R�~b2f��`vӘ��mˢ$35!�4
|
|
408
|
+
>��^{u+P���[8�nٔ�j�ҷJ�x
|
|
409
|
+
ot���k��O���W��"d'<n�%�x3�Zt�Q�%����ɧ�A�E|9.c4�3RqZ�9����
|
|
410
|
+
�s�|N>oqU<�HtԬ�0�iR���*��F������v
|
|
411
|
+
���ؠ��
|
|
412
|
+
ő���O����o�4��K��|2�V�%����L��F�1�����m���l0TP��Iӭbϋ��N�(|Q�-�OH�L-�M��1�G���K�'U�@�'�EƴB&,7d�
|
|
413
|
+
Y1����q+鱐xT=Ede���̚tэ���CNV`yB����!���Β��Z�z�IJ^�$+�$p�T���$}�*�ˈ
|
|
414
|
+
K3'ʐ�\f���ג�����/�Zԩ�<,�\ע�u�ia!�%��sm��ę��X��,�����Z3���
|
|
415
|
+
�K�ߡ�S�Jj� ɾ�C��?sp�Ę��"�2�"�G)�RA)��<J�@����,J_��k���'+=`f�G�WJ����eJQcY�$b� �I��G��E^�@��W9������X(�L�S%IJ�F��m����!��Qr����I�(2@��R2��%0��P�����G6&otY�9P2����Rdh6@�ɗ��8t�Ւ@��I�zhn�ȹ�-Sʟ�1�G|,6�m?
|
|
416
|
+
endstream
|
|
417
|
+
x���AK�Q��sΠbd��&cMj�����F���B�p!�"�f#�h���
|
|
418
|
+
Q�҅;�Jhd�@��͕��W�vn~�{�g�&"�D�.�bJLE�4���Yv��_3"�2�RT�$�:x�Ǟ��S�1�?d���W�du�o�*����?`��\%aL��}C~���QWe� ������[U����yE�n�ku�|��� ie�=$�$5}�I?u���>�ܚ)���ϩ��nў$m�>���� �����F7���A,��zz^���_���/�T��61զ��K�~��S��R��� �7��~�;<�=Rg��Y����9l�yl�l�El�e��+�X���װױ�?snb��e�9�
|
|
419
|
+
�+V�7,��S?�Sx�X�����10�3XЮ�W�E���To'�톫=1��i�݂�ɛ����-^s�oo��CH�k�
|
|
420
|
+
endstream
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<?xpacket end="w"?>
|
|
47
|
-
endstream
|
|
47
|
+
endstream
|
|
48
48
|
x�+��w�5Tp��
|
|
49
|
-
endstream
|
|
50
|
-
x�+�
|
|
49
|
+
endstream
|
|
50
|
+
x�+�55�3553U0P0P0�T04�3724W0PH�����5Pp��
|
|
51
51
|
endstream
|
|
52
52
|
H��WK�5�ϯ�qi�햢H;�3��(��r�@�� ~=e��]��3=�U�0�/���W�ݰy��(q�N(�m��Ɣ/Ļ�_6�>��o�m
|
|
53
53
|
�Q����@KgHnȻ�����ʪ>�Ikѕ��c8�
|
|
@@ -370,58 +370,56 @@ H
|
|
|
370
370
|
_g���L7Y�G��{ǘ���b>��v�#��F>��͟/�/C����<�k\U�
|
|
371
371
|
�@����PA�A $|T��APA�A $|T��APA�A $|T��a��dm:=gU�E��I�b��>@DZ�8�&|A�849�YiG�,���l����
|
|
372
372
|
pÑv�õpá�������hΡ����V�wh�h���E�^�z��8�rn+�>���m�>�^��#���r�^n/���^�_�^N�s���r��Ћ#\����rLL���&�I\�R��&�4N8��/���`_%c�
|
|
373
|
-
endstream
|
|
374
|
-
x��
|
|
375
|
-
��
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
���]�0Q�{�L�kR�_���&J�t�x��dž�H���) d�JF�I&#�Y1QS^��9�8�R;8j &�d~=���'��}� a\`\d�.d�y��1�� ?��Sd�8D>I�r��牲�4��W�����"@��H� ґ�+
|
|
383
|
-
���'�S�7L�ϝ*x����X>q~�x�I}�EW��G��t��L�x��5��H�ԑ����Cɲ5��(kj�@E�!�]o��&
|
|
384
|
-
�h�9�}9!��D(�=��x�9mL�8ě�ъ�
|
|
385
|
-
q.�����
|
|
386
|
-
��%i\=�#F�����e���Q��xtr��˱i�b���L�6s��g{�Ŗ˻r��1!�����
|
|
387
|
-
o(4�1N�u����[����x0Y�h9[!5����L��N�Dvm���쁺��h��ɢ'���VP$�hiܐ���se�7MУx�w��µ�u@��+q[��x�;$+�7v~(9L<%��%�"2�V7�3l�69�� ��d����>�;(
|
|
388
|
-
S�O���r�V�-�%��i���rEq�Xz)Y�,'�+sEuw��A��Kc��4Yo�����t�ϒ�bIARA/W22Y��-�t�'3����#^)�נ�v#�g�&����ɩ�t����H��%3AW����F��?��I��˼�d�Do.�L�uv��I)�j��2ʹb�<[�*Z�"�V��*Q3Ũj��N�;���՞��l))�&�`/5�F���Q��s�r%�s�"��9�,�dx�K��CDaź�$[HJ��:Ք^��z!�Ri���Lnѓ��
|
|
389
|
-
=�l��|�Rzd2�-�q��k�����{�����!�(�s9�$�b�-!�¤�v�d-I���憉�P��z1��5I!�vq8q$�`$��������.2���lQ�3�o��e�R*T��7���nψ�&U�\����Y@�ur�b��I!�<�hғ!��dy~5����[!µ8h5�-U1iP�~���X7_ʣǩ���DZ�d�����W��-�_,���Q���!7Űgrԧ
|
|
390
|
-
���K�q������t4)tS�%j�I��ɻ%y�M���d4NtQ��}�i�Pr
|
|
391
|
-
���Յ�M�оԵ~�����[&NrY���2�r�E�S�'�$���X�0&�1$�9s&dd�áʌͬ����Ir��!������v�|~�X�јأO�p�8Ld$�C�����{�B{gb����iF��01��!����q�3��D���8��yt�!Z���3�s2���iMИ˝�) >s�����R��N'IW�ta�M�;%?�_M2�=��TMg��tv��2j{l�n��Ħ���
|
|
392
|
-
endstream
|
|
393
|
-
x��P0P�T0�T0��
|
|
394
|
-
��
|
|
395
|
-
��
|
|
396
|
-
66����y%
|
|
397
|
-
��n�E�%@%
|
|
398
|
-
A�>�pfHeA��iINf^j��P�#��T@bQ*P�D]fIN��SNb^�B@bz�&X�K��!HZA?"2
|
|
399
|
-
�0�4R�+�ɉ��w��+���;3��>b/� ��D�3�
|
|
400
|
-
endstream
|
|
401
|
-
x��\ko���>��?��z�d�0`�v,?I���=���%C�\��~�T9=Oi�ٽ0h�t�IV�XU���b;�Y�:�ʝ�*�u����t�K��m����.$jׇ.�Hu�2��KW�묷�5����2��ަ�>��l�v!Я@?b���1\�v�ư���/���L#D�go��X:�=5N�fN
|
|
402
|
-
M��B�5ΖzM��
|
|
403
|
-
؉�2�����7~EЍ�}t=����WXi���o,���rۘ����p�F��q��Pk�vɂM�.g�ԁ�=`9��w'6���o�c���d|txxpv3���������Əg��������}<����ūΎO�ϓW��O�Ƨ߾��O���x2?���o��^}��S�G�4��W�����~���G��g.���7�p�~v���r�7�2�n����Շ��O������ۃg�?��cLlƧWo/ϩь����A/˃>z�����?R7^;y����⏫�MC罇&Q�1�ћ��ώ�2to������w�o�4��h�k�7��=9>���~���]C���wO�i���~��ϟ�x���;
|
|
404
|
-
���_f7����]6�Nb��b�.�}�<{G��'����U0�7��p���W>�3~Fzqi�i����z��-��>j���B�u�P���.���(<�\ڳ��(���5��g�����90��`^|M�p��u�y8w�N�t�~0�!Ox~z�>=����@��ށ���
|
|
405
|
-
�m�[�A��h�LOX�]��Y~J���kfh��D
|
|
406
|
-
g��||����zv�~v���Cj��'������s������Y��",�`����������������Y'���������1Y�������t�t�l�z|4~<~4~y_M�{@Vh�����M碣��*;8��k�q��q���u�����Ō�V�<n�>�2�h@��t��bFJ�d>�����~<d���an*�ə���R��h:�B�/Q����5��2dB���i~��
|
|
407
|
-
J����K%��r�S��m��G��N���~��V���zK��t��ߣڎ߁s�<�A!WN;��0n��Ƭsd����~��=��xJ��`���^��Q�
|
|
408
|
-
?�e^�Q|^@�������6>V�d̨�������n�m���c�ڀ.^�>M9]0i��˔��"�LwZ�B�����K�%�=�PK*���^eЃ���A*S��'.���L9{0ɲ~S�~&l5a�i(� 3��@P\�G�%ʐ,����J!�6�"��$u0R1m�j��X���
|
|
409
|
-
�dr�YAfXN�v1o{q��>u����A�{��a��o�C����W;]���m�l�,�k�?ꬵ���N�֩wzV��h�>J�}4��ySk�����8�;��k$���>���E�9������������f��B�J|%�Rw�e;����]��nH�*�Z�*b����Zc���m5uQQ!5�kK�X_�(��k�_Y�U��.�j��"�b�;S��Ġ �Bx���^9�X,���A-��8(��@�t��S�����f0��
|
|
410
|
-
0d(n�BV��k;g����XtC&&�l���8'��[�sX@&�K`�����X\+G!����e]����)Z��i!�p��a\Z�ց"8tZ����3�.�Kf-�*�����@�D�FS��˦�&��xE���
|
|
411
|
-
ȁ��GNck���k�f� Ȋ��i(1��c�0k=ZnF0*j,��Q�@��^`OZ4ÿ1����� �ج�q�>Uđ�N�a�&�A��t�BN{ ��������i창�w�A���Mw�-ژ5�rہ������ŗ��˴#��Vċ[��qm��Q-r�,�-��m_�0�>��:�5j�����Y��(l1<���)�+/ֵh�}C�D<h��#i��3��xf�Џ��1�m9�A��
|
|
412
|
-
��,����jlȢL�KԂ�U�͔���)%�e�lN
|
|
413
|
-
@f���g����y����y0�D(�5��Ü���oƀ4ѧn�,\�r�9����,�-�t"� #!�@�����洍�����
|
|
414
|
-
ѕV�T9�g�!��R9)$��(���7�I`���v�bkZ�ǟvI�[P&b"ss4���"��$�2�z,��/-�(ǚz�_�8e�cU���i�B����-�d\��յEȎy\AK��f���"���:`XƟ>q��8�Q�K�H�h����"*0��O�s�IeH�������f���1�$eƀWIf7峷�%�Ю�>,E�7�T�&��+a4�@^�/@.pd��3i`<�q/V���^ZDPO�S�~�d
|
|
415
|
-
N�h��*��';�(�A�I�4�����@sh��sCn��k��R����
|
|
416
|
-
�e>���y�%PpL����4@zh�'3���8����vDCs�Y�v��+�8���ʑ����Jgɕ�7!�^����B/j���7Ձ��2:Gy�"�g�N���0�=���&e8ݴ�8V6�,,"{ �Fv����FA2�G�7�� ��*��Bd��2���8~H�|�|ȮQQ��8 N�|�C�_�LP0�p����L��C9�H��� ���\�孕�y����O��t�f#t1C�Ģ�yL8)����_������8I���9���&�&�E�7'?!�<�,6yU��:T��OR߀�O"���B&,7d�
|
|
417
|
-
Y1ս��q=�� �8��P���2l�3KZ��4e��j�d�-d���p�.K" �
|
|
418
|
-
�L~XU�zȉ��&NVN�r�D���}�*�ˈ
|
|
419
|
-
bLYX�K�F��#��QF)�@Z#���"n���9�%�]Г�0S���+�AI��=QbY�$l� ��OYw�/yN��P�/=Th��A�RP�� K�8'3����#r���!��Qr�)�%r��o)�n h5�b&��e�.�J��́��g��dE����A#�ܵ�'��H ��{|b=T7�圤�[���!�cr����,���">~�!�I��ޖ>��8��t`v%}�!��;�S�����a�-L��G���䏦q�������@������{���P�mG���6�~�S�������܌?�%�ڂ,��?|��ǧ��n>|��|v3�����Ň�����
|
|
420
|
-
endstream
|
|
421
|
-
x���AHTa����G+Fh��j��K��v���{�����v/�砓7o]��D�z��[�������*�����D��?-�d����03y�{VD|��$6aA�� 6)��h��J����E�ʮ�!j\�u��}z΅N}�\���?��;���:�Oɿ �T�O�l9�7�1���df�*^S�{��J&�\�7���_�i��Q=���=���z�z�8��T5o&���#2 b��L~�v��?� ����43��|Fu��%���|m;�}jd�Θ{� ;��n���-�9�'��t����4��t?J�;�1�=��o`������`(.#7(߱��چ�����%��,��e��
|
|
422
|
-
��U��5����u9��?���\s���2nc����&,�y,a=�f��3��О�L2�sǸ������"���gM��נ�L�.h�go�=�=�����n�
|
|
423
|
-
endstream
|
|
373
|
+
endstream
|
|
374
|
+
x��g�G�%��'�?B $E���KJ H���@
|
|
375
|
+
�����$Nw��=���v����u�K�ˍ�^O�²�owϜ=�g�9~�"�������Wf�RB!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B!�B��ѣ�w������?~2i���C۶��ybB��8p���|�3��}`0�3F,X�)���S��-{���l@���ƍ��:a!ڛ}����C�Q~x�f��[o��pÌ�A��dž ��\�v宻_�jm������zn�?��1,_����ރ垿m�ʕ;B�}�SC�,���i9m��/eD������˽!� �w�yq��Gc6o���b�vgL�^6l��)DN�8���3kV7� �����˦����ر���f��1(�\2���2}�ڥK�<x�����ٲe�Nu�|����9r�8nؗ_^���U����_�!B�T�uk�g?7,��m�z
|
|
376
|
+
y����s��1+�])��m�U%Ο�w�M3zh.� 8½EG��Yk��7o#�Vz�DZ����9(���S��s:|��|��×��X�'�y�A��QU�Z��94f;R�����SB@��f�����~����n8��z<��s��
|
|
377
|
+
���N��f4�h�*yK;Ư��?�r��xc{.u���������k�\Rj��<`�_>��TJ�U�MT��8-�|�œb�tTI��q�o#!0g�_|�����>87í��J�0j��n�9J���00`a�U�կ� <� �c�r���뽫�Uٯ�/#�>�f�J��l=:ͯ娒����8��
|
|
378
|
+
U��
|
|
379
|
+
HR%&CP�6�T�h����>:`�ng�`�6��p�����,sh�����0l<�Y��`0�L�&Q%�+4�[��&�q��|�)p� Z-��V�W^9��@�M�ݓ�V��7�&�Bwl�)]���5g����l�c�ʇj���`W����ّ���#��:O�,�K����t���1Ђ_^}uMqG��_�{kU���B!��)[Uƶ�`�9�=�T��H�٘1�u��_�W��e�hm��d�;��,��zN�D��M�J���k�9���_ȿ-��!���̈́�S�==�Oٽ۵�*q�L��T��7w:���㇉ݘX��q����a-V\[�Op�����i��}�S��H�J���~��$7�1�Hn��Ue�-S�*��P9V����XCRl�� J��p���x\���������g���_+{+�UeT)�7hf�a��u���T!��(�wN ��U 63m��mv�|UY�<�;���j�P��I)�Q��S��� ��gM��t�N=��<��ų������p��yʹ�R%�pՔ�tX>������J��N
|
|
380
|
+
I��@R%3���͊P%�m;x������$��CPl7�d=?I�;��O&�2_U�t"A�/�#)pY�*)�ū�6�����WLŴ$��bf�b�V%H��oh7+B�������F���W���5�ѥ/Nϟ锱9�|&#GI2�#�]�M+&96�*�WM���FN%d&�G�ロ���df�ݬ Ubn;�
|
|
381
|
+
���DpO�Tk������t���"I���M�X˄��A����2h~x�'
|
|
424
382
|
|
|
425
|
-
|
|
383
|
+
����:�︦�9&']��^�QF�X�lê��C�B��2�73�J��x%s�}�s���6L��� �o7+N��N�X.$�X��Μ�\��dVb�O����t�h
|
|
384
|
+
��Zq�"`� B��+]���E;F��n�Vi�枧*��Eph�҃�,�i�MZ�hU�O�]!(E,���y+]]��f.�������ku�(κ=�W4��O�UfX�?F�P^��.�
|
|
385
|
+
�Nl��D���x9�v��2n�{7��ߕƐ����2���s/�<,<i��n�o=ן��<`�9�BG_�I�xhsb�.˥��GC�$�.�H��hu�����]f�I����<0U�>)���ďl��cH�E!�ˎ8>ڌnçaʾ�*��*s:=���]=�4_�#�z
|
|
386
|
+
�C|D���E� |O�qo��#�C���4hUb�:2bd˧���}龇o[����C�U�x��<1r����[W�/;�X��I.߫j�U��@���1�m�E��" ��dUy���$��
|
|
387
|
+
endstream
|
|
388
|
+
x�=�=�0��ʍ:�I+����
|
|
389
|
+
�� �T�t��KZu;�����B�3�����U7�Nۇ�#��?6���&(%%-�"U�('�Fgf����Z?�|d��t�\�P�~p��m���߃���/�N�I��D�3�
|
|
390
|
+
endstream
|
|
391
|
+
x��\moG��>��m���X�uX�d;V����8ɠ���c[8Y2��b��YU�3�K��-�r��KU��"��l&C̉l �L�s!���z�l�m!g�c��;G!9b(�H�e��
|
|
392
|
+
o�=������}��L��z�`�CH��nj�H�1\d��qtd
|
|
393
|
+
�z~V�imV<�Ն�ޜ�[~��'��/Y[π2����R&6ƌ7 {���Y��*nPvS�vP�!�7�"�E�����Q��P1I�H���@5�s�{D��Z\?8��tvى8�Y��2��۰g�y��m0�#�]
|
|
394
|
+
�^qx�L���\�ʐ�j~�8�
|
|
395
|
+
�/�<k��;pb�{0(��iǡ�#�ێMc�9�AI~u�%}�(�Bqr.�Fz��w}T�"���G4�o�?�{&zTi��.>6�f�8��>��6���_�Uӱmm@���K���]|%] *�����뀐}�r/[�odImO��RY�t�V��U=xh��6����mNS)%{0Ϻ~�x?s��0��KCO���������H�rB$�A_)4�f� �Ӗ�����kך�dž
|
|
396
|
+
�8w������H1�����6���+
|
|
397
|
+
[��N�S�9�����5��6�R�F�;�)�jDY���BR���Wc--f�55���a
|
|
398
|
+
��u��L���2�X(��PB�H�;ú��f�0��Ƹ*a���uY��j߁��r�.͛�&�p�ĤTc����k-v+�� �mv����[4~;/�д)��>ͱ�b������
|
|
399
|
+
6�ʴ�Y�`�/�j�l�$
|
|
400
|
+
� j�Y\?�g��^A?�q/u[@��B�s��7fh��C½
|
|
401
|
+
�sR�����tҹ!:Y�F�ⲖB��0��em���L���H�pnƵ��T�NK���&Ҧ��`ɘaW1U�jr������
|
|
402
|
+
xI���@�숹b����C
|
|
403
|
+
��,J
|
|
404
|
+
�SQ�HVy���'����e�Qnd6t'��x��6���2�Qr-�;G�^ذ�BM��(��7�->���^7m;v� �l?n��֎�݀���L��)�P52������w��k�[�.Q���i7r��
|
|
405
|
+
^��爁�ѐ{j���BƉ��PC��ǶYjNg$���V]�Gq� ��-��XR;�ռ�wF
|
|
406
|
+
0�iK-�)��VLw��OάPM�R�d��0
|
|
407
|
+
��1��Bj[tNV�eA�<R�~b2f��`vӘ��mˢ$35!�4
|
|
408
|
+
>��^{u+P���[8�nٔ�j�ҷJ�x
|
|
409
|
+
ot���k��O���W��"d'<n�%�x3�Zt�Q�%����ɧ�A�E|9.c4�3RqZ�9����
|
|
410
|
+
�s�|N>oqU<�HtԬ�0�iR���*��F������v
|
|
411
|
+
���ؠ��
|
|
412
|
+
ő���O����o�4��K��|2�V�%����L��F�1�����m���l0TP��Iӭbϋ��N�(|Q�-�OH�L-�M��1�G���K�'U�@�'�EƴB&,7d�
|
|
413
|
+
Y1����q+鱐xT=Ede���̚tэ���CNV`yB����!���Β��Z�z�IJ^�$+�$p�T���$}�*�ˈ
|
|
414
|
+
K3'ʐ�\f���ג�����/�Zԩ�<,�\ע�u�ia!�%��sm��ę��X��,�����Z3���
|
|
415
|
+
�K�ߡ�S�Jj� ɾ�C��?sp�Ę��"�2�"�G)�RA)��<J�@����,J_��k���'+=`f�G�WJ����eJQcY�$b� �I��G��E^�@��W9������X(�L�S%IJ�F��m����!��Qr����I�(2@��R2��%0��P�����G6&otY�9P2����Rdh6@�ɗ��8t�Ւ@��I�zhn�ȹ�-Sʟ�1�G|,6�m?
|
|
416
|
+
endstream
|
|
417
|
+
x���AK�Q��sΠbd��&cMj�����F���B�p!�"�f#�h���
|
|
418
|
+
Q�҅;�Jhd�@��͕��W�vn~�{�g�&"�D�.�bJLE�4���Yv��_3"�2�RT�$�:x�Ǟ��S�1�?d���W�du�o�*����?`��\%aL��}C~���QWe� ������[U����yE�n�ku�|��� ie�=$�$5}�I?u���>�ܚ)���ϩ��nў$m�>���� �����F7���A,��zz^���_���/�T��61զ��K�~��S��R��� �7��~�;<�=Rg��Y����9l�yl�l�El�e��+�X���װױ�?snb��e�9�
|
|
419
|
+
�+V�7,��S?�Sx�X�����10�3XЮ�W�E���To'�톫=1��i�݂�ɛ����-^s�oo��CH�k�
|
|
420
|
+
endstream
|
|
421
|
+
|
|
422
|
+
182 1 obj
|
|
426
423
|
����JFIF``��ZExifMM*JQQ�Q�������C
|
|
427
424
|
|
|
428
425
|
|
|
@@ -455,10 +453,12 @@ OZ
|
|
|
455
453
|
(��
|
|
456
454
|
(��
|
|
457
455
|
(��?��
|
|
458
|
-
endstream
|
|
459
|
-
x�+�
|
|
456
|
+
endstream
|
|
457
|
+
x�+�57S0P0P04�3Qz�
|
|
458
|
+
ɹ����
|
|
459
|
+
.����n��
|
|
460
460
|
endstream
|
|
461
461
|
x�+��w�5Tp��
|
|
462
|
-
endstream
|
|
463
|
-
x�cbdL
|
|
464
|
-
endstream
|
|
462
|
+
endstream
|
|
463
|
+
x�cbdL��������?��!&0�&�@$�r�� �ד�=�
|
|
464
|
+
endstream
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -95,7 +95,7 @@ const PDFTronLicense = require('../LicenseKey/LicenseKey');
|
|
|
95
95
|
const y2 = Math.max(Math.max(Math.max(currQuad.p1y, currQuad.p2y), currQuad.p3y), currQuad.p4y);
|
|
96
96
|
|
|
97
97
|
const hyperLink = await PDFNet.LinkAnnot.create(doc, (await PDFNet.Rect.init(x1, y1, x2, y2)));
|
|
98
|
-
await hyperLink.setAction((await PDFNet.Action.createURI(doc, 'http://www.
|
|
98
|
+
await hyperLink.setAction((await PDFNet.Action.createURI(doc, 'http://www.apryse.com')));
|
|
99
99
|
await curPage.annotPushBack(hyperLink);
|
|
100
100
|
}
|
|
101
101
|
hlts.next();
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//---------------------------------------------------------------------------------------
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
|
+
// Consult legal.txt regarding legal and license information.
|
|
4
|
+
//---------------------------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
//---------------------------------------------------------------------------------------
|
|
7
|
+
// The following sample illustrates how to extract xlf from a PDF document for translation.
|
|
8
|
+
// It then applies a pre-prepared translated xlf file to the PDF to produce a translated PDF.
|
|
9
|
+
//---------------------------------------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
const { PDFNet } = require('@pdftron/pdfnet-node');
|
|
12
|
+
const PDFTronLicense = require('../LicenseKey/LicenseKey');
|
|
13
|
+
|
|
14
|
+
((exports) => {
|
|
15
|
+
|
|
16
|
+
exports.runTransPDF = () => {
|
|
17
|
+
|
|
18
|
+
const main = async () => {
|
|
19
|
+
// Relative path to the folder containing test files.
|
|
20
|
+
const inputPath = '../TestFiles/';
|
|
21
|
+
const outputPath = inputPath + 'Output/';
|
|
22
|
+
|
|
23
|
+
try {
|
|
24
|
+
// start stack-based deallocation with startDeallocateStack. Later on when endDeallocateStack is called,
|
|
25
|
+
// all objects in memory that were initialized since the most recent startDeallocateStack call will be
|
|
26
|
+
// cleaned up. Doing this makes sure that memory growth does not get too high.
|
|
27
|
+
await PDFNet.startDeallocateStack();
|
|
28
|
+
|
|
29
|
+
// Open a PDF document to translate
|
|
30
|
+
const doc = await PDFNet.PDFDoc.createFromFilePath(inputPath + 'find-replace-test.pdf');
|
|
31
|
+
|
|
32
|
+
const options = await PDFNet.TransPDF.createTransPDFOptions();
|
|
33
|
+
|
|
34
|
+
// Set the source language in the options
|
|
35
|
+
options.setSourceLanguage("en");
|
|
36
|
+
|
|
37
|
+
// Set the number of pages to process in each batch
|
|
38
|
+
options.setBatchSize(20);
|
|
39
|
+
|
|
40
|
+
// Optionally, subset the pages to process
|
|
41
|
+
// This PDF only has a single page, but you can specify a subset of pages like this
|
|
42
|
+
// options.setPages("-2,5-6,9,11-");
|
|
43
|
+
|
|
44
|
+
// Extract the xlf to file and field the PDF for translation
|
|
45
|
+
await PDFNet.TransPDF.extractXLIFF(doc, outputPath + 'find-replace-test.xlf', options);
|
|
46
|
+
|
|
47
|
+
// Save the fielded PDF
|
|
48
|
+
await doc.save(outputPath + 'find-replace-test-fielded.pdf', PDFNet.SDFDoc.SaveOptions.e_linearized);
|
|
49
|
+
|
|
50
|
+
// The extracted xlf can be translated in a system of your choice.
|
|
51
|
+
// In this sample a pre-prepared translated file is used - find-replace-test_(en_to_fr).xlf
|
|
52
|
+
|
|
53
|
+
// Perform the translation using the pre-prepared translated xliff
|
|
54
|
+
await PDFNet.TransPDF.applyXLIFF(doc, inputPath + "find-replace-test_(en_to_fr).xlf", options);
|
|
55
|
+
|
|
56
|
+
await doc.save(outputPath + 'find-replace-test-fr.pdf', PDFNet.SDFDoc.SaveOptions.e_linearized);
|
|
57
|
+
|
|
58
|
+
await PDFNet.endDeallocateStack();
|
|
59
|
+
} catch (err) {
|
|
60
|
+
console.log(err.stack);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
PDFNet.runWithCleanup(main, PDFTronLicense.Key).catch(function (error) { console.log('Error: ' + JSON.stringify(error)); }).then(function () { return PDFNet.shutdown(); });
|
|
64
|
+
};
|
|
65
|
+
exports.runTransPDF();
|
|
66
|
+
})(exports);
|
|
67
|
+
// eslint-disable-next-line spaced-comment
|
|
68
|
+
//# sourceURL=TransPDF.js
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//---------------------------------------------------------------------------------------
|
|
2
|
-
// Copyright (c) 2001-
|
|
2
|
+
// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
|
|
3
3
|
// Consult legal.txt regarding legal and license information.
|
|
4
4
|
//---------------------------------------------------------------------------------------
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
//
|
|
24
24
|
// Please note that PDFNet Publisher (i.e. 'pdftron.PDF.Convert.ToXod') is an
|
|
25
25
|
// optionally licensable add-on to PDFNet Core SDK. For details, please see
|
|
26
|
-
//
|
|
26
|
+
// https://apryse.com/pricing.
|
|
27
27
|
//---------------------------------------------------------------------------------------
|
|
28
28
|
|
|
29
29
|
const { PDFNet } = require('@pdftron/pdfnet-node');
|