n8n-nodes-pdf4me 0.9.0 → 1.0.0

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.
Files changed (146) hide show
  1. package/README.md +74 -24
  2. package/dist/.eslintrc.js +5 -0
  3. package/dist/README.md +74 -24
  4. package/dist/nodes/Pdf4me/Descriptions.js +283 -3
  5. package/dist/nodes/Pdf4me/Descriptions.js.map +1 -1
  6. package/dist/nodes/Pdf4me/GenericFunctions.d.ts +35 -0
  7. package/dist/nodes/Pdf4me/GenericFunctions.js +85 -58
  8. package/dist/nodes/Pdf4me/GenericFunctions.js.map +1 -1
  9. package/dist/nodes/Pdf4me/Pdf4me.node.js +233 -2
  10. package/dist/nodes/Pdf4me/Pdf4me.node.js.map +1 -1
  11. package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.d.ts +13 -0
  12. package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.js +461 -0
  13. package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.js.map +1 -0
  14. package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.d.ts +15 -0
  15. package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.js +603 -0
  16. package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.js.map +1 -0
  17. package/dist/nodes/Pdf4me/actions/{get_document_from_pdf4me.js → GetDocumentFromPdf4me.js} +1 -1
  18. package/dist/nodes/Pdf4me/actions/GetDocumentFromPdf4me.js.map +1 -0
  19. package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.d.ts +13 -0
  20. package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.js +204 -0
  21. package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.js.map +1 -0
  22. package/dist/nodes/Pdf4me/actions/MergeMultiplePDFs.js.map +1 -1
  23. package/dist/nodes/Pdf4me/actions/OverlayPDFs.js.map +1 -1
  24. package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.d.ts +18 -0
  25. package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.js +544 -0
  26. package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.js.map +1 -0
  27. package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.d.ts +18 -0
  28. package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.js +458 -0
  29. package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.js.map +1 -0
  30. package/dist/nodes/Pdf4me/actions/SplitPdfByText.d.ts +18 -0
  31. package/dist/nodes/Pdf4me/actions/SplitPdfByText.js +451 -0
  32. package/dist/nodes/Pdf4me/actions/SplitPdfByText.js.map +1 -0
  33. package/dist/nodes/Pdf4me/actions/SplitPdfRegular.d.ts +4 -0
  34. package/dist/nodes/Pdf4me/actions/SplitPdfRegular.js +472 -0
  35. package/dist/nodes/Pdf4me/actions/SplitPdfRegular.js.map +1 -0
  36. package/dist/nodes/Pdf4me/actions/addAttachmentToPdf.js +20 -47
  37. package/dist/nodes/Pdf4me/actions/addAttachmentToPdf.js.map +1 -1
  38. package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.d.ts +24 -0
  39. package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.js +315 -0
  40. package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.js.map +1 -0
  41. package/dist/nodes/Pdf4me/actions/addHtmlHeaderFooter.js +4 -8
  42. package/dist/nodes/Pdf4me/actions/addHtmlHeaderFooter.js.map +1 -1
  43. package/dist/nodes/Pdf4me/actions/addImageStampToPdf.js +0 -4
  44. package/dist/nodes/Pdf4me/actions/addImageStampToPdf.js.map +1 -1
  45. package/dist/nodes/Pdf4me/actions/addTextWatermarkToImage.js +1 -1
  46. package/dist/nodes/Pdf4me/actions/addTextWatermarkToImage.js.map +1 -1
  47. package/dist/nodes/Pdf4me/actions/barcodeGenerator.js +1 -1
  48. package/dist/nodes/Pdf4me/actions/barcodeGenerator.js.map +1 -1
  49. package/dist/nodes/Pdf4me/actions/classifyDocument.d.ts +16 -0
  50. package/dist/nodes/Pdf4me/actions/classifyDocument.js +247 -0
  51. package/dist/nodes/Pdf4me/actions/classifyDocument.js.map +1 -0
  52. package/dist/nodes/Pdf4me/actions/convertFromPdf.js +0 -27
  53. package/dist/nodes/Pdf4me/actions/convertFromPdf.js.map +1 -1
  54. package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.d.ts +19 -0
  55. package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.js +512 -0
  56. package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.js.map +1 -0
  57. package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.d.ts +16 -0
  58. package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.js +360 -0
  59. package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.js.map +1 -0
  60. package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.d.ts +19 -0
  61. package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.js +293 -0
  62. package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.js.map +1 -0
  63. package/dist/nodes/Pdf4me/actions/convertPdfToExcel.d.ts +18 -0
  64. package/dist/nodes/Pdf4me/actions/convertPdfToExcel.js +385 -0
  65. package/dist/nodes/Pdf4me/actions/convertPdfToExcel.js.map +1 -0
  66. package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.d.ts +18 -0
  67. package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.js +360 -0
  68. package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.js.map +1 -0
  69. package/dist/nodes/Pdf4me/actions/convertPdfToWord.d.ts +18 -0
  70. package/dist/nodes/Pdf4me/actions/convertPdfToWord.js +390 -0
  71. package/dist/nodes/Pdf4me/actions/convertPdfToWord.js.map +1 -0
  72. package/dist/nodes/Pdf4me/actions/convertToPdf.d.ts +16 -0
  73. package/dist/nodes/Pdf4me/actions/convertToPdf.js +288 -0
  74. package/dist/nodes/Pdf4me/actions/convertToPdf.js.map +1 -0
  75. package/dist/nodes/Pdf4me/actions/convertVisio.d.ts +27 -0
  76. package/dist/nodes/Pdf4me/actions/convertVisio.js +538 -0
  77. package/dist/nodes/Pdf4me/actions/convertVisio.js.map +1 -0
  78. package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.d.ts +16 -0
  79. package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.js +343 -0
  80. package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.js.map +1 -0
  81. package/dist/nodes/Pdf4me/actions/createImagesFromPdf.d.ts +15 -2
  82. package/dist/nodes/Pdf4me/actions/createImagesFromPdf.js +536 -170
  83. package/dist/nodes/Pdf4me/actions/createImagesFromPdf.js.map +1 -1
  84. package/dist/nodes/Pdf4me/actions/createPdfA.d.ts +16 -0
  85. package/dist/nodes/Pdf4me/actions/createPdfA.js +386 -0
  86. package/dist/nodes/Pdf4me/actions/createPdfA.js.map +1 -0
  87. package/dist/nodes/Pdf4me/actions/createSwissQrBill.d.ts +4 -0
  88. package/dist/nodes/Pdf4me/actions/createSwissQrBill.js +645 -0
  89. package/dist/nodes/Pdf4me/actions/createSwissQrBill.js.map +1 -0
  90. package/dist/nodes/Pdf4me/actions/deleteBlankPagesFromPdf.js.map +1 -1
  91. package/dist/nodes/Pdf4me/actions/deleteUnwantedPagesFromPdf.js.map +1 -1
  92. package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.d.ts +3 -0
  93. package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.js +166 -0
  94. package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.js.map +1 -0
  95. package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.d.ts +16 -0
  96. package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.js +278 -0
  97. package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.js.map +1 -0
  98. package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.d.ts +16 -0
  99. package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.js +247 -0
  100. package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.js.map +1 -0
  101. package/dist/nodes/Pdf4me/actions/extractPages.js.map +1 -1
  102. package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.d.ts +16 -0
  103. package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.js +243 -0
  104. package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.js.map +1 -0
  105. package/dist/nodes/Pdf4me/actions/extractResources.d.ts +16 -0
  106. package/dist/nodes/Pdf4me/actions/extractResources.js +287 -0
  107. package/dist/nodes/Pdf4me/actions/extractResources.js.map +1 -0
  108. package/dist/nodes/Pdf4me/actions/extractTableFromPdf.d.ts +16 -0
  109. package/dist/nodes/Pdf4me/actions/extractTableFromPdf.js +247 -0
  110. package/dist/nodes/Pdf4me/actions/extractTableFromPdf.js.map +1 -0
  111. package/dist/nodes/Pdf4me/actions/extractTextByExpression.d.ts +18 -0
  112. package/dist/nodes/Pdf4me/actions/extractTextByExpression.js +280 -0
  113. package/dist/nodes/Pdf4me/actions/extractTextByExpression.js.map +1 -0
  114. package/dist/nodes/Pdf4me/actions/extractTextFromWord.d.ts +18 -0
  115. package/dist/nodes/Pdf4me/actions/extractTextFromWord.js +316 -0
  116. package/dist/nodes/Pdf4me/actions/extractTextFromWord.js.map +1 -0
  117. package/dist/nodes/Pdf4me/actions/fillPdfForm.d.ts +31 -0
  118. package/dist/nodes/Pdf4me/actions/fillPdfForm.js +412 -0
  119. package/dist/nodes/Pdf4me/actions/fillPdfForm.js.map +1 -0
  120. package/dist/nodes/Pdf4me/actions/findAndReplaceText.d.ts +18 -0
  121. package/dist/nodes/Pdf4me/actions/findAndReplaceText.js +241 -0
  122. package/dist/nodes/Pdf4me/actions/findAndReplaceText.js.map +1 -0
  123. package/dist/nodes/Pdf4me/actions/protect_document.js +1 -0
  124. package/dist/nodes/Pdf4me/actions/protect_document.js.map +1 -1
  125. package/dist/nodes/Pdf4me/actions/readBarcodeFromImage.js +16 -4
  126. package/dist/nodes/Pdf4me/actions/readBarcodeFromImage.js.map +1 -1
  127. package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.d.ts +17 -0
  128. package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.js +255 -0
  129. package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.js.map +1 -0
  130. package/dist/nodes/Pdf4me/actions/readSwissQrCode.d.ts +16 -0
  131. package/dist/nodes/Pdf4me/actions/readSwissQrCode.js +190 -0
  132. package/dist/nodes/Pdf4me/actions/readSwissQrCode.js.map +1 -0
  133. package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.d.ts +13 -0
  134. package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.js +388 -0
  135. package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.js.map +1 -0
  136. package/dist/nodes/Pdf4me/actions/rotateDocument.js.map +1 -1
  137. package/dist/nodes/Pdf4me/actions/rotateImage.js +1 -1
  138. package/dist/nodes/Pdf4me/actions/rotateImage.js.map +1 -1
  139. package/dist/nodes/Pdf4me/actions/rotatePage.js.map +1 -1
  140. package/dist/nodes/Pdf4me/actions/unlock_pdf.js +1 -0
  141. package/dist/nodes/Pdf4me/actions/unlock_pdf.js.map +1 -1
  142. package/dist/package.json +4 -2
  143. package/dist/tsconfig.tsbuildinfo +1 -1
  144. package/package.json +4 -2
  145. package/dist/nodes/Pdf4me/actions/get_document_from_pdf4me.js.map +0 -1
  146. /package/dist/nodes/Pdf4me/actions/{get_document_from_pdf4me.d.ts → GetDocumentFromPdf4me.d.ts} +0 -0
