Platform Explorer / Nuxeo Platform LTS 2019 10.10

Operation PDF.ExtractPages (PDF: Extract Pages)

Description

Extract pages from startPage to endPage (inclusive) from the input object. If a Blob is used as input, the xpath parameter is not used. title, subject and author are optional. If the PDF is encrypted, a password is required.
Operation id PDF.ExtractPages
Category Conversion
Label PDF: Extract Pages
Requires
Since

Parameters

Name Description Type Required Default value
endPage long yes  
startPage long yes  
fileName string no  
password string no  
pdfAuthor string no  
pdfSubject string no  
pdfTitle string no  
xpath string no file:content 

Signature

Inputs blob, document
Outputs blob, blob

Implementation Information

JSON Definition

{
  "id" : "PDF.ExtractPages",
  "label" : "PDF: Extract Pages",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Extract pages from <code>startPage</code> to <code>endPage</code> (inclusive) from the input object. If a Blob is used as input, the <code>xpath</xpath> parameter is not used. <code>title</code>, <code>subject</code> and <code>author</code> are optional. If the PDF is encrypted, a password is required.",
  "url" : "PDF.ExtractPages",
  "signature" : [ "blob", "blob", "document", "blob" ],
  "params" : [ {
    "name" : "endPage",
    "description" : "",
    "type" : "long",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "startPage",
    "description" : "",
    "type" : "long",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "fileName",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "password",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "pdfAuthor",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "pdfSubject",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "pdfTitle",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "xpath",
    "description" : "",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "file:content" ]
  } ]
}