@ironsoftware/ironpdf 2023.11.2 → 2024.2.1
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 -2
- package/src/internal/IronPdfEngine.ProtoFiles/.gitignore +5 -1
- package/src/internal/IronPdfEngine.ProtoFiles/iron_pdf_service.proto +19 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_annotation.proto +53 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_compress.proto +1 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_font.proto +209 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_form.proto +1 -5
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_pdf_document.proto +65 -8
- package/src/internal/access.d.ts.map +1 -1
- package/src/internal/access.js +10 -2
- package/src/internal/access.js.map +1 -1
- package/src/internal/access.ts +10 -2
- package/src/internal/generated_proto/iron_pdf_service.d.ts +43 -1
- package/src/internal/generated_proto/iron_pdf_service.d.ts.map +1 -1
- package/src/internal/generated_proto/iron_pdf_service.ts +43 -1
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts +192 -0
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.ts +224 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayRequestStreamP.d.ts +20 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayRequestStreamP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayRequestStreamP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayRequestStreamP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayRequestStreamP.ts +24 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaByteArrayResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontEnumValResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddFontViaStandardFontNameResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAnnotationSubTypesP.d.ts +7 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAnnotationSubTypesP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAnnotationSubTypesP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAnnotationSubTypesP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAnnotationSubTypesP.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectCollectionP.d.ts +8 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectCollectionP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectCollectionP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectCollectionP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectCollectionP.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectP.d.ts +25 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCharObjectP.ts +28 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCompressImagesRequestP.d.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCompressImagesRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumCompressImagesRequestP.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayRequestStreamP.d.ts +24 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayRequestStreamP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayRequestStreamP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayRequestStreamP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayRequestStreamP.ts +28 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumEmbedFontViaByteArrayResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/{PdfiumFormFieldTypesP.js → PdfiumFindFontsResultP.js} +2 -2
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFindFontsResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.d.ts +2 -4
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.ts +2 -4
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldP.d.ts +2 -3
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldP.ts +2 -3
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetAnnotationsResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetCharObjectCollectionResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetFontInfoAtResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameRequestP.d.ts +7 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameRequestP.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetStandardFontNameResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionResultP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumGetTextObjectCollectionResultP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationCollectionP.d.ts +8 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationCollectionP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationCollectionP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationCollectionP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationCollectionP.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.d.ts +22 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfAnnotationP.ts +25 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfDocumentConstructorStreamP.d.ts +2 -2
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfDocumentConstructorStreamP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfDocumentConstructorStreamP.ts +2 -2
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfFreeTextAnnotationP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfFreeTextAnnotationP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfFreeTextAnnotationP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfFreeTextAnnotationP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfFreeTextAnnotationP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfLinkAnnotationP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfLinkAnnotationP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfLinkAnnotationP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfLinkAnnotationP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfLinkAnnotationP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfTextAnnotationP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfTextAnnotationP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfTextAnnotationP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfTextAnnotationP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfTextAnnotationP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayRequestStreamP.d.ts +24 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayRequestStreamP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayRequestStreamP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayRequestStreamP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayRequestStreamP.ts +28 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaByteArrayResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValRequestP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValRequestP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontEnumValResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameRequestP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameRequestP.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceFontViaStandardFontNameResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameRequestP.d.ts +7 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameRequestP.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumResolveStandardFontNameResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectCollectionP.d.ts +8 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectCollectionP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectCollectionP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectCollectionP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectCollectionP.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectP.d.ts +17 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumTextObjectP.ts +20 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaObjNumResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameRequestP.d.ts +10 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameRequestP.ts +13 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP.d.ts +11 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP.ts +14 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumWrappedPdfAnnotationP.d.ts +15 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumWrappedPdfAnnotationP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumWrappedPdfAnnotationP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumWrappedPdfAnnotationP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumWrappedPdfAnnotationP.ts +18 -0
- package/src/internal/grpc_layer/handshake.d.ts.map +1 -1
- package/src/internal/grpc_layer/handshake.js +5 -1
- package/src/internal/grpc_layer/handshake.js.map +1 -1
- package/src/internal/grpc_layer/handshake.ts +5 -1
- package/src/internal/grpc_layer/pdfium/compress.d.ts +1 -0
- package/src/internal/grpc_layer/pdfium/compress.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/compress.js +20 -1
- package/src/internal/grpc_layer/pdfium/compress.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/compress.ts +33 -6
- package/src/internal/grpc_layer/pdfium/io.d.ts +2 -1
- package/src/internal/grpc_layer/pdfium/io.d.ts.map +1 -1
- package/src/internal/grpc_layer/pdfium/io.js +3 -0
- package/src/internal/grpc_layer/pdfium/io.js.map +1 -1
- package/src/internal/grpc_layer/pdfium/io.ts +15 -13
- package/src/public/pdfDocument.d.ts +16 -3
- package/src/public/pdfDocument.d.ts.map +1 -1
- package/src/public/pdfDocument.js +27 -6
- package/src/public/pdfDocument.js.map +1 -1
- package/src/public/pdfDocument.ts +41 -16
- package/src/public/types.d.ts +5 -0
- package/src/public/types.d.ts.map +1 -1
- package/src/public/types.js +7 -1
- package/src/public/types.js.map +1 -1
- package/src/public/types.ts +6 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldTypesP.d.ts +0 -7
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldTypesP.d.ts.map +0 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldTypesP.js.map +0 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFormFieldTypesP.ts +0 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsoftware/ironpdf",
|
|
3
|
-
"version": "
|
|
4
|
-
"ironPdfEngineVersion": "
|
|
3
|
+
"version": "2024.2.1",
|
|
4
|
+
"ironPdfEngineVersion": "2024.2.2",
|
|
5
5
|
"homepage": "https://ironpdf.com/nodejs",
|
|
6
6
|
"description": "IronPDF for Node",
|
|
7
7
|
"main": "./src/index.js",
|
|
@@ -23,6 +23,7 @@ import "pdfium_security.proto";
|
|
|
23
23
|
import "pdfium_text.proto";
|
|
24
24
|
import "pdfium_image.proto";
|
|
25
25
|
import "pdfium_stamp.proto";
|
|
26
|
+
import "pdfium_font.proto";
|
|
26
27
|
|
|
27
28
|
option java_package = "com.ironsoftware.ironpdf.internal.proto";
|
|
28
29
|
option java_multiple_files = true;
|
|
@@ -56,6 +57,7 @@ service IronPdfService {
|
|
|
56
57
|
rpc Pdfium_Annotation_AddTextAnnotation(PdfiumAddTextAnnotationRequestP) returns (IntResultP){}
|
|
57
58
|
rpc Pdfium_Annotation_EditTextAnnotation(PdfiumEditTextAnnotationRequestP) returns (EmptyResultP){}
|
|
58
59
|
rpc Pdfium_Annotation_GetAnnotationCountRequestP(PdfiumGetAnnotationCountRequestP) returns (IntResultP){}
|
|
60
|
+
rpc Pdfium_Annotation_GetAnnotationsRequestP(PdfiumGetAnnotationsRequestP) returns (PdfiumGetAnnotationsResultP){}
|
|
59
61
|
rpc Pdfium_Annotation_GetTextAnnotationRequestP(PdfiumGetAnnotationRequestP) returns (PdfiumGetTextAnnotationResultP){}
|
|
60
62
|
rpc Pdfium_Annotation_RemoveAnnotation(PdfiumRemoveAnnotationRequestP) returns (IntResultP){}
|
|
61
63
|
rpc Pdfium_Annotation_AddLinkAnnotation(PdfiumAddLinkAnnotationRequestP) returns (EmptyResultP){}
|
|
@@ -101,6 +103,21 @@ service IronPdfService {
|
|
|
101
103
|
rpc Pdfium_Form_UpdateFormFieldAnnotation(PdfiumUpdateFormFieldAnnotationRequestP) returns (EmptyResultP){}
|
|
102
104
|
rpc Pdfium_Form_GetFormFields(PdfiumGetFormFieldsRequestP) returns (PdfiumGetFormFieldsResultP){}
|
|
103
105
|
|
|
106
|
+
//PDFIUM_Font
|
|
107
|
+
rpc Pdfium_Font_ResolveStandardFontName(PdfiumResolveStandardFontNameRequestP) returns(PdfiumResolveStandardFontNameResultP){}
|
|
108
|
+
rpc Pdfium_Font_GetStandardFontName(PdfiumGetStandardFontNameRequestP) returns(PdfiumGetStandardFontNameResultP){}
|
|
109
|
+
rpc Pdfium_Font_EmbedViaByteArray(stream PdfiumEmbedFontViaByteArrayRequestStreamP) returns(PdfiumEmbedFontViaByteArrayResultP){}
|
|
110
|
+
rpc Pdfium_Font_GetFontInfoAt(PdfiumGetFontInfoAtRequestP) returns(PdfiumGetFontInfoAtResultP){}
|
|
111
|
+
rpc Pdfium_Font_AddViaStandardFontName(PdfiumAddFontViaStandardFontNameRequestP) returns(PdfiumAddFontViaStandardFontNameResultP){}
|
|
112
|
+
rpc Pdfium_Font_AddViaStandardFontEnumVal(PdfiumAddFontViaStandardFontEnumValRequestP) returns(PdfiumAddFontViaStandardFontEnumValResultP){}
|
|
113
|
+
rpc Pdfium_Font_AddViaByteArray(stream PdfiumAddFontViaByteArrayRequestStreamP) returns(PdfiumAddFontViaByteArrayResultP){}
|
|
114
|
+
rpc Pdfium_Font_FindFonts(PdfiumFindFontsRequestP) returns(PdfiumFindFontsResultP){}
|
|
115
|
+
rpc Pdfium_Font_UnEmbedFontViaRegexFontName(PdfiumUnEmbedFontViaRegexFontNameRequestP) returns(PdfiumUnEmbedFontViaRegexFontNameResultP){}
|
|
116
|
+
rpc Pdfium_Font_UnEmbedFontViaObjNum(PdfiumUnEmbedFontViaObjNumRequestP) returns(PdfiumUnEmbedFontViaObjNumResultP){}
|
|
117
|
+
rpc Pdfium_Font_ReplaceViaStandardFontName(PdfiumReplaceFontViaStandardFontNameRequestP) returns(PdfiumReplaceFontViaStandardFontNameResultP){}
|
|
118
|
+
rpc Pdfium_Font_ReplaceViaStandardFontEnumVal(PdfiumReplaceFontViaStandardFontEnumValRequestP) returns(PdfiumReplaceFontViaStandardFontEnumValResultP){}
|
|
119
|
+
rpc Pdfium_Font_ReplaceViaByteArray(stream PdfiumReplaceFontViaByteArrayRequestStreamP) returns(PdfiumReplaceFontViaByteArrayResultP){}
|
|
120
|
+
|
|
104
121
|
//PDFIUM_HeaderFooter
|
|
105
122
|
rpc Pdfium_HeaderFooter_AddTextHeaderFooter(PdfiumAddTextHeaderFooterRequestP) returns (EmptyResultP){}
|
|
106
123
|
|
|
@@ -144,6 +161,8 @@ service IronPdfService {
|
|
|
144
161
|
rpc Pdfium_GetRevision(PdfiumGetRevisionRequestP) returns (stream BytesResultStreamP){}
|
|
145
162
|
rpc Pdfium_GetPaperSizePreset(PdfiumGetPaperSizePresetRequestP) returns(PdfiumGetPaperSizePresetResultP){}
|
|
146
163
|
rpc Pdfium_Form_GetFontInfoCollection(PdfiumGetFontInfoCollectionRequestP) returns(PdfiumGetFontInfoCollectionResultP){}
|
|
164
|
+
rpc Pdfium_Form_GetTextObjectCollection(PdfiumGetTextObjectCollectionRequestP) returns(PdfiumGetTextObjectCollectionResultP){}
|
|
165
|
+
rpc Pdfium_Form_GetCharObjectCollection(PdfiumGetCharObjectCollectionRequestP) returns(PdfiumGetCharObjectCollectionResultP){}
|
|
147
166
|
|
|
148
167
|
//PDFIUM_Security
|
|
149
168
|
rpc Pdfium_Security_RemovePasswordsAndEncryption(PdfiumRemovePasswordsAndEncryptionRequestP) returns (EmptyResultP){}
|
|
@@ -11,6 +11,59 @@ message PdfiumGetAnnotationCountRequestP {
|
|
|
11
11
|
int32 page_index = 2;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
message PdfiumAnnotationSubTypesP {
|
|
15
|
+
int32 enum_value = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message PdfiumPdfAnnotationP {
|
|
19
|
+
PdfiumAnnotationSubTypesP subtype = 2;
|
|
20
|
+
double x = 3;
|
|
21
|
+
double y = 4;
|
|
22
|
+
double width = 5;
|
|
23
|
+
double height = 6;
|
|
24
|
+
optional string contents = 7;
|
|
25
|
+
optional string name = 8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message PdfiumPdfTextAnnotationP {
|
|
29
|
+
PdfiumPdfAnnotationP annotation = 1;
|
|
30
|
+
optional string state = 2;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
message PdfiumPdfFreeTextAnnotationP {
|
|
34
|
+
PdfiumPdfAnnotationP annotation = 1;
|
|
35
|
+
optional string appearance = 2;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message PdfiumPdfLinkAnnotationP {
|
|
39
|
+
PdfiumPdfAnnotationP annotation = 1;
|
|
40
|
+
optional string dest = 2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
message PdfiumWrappedPdfAnnotationP {
|
|
44
|
+
oneof annotations {
|
|
45
|
+
PdfiumPdfTextAnnotationP text = 2;
|
|
46
|
+
PdfiumPdfFreeTextAnnotationP freetext = 3;
|
|
47
|
+
PdfiumPdfLinkAnnotationP link = 4;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message PdfiumPdfAnnotationCollectionP {
|
|
52
|
+
repeated PdfiumWrappedPdfAnnotationP annotations = 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message PdfiumGetAnnotationsResultP {
|
|
56
|
+
oneof result_or_exception {
|
|
57
|
+
PdfiumPdfAnnotationCollectionP result = 1;
|
|
58
|
+
RemoteExceptionP exception = 2;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message PdfiumGetAnnotationsRequestP {
|
|
63
|
+
PdfDocumentP document = 1;
|
|
64
|
+
int32 page_index = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
14
67
|
message PdfiumAnnotationIconP {
|
|
15
68
|
int32 enum_value = 1;
|
|
16
69
|
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package ironpdfengineproto;
|
|
3
|
+
import "basic.proto";
|
|
4
|
+
import "pdfium_pdf_document.proto";
|
|
5
|
+
|
|
6
|
+
option java_package = "com.ironsoftware.ironpdf.internal.proto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
|
|
9
|
+
// ResolveStandardFontName
|
|
10
|
+
message PdfiumResolveStandardFontNameRequestP {
|
|
11
|
+
string font_name = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message PdfiumResolveStandardFontNameResultP {
|
|
15
|
+
oneof result_or_exception {
|
|
16
|
+
string result = 1;
|
|
17
|
+
RemoteExceptionP exception = 2;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// GetStandardFontName
|
|
22
|
+
message PdfiumGetStandardFontNameRequestP {
|
|
23
|
+
uint32 font_val = 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message PdfiumGetStandardFontNameResultP {
|
|
27
|
+
oneof result_or_exception {
|
|
28
|
+
string result = 1;
|
|
29
|
+
RemoteExceptionP exception = 2;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// GetFontInfoAt()
|
|
34
|
+
message PdfiumGetFontInfoAtRequestP {
|
|
35
|
+
PdfDocumentP document = 1;
|
|
36
|
+
uint32 font_obj_num = 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message PdfiumGetFontInfoAtResultP {
|
|
40
|
+
oneof result_or_exception {
|
|
41
|
+
PdfiumFontInfoP result = 1;
|
|
42
|
+
RemoteExceptionP exception = 2;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Add - standard font name
|
|
47
|
+
message PdfiumAddFontViaStandardFontNameRequestP {
|
|
48
|
+
PdfDocumentP document = 1;
|
|
49
|
+
string standard_font_name = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message PdfiumAddFontViaStandardFontNameResultP {
|
|
53
|
+
oneof result_or_exception {
|
|
54
|
+
PdfiumFontInfoP result = 1;
|
|
55
|
+
RemoteExceptionP exception = 2;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Add - standard font enum
|
|
60
|
+
message PdfiumAddFontViaStandardFontEnumValRequestP {
|
|
61
|
+
PdfDocumentP document = 1;
|
|
62
|
+
uint32 standard_font_enum_val = 2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message PdfiumAddFontViaStandardFontEnumValResultP {
|
|
66
|
+
oneof result_or_exception {
|
|
67
|
+
PdfiumFontInfoP result = 1;
|
|
68
|
+
RemoteExceptionP exception = 2;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Add - byte array
|
|
73
|
+
// This takes care of overload sets that accepts
|
|
74
|
+
// - byte[]
|
|
75
|
+
// - Stream
|
|
76
|
+
// - File path (resolved as byte[] before grpc request)
|
|
77
|
+
message PdfiumAddFontViaByteArrayRequestStreamP {
|
|
78
|
+
oneof request {
|
|
79
|
+
InfoP info = 1;
|
|
80
|
+
bytes font_bytes_chunk = 2;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message InfoP {
|
|
84
|
+
PdfDocumentP document = 1;
|
|
85
|
+
uint32 font_bytes_size = 2;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message PdfiumAddFontViaByteArrayResultP {
|
|
90
|
+
oneof result_or_exception {
|
|
91
|
+
PdfiumFontInfoP result = 1;
|
|
92
|
+
RemoteExceptionP exception = 2;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Embed - byte array
|
|
97
|
+
// This takes care of overload sets that accepts
|
|
98
|
+
// - byte[]
|
|
99
|
+
// - Stream
|
|
100
|
+
// - File path (resolved as byte[] before grpc request)
|
|
101
|
+
message PdfiumEmbedFontViaByteArrayRequestStreamP {
|
|
102
|
+
oneof request {
|
|
103
|
+
InfoP info = 1;
|
|
104
|
+
bytes font_bytes_chunk = 2;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
message InfoP {
|
|
108
|
+
PdfDocumentP document = 1;
|
|
109
|
+
uint32 font_obj_num = 2;
|
|
110
|
+
int32 embed_as_type = 3;
|
|
111
|
+
uint32 font_bytes_size = 4;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message PdfiumEmbedFontViaByteArrayResultP {
|
|
116
|
+
oneof result_or_exception {
|
|
117
|
+
bool success = 1;
|
|
118
|
+
RemoteExceptionP exception = 2;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// UnEmbedFont - regex font name
|
|
123
|
+
message PdfiumUnEmbedFontViaRegexFontNameRequestP {
|
|
124
|
+
PdfDocumentP document = 1;
|
|
125
|
+
string regex_font_name = 2;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
message PdfiumUnEmbedFontViaRegexFontNameResultP {
|
|
129
|
+
oneof result_or_exception {
|
|
130
|
+
uint32 result = 1;
|
|
131
|
+
RemoteExceptionP exception = 2;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// UnEmbedFont - objnum
|
|
136
|
+
message PdfiumUnEmbedFontViaObjNumRequestP {
|
|
137
|
+
PdfDocumentP document = 1;
|
|
138
|
+
uint32 obj_num = 2;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message PdfiumUnEmbedFontViaObjNumResultP {
|
|
142
|
+
oneof result_or_exception {
|
|
143
|
+
uint32 result = 1;
|
|
144
|
+
RemoteExceptionP exception = 2;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// FindFonts
|
|
149
|
+
message PdfiumFindFontsRequestP {
|
|
150
|
+
PdfDocumentP document = 1;
|
|
151
|
+
string regex = 2;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
message PdfiumFindFontsResultP {
|
|
155
|
+
oneof result_or_exception {
|
|
156
|
+
PdfiumFontInfoCollectionP result = 1;
|
|
157
|
+
RemoteExceptionP exception = 2;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// ReplaceFonts - byte array
|
|
162
|
+
message PdfiumReplaceFontViaByteArrayRequestStreamP {
|
|
163
|
+
oneof request {
|
|
164
|
+
InfoP info = 1;
|
|
165
|
+
bytes font_bytes_chunk = 2;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
message InfoP {
|
|
169
|
+
PdfDocumentP document = 1;
|
|
170
|
+
uint32 font_obj_num = 2;
|
|
171
|
+
uint32 font_bytes_size = 4;
|
|
172
|
+
int32 replace_as_type = 3;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
message PdfiumReplaceFontViaByteArrayResultP {
|
|
177
|
+
oneof result_or_exception {
|
|
178
|
+
uint32 result = 1;
|
|
179
|
+
RemoteExceptionP exception = 2;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// ReplaceFont - standard font name (string)
|
|
184
|
+
message PdfiumReplaceFontViaStandardFontNameRequestP {
|
|
185
|
+
PdfDocumentP document = 1;
|
|
186
|
+
uint32 font_obj_num = 2;
|
|
187
|
+
string standard_font_name = 3;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message PdfiumReplaceFontViaStandardFontNameResultP {
|
|
191
|
+
oneof result_or_exception {
|
|
192
|
+
uint32 result = 1;
|
|
193
|
+
RemoteExceptionP exception = 2;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// ReplaceFont - standard font enum value
|
|
198
|
+
message PdfiumReplaceFontViaStandardFontEnumValRequestP {
|
|
199
|
+
PdfDocumentP document = 1;
|
|
200
|
+
uint32 font_obj_num = 2;
|
|
201
|
+
uint32 standard_font_enum_val = 3;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
message PdfiumReplaceFontViaStandardFontEnumValResultP {
|
|
205
|
+
oneof result_or_exception {
|
|
206
|
+
uint32 result = 1;
|
|
207
|
+
RemoteExceptionP exception = 2;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -5,10 +5,6 @@ import "basic.proto";
|
|
|
5
5
|
option java_package = "com.ironsoftware.ironpdf.internal.proto";
|
|
6
6
|
option java_multiple_files = true;
|
|
7
7
|
|
|
8
|
-
message PdfiumFormFieldTypesP {
|
|
9
|
-
int32 enum_value = 1;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
8
|
message PdfiumComboBoxFieldP {
|
|
13
9
|
repeated string options = 1;
|
|
14
10
|
int32 selected_index = 2;
|
|
@@ -27,7 +23,7 @@ message PdfiumFormFieldP {
|
|
|
27
23
|
string name = 2;
|
|
28
24
|
int32 page_index = 3;
|
|
29
25
|
bool read_only = 4; //in c# we need to call GetFormFieldIsReadOnly but in protobuf server must call this value when form field object was created
|
|
30
|
-
|
|
26
|
+
string type = 5;
|
|
31
27
|
string value = 6;
|
|
32
28
|
double width = 7;
|
|
33
29
|
double height = 8;
|
|
@@ -5,14 +5,71 @@ import "basic.proto";
|
|
|
5
5
|
option java_package = "com.ironsoftware.ironpdf.internal.proto";
|
|
6
6
|
option java_multiple_files = true;
|
|
7
7
|
|
|
8
|
+
message PdfiumCharObjectP
|
|
9
|
+
{
|
|
10
|
+
double left = 1;
|
|
11
|
+
double right = 2;
|
|
12
|
+
double top = 3;
|
|
13
|
+
double bottom = 4;
|
|
14
|
+
double looseleft = 5;
|
|
15
|
+
double looseright = 6;
|
|
16
|
+
double loosetop = 7;
|
|
17
|
+
double loosebottom = 8;
|
|
18
|
+
string contents = 9;
|
|
19
|
+
double angle = 10;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message PdfiumCharObjectCollectionP
|
|
23
|
+
{
|
|
24
|
+
repeated PdfiumCharObjectP value = 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message PdfiumGetCharObjectCollectionResultP {
|
|
28
|
+
oneof result_or_exception {
|
|
29
|
+
PdfiumCharObjectCollectionP result = 1;
|
|
30
|
+
RemoteExceptionP exception = 2;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message PdfiumGetCharObjectCollectionRequestP {
|
|
35
|
+
PdfDocumentP document = 1;
|
|
36
|
+
int32 page_index = 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message PdfiumTextObjectP
|
|
40
|
+
{
|
|
41
|
+
double left = 1;
|
|
42
|
+
double right = 2;
|
|
43
|
+
double top = 3;
|
|
44
|
+
double bottom = 4;
|
|
45
|
+
string contents = 5;
|
|
46
|
+
string color = 6;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message PdfiumTextObjectCollectionP
|
|
50
|
+
{
|
|
51
|
+
repeated PdfiumTextObjectP value = 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message PdfiumGetTextObjectCollectionResultP {
|
|
55
|
+
oneof result_or_exception {
|
|
56
|
+
PdfiumTextObjectCollectionP result = 1;
|
|
57
|
+
RemoteExceptionP exception = 2;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message PdfiumGetTextObjectCollectionRequestP {
|
|
62
|
+
PdfDocumentP document = 1;
|
|
63
|
+
int32 page_index = 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
8
66
|
message PdfiumFontInfoP
|
|
9
67
|
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
int32 type = 6;
|
|
68
|
+
uint32 obj_num = 1;
|
|
69
|
+
bool is_embedded = 2;
|
|
70
|
+
string name = 3;
|
|
71
|
+
int32 type = 4;
|
|
72
|
+
uint32 descendant_font_obj_num = 5;
|
|
16
73
|
}
|
|
17
74
|
|
|
18
75
|
message PdfiumFontInfoCollectionP
|
|
@@ -39,7 +96,7 @@ message PdfiumPdfDocumentConstructorStreamP {
|
|
|
39
96
|
message InfoP {
|
|
40
97
|
optional string user_password = 1;
|
|
41
98
|
optional string owner_password = 2;
|
|
42
|
-
optional
|
|
99
|
+
optional int32 track_changes = 3;
|
|
43
100
|
}
|
|
44
101
|
}
|
|
45
102
|
message PdfiumConvertToPdfARequestStreamP {
|
|
@@ -102,4 +159,4 @@ message PdfiumGetBinaryDataRequestStreamP {
|
|
|
102
159
|
message PdfiumGetRevisionRequestP {
|
|
103
160
|
PdfDocumentP document = 1;
|
|
104
161
|
int32 index = 2;
|
|
105
|
-
}
|
|
162
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["access.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAe3F,qBAAa,MAAM;IAClB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAS;IAEjC,OAAO;IASP,WAAkB,QAAQ,WAEzB;WAEa,aAAa;IAK3B,OAAc,eAAe,cAAqB;IAClD,OAAO,CAAC,MAAM,CAAC,UAAU,CAC0B;IACnD,OAAO,CAAC,MAAM,CAAC,UAAU,CAEvB;IACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAEQ;IAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,CAAuB;IAC5C,OAAO,CAAC,MAAM,CAAC,SAAS,CAGtB;IAEF,OAAc,oBAAoB,SAAqB;IAEvD,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAkB;IAErD,OAAO,CAAC,MAAM,CAAC,eAAe;mBA8GT,wBAAwB;mBAwBxB,6BAA6B;mBA0B7B,WAAW;
|
|
1
|
+
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["access.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAe3F,qBAAa,MAAM;IAClB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAS;IAEjC,OAAO;IASP,WAAkB,QAAQ,WAEzB;WAEa,aAAa;IAK3B,OAAc,eAAe,cAAqB;IAClD,OAAO,CAAC,MAAM,CAAC,UAAU,CAC0B;IACnD,OAAO,CAAC,MAAM,CAAC,UAAU,CAEvB;IACF,OAAO,CAAC,MAAM,CAAC,OAAO,CAEQ;IAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,CAAuB;IAC5C,OAAO,CAAC,MAAM,CAAC,SAAS,CAGtB;IAEF,OAAc,oBAAoB,SAAqB;IAEvD,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAkB;IAErD,OAAO,CAAC,MAAM,CAAC,eAAe;mBA8GT,wBAAwB;mBAwBxB,6BAA6B;mBA0B7B,WAAW;mBAmHX,SAAS;mBAeT,mBAAmB;WAWpB,gBAAgB,IAAI,OAAO,CAAC,oBAAoB,CAAC;CAwDrE;AAED,wBAAgB,SAAS,kCAWxB;AAED,wBAAgB,eAAe,kCAW9B;AAED,wBAAgB,uBAAuB,wDAWtC;AAED,wBAAgB,SAAS,4BAYxB;AAsBD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC"}
|
package/src/internal/access.js
CHANGED
|
@@ -204,13 +204,19 @@ class Access {
|
|
|
204
204
|
`keep_alive=true`,
|
|
205
205
|
`linux_and_docker_auto_config=false`,
|
|
206
206
|
`skip_initialization=false`,
|
|
207
|
-
`log_path=./IronPdfEngine.log`,
|
|
208
207
|
`single_process=${(_b = config.singleProcess) !== null && _b !== void 0 ? _b : getOsName() == "macos"}`,
|
|
209
208
|
`chrome_browser_limit=${(_c = config.chromeBrowserLimit) !== null && _c !== void 0 ? _c : "30"}`,
|
|
210
209
|
`chrome_gpu_mode=${(_d = config.chromeGpuMode) !== null && _d !== void 0 ? _d : 0}`,
|
|
211
210
|
`linux_and_docker_auto_config=${(_e = config.autoInstallDependency) !== null && _e !== void 0 ? _e : "true"}`,
|
|
212
211
|
`programming_language=nodejs`
|
|
213
212
|
];
|
|
213
|
+
if (config.debugMode) {
|
|
214
|
+
args.push(`enable_debug=true`);
|
|
215
|
+
args.push(`log_path=./IronPdfEngine.log`);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
args.push(`enable_debug=false`);
|
|
219
|
+
}
|
|
214
220
|
if (config.chromeBrowserCachePath) {
|
|
215
221
|
args.push(`chrome_cache_path=${config.chromeBrowserCachePath}`);
|
|
216
222
|
}
|
|
@@ -311,7 +317,7 @@ class Access {
|
|
|
311
317
|
yield new Promise(r => setTimeout(r, 2000)); // wait for 2 seconds before next try
|
|
312
318
|
}
|
|
313
319
|
}
|
|
314
|
-
const response = yield (0, handshake_1.handshakeWithRetry)(this.client,
|
|
320
|
+
const response = yield (0, handshake_1.handshakeWithRetry)(this.client, 20).catch((reason) => __awaiter(this, void 0, void 0, function* () {
|
|
315
321
|
throw new Error(`Cannot connect to IronPdfEngine: ${reason}`);
|
|
316
322
|
}));
|
|
317
323
|
if (response) {
|
|
@@ -327,6 +333,8 @@ class Access {
|
|
|
327
333
|
if (licenseKey) {
|
|
328
334
|
yield (0, system_1.setLicenseKey)(this.client, licenseKey);
|
|
329
335
|
}
|
|
336
|
+
if (ironpdfglobalconfig_1.IronPdfGlobalConfig.getConfig().debugMode)
|
|
337
|
+
console.debug("Connected to IronPdfEngine");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AC,KAAK,CAAC,CAAC;YAE3C,MAAM,KAAK,GAAG,MAAM,WAAW,CAAC,aAAa,CAAC,CAAC;YAE/C,kCAAkC;YAClC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;gBACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;gBAChD,IAAI,yCAAmB,CAAC,SAAS,EAAE,CAAC,SAAS;oBAC5C,OAAO,CAAC,KAAK,CAAC,SAAS,QAAQ,EAAE,CAAC,CAAC;gBACpC,MAAM,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;aACpC;SAED;QAAC,OAAO,CAAC,EAAE;YACX,OAAO,CAAC,KAAK,CAAC,4BAA4B,aAAa,WAAW,CAAC,EAAE,CAAC,CAAC;SACvE;IACF,CAAC;CAAA"}
|
package/src/internal/access.ts
CHANGED
|
@@ -240,7 +240,6 @@ export class Access {
|
|
|
240
240
|
`keep_alive=true`,
|
|
241
241
|
`linux_and_docker_auto_config=false`,
|
|
242
242
|
`skip_initialization=false`,
|
|
243
|
-
`log_path=./IronPdfEngine.log`,
|
|
244
243
|
`single_process=${config.singleProcess ?? getOsName() == "macos"}`,
|
|
245
244
|
`chrome_browser_limit=${config.chromeBrowserLimit??"30"}`,
|
|
246
245
|
`chrome_gpu_mode=${config.chromeGpuMode??0}`,
|
|
@@ -248,6 +247,13 @@ export class Access {
|
|
|
248
247
|
`programming_language=nodejs`
|
|
249
248
|
];
|
|
250
249
|
|
|
250
|
+
if (config.debugMode) {
|
|
251
|
+
args.push(`enable_debug=true`)
|
|
252
|
+
args.push(`log_path=./IronPdfEngine.log`)
|
|
253
|
+
} else {
|
|
254
|
+
args.push(`enable_debug=false`)
|
|
255
|
+
}
|
|
256
|
+
|
|
251
257
|
if(config.chromeBrowserCachePath){
|
|
252
258
|
args.push(`chrome_cache_path=${config.chromeBrowserCachePath}`)
|
|
253
259
|
}
|
|
@@ -373,7 +379,7 @@ export class Access {
|
|
|
373
379
|
}
|
|
374
380
|
|
|
375
381
|
|
|
376
|
-
const response = await handshakeWithRetry(this.client,
|
|
382
|
+
const response = await handshakeWithRetry(this.client, 20).catch(
|
|
377
383
|
async (reason) => {
|
|
378
384
|
throw new Error(
|
|
379
385
|
`Cannot connect to IronPdfEngine: ${reason}`
|
|
@@ -401,6 +407,8 @@ export class Access {
|
|
|
401
407
|
if (licenseKey) {
|
|
402
408
|
await setLicenseKey(this.client, licenseKey);
|
|
403
409
|
}
|
|
410
|
+
if (IronPdfGlobalConfig.getConfig().debugMode)
|
|
411
|
+
console.debug("Connected to IronPdfEngine");
|
|
404
412
|
}
|
|
405
413
|
}
|
|
406
414
|
return this.client;
|