package/README.md CHANGED
@@ -61,7 +61,7 @@ For Docker-based deployments, add the package to your package.json and rebuild t
61
61
  },
62
62
  "dependencies": {
63
63
  "n8n": "^1.0.0",
64
- "n8n-nodes-pdf4me": "^0.9.0"
64
+ "n8n-nodes-pdf4me": "^1.0.0"
65
65
  }
66
66
  }
67
67
  ```
@@ -70,8 +70,9 @@ For Docker-based deployments, add the package to your package.json and rebuild t
70
70
 
71
71
  This node provides comprehensive document processing capabilities through PDF4ME's API. Here are the available features:
72
72
 
73
- ### 1. PDF Processing & Conversion
73
+ ### 1. PDF Processing & Manipulation
74
74
  - **Add Attachment to PDF**: Attach files to PDF documents
75
+ - **Add Form Fields to PDF**: Add interactive form fields to PDF documents
75
76
  - **Add HTML Header Footer**: Add custom HTML headers and footers to PDFs
76
77
  - **Add Image Stamp to PDF**: Add image stamps with positioning and opacity controls
77
78
  - **Add Margin to PDF**: Add margins to PDF documents
@@ -79,10 +80,17 @@ This node provides comprehensive document processing capabilities through PDF4ME
79
80
  - **Add Text Stamp to PDF**: Add text stamps with customizable formatting
80
81
  - **Compress PDF**: Optimize PDF files for web, print, or screen viewing
81
82
  - **Convert from PDF**: Convert PDFs to Word or Excel with OCR support
83
+ - **Convert PDF to Editable OCR**: Convert PDFs to editable text using OCR
84
+ - **Convert PDF to Excel**: Convert PDF tables to Excel spreadsheets
85
+ - **Convert PDF to PowerPoint**: Convert PDF content to PowerPoint presentations
86
+ - **Convert PDF to Word**: Convert PDFs to editable Word documents
82
87
  - **Create Images from PDF**: Extract images from PDF documents
83
88
  - **Delete Blank Pages from PDF**: Remove blank pages from PDF documents
84
89
  - **Delete Unwanted Pages from PDF**: Remove specific pages from PDF documents
85
90
  - **Extract Pages**: Extract specific pages from PDF documents
91
+ - **Extract Pages from PDF**: Extract pages with advanced options
92
+ - **Fill PDF Form**: Fill interactive PDF forms with data
93
+ - **Find and Replace Text**: Find and replace text in PDF documents
86
94
  - **Merge Multiple PDFs**: Combine multiple PDF files into one
87
95
  - **Overlay PDFs**: Overlay one PDF on top of another
88
96
  - **Protect Document**: Add password protection and encryption to PDFs
@@ -90,6 +98,10 @@ This node provides comprehensive document processing capabilities through PDF4ME
90
98
  - **Rotate Document**: Rotate entire PDF documents
91
99
  - **Rotate Page**: Rotate specific pages within a PDF
92
100
  - **Sign PDF**: Add digital signatures to PDF documents
101
+ - **Split PDF by Barcode**: Split PDFs based on barcode detection
102
+ - **Split PDF by Swiss QR**: Split PDFs based on Swiss QR code detection
103
+ - **Split PDF by Text**: Split PDFs based on text content
104
+ - **Split PDF Regular**: Split PDFs into equal parts or by page ranges
93
105
  - **Unlock PDF**: Remove password protection from PDFs
94
106
  - **Update Hyperlinks Annotation**: Modify hyperlinks and annotations in PDFs
95
107
 
@@ -105,30 +117,29 @@ This node provides comprehensive document processing capabilities through PDF4ME
105
117
  - **Read Barcode from Image**: Read barcodes from images
106
118
  - **Remove EXIF Tags from Image**: Remove metadata from images
107
119
  - **Replace Text with Image**: Replace text in documents with images
120
+ - **Replace Text with Image in Word**: Replace text in Word documents with images
108
121
  - **Resize Image**: Resize images to specific dimensions
109
122
  - **Rotate Image**: Rotate images by specific angles
110
123
  - **Rotate Image by EXIF Data**: Auto-rotate images based on EXIF orientation
111
124
 
112
125
  ### 3. Document Conversion
113
126
  - **Convert to PDF**: Convert various document formats to PDF
114
- - **Document to PDF**: Convert documents to PDF format
115
- - **HTML to PDF**: Convert HTML content to PDF
127
+ - **Convert HTML to PDF**: Convert HTML content to PDF
128
+ - **Convert Image Format**: Convert images between different formats
129
+ - **Convert Markdown to PDF**: Convert Markdown files to PDF
130
+ - **Convert Visio**: Convert Visio diagrams to PDF
131
+ - **Convert Word to PDF Form**: Convert Word documents to PDF forms
116
132
  - **JSON to Excel**: Convert JSON data to Excel spreadsheets
117
- - **Markdown to PDF**: Convert Markdown files to PDF
118
- - **PNG to PDF**: Convert PNG images to PDF
119
- - **PPTX to PDF**: Convert PowerPoint presentations to PDF
120
133
  - **URL to PDF**: Convert web pages to PDF
121
- - **Visio to PDF**: Convert Visio diagrams to PDF
122
- - **Word to PDF Form**: Convert Word documents to PDF forms
123
- - **XLSX to PDF**: Convert Excel spreadsheets to PDF
124
134
 
125
135
  ### 4. Barcode Operations
126
136
  - **Barcode Generator**: Generate various types of barcodes (QR, Code 128, EAN, UPC, etc.)
127
137
  - **Read Barcode from Image**: Extract barcode data from images
138
+ - **Read Barcode from PDF**: Extract barcode data from PDF documents
139
+ - **Read Swiss QR Code**: Read Swiss QR codes from documents
128
140
 
129
141
  ### 5. Document Analysis & Extraction
130
142
  - **Classify Document**: Automatically classify document types
131
- - **Extract**: Extract various elements from documents
132
143
  - **Extract Attachment from PDF**: Extract attached files from PDFs
133
144
  - **Extract Form Data from PDF**: Extract form field data from PDFs
134
145
  - **Extract Pages from PDF**: Extract specific pages from PDFs
@@ -136,24 +147,21 @@ This node provides comprehensive document processing capabilities through PDF4ME
136
147
  - **Extract Table from PDF**: Extract tables from PDF documents
137
148
  - **Extract Text by Expression**: Extract text using custom expressions
138
149
  - **Extract Text from Word**: Extract text from Word documents
139
- - **Find Search**: Search for specific content in documents
140
150
  - **Get Document from PDF4ME**: Retrieve documents from PDF4ME storage
141
151
  - **Get PDF Metadata**: Extract metadata from PDF files
142
152
 
143
- ### 6. Document Management
153
+ ### 6. Document Management & Generation
144
154
  - **Create PDF/A**: Create PDF/A compliant documents
155
+ - **Create Swiss QR Bill**: Create Swiss QR Bills using all compliance standards for digital payment transactions
145
156
  - **Disable Tracking Changes in Word**: Remove tracking changes from Word documents
146
- - **Edit**: Edit document properties and content
147
- - **Flatten PDF**: Flatten PDF forms and annotations
148
- - **Form**: Process PDF forms
149
- - **Generate**: Generate documents from templates
150
- - **Linearize PDF**: Optimize PDFs for web streaming
151
- - **Organize**: Organize document structure
152
- - **Upload File**: Upload files to PDF4ME storage
157
+ - **Enable Tracking Changes in Word**: Enable tracking changes in Word documents
158
+ - **Generate Document Single**: Generate single documents from templates
159
+ - **Generate Documents Multiple**: Generate multiple documents from templates
160
+ - **Get Tracking Changes in Word**: Get tracking changes status from Word documents
153
161
 
154
162
  ### 7. Advanced Features
155
- - **Router**: Route documents based on conditions
156
- - **Split PDF**: Split PDF documents into multiple files
163
+ - **Create Images from PDF**: Extract and process images from PDF documents
164
+ - **Document Processing**: Advanced document manipulation and processing
157
165
 
158
166
  ## Credentials
159
167
 
@@ -175,13 +183,16 @@ This node allows you to automate document processing tasks in your n8n workflows
175
183
  - Extract specific pages from PDF documents for creating shorter versions or digital booklets
176
184
  - Add watermarks, stamps, and annotations to documents
177
185
  - Compress and optimize PDF files for different use cases
186
+ - Fill interactive PDF forms with data from your workflows
187
+ - Split PDFs based on content, barcodes, or page ranges
178
188
 
179
189
  ### Barcode Operations
180
190
  - Generate QR codes for product tracking
181
191
  - Create product barcodes (EAN-13, UPC-A) for inventory management
182
192
  - Generate barcodes for document identification
183
193
  - Embed barcodes in documents and reports
184
- - Read barcodes from images for automated processing
194
+ - Read barcodes from images and PDFs for automated processing
195
+ - Process Swiss QR codes for payment transactions
185
196
 
186
197
  ### Web Content Processing
187
198
  - Convert web pages to PDF for archiving
@@ -194,6 +205,7 @@ This node allows you to automate document processing tasks in your n8n workflows
194
205
  - Transform API responses to formatted reports
195
206
  - Export analytics data to Excel for stakeholder reports
196
207
  - Create automated data processing pipelines
208
+ - Generate documents from templates with dynamic data
197
209
 
198
210
  ### Image Processing
199
211
  - Crop images for specific dimensions
@@ -202,6 +214,23 @@ This node allows you to automate document processing tasks in your n8n workflows
202
214
  - Create thumbnails and optimized images
203
215
  - Add watermarks to images for branding
204
216
  - Extract text from images using OCR
217
+ - Convert images between different formats
218
+
219
+ ### Swiss QR Bill Generation
220
+ - Create compliant Swiss QR Bills for digital payment transactions
221
+ - Generate QR codes with all required payment information
222
+ - Support for multiple languages (English, German, French, Italian)
223
+ - Include creditor and debtor information with structured addresses
224
+ - Add billing information and unstructured messages
225
+ - Generate bills with different separator line styles
226
+ - Support for various reference types (QR Reference, Creditor Reference, No Reference)
227
+
228
+ ### Document Generation & Management
229
+ - Generate documents from templates with dynamic data
230
+ - Create PDF/A compliant documents for long-term archiving
231
+ - Manage Word document tracking changes
232
+ - Process multiple documents in batch operations
233
+ - Extract and manage document metadata
205
234
 
206
235
  ### Automated Workflows
207
236
  - Chain multiple PDF4ME operations together
@@ -209,6 +238,7 @@ This node allows you to automate document processing tasks in your n8n workflows
209
238
  - Connect with storage services for file management
210
239
  - Build complete document processing pipelines
211
240
  - Automate document classification and routing
241
+ - Create end-to-end document workflows
212
242
 
213
243
  For detailed examples and workflow templates, visit our documentation.
214
244
 
@@ -223,8 +253,28 @@ For detailed examples and workflow templates, visit our documentation.
223
253
 
224
254
  ## Version History
225
255
 
256
+ ### 1.0.0
257
+ - **Current Version**: Production-ready release with comprehensive document processing capabilities
258
+ - 60+ document processing operations covering all major use cases
259
+ - Full integration with PDF4ME API services
260
+ - Complete PDF processing suite including conversion, manipulation, and analysis
261
+ - Advanced image processing capabilities with watermarking, cropping, and format conversion
262
+ - Comprehensive barcode generation and reading functionality
263
+ - Document conversion between multiple formats (PDF, Word, Excel, PowerPoint, HTML, etc.)
264
+ - Enhanced timeout handling for complex operations (up to 25 minutes)
265
+ - Improved async processing with exponential backoff and better error handling
266
+ - Support for multiple input types (Binary Data, Base64, URL, File Path)
267
+ - Advanced OCR capabilities with multi-language support
268
+ - Document protection, signing, and security features
269
+ - Metadata extraction and document analysis tools
270
+ - Swiss QR Bill generation with full compliance standards
271
+ - Document template generation and batch processing
272
+ - All critical lint errors resolved for production readiness
273
+ - Optimized package structure and build validation
274
+ - Enhanced error handling and debugging capabilities
275
+
226
276
  ### 0.9.0
227
- - **Current Version**: Comprehensive document processing capabilities with 50+ actions
277
+ - Comprehensive document processing capabilities with 50+ actions
228
278
  - Full integration with PDF4ME API services
229
279
  - Complete PDF processing suite including conversion, manipulation, and analysis
230
280
  - Advanced image processing capabilities with watermarking, cropping, and format conversion
package/dist/.eslintrc.js CHANGED
@@ -20,6 +20,11 @@ module.exports = {
20
20
 
21
21
  ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**', 'package.json'],
22
22
 
23
+ plugins: [
24
+ '@typescript-eslint',
25
+ 'eslint-plugin-n8n-nodes-base',
26
+ ],
27
+
23
28
  extends: [
24
29
  'eslint:recommended',
25
30
  'plugin:@typescript-eslint/recommended',
package/dist/README.md CHANGED
@@ -61,7 +61,7 @@ For Docker-based deployments, add the package to your package.json and rebuild t
61
61
  },
62
62
  "dependencies": {
63
63
  "n8n": "^1.0.0",
64
- "n8n-nodes-pdf4me": "^0.9.0"
64
+ "n8n-nodes-pdf4me": "^1.0.0"
65
65
  }
66
66
  }
67
67
  ```
