@ironsoftware/ironpdf 2024.10.8 → 2024.12.9
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/pdfium_pdf_document.proto +1 -0
- package/src/internal/IronPdfEngine.ProtoFiles/pdfium_text.proto +4 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumDrawTextRequestP.d.ts +3 -2
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumDrawTextRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumDrawTextRequestP.ts +3 -2
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.d.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumFontInfoP.ts +2 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceTextRequestP.d.ts +7 -0
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceTextRequestP.d.ts.map +1 -1
- package/src/internal/generated_proto/ironpdfengineproto/PdfiumReplaceTextRequestP.ts +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsoftware/ironpdf",
|
|
3
|
-
"version": "2024.
|
|
4
|
-
"ironPdfEngineVersion": "2024.
|
|
3
|
+
"version": "2024.12.9",
|
|
4
|
+
"ironPdfEngineVersion": "2024.12.9",
|
|
5
5
|
"homepage": "https://ironpdf.com/nodejs",
|
|
6
6
|
"description": "IronPDF for Node",
|
|
7
7
|
"main": "./src/index.js",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
import "basic.proto";
|
|
3
|
+
import "pdfium_pdf_document.proto";
|
|
3
4
|
package ironpdfengineproto;
|
|
4
5
|
|
|
5
6
|
option java_package = "com.ironsoftware.ironpdf.internal.proto";
|
|
@@ -16,13 +17,15 @@ message PdfiumReplaceTextRequestP {
|
|
|
16
17
|
int32 page_index = 2;
|
|
17
18
|
string current_text = 3;
|
|
18
19
|
string new_text = 4;
|
|
20
|
+
optional PdfiumFontInfoP custom_font = 5;
|
|
21
|
+
optional float custom_font_size = 6;
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
message PdfiumDrawTextRequestP {
|
|
22
25
|
PdfDocumentP document = 1;
|
|
23
26
|
int32 page_index = 2;
|
|
24
27
|
string text = 3;
|
|
25
|
-
|
|
28
|
+
PdfiumFontInfoP font = 4;
|
|
26
29
|
double font_size = 5;
|
|
27
30
|
double x = 6;
|
|
28
31
|
double y = 7;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
2
|
+
import type { PdfiumFontInfoP as _ironpdfengineproto_PdfiumFontInfoP, PdfiumFontInfoP__Output as _ironpdfengineproto_PdfiumFontInfoP__Output } from '../ironpdfengineproto/PdfiumFontInfoP';
|
|
2
3
|
export interface PdfiumDrawTextRequestP {
|
|
3
4
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
4
5
|
'pageIndex'?: (number);
|
|
5
6
|
'text'?: (string);
|
|
6
|
-
'
|
|
7
|
+
'font'?: (_ironpdfengineproto_PdfiumFontInfoP | null);
|
|
7
8
|
'fontSize'?: (number | string);
|
|
8
9
|
'x'?: (number | string);
|
|
9
10
|
'y'?: (number | string);
|
|
@@ -15,7 +16,7 @@ export interface PdfiumDrawTextRequestP__Output {
|
|
|
15
16
|
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
16
17
|
'pageIndex'?: (number);
|
|
17
18
|
'text'?: (string);
|
|
18
|
-
'
|
|
19
|
+
'font'?: (_ironpdfengineproto_PdfiumFontInfoP__Output);
|
|
19
20
|
'fontSize'?: (number);
|
|
20
21
|
'x'?: (number);
|
|
21
22
|
'y'?: (number);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumDrawTextRequestP.d.ts","sourceRoot":"","sources":["PdfiumDrawTextRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumDrawTextRequestP.d.ts","sourceRoot":"","sources":["PdfiumDrawTextRequestP.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,sBAAsB;IACrC,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,MAAM,CAAC,EAAE,CAAC,mCAAmC,GAAG,IAAI,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC/B,GAAG,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACxB,GAAG,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC5B,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,UAAU,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,2CAA2C,CAAC,CAAC;IACvD,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACtB,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACf,GAAG,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACpB"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Original file: src/internal/IronPdfEngine.ProtoFiles/pdfium_text.proto
|
|
2
2
|
|
|
3
3
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
4
|
+
import type { PdfiumFontInfoP as _ironpdfengineproto_PdfiumFontInfoP, PdfiumFontInfoP__Output as _ironpdfengineproto_PdfiumFontInfoP__Output } from '../ironpdfengineproto/PdfiumFontInfoP';
|
|
4
5
|
|
|
5
6
|
export interface PdfiumDrawTextRequestP {
|
|
6
7
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
7
8
|
'pageIndex'?: (number);
|
|
8
9
|
'text'?: (string);
|
|
9
|
-
'
|
|
10
|
+
'font'?: (_ironpdfengineproto_PdfiumFontInfoP | null);
|
|
10
11
|
'fontSize'?: (number | string);
|
|
11
12
|
'x'?: (number | string);
|
|
12
13
|
'y'?: (number | string);
|
|
@@ -19,7 +20,7 @@ export interface PdfiumDrawTextRequestP__Output {
|
|
|
19
20
|
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
20
21
|
'pageIndex'?: (number);
|
|
21
22
|
'text'?: (string);
|
|
22
|
-
'
|
|
23
|
+
'font'?: (_ironpdfengineproto_PdfiumFontInfoP__Output);
|
|
23
24
|
'fontSize'?: (number);
|
|
24
25
|
'x'?: (number);
|
|
25
26
|
'y'?: (number);
|
|
@@ -4,6 +4,7 @@ export interface PdfiumFontInfoP {
|
|
|
4
4
|
'name'?: (string);
|
|
5
5
|
'type'?: (number);
|
|
6
6
|
'descendantFontObjNum'?: (number);
|
|
7
|
+
'isSubsetted'?: (boolean);
|
|
7
8
|
}
|
|
8
9
|
export interface PdfiumFontInfoP__Output {
|
|
9
10
|
'objNum'?: (number);
|
|
@@ -11,5 +12,6 @@ export interface PdfiumFontInfoP__Output {
|
|
|
11
12
|
'name'?: (string);
|
|
12
13
|
'type'?: (number);
|
|
13
14
|
'descendantFontObjNum'?: (number);
|
|
15
|
+
'isSubsetted'?: (boolean);
|
|
14
16
|
}
|
|
15
17
|
//# sourceMappingURL=PdfiumFontInfoP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumFontInfoP.d.ts","sourceRoot":"","sources":["PdfiumFontInfoP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,sBAAsB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumFontInfoP.d.ts","sourceRoot":"","sources":["PdfiumFontInfoP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,sBAAsB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClB,sBAAsB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IAClC,aAAa,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC;CAC3B"}
|
|
@@ -7,6 +7,7 @@ export interface PdfiumFontInfoP {
|
|
|
7
7
|
'name'?: (string);
|
|
8
8
|
'type'?: (number);
|
|
9
9
|
'descendantFontObjNum'?: (number);
|
|
10
|
+
'isSubsetted'?: (boolean);
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export interface PdfiumFontInfoP__Output {
|
|
@@ -15,4 +16,5 @@ export interface PdfiumFontInfoP__Output {
|
|
|
15
16
|
'name'?: (string);
|
|
16
17
|
'type'?: (number);
|
|
17
18
|
'descendantFontObjNum'?: (number);
|
|
19
|
+
'isSubsetted'?: (boolean);
|
|
18
20
|
}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
2
|
+
import type { PdfiumFontInfoP as _ironpdfengineproto_PdfiumFontInfoP, PdfiumFontInfoP__Output as _ironpdfengineproto_PdfiumFontInfoP__Output } from '../ironpdfengineproto/PdfiumFontInfoP';
|
|
2
3
|
export interface PdfiumReplaceTextRequestP {
|
|
3
4
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
4
5
|
'pageIndex'?: (number);
|
|
5
6
|
'currentText'?: (string);
|
|
6
7
|
'newText'?: (string);
|
|
8
|
+
'customFont'?: (_ironpdfengineproto_PdfiumFontInfoP | null);
|
|
9
|
+
'customFontSize'?: (number | string);
|
|
10
|
+
'_customFont'?: "customFont";
|
|
11
|
+
'_customFontSize'?: "customFontSize";
|
|
7
12
|
}
|
|
8
13
|
export interface PdfiumReplaceTextRequestP__Output {
|
|
9
14
|
'document'?: (_ironpdfengineproto_PdfDocumentP__Output);
|
|
10
15
|
'pageIndex'?: (number);
|
|
11
16
|
'currentText'?: (string);
|
|
12
17
|
'newText'?: (string);
|
|
18
|
+
'customFont'?: (_ironpdfengineproto_PdfiumFontInfoP__Output);
|
|
19
|
+
'customFontSize'?: (number);
|
|
13
20
|
}
|
|
14
21
|
//# sourceMappingURL=PdfiumReplaceTextRequestP.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfiumReplaceTextRequestP.d.ts","sourceRoot":"","sources":["PdfiumReplaceTextRequestP.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,IAAI,gCAAgC,EAAE,oBAAoB,IAAI,wCAAwC,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfiumReplaceTextRequestP.d.ts","sourceRoot":"","sources":["PdfiumReplaceTextRequestP.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,yBAAyB;IACxC,UAAU,CAAC,EAAE,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,mCAAmC,GAAG,IAAI,CAAC,CAAC;IAC5D,gBAAgB,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,iCAAiC;IAChD,UAAU,CAAC,EAAE,CAAC,wCAAwC,CAAC,CAAC;IACxD,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,2CAA2C,CAAC,CAAC;IAC7D,gBAAgB,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CAC7B"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
// Original file: src/internal/IronPdfEngine.ProtoFiles/pdfium_text.proto
|
|
2
2
|
|
|
3
3
|
import type { PdfDocumentP as _ironpdfengineproto_PdfDocumentP, PdfDocumentP__Output as _ironpdfengineproto_PdfDocumentP__Output } from '../ironpdfengineproto/PdfDocumentP';
|
|
4
|
+
import type { PdfiumFontInfoP as _ironpdfengineproto_PdfiumFontInfoP, PdfiumFontInfoP__Output as _ironpdfengineproto_PdfiumFontInfoP__Output } from '../ironpdfengineproto/PdfiumFontInfoP';
|
|
4
5
|
|
|
5
6
|
export interface PdfiumReplaceTextRequestP {
|
|
6
7
|
'document'?: (_ironpdfengineproto_PdfDocumentP | null);
|
|
7
8
|
'pageIndex'?: (number);
|
|
8
9
|
'currentText'?: (string);
|
|
9
10
|
'newText'?: (string);
|
|
11
|
+
'customFont'?: (_ironpdfengineproto_PdfiumFontInfoP | null);
|
|
12
|
+
'customFontSize'?: (number | string);
|
|
13
|
+
'_customFont'?: "customFont";
|
|
14
|
+
'_customFontSize'?: "customFontSize";
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
export interface PdfiumReplaceTextRequestP__Output {
|
|
@@ -14,4 +19,6 @@ export interface PdfiumReplaceTextRequestP__Output {
|
|
|
14
19
|
'pageIndex'?: (number);
|
|
15
20
|
'currentText'?: (string);
|
|
16
21
|
'newText'?: (string);
|
|
22
|
+
'customFont'?: (_ironpdfengineproto_PdfiumFontInfoP__Output);
|
|
23
|
+
'customFontSize'?: (number);
|
|
17
24
|
}
|