@ironsoftware/ironpdf 2025.8.1 → 2025.10.2
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/COPYRIGHT.txt +29 -0
- package/src/internal/IronPdfEngine.ProtoFiles/iron_pdf_service.proto +8 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_background_foreground.proto +1 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_bookmarks.proto +5 -0
- package/src/internal/IronPdfEngine.ProtoFiles/qpdf.proto +35 -0
- package/src/internal/generated_proto/iron_pdf_service.d.ts +3 -0
- package/src/internal/generated_proto/iron_pdf_service.d.ts.map +1 -1
- package/src/internal/generated_proto/iron_pdf_service.ts +3 -0
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts +25 -0
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.ts +31 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddBackgroundForegroundRequestP.d.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddBackgroundForegroundRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddBackgroundForegroundRequestP.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkDescriptorP.d.ts +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkDescriptorP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkDescriptorP.ts +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkP.d.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumBookmarkP.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumInsertBookmarkRequestP.d.ts +6 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumInsertBookmarkRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumInsertBookmarkRequestP.ts +6 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.d.ts +17 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.ts +21 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP.d.ts +19 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP.ts +23 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedRequestP.d.ts +12 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedRequestP.d.ts.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedRequestP.js +4 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedRequestP.js.map +1 -0
- package/src/internal/generated_proto/ironpdfengineproto/QPdfSaveAsLinearizedRequestP.ts +15 -0
- package/src/internal/grpc_layer/chrome/converter.d.ts +3 -1
- package/src/internal/grpc_layer/chrome/converter.d.ts.map +1 -1
- package/src/internal/grpc_layer/chrome/converter.js +18 -13
- package/src/internal/grpc_layer/chrome/converter.js.map +1 -1
- package/src/internal/grpc_layer/chrome/converter.ts +23 -12
- package/src/internal/zod/renderSchema.d.ts.map +1 -1
- package/src/internal/zod/renderSchema.js +1 -0
- package/src/internal/zod/renderSchema.js.map +1 -1
- package/src/internal/zod/renderSchema.ts +2 -1
- package/src/internal/zod/stampSchema.d.ts +76 -75
- package/src/internal/zod/stampSchema.d.ts.map +1 -1
- package/src/internal/zod/stampSchema.js +3 -2
- package/src/internal/zod/stampSchema.js.map +1 -1
- package/src/internal/zod/stampSchema.ts +8 -7
- package/src/internal/zod/typeSchema.d.ts +2 -1
- package/src/internal/zod/typeSchema.d.ts.map +1 -1
- package/src/internal/zod/typeSchema.js +2 -1
- package/src/internal/zod/typeSchema.js.map +1 -1
- package/src/internal/zod/typeSchema.ts +5 -2
- package/src/public/render.d.ts +5 -1
- package/src/public/render.d.ts.map +1 -1
- package/src/public/render.js +1 -0
- package/src/public/render.js.map +1 -1
- package/src/public/render.ts +19 -13
- package/src/public/stamp.d.ts +6 -2
- package/src/public/stamp.d.ts.map +1 -1
- package/src/public/stamp.js.map +1 -1
- package/src/public/stamp.ts +12 -8
- package/src/public/types.d.ts +9 -0
- package/src/public/types.d.ts.map +1 -1
- package/src/public/types.js +11 -1
- package/src/public/types.js.map +1 -1
- package/src/public/types.ts +10 -0
|
@@ -178,6 +178,9 @@ import type { PdfiumUnEmbedFontViaRegexFontNameRequestP as _ironpdfengineproto_P
|
|
|
178
178
|
import type { PdfiumUnEmbedFontViaRegexFontNameResultP as _ironpdfengineproto_PdfiumUnEmbedFontViaRegexFontNameResultP, PdfiumUnEmbedFontViaRegexFontNameResultP__Output as _ironpdfengineproto_PdfiumUnEmbedFontViaRegexFontNameResultP__Output } from '../ironpdfengineproto/PdfiumUnEmbedFontViaRegexFontNameResultP';
|
|
179
179
|
import type { PdfiumUpdateFormFieldAnnotationRequestP as _ironpdfengineproto_PdfiumUpdateFormFieldAnnotationRequestP, PdfiumUpdateFormFieldAnnotationRequestP__Output as _ironpdfengineproto_PdfiumUpdateFormFieldAnnotationRequestP__Output } from '../ironpdfengineproto/PdfiumUpdateFormFieldAnnotationRequestP';
|
|
180
180
|
import type { PdfiumUpdateFormFieldRequestP as _ironpdfengineproto_PdfiumUpdateFormFieldRequestP, PdfiumUpdateFormFieldRequestP__Output as _ironpdfengineproto_PdfiumUpdateFormFieldRequestP__Output } from '../ironpdfengineproto/PdfiumUpdateFormFieldRequestP';
|
|
181
|
+
import type { QPdfIsLinearizedRequestStreamP as _ironpdfengineproto_QPdfIsLinearizedRequestStreamP, QPdfIsLinearizedRequestStreamP__Output as _ironpdfengineproto_QPdfIsLinearizedRequestStreamP__Output } from '../ironpdfengineproto/QPdfIsLinearizedRequestStreamP';
|
|
182
|
+
import type { QPdfSaveAsLinearizedFromBytesRequestStreamP as _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, QPdfSaveAsLinearizedFromBytesRequestStreamP__Output as _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP__Output } from '../ironpdfengineproto/QPdfSaveAsLinearizedFromBytesRequestStreamP';
|
|
183
|
+
import type { QPdfSaveAsLinearizedRequestP as _ironpdfengineproto_QPdfSaveAsLinearizedRequestP, QPdfSaveAsLinearizedRequestP__Output as _ironpdfengineproto_QPdfSaveAsLinearizedRequestP__Output } from '../ironpdfengineproto/QPdfSaveAsLinearizedRequestP';
|
|
181
184
|
import type { ScanPdfRequestStreamP as _ironpdfengineproto_ScanPdfRequestStreamP, ScanPdfRequestStreamP__Output as _ironpdfengineproto_ScanPdfRequestStreamP__Output } from '../ironpdfengineproto/ScanPdfRequestStreamP';
|
|
182
185
|
import type { ScanResultP as _ironpdfengineproto_ScanResultP, ScanResultP__Output as _ironpdfengineproto_ScanResultP__Output } from '../ironpdfengineproto/ScanResultP';
|
|
183
186
|
import type { SizeResultP as _ironpdfengineproto_SizeResultP, SizeResultP__Output as _ironpdfengineproto_SizeResultP__Output } from '../ironpdfengineproto/SizeResultP';
|
|
@@ -1332,6 +1335,25 @@ export interface IronPdfServiceClient extends grpc.Client {
|
|
|
1332
1335
|
pdfiumTextReplaceText(argument: _ironpdfengineproto_PdfiumReplaceTextRequestP, options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_EmptyResultP__Output>): grpc.ClientUnaryCall;
|
|
1333
1336
|
pdfiumTextReplaceText(argument: _ironpdfengineproto_PdfiumReplaceTextRequestP, callback: grpc.requestCallback<_ironpdfengineproto_EmptyResultP__Output>): grpc.ClientUnaryCall;
|
|
1334
1337
|
|
|
1338
|
+
QPdf_Linearization_IsLinearized(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1339
|
+
QPdf_Linearization_IsLinearized(metadata: grpc.Metadata, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1340
|
+
QPdf_Linearization_IsLinearized(options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1341
|
+
QPdf_Linearization_IsLinearized(callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1342
|
+
qPdfLinearizationIsLinearized(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1343
|
+
qPdfLinearizationIsLinearized(metadata: grpc.Metadata, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1344
|
+
qPdfLinearizationIsLinearized(options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1345
|
+
qPdfLinearizationIsLinearized(callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientWritableStream<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP>;
|
|
1346
|
+
|
|
1347
|
+
QPdf_Linearization_SaveAsLinearized(argument: _ironpdfengineproto_QPdfSaveAsLinearizedRequestP, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1348
|
+
QPdf_Linearization_SaveAsLinearized(argument: _ironpdfengineproto_QPdfSaveAsLinearizedRequestP, options?: grpc.CallOptions): grpc.ClientReadableStream<_ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1349
|
+
qPdfLinearizationSaveAsLinearized(argument: _ironpdfengineproto_QPdfSaveAsLinearizedRequestP, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1350
|
+
qPdfLinearizationSaveAsLinearized(argument: _ironpdfengineproto_QPdfSaveAsLinearizedRequestP, options?: grpc.CallOptions): grpc.ClientReadableStream<_ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1351
|
+
|
|
1352
|
+
QPdf_Linearization_SaveAsLinearizedFromBytes(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, _ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1353
|
+
QPdf_Linearization_SaveAsLinearizedFromBytes(options?: grpc.CallOptions): grpc.ClientDuplexStream<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, _ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1354
|
+
qPdfLinearizationSaveAsLinearizedFromBytes(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, _ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1355
|
+
qPdfLinearizationSaveAsLinearizedFromBytes(options?: grpc.CallOptions): grpc.ClientDuplexStream<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, _ironpdfengineproto_BytesResultStreamP__Output>;
|
|
1356
|
+
|
|
1335
1357
|
System_License_IsLicensed(argument: _ironpdfengineproto_SystemIsLicensedRequestP, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientUnaryCall;
|
|
1336
1358
|
System_License_IsLicensed(argument: _ironpdfengineproto_SystemIsLicensedRequestP, metadata: grpc.Metadata, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientUnaryCall;
|
|
1337
1359
|
System_License_IsLicensed(argument: _ironpdfengineproto_SystemIsLicensedRequestP, options: grpc.CallOptions, callback: grpc.requestCallback<_ironpdfengineproto_BooleanResultP__Output>): grpc.ClientUnaryCall;
|
|
@@ -1633,6 +1655,12 @@ export interface IronPdfServiceHandlers extends grpc.UntypedServiceImplementatio
|
|
|
1633
1655
|
|
|
1634
1656
|
Pdfium_Text_ReplaceText: grpc.handleUnaryCall<_ironpdfengineproto_PdfiumReplaceTextRequestP__Output, _ironpdfengineproto_EmptyResultP>;
|
|
1635
1657
|
|
|
1658
|
+
QPdf_Linearization_IsLinearized: grpc.handleClientStreamingCall<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP__Output, _ironpdfengineproto_BooleanResultP>;
|
|
1659
|
+
|
|
1660
|
+
QPdf_Linearization_SaveAsLinearized: grpc.handleServerStreamingCall<_ironpdfengineproto_QPdfSaveAsLinearizedRequestP__Output, _ironpdfengineproto_BytesResultStreamP>;
|
|
1661
|
+
|
|
1662
|
+
QPdf_Linearization_SaveAsLinearizedFromBytes: grpc.handleBidiStreamingCall<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP__Output, _ironpdfengineproto_BytesResultStreamP>;
|
|
1663
|
+
|
|
1636
1664
|
System_License_IsLicensed: grpc.handleUnaryCall<_ironpdfengineproto_SystemIsLicensedRequestP__Output, _ironpdfengineproto_BooleanResultP>;
|
|
1637
1665
|
|
|
1638
1666
|
System_License_IsValidLicense: grpc.handleUnaryCall<_ironpdfengineproto_SystemIsValidLicenseRequestP__Output, _ironpdfengineproto_BooleanResultP>;
|
|
@@ -1775,6 +1803,9 @@ export interface IronPdfServiceDefinition extends grpc.ServiceDefinition {
|
|
|
1775
1803
|
Pdfium_Text_RedactRegions: MethodDefinition<_ironpdfengineproto_PdfiumRedactRegionsRequestP, _ironpdfengineproto_EmptyResultP, _ironpdfengineproto_PdfiumRedactRegionsRequestP__Output, _ironpdfengineproto_EmptyResultP__Output>
|
|
1776
1804
|
Pdfium_Text_RedactText: MethodDefinition<_ironpdfengineproto_PdfiumRedactTextRequestP, _ironpdfengineproto_EmptyResultP, _ironpdfengineproto_PdfiumRedactTextRequestP__Output, _ironpdfengineproto_EmptyResultP__Output>
|
|
1777
1805
|
Pdfium_Text_ReplaceText: MethodDefinition<_ironpdfengineproto_PdfiumReplaceTextRequestP, _ironpdfengineproto_EmptyResultP, _ironpdfengineproto_PdfiumReplaceTextRequestP__Output, _ironpdfengineproto_EmptyResultP__Output>
|
|
1806
|
+
QPdf_Linearization_IsLinearized: MethodDefinition<_ironpdfengineproto_QPdfIsLinearizedRequestStreamP, _ironpdfengineproto_BooleanResultP, _ironpdfengineproto_QPdfIsLinearizedRequestStreamP__Output, _ironpdfengineproto_BooleanResultP__Output>
|
|
1807
|
+
QPdf_Linearization_SaveAsLinearized: MethodDefinition<_ironpdfengineproto_QPdfSaveAsLinearizedRequestP, _ironpdfengineproto_BytesResultStreamP, _ironpdfengineproto_QPdfSaveAsLinearizedRequestP__Output, _ironpdfengineproto_BytesResultStreamP__Output>
|
|
1808
|
+
QPdf_Linearization_SaveAsLinearizedFromBytes: MethodDefinition<_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP, _ironpdfengineproto_BytesResultStreamP, _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP__Output, _ironpdfengineproto_BytesResultStreamP__Output>
|
|
1778
1809
|
System_License_IsLicensed: MethodDefinition<_ironpdfengineproto_SystemIsLicensedRequestP, _ironpdfengineproto_BooleanResultP, _ironpdfengineproto_SystemIsLicensedRequestP__Output, _ironpdfengineproto_BooleanResultP__Output>
|
|
1779
1810
|
System_License_IsValidLicense: MethodDefinition<_ironpdfengineproto_SystemIsValidLicenseRequestP, _ironpdfengineproto_BooleanResultP, _ironpdfengineproto_SystemIsValidLicenseRequestP__Output, _ironpdfengineproto_BooleanResultP__Output>
|
|
1780
1811
|
System_License_SetLicenseKey: MethodDefinition<_ironpdfengineproto_SystemSetLicenseKeyRequestP, _ironpdfengineproto_EmptyResultP, _ironpdfengineproto_SystemSetLicenseKeyRequestP__Output, _ironpdfengineproto_EmptyResultP__Output>
|
package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddBackgroundForegroundRequestP.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface PdfiumAddBackgroundForegroundRequestP {
|
|
|
6
6
|
'layerMode'?: (_ironpdfengineproto_PdfiumLayerModesP | null);
|
|
7
7
|
'destPageIndices'?: (number)[];
|
|
8
8
|
'srcPageIndex'?: (number);
|
|
9
|
+
'copyAnnot'?: (boolean);
|
|
9
10
|
}
|
|
10
11
|
export interface PdfiumAddBackgroundForegroundRequestP__Output {
|
|
11
12
|
'destinationPdf'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
@@ -13,5 +14,6 @@ export interface PdfiumAddBackgroundForegroundRequestP__Output {
|
|
|
13
14
|
'layerMode'?: (_ironpdfengineproto_PdfiumLayerModesP__Output);
|
|
14
15
|
'destPageIndices'?: (number)[];
|
|
15
16
|
'srcPageIndex'?: (number);
|
|
17
|
+
'copyAnnot'?: (boolean);
|
|
16
18
|
}
|
|
17
19
|
//# sourceMappingURL=PdfiumAddBackgroundForegroundRequestP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumAddBackgroundForegroundRequestP.d.ts","sourceRoot":"","sources":["PdfiumAddBackgroundForegroundRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;AAC7K,OAAO,KAAK,EAAE,iBAAiB,IAAI,qCAAqC,EAAE,yBAAyB,IAAI,6CAA6C,EAAE,MAAM,yCAAyC,CAAC;AAEtM,MAAM,WAAW,qCAAqC;IACpD,gBAAgB,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IAC7D,WAAW,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAC;IAC7D,iBAAiB,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumAddBackgroundForegroundRequestP.d.ts","sourceRoot":"","sources":["PdfiumAddBackgroundForegroundRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;AAC7K,OAAO,KAAK,EAAE,iBAAiB,IAAI,qCAAqC,EAAE,yBAAyB,IAAI,6CAA6C,EAAE,MAAM,yCAAyC,CAAC;AAEtM,MAAM,WAAW,qCAAqC;IACpD,gBAAgB,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IAC7D,WAAW,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAC;IAC7D,iBAAiB,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,6CAA6C;IAC5D,gBAAgB,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IAC9D,WAAW,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IACzD,WAAW,CAAC,EAAE,CAAC,6CAA6C,CAAC,CAAC;IAC9D,iBAAiB,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;CACzB"}
|
package/src/internal/generated_proto/ironpdfengineproto/PdfiumAddBackgroundForegroundRequestP.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface PdfiumAddBackgroundForegroundRequestP {
|
|
|
9
9
|
'layerMode'?: (_ironpdfengineproto_PdfiumLayerModesP | null);
|
|
10
10
|
'destPageIndices'?: (number)[];
|
|
11
11
|
'srcPageIndex'?: (number);
|
|
12
|
+
'copyAnnot'?: (boolean);
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
export interface PdfiumAddBackgroundForegroundRequestP__Output {
|
|
@@ -17,4 +18,5 @@ export interface PdfiumAddBackgroundForegroundRequestP__Output {
|
|
|
17
18
|
'layerMode'?: (_ironpdfengineproto_PdfiumLayerModesP__Output);
|
|
18
19
|
'destPageIndices'?: (number)[];
|
|
19
20
|
'srcPageIndex'?: (number);
|
|
21
|
+
'copyAnnot'?: (boolean);
|
|
20
22
|
}
|
|
@@ -2,10 +2,14 @@ export interface PdfiumBookmarkDescriptorP {
|
|
|
2
2
|
'text'?: (string);
|
|
3
3
|
'pageIndex'?: (number);
|
|
4
4
|
'hierarchy'?: (string);
|
|
5
|
+
'itemId'?: (string);
|
|
6
|
+
'parentItemId'?: (string);
|
|
5
7
|
}
|
|
6
8
|
export interface PdfiumBookmarkDescriptorP__Output {
|
|
7
9
|
'text'?: (string);
|
|
8
10
|
'pageIndex'?: (number);
|
|
9
11
|
'hierarchy'?: (string);
|
|
12
|
+
'itemId'?: (string);
|
|
13
|
+
'parentItemId'?: (string);
|
|
10
14
|
}
|
|
11
15
|
//# sourceMappingURL=PdfiumBookmarkDescriptorP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumBookmarkDescriptorP.d.ts","sourceRoot":"","sources":["PdfiumBookmarkDescriptorP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumBookmarkDescriptorP.d.ts","sourceRoot":"","sources":["PdfiumBookmarkDescriptorP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CAC3B"}
|
|
@@ -5,10 +5,14 @@ export interface PdfiumBookmarkDescriptorP {
|
|
|
5
5
|
'text'?: (string);
|
|
6
6
|
'pageIndex'?: (number);
|
|
7
7
|
'hierarchy'?: (string);
|
|
8
|
+
'itemId'?: (string);
|
|
9
|
+
'parentItemId'?: (string);
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
export interface PdfiumBookmarkDescriptorP__Output {
|
|
11
13
|
'text'?: (string);
|
|
12
14
|
'pageIndex'?: (number);
|
|
13
15
|
'hierarchy'?: (string);
|
|
16
|
+
'itemId'?: (string);
|
|
17
|
+
'parentItemId'?: (string);
|
|
14
18
|
}
|
|
@@ -3,6 +3,7 @@ export interface PdfiumBookmarkP {
|
|
|
3
3
|
'text'?: (string);
|
|
4
4
|
'parentText'?: (string);
|
|
5
5
|
'previousText'?: (string);
|
|
6
|
+
'itemId'?: (string);
|
|
6
7
|
'_parentText'?: "parentText";
|
|
7
8
|
'_previousText'?: "previousText";
|
|
8
9
|
}
|
|
@@ -11,5 +12,6 @@ export interface PdfiumBookmarkP__Output {
|
|
|
11
12
|
'text'?: (string);
|
|
12
13
|
'parentText'?: (string);
|
|
13
14
|
'previousText'?: (string);
|
|
15
|
+
'itemId'?: (string);
|
|
14
16
|
}
|
|
15
17
|
//# sourceMappingURL=PdfiumBookmarkP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumBookmarkP.d.ts","sourceRoot":"","sources":["PdfiumBookmarkP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,eAAe,CAAC,EAAE,cAAc,CAAC;CAClC;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumBookmarkP.d.ts","sourceRoot":"","sources":["PdfiumBookmarkP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,eAAe,CAAC,EAAE,cAAc,CAAC;CAClC;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACrB"}
|
|
@@ -6,6 +6,7 @@ export interface PdfiumBookmarkP {
|
|
|
6
6
|
'text'?: (string);
|
|
7
7
|
'parentText'?: (string);
|
|
8
8
|
'previousText'?: (string);
|
|
9
|
+
'itemId'?: (string);
|
|
9
10
|
'_parentText'?: "parentText";
|
|
10
11
|
'_previousText'?: "previousText";
|
|
11
12
|
}
|
|
@@ -15,4 +16,5 @@ export interface PdfiumBookmarkP__Output {
|
|
|
15
16
|
'text'?: (string);
|
|
16
17
|
'parentText'?: (string);
|
|
17
18
|
'previousText'?: (string);
|
|
19
|
+
'itemId'?: (string);
|
|
18
20
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
2
|
+
import type { PdfiumBookmarkP as _ironpdfengineproto_PdfiumBookmarkP, PdfiumBookmarkP__Output as _ironpdfengineproto_PdfiumBookmarkP__Output } from '../ironpdfengineproto/PdfiumBookmarkP';
|
|
2
3
|
export interface PdfiumInsertBookmarkRequestP {
|
|
3
4
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
4
5
|
'pageIndex'?: (number);
|
|
5
6
|
'text'?: (string);
|
|
6
7
|
'parentText'?: (string);
|
|
7
8
|
'previousText'?: (string);
|
|
9
|
+
'itemId'?: (string);
|
|
10
|
+
'parent'?: (_ironpdfengineproto_PdfiumBookmarkP | null);
|
|
8
11
|
'_parentText'?: "parentText";
|
|
9
12
|
'_previousText'?: "previousText";
|
|
13
|
+
'_parent'?: "parent";
|
|
10
14
|
}
|
|
11
15
|
export interface PdfiumInsertBookmarkRequestP__Output {
|
|
12
16
|
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
@@ -14,5 +18,7 @@ export interface PdfiumInsertBookmarkRequestP__Output {
|
|
|
14
18
|
'text'?: (string);
|
|
15
19
|
'parentText'?: (string);
|
|
16
20
|
'previousText'?: (string);
|
|
21
|
+
'itemId'?: (string);
|
|
22
|
+
'parent'?: (_ironpdfengineproto_PdfiumBookmarkP__Output);
|
|
17
23
|
}
|
|
18
24
|
//# sourceMappingURL=PdfiumInsertBookmarkRequestP.d.ts.map
|
package/src/internal/generated_proto/ironpdfengineproto/PdfiumInsertBookmarkRequestP.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumInsertBookmarkRequestP.d.ts","sourceRoot":"","sources":["PdfiumInsertBookmarkRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumInsertBookmarkRequestP.d.ts","sourceRoot":"","sources":["PdfiumInsertBookmarkRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;AAC7K,OAAO,KAAK,EAAE,eAAe,IAAI,mCAAmC,EAAE,uBAAuB,IAAI,2CAA2C,EAAE,MAAM,uCAAuC,CAAC;AAE5L,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,mCAAmC,GAAG,IAAI,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,SAAS,CAAC,EAAE,QAAQ,CAAC;CACtB;AAED,MAAM,WAAW,oCAAoC;IACnD,UAAU,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,2CAA2C,CAAC,CAAC;CAC1D"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Original file: src/internal/IronPdfEngine.ProtoFiles/pdfium_bookmarks.proto
|
|
2
2
|
|
|
3
3
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
4
|
+
import type { PdfiumBookmarkP as _ironpdfengineproto_PdfiumBookmarkP, PdfiumBookmarkP__Output as _ironpdfengineproto_PdfiumBookmarkP__Output } from '../ironpdfengineproto/PdfiumBookmarkP';
|
|
4
5
|
|
|
5
6
|
export interface PdfiumInsertBookmarkRequestP {
|
|
6
7
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
@@ -8,8 +9,11 @@ export interface PdfiumInsertBookmarkRequestP {
|
|
|
8
9
|
'text'?: (string);
|
|
9
10
|
'parentText'?: (string);
|
|
10
11
|
'previousText'?: (string);
|
|
12
|
+
'itemId'?: (string);
|
|
13
|
+
'parent'?: (_ironpdfengineproto_PdfiumBookmarkP | null);
|
|
11
14
|
'_parentText'?: "parentText";
|
|
12
15
|
'_previousText'?: "previousText";
|
|
16
|
+
'_parent'?: "parent";
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
export interface PdfiumInsertBookmarkRequestP__Output {
|
|
@@ -18,4 +22,6 @@ export interface PdfiumInsertBookmarkRequestP__Output {
|
|
|
18
22
|
'text'?: (string);
|
|
19
23
|
'parentText'?: (string);
|
|
20
24
|
'previousText'?: (string);
|
|
25
|
+
'itemId'?: (string);
|
|
26
|
+
'parent'?: (_ironpdfengineproto_PdfiumBookmarkP__Output);
|
|
21
27
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export interface _ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP {
|
|
3
|
+
'password'?: (string);
|
|
4
|
+
}
|
|
5
|
+
export interface _ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP__Output {
|
|
6
|
+
'password'?: (string);
|
|
7
|
+
}
|
|
8
|
+
export interface QPdfIsLinearizedRequestStreamP {
|
|
9
|
+
'info'?: (_ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP | null);
|
|
10
|
+
'pdfBytesChunk'?: (Buffer | Uint8Array | string);
|
|
11
|
+
'request'?: "info" | "pdfBytesChunk";
|
|
12
|
+
}
|
|
13
|
+
export interface QPdfIsLinearizedRequestStreamP__Output {
|
|
14
|
+
'info'?: (_ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP__Output);
|
|
15
|
+
'pdfBytesChunk'?: (Buffer);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=QPdfIsLinearizedRequestStreamP.d.ts.map
|
package/src/internal/generated_proto/ironpdfengineproto/QPdfIsLinearizedRequestStreamP.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfIsLinearizedRequestStreamP.d.ts","sourceRoot":"","sources":["QPdfIsLinearizedRequestStreamP.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,wDAAwD;IACvE,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,gEAAgE;IAC/E,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,CAAC,wDAAwD,GAAG,IAAI,CAAC,CAAC;IAC3E,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAC,eAAe,CAAC;CACpC;AAED,MAAM,WAAW,sCAAsC;IACrD,MAAM,CAAC,EAAE,CAAC,gEAAgE,CAAC,CAAC;IAC5E,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfIsLinearizedRequestStreamP.js","sourceRoot":"","sources":["QPdfIsLinearizedRequestStreamP.ts"],"names":[],"mappings":";AAAA,kEAAkE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Original file: src/internal/IronPdfEngine.ProtoFiles/qpdf.proto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export interface _ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP {
|
|
5
|
+
'password'?: (string);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface _ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP__Output {
|
|
9
|
+
'password'?: (string);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface QPdfIsLinearizedRequestStreamP {
|
|
13
|
+
'info'?: (_ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP | null);
|
|
14
|
+
'pdfBytesChunk'?: (Buffer | Uint8Array | string);
|
|
15
|
+
'request'?: "info"|"pdfBytesChunk";
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface QPdfIsLinearizedRequestStreamP__Output {
|
|
19
|
+
'info'?: (_ironpdfengineproto_QPdfIsLinearizedRequestStreamP_InfoP__Output);
|
|
20
|
+
'pdfBytesChunk'?: (Buffer);
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export interface _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP {
|
|
3
|
+
'outputPath'?: (string);
|
|
4
|
+
'password'?: (string);
|
|
5
|
+
}
|
|
6
|
+
export interface _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP__Output {
|
|
7
|
+
'outputPath'?: (string);
|
|
8
|
+
'password'?: (string);
|
|
9
|
+
}
|
|
10
|
+
export interface QPdfSaveAsLinearizedFromBytesRequestStreamP {
|
|
11
|
+
'info'?: (_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP | null);
|
|
12
|
+
'pdfBytesChunk'?: (Buffer | Uint8Array | string);
|
|
13
|
+
'request'?: "info" | "pdfBytesChunk";
|
|
14
|
+
}
|
|
15
|
+
export interface QPdfSaveAsLinearizedFromBytesRequestStreamP__Output {
|
|
16
|
+
'info'?: (_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP__Output);
|
|
17
|
+
'pdfBytesChunk'?: (Buffer);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=QPdfSaveAsLinearizedFromBytesRequestStreamP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfSaveAsLinearizedFromBytesRequestStreamP.d.ts","sourceRoot":"","sources":["QPdfSaveAsLinearizedFromBytesRequestStreamP.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,qEAAqE;IACpF,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,6EAA6E;IAC5F,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,2CAA2C;IAC1D,MAAM,CAAC,EAAE,CAAC,qEAAqE,GAAG,IAAI,CAAC,CAAC;IACxF,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAC,eAAe,CAAC;CACpC;AAED,MAAM,WAAW,mDAAmD;IAClE,MAAM,CAAC,EAAE,CAAC,6EAA6E,CAAC,CAAC;IACzF,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfSaveAsLinearizedFromBytesRequestStreamP.js","sourceRoot":"","sources":["QPdfSaveAsLinearizedFromBytesRequestStreamP.ts"],"names":[],"mappings":";AAAA,kEAAkE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Original file: src/internal/IronPdfEngine.ProtoFiles/qpdf.proto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export interface _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP {
|
|
5
|
+
'outputPath'?: (string);
|
|
6
|
+
'password'?: (string);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface _ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP__Output {
|
|
10
|
+
'outputPath'?: (string);
|
|
11
|
+
'password'?: (string);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface QPdfSaveAsLinearizedFromBytesRequestStreamP {
|
|
15
|
+
'info'?: (_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP | null);
|
|
16
|
+
'pdfBytesChunk'?: (Buffer | Uint8Array | string);
|
|
17
|
+
'request'?: "info"|"pdfBytesChunk";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface QPdfSaveAsLinearizedFromBytesRequestStreamP__Output {
|
|
21
|
+
'info'?: (_ironpdfengineproto_QPdfSaveAsLinearizedFromBytesRequestStreamP_InfoP__Output);
|
|
22
|
+
'pdfBytesChunk'?: (Buffer);
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
2
|
+
export interface QPdfSaveAsLinearizedRequestP {
|
|
3
|
+
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
4
|
+
'outputPath'?: (string);
|
|
5
|
+
'password'?: (string);
|
|
6
|
+
}
|
|
7
|
+
export interface QPdfSaveAsLinearizedRequestP__Output {
|
|
8
|
+
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
9
|
+
'outputPath'?: (string);
|
|
10
|
+
'password'?: (string);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=QPdfSaveAsLinearizedRequestP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfSaveAsLinearizedRequestP.d.ts","sourceRoot":"","sources":["QPdfSaveAsLinearizedRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;AAE7K,MAAM,WAAW,4BAA4B;IAC3C,UAAU,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,oCAAoC;IACnD,UAAU,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IACxD,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QPdfSaveAsLinearizedRequestP.js","sourceRoot":"","sources":["QPdfSaveAsLinearizedRequestP.ts"],"names":[],"mappings":";AAAA,kEAAkE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Original file: src/internal/IronPdfEngine.ProtoFiles/qpdf.proto
|
|
2
|
+
|
|
3
|
+
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
4
|
+
|
|
5
|
+
export interface QPdfSaveAsLinearizedRequestP {
|
|
6
|
+
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
7
|
+
'outputPath'?: (string);
|
|
8
|
+
'password'?: (string);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface QPdfSaveAsLinearizedRequestP__Output {
|
|
12
|
+
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
13
|
+
'outputPath'?: (string);
|
|
14
|
+
'password'?: (string);
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AffixFonts, BarcodeStampOptions, BarcodeType, CssMediaType, CustomPaperSize, FitToPaperModes, HorizontalAlignment, HtmlStampOptions, ImageBehavior, ImageStampOptions, Length, MeasurementUnit, PageInfo, PdfPageSelection, PdfPaperOrientation, PdfPaperSize, PdfPassword, TextStampOptions, UseMargins, VerticalAlignment, WaitFor } from "../../../public/types";
|
|
1
|
+
import { AffixFonts, BarcodeStampOptions, BarcodeType, CssMediaType, CustomPaperSize, FitToPaperModes, HorizontalAlignment, HtmlStampOptions, ImageBehavior, ImageStampOptions, Length, MeasurementUnit, PageInfo, PdfPageSelection, PdfPaperOrientation, PdfPaperSize, PdfPassword, TextStampOptions, UseMargins, VerticalAlignment, WaitFor, TableOfContentsTypes } from "../../../public/types";
|
|
2
2
|
import { ChromePdfRenderOptionsP } from "../../generated_proto/ironpdfengineproto/ChromePdfRenderOptionsP";
|
|
3
3
|
import { ChromeFitToPaperModesP } from "../../generated_proto/ironpdfengineproto/ChromeFitToPaperModesP";
|
|
4
4
|
import { ChromePdfPaperOrientationP } from "../../generated_proto/ironpdfengineproto/ChromePdfPaperOrientationP";
|
|
@@ -17,6 +17,7 @@ import { _ironpdfengineproto_ChromeApplyStampRequestStreamP_InfoP } from "../../
|
|
|
17
17
|
import { LengthP } from "../../generated_proto/ironpdfengineproto/LengthP";
|
|
18
18
|
import { MeasurementUnitP } from "../../generated_proto/ironpdfengineproto/MeasurementUnitP";
|
|
19
19
|
import { ChromeBarcodeEncodingP } from "../../generated_proto/ironpdfengineproto/ChromeBarcodeEncodingP";
|
|
20
|
+
import { ChromeTableOfContentsTypesP } from "../../generated_proto/ironpdfengineproto/ChromeTableOfContentsTypesP";
|
|
20
21
|
import { VerticalAlignmentP } from "../../generated_proto/ironpdfengineproto/VerticalAlignmentP";
|
|
21
22
|
import { HorizontalAlignmentP } from "../../generated_proto/ironpdfengineproto/HorizontalAlignmentP";
|
|
22
23
|
export declare function fitToPaperModeToProto(fitToPaperMode: FitToPaperModes): ChromeFitToPaperModesP;
|
|
@@ -38,6 +39,7 @@ export declare function htmlAffixToProto(htmlAffix: HtmlAffix): ChromeHtmlHeader
|
|
|
38
39
|
export declare function textAffixToProto(textAffix: TextAffix): ChromeTextHeaderFooterP;
|
|
39
40
|
export declare function fontToProto(affixFonts?: AffixFonts): FontTypeP | undefined;
|
|
40
41
|
export declare function useMarginsToProto(useMargins: UseMargins): ChromeUseMarginsP;
|
|
42
|
+
export declare function tableOfContentsTypesToProto(toc: TableOfContentsTypes): ChromeTableOfContentsTypesP;
|
|
41
43
|
export declare function paperSizeToProto(paperSize: PaperSize): ChromePdfPaperSizeP;
|
|
42
44
|
export declare function pdfPaperSizeToProto(pdfPaperSize?: PdfPaperSize | undefined): {
|
|
43
45
|
paperSizeP: ChromePdfPaperSizeP;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["converter.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,mBAAmB,EACnB,WAAW,EAEX,YAAY,EACZ,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,iBA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BAAgB,0BAA0B,CACzC,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,SAAS,GACnD,oBAAoB,GAAG,IAAI,CAK7B;AAED,wBAAgB,wBAAwB,CACvC,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,GAC/C,kBAAkB,GAAG,IAAI,CAK3B;AAED,wBAAgB,mBAAmB,CAClC,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,GACrC,sBAAsB,GAAG,IAAI,CAK/B;AAED,wBAAgB,kBAAkB,CACjC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,GACnC,sBAAsB,GAAG,IAAI,CAK/B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.barcodeTypeToProto = exports.cssMediaTypeToProto = exports.verticalAlignmentToProto = exports.horizontalAlignmentToProto = exports.measurementUnitToProto = exports.lengthToProto = exports.BarcodeStampOptionsToProto = exports.ImageStampOptionsToProto = exports.TextStampOptionsToProto = exports.HtmlStampOptionsToProto = exports.customPaperSizeToMm = exports.imageBehaviorToProto = exports.pdfPaperSizeToProto = exports.paperSizeToProto = exports.useMarginsToProto = exports.fontToProto = exports.textAffixToProto = exports.htmlAffixToProto = exports.pdfPaperSizeIsCustom = exports.chromePdfRenderOptionsToProto = exports.convertWaitFor = exports.httpLoginCredentialsToProto = exports.CssMediaTypeToProto = exports.PdfPaperOrientationToProto = exports.fitToPaperModeToProto = void 0;
|
|
3
|
+
exports.barcodeTypeToProto = exports.cssMediaTypeToProto = exports.verticalAlignmentToProto = exports.horizontalAlignmentToProto = exports.measurementUnitToProto = exports.lengthToProto = exports.BarcodeStampOptionsToProto = exports.ImageStampOptionsToProto = exports.TextStampOptionsToProto = exports.HtmlStampOptionsToProto = exports.customPaperSizeToMm = exports.imageBehaviorToProto = exports.pdfPaperSizeToProto = exports.paperSizeToProto = exports.tableOfContentsTypesToProto = exports.useMarginsToProto = exports.fontToProto = exports.textAffixToProto = exports.htmlAffixToProto = exports.pdfPaperSizeIsCustom = exports.chromePdfRenderOptionsToProto = exports.convertWaitFor = exports.httpLoginCredentialsToProto = exports.CssMediaTypeToProto = exports.PdfPaperOrientationToProto = exports.fitToPaperModeToProto = void 0;
|
|
4
4
|
const types_1 = require("../../../public/types");
|
|
5
5
|
const paper_1 = require("../../../public/paper");
|
|
6
6
|
const render_1 = require("../../../public/render");
|
|
@@ -109,7 +109,7 @@ function convertWaitFor(waitFor) {
|
|
|
109
109
|
}
|
|
110
110
|
exports.convertWaitFor = convertWaitFor;
|
|
111
111
|
function chromePdfRenderOptionsToProto(renderOption) {
|
|
112
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
112
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
113
113
|
if (!renderOption)
|
|
114
114
|
renderOption = (0, render_1.defaultChromePdfRenderOptions)();
|
|
115
115
|
const waitForDetail = convertWaitFor(renderOption.waitFor);
|
|
@@ -144,6 +144,7 @@ function chromePdfRenderOptionsToProto(renderOption) {
|
|
|
144
144
|
zoom: 100,
|
|
145
145
|
javascript: (_x = renderOption.javascript) !== null && _x !== void 0 ? _x : "",
|
|
146
146
|
firstPageNumber: (_y = renderOption.firstPageNumber) !== null && _y !== void 0 ? _y : 1,
|
|
147
|
+
tableOfContents: tableOfContentsTypesToProto((_z = renderOption.tableOfContents) !== null && _z !== void 0 ? _z : types_1.TableOfContentsTypes.None),
|
|
147
148
|
};
|
|
148
149
|
if (!(0, util_1.isNullOrUndefined)(renderOption.cssMediaType)) {
|
|
149
150
|
proto.cssMediaType = CssMediaTypeToProto(renderOption.cssMediaType);
|
|
@@ -223,6 +224,10 @@ function useMarginsToProto(useMargins) {
|
|
|
223
224
|
return { enumValue: useMargins };
|
|
224
225
|
}
|
|
225
226
|
exports.useMarginsToProto = useMarginsToProto;
|
|
227
|
+
function tableOfContentsTypesToProto(toc) {
|
|
228
|
+
return { enumValue: toc };
|
|
229
|
+
}
|
|
230
|
+
exports.tableOfContentsTypesToProto = tableOfContentsTypesToProto;
|
|
226
231
|
function paperSizeToProto(paperSize) {
|
|
227
232
|
return { enumValue: paperSize };
|
|
228
233
|
}
|
|
@@ -496,7 +501,7 @@ function customPaperSizeToMm(customPaperSize) {
|
|
|
496
501
|
}
|
|
497
502
|
exports.customPaperSizeToMm = customPaperSizeToMm;
|
|
498
503
|
function BaseStampOptionsToProto(id, pagesInfo, defaultRenderDelay, password, options, pageSelection) {
|
|
499
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
504
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
500
505
|
const pi = (_a = (0, util_1.PdfPageSelectionToIndexes)(pagesInfo, pageSelection)) !== null && _a !== void 0 ? _a : Array.from({
|
|
501
506
|
length: pagesInfo.length,
|
|
502
507
|
}).map((_, index) => index);
|
|
@@ -520,19 +525,19 @@ function BaseStampOptionsToProto(id, pagesInfo, defaultRenderDelay, password, op
|
|
|
520
525
|
return {
|
|
521
526
|
document: { documentId: id },
|
|
522
527
|
hyperlink: (_b = options === null || options === void 0 ? void 0 : options.hyperlink) !== null && _b !== void 0 ? _b : "",
|
|
523
|
-
horizontalAlignment: horizontalAlignmentToProto(options === null || options === void 0 ? void 0 : options.horizontalAlignment),
|
|
524
|
-
verticalAlignment: verticalAlignmentToProto(options === null || options === void 0 ? void 0 : options.verticalAlignment),
|
|
528
|
+
horizontalAlignment: horizontalAlignmentToProto((_c = options === null || options === void 0 ? void 0 : options.horizontalAlignment) !== null && _c !== void 0 ? _c : types_1.HorizontalAlignment.Center),
|
|
529
|
+
verticalAlignment: verticalAlignmentToProto((_d = options === null || options === void 0 ? void 0 : options.verticalAlignment) !== null && _d !== void 0 ? _d : types_1.VerticalAlignment.Middle),
|
|
525
530
|
horizontalOffset: lengthToProto(options === null || options === void 0 ? void 0 : options.horizontalOffset),
|
|
526
531
|
verticalOffset: lengthToProto(options === null || options === void 0 ? void 0 : options.verticalOffset),
|
|
527
|
-
isStampBehindContent: (
|
|
528
|
-
opacity: (
|
|
529
|
-
rotation: (
|
|
530
|
-
scale: (
|
|
532
|
+
isStampBehindContent: (_e = options === null || options === void 0 ? void 0 : options.behindExistingContent) !== null && _e !== void 0 ? _e : false,
|
|
533
|
+
opacity: (_f = options === null || options === void 0 ? void 0 : options.opacity) !== null && _f !== void 0 ? _f : 100,
|
|
534
|
+
rotation: (_g = options === null || options === void 0 ? void 0 : options.rotation) !== null && _g !== void 0 ? _g : 0,
|
|
535
|
+
scale: (_h = options === null || options === void 0 ? void 0 : options.scale) !== null && _h !== void 0 ? _h : 100,
|
|
531
536
|
targetPages: pages !== null && pages !== void 0 ? pages : [],
|
|
532
|
-
ownerPassword: (
|
|
533
|
-
userPassword: (
|
|
534
|
-
renderDelay: (
|
|
535
|
-
timeout: (
|
|
537
|
+
ownerPassword: (_j = password === null || password === void 0 ? void 0 : password.ownerPassword) !== null && _j !== void 0 ? _j : "",
|
|
538
|
+
userPassword: (_k = password === null || password === void 0 ? void 0 : password.userPassword) !== null && _k !== void 0 ? _k : "",
|
|
539
|
+
renderDelay: (_l = options === null || options === void 0 ? void 0 : options.renderDelay) !== null && _l !== void 0 ? _l : defaultRenderDelay,
|
|
540
|
+
timeout: (_m = options === null || options === void 0 ? void 0 : options.timeout) !== null && _m !== void 0 ? _m : 60,
|
|
536
541
|
maxHeight: lengthToProto(options === null || options === void 0 ? void 0 : options.maxHeight),
|
|
537
542
|
minHeight: lengthToProto(options === null || options === void 0 ? void 0 : options.minHeight),
|
|
538
543
|
maxWidth: lengthToProto(options === null || options === void 0 ? void 0 : options.maxWidth),
|