@@ -70,8 +70,9 @@ For Docker-based deployments, add the package to your package.json and rebuild t
70
70
 
71
71
  This node provides comprehensive document processing capabilities through PDF4ME's API. Here are the available features:
72
72
 
73
- ### 1. PDF Processing & Conversion
73
+ ### 1. PDF Processing & Manipulation
74
74
  - **Add Attachment to PDF**: Attach files to PDF documents
75
+ - **Add Form Fields to PDF**: Add interactive form fields to PDF documents
75
76
  - **Add HTML Header Footer**: Add custom HTML headers and footers to PDFs
76
77
  - **Add Image Stamp to PDF**: Add image stamps with positioning and opacity controls
77
78
  - **Add Margin to PDF**: Add margins to PDF documents
@@ -79,10 +80,17 @@ This node provides comprehensive document processing capabilities through PDF4ME
79
80
  - **Add Text Stamp to PDF**: Add text stamps with customizable formatting
80
81
  - **Compress PDF**: Optimize PDF files for web, print, or screen viewing
81
82
  - **Convert from PDF**: Convert PDFs to Word or Excel with OCR support
83
+ - **Convert PDF to Editable OCR**: Convert PDFs to editable text using OCR
84
+ - **Convert PDF to Excel**: Convert PDF tables to Excel spreadsheets
85
+ - **Convert PDF to PowerPoint**: Convert PDF content to PowerPoint presentations
86
+ - **Convert PDF to Word**: Convert PDFs to editable Word documents
82
87
  - **Create Images from PDF**: Extract images from PDF documents
