mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	* Added option to split PDF into multiple parts and merge into one PDF * Use the mergeDocuments method in MergeController to implement merging --------- Co-authored-by: Eric <71648843+sbplat@users.noreply.github.com>
		
			
				
	
	
		
			35 lines
		
	
	
		
			798 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			798 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "split-rotate-auto-rename",
 | 
						|
  "pipeline": [
 | 
						|
    {
 | 
						|
      "operation": "/api/v1/general/split-pdf-by-sections",
 | 
						|
      "parameters": {
 | 
						|
        "horizontalDivisions": 2,
 | 
						|
        "verticalDivisions": 2,
 | 
						|
        "fileInput": "automated",
 | 
						|
        "merge": false
 | 
						|
      }
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "operation": "/api/v1/general/rotate-pdf",
 | 
						|
      "parameters": {
 | 
						|
        "angle": 90,
 | 
						|
        "fileInput": "automated"
 | 
						|
      }
 | 
						|
    },
 | 
						|
    {
 | 
						|
      "operation": "/api/v1/misc/auto-rename",
 | 
						|
      "parameters": {
 | 
						|
        "useFirstTextAsFallback": false,
 | 
						|
        "fileInput": "automated"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "_examples": {
 | 
						|
    "outputDir": "{outputFolder}/{folderName}",
 | 
						|
    "outputFileName": "{filename}-{pipelineName}-{date}-{time}"
 | 
						|
  },
 | 
						|
  "outputDir": "{outputFolder}",
 | 
						|
  "outputFileName": "{filename}"
 | 
						|
}
 |