83
88
  - **Delete Blank Pages from PDF**: Remove blank pages from PDF documents
84
89
  - **Delete Unwanted Pages from PDF**: Remove specific pages from PDF documents
85
90
  - **Extract Pages**: Extract specific pages from PDF documents
91
+ - **Extract Pages from PDF**: Extract pages with advanced options
92
+ - **Fill PDF Form**: Fill interactive PDF forms with data
93
+ - **Find and Replace Text**: Find and replace text in PDF documents
86
94
  - **Merge Multiple PDFs**: Combine multiple PDF files into one
87
95
  - **Overlay PDFs**: Overlay one PDF on top of another
88
96
  - **Protect Document**: Add password protection and encryption to PDFs
@@ -90,6 +98,10 @@ This node provides comprehensive document processing capabilities through PDF4ME
90
98
  - **Rotate Document**: Rotate entire PDF documents
91
99
  - **Rotate Page**: Rotate specific pages within a PDF
92
100
  - **Sign PDF**: Add digital signatures to PDF documents
101
+ - **Split PDF by Barcode**: Split PDFs based on barcode detection
102
+ - **Split PDF by Swiss QR**: Split PDFs based on Swiss QR code detection
103
+ - **Split PDF by Text**: Split PDFs based on text content
104
+ - **Split PDF Regular**: Split PDFs into equal parts or by page ranges
93
105
  - **Unlock PDF**: Remove password protection from PDFs
94
106
  - **Update Hyperlinks Annotation**: Modify hyperlinks and annotations in PDFs
95
107
 
@@ -105,30 +117,29 @@ This node provides comprehensive document processing capabilities through PDF4ME
105
117
  - **Read Barcode from Image**: Read barcodes from images
106
118
  - **Remove EXIF Tags from Image**: Remove metadata from images
107
119
  - **Replace Text with Image**: Replace text in documents with images
120
+ - **Replace Text with Image in Word**: Replace text in Word documents with images
108
121
  - **Resize Image**: Resize images to specific dimensions
109
122
  - **Rotate Image**: Rotate images by specific angles
110
123
  - **Rotate Image by EXIF Data**: Auto-rotate images based on EXIF orientation
111
124
 
112
125
  ### 3. Document Conversion
113
126
  - **Convert to PDF**: Convert various document formats to PDF
114
- - **Document to PDF**: Convert documents to PDF format
115
- - **HTML to PDF**: Convert HTML content to PDF
127
+ - **Convert HTML to PDF**: Convert HTML content to PDF
128
+ - **Convert Image Format**: Convert images between different formats
129
+ - **Convert Markdown to PDF**: Convert Markdown files to PDF
130
+ - **Convert Visio**: Convert Visio diagrams to PDF
131
+ - **Convert Word to PDF Form**: Convert Word documents to PDF forms
116
132
  - **JSON to Excel**: Convert JSON data to Excel spreadsheets
117
- - **Markdown to PDF**: Convert Markdown files to PDF
118
- - **PNG to PDF**: Convert PNG images to PDF
119
- - **PPTX to PDF**: Convert PowerPoint presentations to PDF
120
133
  - **URL to PDF**: Convert web pages to PDF
121
- - **Visio to PDF**: Convert Visio diagrams to PDF
122
- - **Word to PDF Form**: Convert Word documents to PDF forms
123
- - **XLSX to PDF**: Convert Excel spreadsheets to PDF
124
134
 
125
135
  ### 4. Barcode Operations
126
136
  - **Barcode Generator**: Generate various types of barcodes (QR, Code 128, EAN, UPC, etc.)
127
137
  - **Read Barcode from Image**: Extract barcode data from images
138
+ - **Read Barcode from PDF**: Extract barcode data from PDF documents
139
+ - **Read Swiss QR Code**: Read Swiss QR codes from documents
128
140
 
129
141
  ### 5. Document Analysis & Extraction
130
142
  - **Classify Document**: Automatically classify document types
131
- - **Extract**: Extract various elements from documents
132
143
  - **Extract Attachment from PDF**: Extract attached files from PDFs
133
144
  - **Extract Form Data from PDF**: Extract form field data from PDFs
134
145
  - **Extract Pages from PDF**: Extract specific pages from PDFs
@@ -136,24 +147,21 @@ This node provides comprehensive document processing capabilities through PDF4ME
136
147
  - **Extract Table from PDF**: Extract tables from PDF documents
137
148
  - **Extract Text by Expression**: Extract text using custom expressions
138
149
  - **Extract Text from Word**: Extract text from Word documents
139
- - **Find Search**: Search for specific content in documents
140
150
  - **Get Document from PDF4ME**: Retrieve documents from PDF4ME storage
141
151
  - **Get PDF Metadata**: Extract metadata from PDF files
142
152
 
143
- ### 6. Document Management
153
+ ### 6. Document Management & Generation
144
154
  - **Create PDF/A**: Create PDF/A compliant documents
155
+ - **Create Swiss QR Bill**: Create Swiss QR Bills using all compliance standards for digital payment transactions
145
156
  - **Disable Tracking Changes in Word**: Remove tracking changes from Word documents
146
- - **Edit**: Edit document properties and content
147
- - **Flatten PDF**: Flatten PDF forms and annotations
148
- - **Form**: Process PDF forms
149
- - **Generate**: Generate documents from templates
150
- - **Linearize PDF**: Optimize PDFs for web streaming
151
- - **Organize**: Organize document structure
152
- - **Upload File**: Upload files to PDF4ME storage
157
+ - **Enable Tracking Changes in Word**: Enable tracking changes in Word documents
158
+ - **Generate Document Single**: Generate single documents from templates
159
+ - **Generate Documents Multiple**: Generate multiple documents from templates
160
+ - **Get Tracking Changes in Word**: Get tracking changes status from Word documents
153
161
 
154
162
  ### 7. Advanced Features
155
- - **Router**: Route documents based on conditions
156
- - **Split PDF**: Split PDF documents into multiple files
163
+ - **Create Images from PDF**: Extract and process images from PDF documents
164
+ - **Document Processing**: Advanced document manipulation and processing
157
165
 
158
166
  ## Credentials
159
167
 
@@ -175,13 +183,16 @@ This node allows you to automate document processing tasks in your n8n workflows
175
183
  - Extract specific pages from PDF documents for creating shorter versions or digital booklets
176
184
  - Add watermarks, stamps, and annotations to documents
177
185
  - Compress and optimize PDF files for different use cases
186
+ - Fill interactive PDF forms with data from your workflows
187
+ - Split PDFs based on content, barcodes, or page ranges
178
188
 
179
189
  ### Barcode Operations
180
190
  - Generate QR codes for product tracking
181
191
  - Create product barcodes (EAN-13, UPC-A) for inventory management
182
192
  - Generate barcodes for document identification
183
193
  - Embed barcodes in documents and reports
184
- - Read barcodes from images for automated processing
194
+ - Read barcodes from images and PDFs for automated processing
195
+ - Process Swiss QR codes for payment transactions
185
196
 
186
197
  ### Web Content Processing
187
198
  - Convert web pages to PDF for archiving
@@ -194,6 +205,7 @@ This node allows you to automate document processing tasks in your n8n workflows
194
205
  - Transform API responses to formatted reports
195
206
  - Export analytics data to Excel for stakeholder reports
196
207
  - Create automated data processing pipelines
208
+ - Generate documents from templates with dynamic data
197
209
 
198
210
  ### Image Processing
199
211
  - Crop images for specific dimensions
@@ -202,6 +214,23 @@ This node allows you to automate document processing tasks in your n8n workflows
202
214
  - Create thumbnails and optimized images
203
215
  - Add watermarks to images for branding
204
216
  - Extract text from images using OCR
217
+ - Convert images between different formats
218
+
219
+ ### Swiss QR Bill Generation
220
+ - Create compliant Swiss QR Bills for digital payment transactions
221
+ - Generate QR codes with all required payment information
222
+ - Support for multiple languages (English, German, French, Italian)
223
+ - Include creditor and debtor information with structured addresses
224
+ - Add billing information and unstructured messages
225
+ - Generate bills with different separator line styles
226
+ - Support for various reference types (QR Reference, Creditor Reference, No Reference)
227
+
228
+ ### Document Generation & Management
229
+ - Generate documents from templates with dynamic data
230
+ - Create PDF/A compliant documents for long-term archiving
231
+ - Manage Word document tracking changes
232
+ - Process multiple documents in batch operations
233
+ - Extract and manage document metadata
205
234
 
206
235
  ### Automated Workflows
207
236
  - Chain multiple PDF4ME operations together
@@ -209,6 +238,7 @@ This node allows you to automate document processing tasks in your n8n workflows
209
238
  - Connect with storage services for file management
210
239
  - Build complete document processing pipelines
211
240
  - Automate document classification and routing
241
+ - Create end-to-end document workflows
212
242
 
213
243
  For detailed examples and workflow templates, visit our documentation.
214
244
 
@@ -223,8 +253,28 @@ For detailed examples and workflow templates, visit our documentation.
223
253
 
224
254
  ## Version History
225
255
 
256
+ ### 1.0.0
257
+ - **Current Version**: Production-ready release with comprehensive document processing capabilities
258
+ - 60+ document processing operations covering all major use cases
259
+ - Full integration with PDF4ME API services
260
+ - Complete PDF processing suite including conversion, manipulation, and analysis
261
+ - Advanced image processing capabilities with watermarking, cropping, and format conversion
262
+ - Comprehensive barcode generation and reading functionality
263
+ - Document conversion between multiple formats (PDF, Word, Excel, PowerPoint, HTML, etc.)
264
+ - Enhanced timeout handling for complex operations (up to 25 minutes)
265
+ - Improved async processing with exponential backoff and better error handling
266
+ - Support for multiple input types (Binary Data, Base64, URL, File Path)
267
+ - Advanced OCR capabilities with multi-language support
268
+ - Document protection, signing, and security features
269
+ - Metadata extraction and document analysis tools
270
+ - Swiss QR Bill generation with full compliance standards
271
+ - Document template generation and batch processing
272
+ - All critical lint errors resolved for production readiness
273
+ - Optimized package structure and build validation
274
+ - Enhanced error handling and debugging capabilities
275
+
226
276
  ### 0.9.0
227
- - **Current Version**: Comprehensive document processing capabilities with 50+ actions
277
+ - Comprehensive document processing capabilities with 50+ actions
228
278
  - Full integration with PDF4ME API services
229
279
  - Complete PDF processing suite including conversion, manipulation, and analysis
230
280
  - Advanced image processing capabilities with watermarking, cropping, and format conversion